id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
pdc202xx_set_piomode(9) | NAME pdc202xx_set_piomode - set initial PIO mode data
SYNOPSIS void pdc202xx_set_piomode (struct ata_port *ap , struct ata_device *adev );
ARGUMENTS ap ATA interface
adev ATA device
DESCRIPTION Called to do the PIO mode setup. Our timing registers are shared but we want to set the PIO timing ... |
pdc_add_valid(9) | NAME pdc_add_valid - Verify address can be accessed without causing a HPMC.
SYNOPSIS int pdc_add_valid (unsigned long address );
ARGUMENTS address Address to be verified.
DESCRIPTION This PDC call attempts to read from the specified address and verifies if the address is valid. The return value is PDC_OK (0) in... |
pdc_adjust_pll(9) | NAME pdc_adjust_pll - Adjust the PLL input clock in Hz.
SYNOPSIS void pdc_adjust_pll (struct ata_host *host , long pll_clock , unsigned int board_idx );
ARGUMENTS host target ATA host
pll_clock The input of PLL in HZ
board_idx board identifier
SEE ALSO Kernel file ./drivers/ata/pata_pdc2... |
pdc_ata_setup_port(9) | NAME pdc_ata_setup_port - setup the mmio address
SYNOPSIS void pdc_ata_setup_port (struct ata_ioports *port , void __iomem *base );
ARGUMENTS port ata ioports to setup
base base address
SEE ALSO Kernel file ./drivers/ata/pata_pdc2027x.c port_mmio(9), dev_mmio(9), pdc2027x_cable_detect(9), p... |
pdc_btlb_info(9) | NAME pdc_btlb_info - Return block TLB information.
SYNOPSIS int pdc_btlb_info (struct pdc_btlb_info *btlb );
ARGUMENTS btlb The return buffer.
DESCRIPTION Returns information about the hardware Block TLB.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_... |
pdc_build_rxd(9) | NAME pdc_build_rxd - Build DMA descriptor to receive SPU result.
SYNOPSIS void pdc_build_rxd (struct pdc_state *pdcs , dma_addr_t dma_addr , u32 buf_len , u32 flags );
ARGUMENTS pdcs PDC state for SPU that will generate result
dma_addr DMA address of buffer that descriptor is being built for
... |
pdc_build_txd(9) | NAME pdc_build_txd - Build a DMA descriptor to transmit a SPU request to hardware.
SYNOPSIS void pdc_build_txd (struct pdc_state *pdcs , dma_addr_t dma_addr , u32 buf_len , u32 flags );
ARGUMENTS pdcs PDC state for the SPU that will process this request
dma_addr DMA address of packet to be transmitt... |
pdc_cache_info(9) | NAME pdc_cache_info - Return cache and TLB information.
SYNOPSIS int pdc_cache_info (struct pdc_cache_info *cache_info );
ARGUMENTS cache_info The return buffer.
DESCRIPTION Returns information about the processor's cache and TLB.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wid... |
pdc_chassis_checkold(9) | NAME pdc_chassis_checkold - Checks for old PDC_CHASSIS compatibility
SYNOPSIS void pdc_chassis_checkold (void );
ARGUMENTS void no arguments
DESCRIPTION Currently, only E class and A180 are known to work with this. Inspired by Christoph Plattner
SEE ALSO Kernel file ./arch/parisc/kernel/pdc_chassis.c pdc_ch... |
pdc_chassis_disp(9) | NAME pdc_chassis_disp - Updates chassis code
SYNOPSIS int pdc_chassis_disp (unsigned long disp );
ARGUMENTS disp value to show on display
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9), pdc_add_valid(9), pdc_instr(9), pdc_ch... |
pdc_chassis_info(9) | NAME pdc_chassis_info - Return chassis information.
SYNOPSIS int pdc_chassis_info (struct pdc_chassis_info *chassis_info , void *led_info , unsigned long len );
ARGUMENTS chassis_info The memory buffer address.
led_info The size of the memory buffer address.
len The size of the memory buffe... |
pdc_chassis_panic_event(9) | NAME pdc_chassis_panic_event - Called by the panic handler.
SYNOPSIS int pdc_chassis_panic_event (struct notifier_block *this , unsigned long event , void *ptr );
ARGUMENTS this unused
event unused
ptr unused
DESCRIPTION As soon as a panic occurs, we should inform the PDC.
SEE A... |
pdc_chassis_reboot_event(9) | NAME pdc_chassis_reboot_event - Called by the reboot handler.
SYNOPSIS int pdc_chassis_reboot_event (struct notifier_block *this , unsigned long event , void *ptr );
ARGUMENTS this unused
event unused
ptr unused
DESCRIPTION As soon as a reboot occurs, we should inform the PDC.
S... |
pdc_chassis_send_status(9) | NAME pdc_chassis_send_status - Sends a predefined message to the chassis, and changes the front panel LEDs according to the new system state
SYNOPSIS int pdc_chassis_send_status (int message );
ARGUMENTS message Type of message, one of PDC_CHASSIS_DIRECT_* values.
DESCRIPTION Only machines with 64 bits PDC PAT... |
pdc_chassis_setup(9) | NAME pdc_chassis_setup - Enable/disable pdc_chassis code at boot time.
SYNOPSIS int pdc_chassis_setup (char *str );
ARGUMENTS str configuration param: 0 to disable chassis log return 1
SEE ALSO Kernel file ./arch/parisc/kernel/pdc_chassis.c pdc_chassis_checkold(9), pdc_chassis_panic_event(9), pdc_chassis_reb... |
pdc_chassis_warn(9) | NAME pdc_chassis_warn - Fetches chassis warnings
SYNOPSIS int pdc_chassis_warn (unsigned long *warn );
ARGUMENTS warn The warning value to be shown
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9), pdc_add_valid(9), pdc_i... |
pdc_coproc_cfg(9) | NAME pdc_coproc_cfg - To identify coprocessors attached to the processor.
SYNOPSIS int pdc_coproc_cfg (struct pdc_coproc_cfg *pdc_coproc_info );
ARGUMENTS pdc_coproc_info Return buffer address.
DESCRIPTION This PDC call returns the presence and status of all the coprocessors attached to the processor.
SEE ALSO Kern... |
pdc_cpu_rendezvous_lock(9) | NAME pdc_cpu_rendezvous_lock - Lock PDC while transitioning to rendezvous state
SYNOPSIS void pdc_cpu_rendezvous_lock (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9), pdc_add_valid(9)... |
pdc_cpu_rendezvous_unlock(9) | NAME pdc_cpu_rendezvous_unlock - Unlock PDC after reaching rendezvous state
SYNOPSIS void pdc_cpu_rendezvous_unlock (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9), pdc_add_valid(9), ... |
pdc_desc_count(9) | NAME pdc_desc_count - Count the number of DMA descriptors that will be required for a given scatterlist. Account for the max length of a DMA buffer.
SYNOPSIS u32 pdc_desc_count (struct scatterlist *sg );
ARGUMENTS sg Scatterlist to be DMA'd
RETURN Number of descriptors required
SEE ALSO Kernel file ./d... |
pdc_detect_pll_input_clock(9) | NAME pdc_detect_pll_input_clock - Detect the PLL input clock in Hz.
SYNOPSIS long pdc_detect_pll_input_clock (struct ata_host *host );
ARGUMENTS host target ATA host Ex. 16949000 on 33MHz PCI bus for pdc20275. Half of the PCI clock.
SEE ALSO Kernel file ./drivers/ata/pata_pdc2027x.c port_mmio(9), dev_mmi... |
pdc_dt_read(9) | NAME pdc_dt_read - Read application-specific data from device tree.
SYNOPSIS int pdc_dt_read (struct platform_device *pdev , struct pdc_state *pdcs );
ARGUMENTS pdev Platform device
pdcs PDC state
DESCRIPTION Reads the number of bytes of receive status that precede each received frame. Reads w... |
pdc_emergency_unlock(9) | NAME pdc_emergency_unlock - Unlock the linux pdc lock
SYNOPSIS void pdc_emergency_unlock (void );
ARGUMENTS void no arguments
DESCRIPTION This call unlocks the linux pdc lock in case we need some PDC functions (like pdc_add_valid) during kernel stack dump.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware... |
pdc_fill_sg(9) | NAME pdc_fill_sg - Fill PCI IDE PRD table
SYNOPSIS void pdc_fill_sg (struct ata_queued_cmd *qc );
ARGUMENTS qc Metadata associated with taskfile to be transferred
DESCRIPTION Fill PCI IDE PRD (scatter-gather) table with segments associated with the current disk command. Make sure hardware does not choke on... |
pdc_get_initiator(9) | NAME pdc_get_initiator - Get the SCSI Interface Card params (SCSI ID, SDTR, SE or LVD)
SYNOPSIS int pdc_get_initiator (struct hardware_path *hwpath , struct pdc_initiator *initiator );
ARGUMENTS hwpath fully bc.mod style path to the device.
initiator the array to return the result into
DESCRIPTION Get... |
pdc_hardware_init(9) | NAME pdc_hardware_init - Initialize the hardware.
SYNOPSIS void pdc_hardware_init (struct ata_host *host , unsigned int board_idx );
ARGUMENTS host target ATA host
board_idx board identifier
SEE ALSO Kernel file ./drivers/ata/pata_pdc2027x.c port_mmio(9), dev_mmio(9), pdc2027x_cable_detect(9), p... |
pdc_hw_disable(9) | NAME pdc_hw_disable - Disable the tx and rx control in the hw.
SYNOPSIS void pdc_hw_disable (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state structure
SEE ALSO Kernel file ./drivers/mailbox/bcm-pdc-mailbox.c pdc_setup_debugfs(9), pdc_build_rxd(9), pdc_build_txd(9), pdc_receive_one(9), pdc_receiv... |
pdc_hw_init(9) | NAME pdc_hw_init - Use the given initialization parameters to initialize the state for one of the PDCs.
SYNOPSIS void pdc_hw_init (struct pdc_state *pdcs );
ARGUMENTS pdcs state of the PDC
SEE ALSO Kernel file ./drivers/mailbox/bcm-pdc-mailbox.c pdc_setup_debugfs(9), pdc_build_rxd(9), pdc_build_txd(9... |
pdc_instr(9) | NAME pdc_instr - Get instruction that invokes PDCE_CHECK in HPMC handler.
SYNOPSIS int pdc_instr (unsigned int *instr );
ARGUMENTS instr Pointer to variable which will get instruction opcode.
DESCRIPTION The return value is PDC_OK (0) in case call succeeded.
SEE ALSO Kernel file ./arch/parisc/kernel/firmwar... |
pdc_interrupts_init(9) | NAME pdc_interrupts_init - Initialize the interrupt configuration for a PDC and specify a threaded IRQ handler for deferred handling of interrupts outside of interrupt context.
SYNOPSIS int pdc_interrupts_init (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state
DESCRIPTION Set the interrupt mask for transmit ... |
pdc_iodc_getc(9) | NAME pdc_iodc_getc - Read a character (non-blocking) from the PDC console.
SYNOPSIS int pdc_iodc_getc (void );
ARGUMENTS void no arguments
DESCRIPTION Read a character (non-blocking) from the PDC console, returns -1 if key is not present.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), ... |
pdc_iodc_print(9) | NAME pdc_iodc_print - Console print using IODC.
SYNOPSIS int pdc_iodc_print (const unsigned char *str , unsigned count );
ARGUMENTS str the string to output.
count length of str
DESCRIPTION ... |
pdc_iodc_read(9) | NAME pdc_iodc_read - Read data from the modules IODC.
SYNOPSIS int pdc_iodc_read (unsigned long *actcnt , unsigned long hpa , unsigned int index , void *iodc_data , unsigned int iodc_data_size );
ARGUMENTS actcnt The actual number of bytes.
hpa The HPA of the module for the iodc read.
ind... |
pdc_irq_handler(9) | NAME pdc_irq_handler - Interrupt handler called in interrupt context.
SYNOPSIS irqreturn_t pdc_irq_handler (int irq , void *data );
ARGUMENTS irq Interrupt number that has fired
data device struct for DMA engine that generated the interrupt
DESCRIPTION We have to clear the device interrupt sta... |
pdc_lan_station_id(9) | NAME pdc_lan_station_id - Get the LAN address.
SYNOPSIS int pdc_lan_station_id (char *lan_addr , unsigned long hpa );
ARGUMENTS lan_addr The return buffer.
hpa The network device HPA.
DESCRIPTION Get the LAN station address when it is not directly available from the LAN hardware.
SEE ALSO Kernel ... |
pdc_last_tx_done(9) | NAME pdc_last_tx_done - If both the tx and rx rings have at least PDC_RING_SPACE_MIN descriptors available, then indicate that the mailbox framework can submit another message.
SYNOPSIS bool pdc_last_tx_done (struct mbox_chan *chan );
ARGUMENTS chan mailbox channel to check
RETURN true if PDC can accept anoth... |
pdc_mb_init(9) | NAME pdc_mb_init - Initialize the mailbox controller.
SYNOPSIS int pdc_mb_init (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state
DESCRIPTION Each PDC is a mailbox controller. Each ringset is a mailbox channel. Kernel driver only uses one ringset and thus one mb channel. PDC uses the transmit complete inte... |
pdc_mem_map_hpa(9) | NAME pdc_mem_map_hpa - Find fixed module information.
SYNOPSIS int pdc_mem_map_hpa (struct pdc_memory_map *address , struct pdc_module_path *mod_path );
ARGUMENTS address The return buffer
mod_path pointer to dev path structure.
DESCRIPTION This call was developed for S700 workstations to allow th... |
pdc_model_capabilities(9) | NAME pdc_model_capabilities - Returns the platform capabilities.
SYNOPSIS int pdc_model_capabilities (unsigned long *capabilities );
ARGUMENTS capabilities The return buffer.
DESCRIPTION Returns information about platform support for 32- and/or 64-bit OSes, IO-PDIR coherency, and virtual aliasing.
SEE ALSO Kernel ... |
pdc_model_cpuid(9) | NAME pdc_model_cpuid - Returns the CPU_ID.
SYNOPSIS int pdc_model_cpuid (unsigned long *cpu_id );
ARGUMENTS cpu_id The return buffer.
DESCRIPTION Returns the CPU_ID value which uniquely identifies the cpu portion of the processor module.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), con... |
pdc_model_info(9) | NAME pdc_model_info - Return model information about the processor.
SYNOPSIS int pdc_model_info (struct pdc_model *model );
ARGUMENTS model The return buffer.
DESCRIPTION Returns the version numbers, identifiers, and capabilities from the processor module.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.... |
pdc_model_platform_info(9) | NAME pdc_model_platform_info - Returns machine product and serial number.
SYNOPSIS int pdc_model_platform_info (char *orig_prod_num , char *current_prod_num , char *serial_no );
ARGUMENTS orig_prod_num Return buffer for original product number.
current_prod_num
Return buffer for current pro... |
pdc_model_sysmodel(9) | NAME pdc_model_sysmodel - Get the system model name.
SYNOPSIS int pdc_model_sysmodel (unsigned int os_id , char *name );
ARGUMENTS os_id The operating system ID asked for (an OS_ID_* value)
name A char array of at least 81 characters.
DESCRIPTION Get system model name from PDC ROM (e.g. 9000/715... |
pdc_model_versions(9) | NAME pdc_model_versions - Identify the version number of each processor.
SYNOPSIS int pdc_model_versions (unsigned long *versions , int id );
ARGUMENTS versions The return buffer.
id The id of the processor to check.
DESCRIPTION Returns the version number for each processor component. This comme... |
pdc_pat_cell_get_number(9) | NAME pdc_pat_cell_get_number - Returns the cell number.
SYNOPSIS int pdc_pat_cell_get_number (struct pdc_pat_cell_num *cell_info );
ARGUMENTS cell_info The return buffer.
DESCRIPTION This PDC call returns the cell number of the cell from which the call is made.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware... |
pdc_pat_cell_info(9) | NAME pdc_pat_cell_info - Retrieve the cell's information.
SYNOPSIS int pdc_pat_cell_info (struct pdc_pat_cell_info_rtn_block *info , unsigned long *actcnt , unsigned long offset , unsigned long cell_number );
ARGUMENTS info The pointer to a struct pdc_pat_cell_info_rtn_block.
actcnt The number of ... |
pdc_pat_cell_module(9) | NAME pdc_pat_cell_module - Retrieve the cell's module information.
SYNOPSIS int pdc_pat_cell_module (unsigned long *actcnt , unsigned long ploc , unsigned long mod , unsigned long view_type , void *mem_addr );
ARGUMENTS actcnt The number of bytes written to mem_addr.
ploc The physical location.
... |
pdc_pat_chassis_send_log(9) | NAME pdc_pat_chassis_send_log - Sends a PDC PAT CHASSIS log message.
SYNOPSIS int pdc_pat_chassis_send_log (unsigned long state , unsigned long data );
ARGUMENTS state state of the machine
data value for that state
DESCRIPTION Must be correctly formatted or expect system crash
SEE ALSO Kernel ... |
pdc_pat_cpu_get_number(9) | NAME pdc_pat_cpu_get_number - Retrieve the cpu number.
SYNOPSIS int pdc_pat_cpu_get_number (struct pdc_pat_cpu_num *cpu_info , unsigned long hpa );
ARGUMENTS cpu_info The return buffer.
hpa The Hard Physical Address of the CPU.
DESCRIPTION Retrieve the cpu number for the cpu at the specified HPA.
... |
pdc_pat_get_PDC_entrypoint(9) | NAME pdc_pat_get_PDC_entrypoint - Get PDC entry point for current CPU
SYNOPSIS int pdc_pat_get_PDC_entrypoint (unsigned long *pdc_entry );
ARGUMENTS pdc_entry pointer to where the PDC entry point should be stored
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmwar... |
pdc_pat_get_irt(9) | NAME pdc_pat_get_irt - Retrieve the cell's interrupt table.
SYNOPSIS int pdc_pat_get_irt (void *r_addr , unsigned long cell_num );
ARGUMENTS r_addr The return buffer.
cell_num The target cell.
DESCRIPTION This PDC function returns the actual interrupt table for the specified cell.
SEE ALSO Kernel f... |
pdc_pat_get_irt_size(9) | NAME pdc_pat_get_irt_size - Retrieve the number of entries in the cell's interrupt table.
SYNOPSIS int pdc_pat_get_irt_size (unsigned long *num_entries , unsigned long cell_num );
ARGUMENTS num_entries The return value.
cell_num The target cell.
DESCRIPTION This PDC function returns the number of entries ... |
pdc_pat_io_pci_cfg_read(9) | NAME pdc_pat_io_pci_cfg_read - Read PCI configuration space.
SYNOPSIS int pdc_pat_io_pci_cfg_read (unsigned long pci_addr , int pci_size , u32 *mem_addr );
ARGUMENTS pci_addr PCI configuration space address for which the read request is being made.
pci_size Size of read in bytes. Valid values are 1, 2, ... |
pdc_pat_io_pci_cfg_write(9) | NAME pdc_pat_io_pci_cfg_write - Retrieve information about memory address ranges.
SYNOPSIS int pdc_pat_io_pci_cfg_write (unsigned long pci_addr , int pci_size , u32 val );
ARGUMENTS pci_addr PCI configuration space address for which the write request is being made.
pci_size Size of write in bytes. Vali... |
pdc_pat_mem_get_dimm_phys_location(9) | NAME pdc_pat_mem_get_dimm_phys_location - Get physical DIMM slot via PAT firmware
SYNOPSIS int pdc_pat_mem_get_dimm_phys_location (struct pdc_pat_mem_phys_mem_location *pret , unsigned long phys_addr );
ARGUMENTS pret ptr to hold returned information
phys_addr physical address to examine
SEE ALSO Ke... |
pdc_pat_mem_pdt_cell_info(9) | NAME pdc_pat_mem_pdt_cell_info - Retrieve information about page deallocation table of a cell
SYNOPSIS int pdc_pat_mem_pdt_cell_info (struct pdc_pat_mem_cell_pdt_retinfo *rinfo , unsigned long cell );
ARGUMENTS rinfo memory pdt information
cell cell number
SEE ALSO Kernel file ./arch/parisc/ke... |
pdc_pat_mem_pdt_info(9) | NAME pdc_pat_mem_pdt_info - Retrieve information about page deallocation table
SYNOPSIS int pdc_pat_mem_pdt_info (struct pdc_pat_mem_retinfo *rinfo );
ARGUMENTS rinfo memory pdt information
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_eme... |
pdc_pat_mem_read_cell_pdt(9) | NAME pdc_pat_mem_read_cell_pdt - Read PDT entries from (old) PAT firmware
SYNOPSIS int pdc_pat_mem_read_cell_pdt (struct pdc_pat_mem_read_pd_retinfo *pret , unsigned long *pdt_entries_ptr , unsigned long max_entries );
ARGUMENTS pret array of PDT entries
pdt_entries_ptr
ptr to hold n... |
pdc_pat_mem_read_pd_pdt(9) | NAME pdc_pat_mem_read_pd_pdt - Read PDT entries from (newer) PAT firmware
SYNOPSIS int pdc_pat_mem_read_pd_pdt (struct pdc_pat_mem_read_pd_retinfo *pret , unsigned long *pdt_entries_ptr , unsigned long count , unsigned long offset );
ARGUMENTS pret array of PDT entries
pdt_entries_ptr
... |
pdc_pat_pd_get_addr_map(9) | NAME pdc_pat_pd_get_addr_map - Retrieve information about memory address ranges.
SYNOPSIS int pdc_pat_pd_get_addr_map (unsigned long *actual_len , void *mem_addr , unsigned long count , unsigned long offset );
ARGUMENTS actual_len The return buffer.
mem_addr Pointer to the memory buffer.
count ... |
pdc_pat_pd_get_pdc_revisions(9) | NAME pdc_pat_pd_get_pdc_revisions - Retrieve PDC interface revisions.
SYNOPSIS int pdc_pat_pd_get_pdc_revisions (unsigned long *legacy_rev , unsigned long *pat_rev , unsigned long *pdc_cap );
ARGUMENTS legacy_rev The legacy revision.
pat_rev The PAT revision.
pdc_cap The PDC capabilities.
SE... |
pdc_pat_pd_get_platform_counter(9) | NAME pdc_pat_pd_get_platform_counter - Retrieve address of free-running 64-bit counter.
SYNOPSIS int pdc_pat_pd_get_platform_counter (uint64_t **addr , unsigned long *freq , unsigned long *unique );
ARGUMENTS addr The address of the 64-bit counter.
freq The frequency of the counter, or -1 if unk... |
pdc_pci_config_read(9) | NAME pdc_pci_config_read - read PCI config space.
SYNOPSIS unsigned int pdc_pci_config_read (void *hpa , unsigned long cfg_addr );
ARGUMENTS hpa Token from PDC to indicate which PCI device
cfg_addr Configuration space address to read from
DESCRIPTION Read PCI Configuration space *before* linux PCI... |
pdc_pci_config_write(9) | NAME pdc_pci_config_write - read PCI config space.
SYNOPSIS void pdc_pci_config_write (void *hpa , unsigned long cfg_addr , unsigned int val );
ARGUMENTS hpa Token from PDC to indicate which PCI device
cfg_addr Configuration space address to write
val Value we want in the 32-bit reg... |
pdc_pci_irt(9) | NAME pdc_pci_irt - Get the PCI interrupt routing table.
SYNOPSIS int pdc_pci_irt (unsigned long num_entries , unsigned long hpa , void *tbl );
ARGUMENTS num_entries The number of entries in the table.
hpa The Hard Physical Address of the device.
tbl
DESCRIPTION Get the PCI interrupt routing t... |
pdc_pci_irt_size(9) | NAME pdc_pci_irt_size - Get the number of entries in the interrupt routing table.
SYNOPSIS int pdc_pci_irt_size (unsigned long *num_entries , unsigned long hpa );
ARGUMENTS num_entries The return value.
hpa The HPA for the device.
DESCRIPTION This PDC function returns the number of entries in the spe... |
pdc_pim_toc11(9) | NAME pdc_pim_toc11 - Fetch TOC PIM 1.1 data from firmware.
SYNOPSIS int pdc_pim_toc11 (struct pdc_toc_pim_11 *ret );
ARGUMENTS ret pointer to return buffer
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9), pdc_add_valid(... |
pdc_pim_toc20(9) | NAME pdc_pim_toc20 - Fetch TOC PIM 2.0 data from firmware.
SYNOPSIS int pdc_pim_toc20 (struct pdc_toc_pim_20 *ret );
ARGUMENTS ret pointer to return buffer
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9), pdc_add_valid(... |
pdc_probe(9) | NAME pdc_probe - Probe function for PDC driver.
SYNOPSIS int pdc_probe (struct platform_device *pdev );
ARGUMENTS pdev PDC platform device
DESCRIPTION Reserve and map register regions defined in device tree. Allocate and initialize tx and rx DMA rings. Initialize a mailbox controller for each PDC.
RETURN 0... |
pdc_read_counter(9) | NAME pdc_read_counter - Read the ctr counter
SYNOPSIS long pdc_read_counter (struct ata_host *host );
ARGUMENTS host target ATA host
SEE ALSO Kernel file ./drivers/ata/pata_pdc2027x.c port_mmio(9), dev_mmio(9), pdc2027x_cable_detect(9), pdc2027x_port_enabled(9), pdc2027x_prereset(9), pdc2027x_mode_filter(... |
pdc_receive(9) | NAME pdc_receive - Process as many responses as are available in the rx ring.
SYNOPSIS int pdc_receive (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state
DESCRIPTION Called within the hard IRQ.
SEE ALSO Kernel file ./drivers/mailbox/bcm-pdc-mailbox.c pdc_setup_debugfs(9), pdc_build_rxd(9), pdc_build_tx... |
pdc_receive_one(9) | NAME pdc_receive_one - Receive a response message from a given SPU.
SYNOPSIS int pdc_receive_one (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state for the SPU to receive from
DESCRIPTION When the return code indicates success, the response message is available in the receive buffers provided prior to submis... |
pdc_ring_init(9) | NAME pdc_ring_init - Allocate DMA rings and initialize constant fields of descriptors in one ringset.
SYNOPSIS int pdc_ring_init (struct pdc_state *pdcs , int ringset );
ARGUMENTS pdcs PDC instance state
ringset index of ringset being used
RETURN PDC_SUCCESS if ring initialized < 0 otherwise
SEE ... |
pdc_rings_full(9) | NAME pdc_rings_full - Check whether the tx ring has room for tx_cnt descriptors and the rx ring has room for rx_cnt descriptors.
SYNOPSIS bool pdc_rings_full (struct pdc_state *pdcs , int tx_cnt , int rx_cnt );
ARGUMENTS pdcs PDC state
tx_cnt The number of descriptors required in the tx ring
... |
pdc_rx_buf_pool_create(9) | NAME pdc_rx_buf_pool_create - Pool of receive buffers used to catch the metadata header returned with each response message.
SYNOPSIS int pdc_rx_buf_pool_create (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state structure
DESCRIPTION The metadata is not returned to the mailbox client. So the PDC driver manag... |
pdc_rx_list_init(9) | NAME pdc_rx_list_init - Start a new receive descriptor list for a given PDC.
SYNOPSIS int pdc_rx_list_init (struct pdc_state *pdcs , struct scatterlist *dst_sg , void *ctx );
ARGUMENTS pdcs PDC state for SPU handling request
dst_sg scatterlist providing rx buffers for response to be returned to ma... |
pdc_rx_list_sg_add(9) | NAME pdc_rx_list_sg_add - Add the buffers in a scatterlist to the receive descriptors for a given SPU. The caller must have already DMA mapped the scatterlist.
SYNOPSIS int pdc_rx_list_sg_add (struct pdc_state *pdcs , struct scatterlist *sg );
ARGUMENTS pdcs PDC state for the SPU that will process this request... |
pdc_send_data(9) | NAME pdc_send_data - mailbox send_data function
SYNOPSIS int pdc_send_data (struct mbox_chan *chan , void *data );
ARGUMENTS chan The mailbox channel on which the data is sent. The channel corresponds to a DMA ringset.
data The mailbox message to be sent. The message must be a brcm_message struc... |
pdc_setup_debugfs(9) | NAME pdc_setup_debugfs - Create the debug FS directories. If the top-level directory has not yet been created, create it now. Create a stats file in this directory for a SPU.
SYNOPSIS void pdc_setup_debugfs (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state structure
SEE ALSO Kernel file ./drivers/mailbox/bc... |
pdc_spaceid_bits(9) | NAME pdc_spaceid_bits - Return whether Space ID hashing is turned on.
SYNOPSIS int pdc_spaceid_bits (unsigned long *space_bits );
ARGUMENTS space_bits Should be 0, if not, bad mojo!
DESCRIPTION Returns information about Space ID hashing.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert... |
pdc_stable_get_size(9) | NAME pdc_stable_get_size - Get Stable Storage size in bytes.
SYNOPSIS int pdc_stable_get_size (unsigned long *size );
ARGUMENTS size pointer where the size will be stored.
DESCRIPTION This PDC call returns the number of bytes in the processor's Stable Storage, which is the number of contiguous bytes implement... |
pdc_stable_initialize(9) | NAME pdc_stable_initialize - Sets Stable Storage contents to zero and initialize the validity indicator.
SYNOPSIS int pdc_stable_initialize (void );
ARGUMENTS void no arguments
DESCRIPTION This PDC call will erase all contents of Stable Storage. Use with care!
SEE ALSO Kernel file ./arch/parisc/kernel/firm... |
pdc_stable_read(9) | NAME pdc_stable_read - Read data from Stable Storage.
SYNOPSIS int pdc_stable_read (unsigned long staddr , void *memaddr , unsigned long count );
ARGUMENTS staddr Stable Storage address to access.
memaddr The memory address where Stable Storage data shall be copied.
count number of byte... |
pdc_stable_verify_contents(9) | NAME pdc_stable_verify_contents - Checks that Stable Storage contents are valid.
SYNOPSIS int pdc_stable_verify_contents (void );
ARGUMENTS void no arguments
DESCRIPTION This PDC call is meant to be used to check the integrity of the current contents of Stable Storage.
SEE ALSO Kernel file ./arch/parisc/ke... |
pdc_stable_write(9) | NAME pdc_stable_write - Write data to Stable Storage.
SYNOPSIS int pdc_stable_write (unsigned long staddr , void *memaddr , unsigned long count );
ARGUMENTS staddr Stable Storage address to access.
memaddr The memory address where Stable Storage data shall be read from.
count number of ... |
pdc_system_map_find_addrs(9) | NAME pdc_system_map_find_addrs - Retrieve additional address ranges.
SYNOPSIS int pdc_system_map_find_addrs (struct pdc_system_map_addr_info *pdc_addr_info , long mod_index , long addr_index );
ARGUMENTS pdc_addr_info Return buffer address.
mod_index Fixed address module index.
addr_index Address r... |
pdc_system_map_find_mods(9) | NAME pdc_system_map_find_mods - Locate unarchitected modules.
SYNOPSIS int pdc_system_map_find_mods (struct pdc_system_map_mod_info *pdc_mod_info , struct pdc_module_path *mod_path , long mod_index );
ARGUMENTS pdc_mod_info Return buffer address.
mod_path pointer to dev path structure.
mod_index ... |
pdc_tod_read(9) | NAME pdc_tod_read - Read the Time-Of-Day clock.
SYNOPSIS int pdc_tod_read (struct pdc_tod *tod );
ARGUMENTS tod The return buffer:
DESCRIPTION Read the Time-Of-Day clock
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9),... |
pdc_tod_set(9) | NAME pdc_tod_set - Set the Time-Of-Day clock.
SYNOPSIS int pdc_tod_set (unsigned long sec , unsigned long usec );
ARGUMENTS sec The number of seconds since epoch.
usec The number of micro seconds.
DESCRIPTION Set the Time-Of-Day clock.
SEE ALSO Kernel file ./arch/parisc/kernel/firmware.c f... |
pdc_tx_list_final(9) | NAME pdc_tx_list_final - Initiate DMA transfer of last frame written to tx ring.
SYNOPSIS int pdc_tx_list_final (struct pdc_state *pdcs );
ARGUMENTS pdcs PDC state for SPU to process the request
DESCRIPTION Sets the index of the last descriptor written in both the rx and tx ring.
RETURN PDC_SUCCESS
SEE ALSO... |
pdc_tx_list_sg_add(9) | NAME pdc_tx_list_sg_add - Add the buffers in a scatterlist to the transmit descriptors for a given SPU. The scatterlist buffers contain the data for a SPU request message.
SYNOPSIS int pdc_tx_list_sg_add (struct pdc_state *pdcs , struct scatterlist *sg );
ARGUMENTS pdcs PDC state for the SPU that will process ... |
pdc_work_cb(9) | NAME pdc_work_cb - Work callback that runs the deferred processing after a DMA receive interrupt. Reenables the receive interrupt.
SYNOPSIS void pdc_work_cb (struct work_struct *t );
ARGUMENTS t Pointer to the Altera sSGDMA channel structure
SEE ALSO Kernel file ./drivers/mailbox/bcm-pdc-mailbox.c pd... |
pdcs_auto_read(9) | NAME pdcs_auto_read - Stable Storage autoboot/search flag output.
SYNOPSIS ssize_t pdcs_auto_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf , int knob );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The outpu... |
pdcs_auto_write(9) | NAME pdcs_auto_write - This function handles autoboot/search flag modifying.
SYNOPSIS ssize_t pdcs_auto_write (struct kobject *kobj , struct kobj_attribute *attr , const char *buf , size_t count , int knob );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attribut... |
pdcs_autoboot_read(9) | NAME pdcs_autoboot_read - Stable Storage autoboot flag output.
SYNOPSIS ssize_t pdcs_autoboot_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output buffer t... |
pdcs_autoboot_write(9) | NAME pdcs_autoboot_write - This function handles autoboot flag modifying.
SYNOPSIS ssize_t pdcs_autoboot_write (struct kobject *kobj , struct kobj_attribute *attr , const char *buf , size_t count );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
... |
pdcs_autosearch_read(9) | NAME pdcs_autosearch_read - Stable Storage autoboot flag output.
SYNOPSIS ssize_t pdcs_autosearch_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output buff... |
pdcs_autosearch_write(9) | NAME pdcs_autosearch_write - This function handles autosearch flag modifying.
SYNOPSIS ssize_t pdcs_autosearch_write (struct kobject *kobj , struct kobj_attribute *attr , const char *buf , size_t count );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
... |
pdcs_diagnostic_read(9) | NAME pdcs_diagnostic_read - Stable Storage Diagnostic register output.
SYNOPSIS ssize_t pdcs_diagnostic_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The outpu... |
pdcs_fastsize_read(9) | NAME pdcs_fastsize_read - Stable Storage FastSize register output.
SYNOPSIS ssize_t pdcs_fastsize_read (struct kobject *kobj , struct kobj_attribute *attr , char *buf );
ARGUMENTS kobj The kobject used to share data with userspace.
attr The kobject attributes.
buf The output buff... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.