id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
bcm63xx_ep0_setup_callback(9) | NAME bcm63xx_ep0_setup_callback - Drop spinlock to invoke ->setup callback.
SYNOPSIS int bcm63xx_ep0_setup_callback (struct bcm63xx_udc *udc , struct usb_ctrlrequest *ctrl );
ARGUMENTS udc Reference to the device controller.
ctrl 8-byte SETUP request.
SEE ALSO Kernel file ./drivers/usb/gadge... |
bcm63xx_ep0_spoof_set_cfg(9) | NAME bcm63xx_ep0_spoof_set_cfg - Synthesize a SET_CONFIGURATION request.
SYNOPSIS int bcm63xx_ep0_spoof_set_cfg (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
DESCRIPTION Many standard requests are handled automatically in the hardware, but we still need to pass them to the... |
bcm63xx_ep0_spoof_set_iface(9) | NAME bcm63xx_ep0_spoof_set_iface - Synthesize a SET_INTERFACE request.
SYNOPSIS int bcm63xx_ep0_spoof_set_iface (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct ... |
bcm63xx_ep_disable(9) | NAME bcm63xx_ep_disable - Disable one endpoint.
SYNOPSIS int bcm63xx_ep_disable (struct usb_ep *ep );
ARGUMENTS ep Endpoint to disable.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct bcm63xx_ep(9), struct bcm63xx_req(9), struct bcm63... |
bcm63xx_ep_dma_select(9) | NAME bcm63xx_ep_dma_select - Helper function to set up the init_sel signal.
SYNOPSIS void bcm63xx_ep_dma_select (struct bcm63xx_udc *udc , int idx );
ARGUMENTS udc Reference to the device controller.
idx Desired init_sel value.
DESCRIPTION The "init_sel" signal is used as a selection index fo... |
bcm63xx_ep_enable(9) | NAME bcm63xx_ep_enable - Enable one endpoint.
SYNOPSIS int bcm63xx_ep_enable (struct usb_ep *ep , const struct usb_endpoint_descriptor *desc );
ARGUMENTS ep Endpoint to enable.
desc Contains max packet, direction, etc.
DESCRIPTION Most of the endpoint parameters are fixed in this controller, ... |
bcm63xx_ep_init(9) | NAME bcm63xx_ep_init - Initial (one-time) endpoint initialization.
SYNOPSIS void bcm63xx_ep_init (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct bcm63xx_ep(9), ... |
bcm63xx_ep_setup(9) | NAME bcm63xx_ep_setup - Configure per-endpoint settings.
SYNOPSIS void bcm63xx_ep_setup (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
DESCRIPTION This needs to be rerun if the speed/cfg/intf/altintf changes.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struc... |
bcm63xx_fifo_reset(9) | NAME bcm63xx_fifo_reset - Flush all hardware FIFOs.
SYNOPSIS void bcm63xx_fifo_reset (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct bcm63xx_ep(9), struct bcm... |
bcm63xx_fifo_reset_ep(9) | NAME bcm63xx_fifo_reset_ep - Flush a single endpoint's FIFO.
SYNOPSIS void bcm63xx_fifo_reset_ep (struct bcm63xx_udc *udc , int ep_num );
ARGUMENTS udc Reference to the device controller.
ep_num Endpoint number.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(... |
bcm63xx_fifo_setup(9) | NAME bcm63xx_fifo_setup - (Re)initialize FIFO boundaries and settings.
SYNOPSIS void bcm63xx_fifo_setup (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
DESCRIPTION These parameters depend on the USB link speed. Settings are per-IUDMA-channel-pair.
SEE ALSO Kernel file ./driv... |
bcm63xx_init_udc_hw(9) | NAME bcm63xx_init_udc_hw - Initialize the controller hardware and data structures.
SYNOPSIS int bcm63xx_init_udc_hw (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), stru... |
bcm63xx_nvram_get_mac_address(9) | NAME bcm63xx_nvram_get_mac_address - register & return a new mac address
SYNOPSIS int bcm63xx_nvram_get_mac_address (u8 *mac );
ARGUMENTS mac pointer to array for allocated mac
DESCRIPTION Registers and returns a mac address from the allocated macs from nvram. Returns 0 on success.
SEE ALSO Kernel file ./a... |
bcm63xx_nvram_get_name(9) | NAME bcm63xx_nvram_get_name - returns the board name according to nvram
SYNOPSIS u8 * bcm63xx_nvram_get_name (void );
ARGUMENTS void no arguments
DESCRIPTION Returns the board name field from nvram. Note that it might not be null terminated if it is exactly 16 bytes long.
SEE ALSO Kernel file ./arch/mips/inc... |
bcm63xx_nvram_init(9) | NAME bcm63xx_nvram_init - initializes nvram
SYNOPSIS void bcm63xx_nvram_init (void *nvram );
ARGUMENTS nvram address of the nvram data
DESCRIPTION Initialized the local nvram copy from the target address and checks its checksum.
SEE ALSO Kernel file ./arch/mips/include/asm/mach-bcm63xx/bcm63xx_nvram.h bcm63xx... |
bcm63xx_select_phy_mode(9) | NAME bcm63xx_select_phy_mode - Select between USB device and host mode.
SYNOPSIS void bcm63xx_select_phy_mode (struct bcm63xx_udc *udc , bool is_device );
ARGUMENTS udc Reference to the device controller.
is_device true for device, false for host.
DESCRIPTION This should probably be reworked to use... |
bcm63xx_select_pullup(9) | NAME bcm63xx_select_pullup - Enable/disable the pullup on D+
SYNOPSIS void bcm63xx_select_pullup (struct bcm63xx_udc *udc , bool is_on );
ARGUMENTS udc Reference to the device controller.
is_on true to enable the pullup, false to disable.
DESCRIPTION If the pullup is active, the host will sense... |
bcm63xx_set_ctrl_irqs(9) | NAME bcm63xx_set_ctrl_irqs - Mask/unmask control path interrupts.
SYNOPSIS void bcm63xx_set_ctrl_irqs (struct bcm63xx_udc *udc , bool enable_irqs );
ARGUMENTS udc Reference to the device controller.
enable_irqs true to enable, false to disable.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_... |
bcm63xx_set_stall(9) | NAME bcm63xx_set_stall - Enable/disable stall on one endpoint.
SYNOPSIS void bcm63xx_set_stall (struct bcm63xx_udc *udc , struct bcm63xx_ep *bep , bool is_stalled );
ARGUMENTS udc Reference to the device controller.
bep Endpoint on which to operate.
is_stalled true to enable stall, fa... |
bcm63xx_udc_alloc_request(9) | NAME bcm63xx_udc_alloc_request - Allocate a new request.
SYNOPSIS struct usb_request * bcm63xx_udc_alloc_request (struct usb_ep *ep , gfp_t mem_flags );
ARGUMENTS ep Endpoint associated with the request.
mem_flags Flags to pass to kzalloc.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_ud... |
bcm63xx_udc_cleanup_debugfs(9) | NAME bcm63xx_udc_cleanup_debugfs - Remove debugfs entries.
SYNOPSIS void bcm63xx_udc_cleanup_debugfs (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
DESCRIPTION debugfs_remove is safe to call with a NULL argument.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c s... |
bcm63xx_udc_ctrl_isr(9) | NAME bcm63xx_udc_ctrl_isr - ISR for control path events (USBD).
SYNOPSIS irqreturn_t bcm63xx_udc_ctrl_isr (int irq , void *dev_id );
ARGUMENTS irq IRQ number (unused).
dev_id Reference to the device controller.
DESCRIPTION This is where we handle link (VBUS) down, USB reset, speed changes, SET_C... |
bcm63xx_udc_data_isr(9) | NAME bcm63xx_udc_data_isr - ISR for data path events (IUDMA).
SYNOPSIS irqreturn_t bcm63xx_udc_data_isr (int irq , void *dev_id );
ARGUMENTS irq IRQ number (unused).
dev_id Reference to the IUDMA channel that generated the interrupt.
DESCRIPTION For the two ep0 channels, we have special handl... |
bcm63xx_udc_dequeue(9) | NAME bcm63xx_udc_dequeue - Remove a pending request from the queue.
SYNOPSIS int bcm63xx_udc_dequeue (struct usb_ep *ep , struct usb_request *req );
ARGUMENTS ep Endpoint associated with the request.
req Request to remove.
DESCRIPTION If the request is not at the head of the queue, this is e... |
bcm63xx_udc_free_request(9) | NAME bcm63xx_udc_free_request - Free a request.
SYNOPSIS void bcm63xx_udc_free_request (struct usb_ep *ep , struct usb_request *req );
ARGUMENTS ep Endpoint associated with the request.
req Request to free.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9)... |
bcm63xx_udc_get_frame(9) | NAME bcm63xx_udc_get_frame - Read current SOF frame number from the HW.
SYNOPSIS int bcm63xx_udc_get_frame (struct usb_gadget *gadget );
ARGUMENTS gadget USB device.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct bcm63xx_ep(9), struct bcm63xx_re... |
bcm63xx_udc_init_debugfs(9) | NAME bcm63xx_udc_init_debugfs - Create debugfs entries.
SYNOPSIS void bcm63xx_udc_init_debugfs (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct bcm63xx_ep(9), s... |
bcm63xx_udc_probe(9) | NAME bcm63xx_udc_probe - Initialize a new instance of the UDC.
SYNOPSIS int bcm63xx_udc_probe (struct platform_device *pdev );
ARGUMENTS pdev Platform device struct from the bcm63xx BSP code.
DESCRIPTION Note that platform data is required, because pd.port_no varies from chip to chip and is used to switch the... |
bcm63xx_udc_pullup(9) | NAME bcm63xx_udc_pullup - Enable/disable pullup on D+ line.
SYNOPSIS int bcm63xx_udc_pullup (struct usb_gadget *gadget , int is_on );
ARGUMENTS gadget USB device.
is_on 0 to disable pullup, 1 to enable.
DESCRIPTION See notes in bcm63xx_select_pullup.
SEE ALSO Kernel file ./drivers/usb/gadget/ud... |
bcm63xx_udc_queue(9) | NAME bcm63xx_udc_queue - Queue up a new request.
SYNOPSIS int bcm63xx_udc_queue (struct usb_ep *ep , struct usb_request *req , gfp_t mem_flags );
ARGUMENTS ep Endpoint associated with the request.
req Request to add.
mem_flags Unused.
DESCRIPTION If the queue is empty, start this... |
bcm63xx_udc_remove(9) | NAME bcm63xx_udc_remove - Remove the device from the system.
SYNOPSIS void bcm63xx_udc_remove (struct platform_device *pdev );
ARGUMENTS pdev Platform device struct from the bcm63xx BSP code.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct ... |
bcm63xx_udc_set_halt(9) | NAME bcm63xx_udc_set_halt - Enable/disable STALL flag in the hardware.
SYNOPSIS int bcm63xx_udc_set_halt (struct usb_ep *ep , int value );
ARGUMENTS ep Endpoint to halt.
value Zero to clear halt; nonzero to set halt.
DESCRIPTION See comments in bcm63xx_update_wedge.
SEE ALSO Kernel file ./d... |
bcm63xx_udc_set_wedge(9) | NAME bcm63xx_udc_set_wedge - Stall the endpoint until the next reset.
SYNOPSIS int bcm63xx_udc_set_wedge (struct usb_ep *ep );
ARGUMENTS ep Endpoint to wedge.
DESCRIPTION See comments in bcm63xx_update_wedge.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudm... |
bcm63xx_udc_start(9) | NAME bcm63xx_udc_start - Start the controller.
SYNOPSIS int bcm63xx_udc_start (struct usb_gadget *gadget , struct usb_gadget_driver *driver );
ARGUMENTS gadget USB device.
driver Driver for USB device.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct ... |
bcm63xx_udc_stop(9) | NAME bcm63xx_udc_stop - Shut down the controller.
SYNOPSIS int bcm63xx_udc_stop (struct usb_gadget *gadget );
ARGUMENTS gadget USB device.
SEE ALSO Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch_cfg(9), struct iudma_ch(9), struct bcm63xx_ep(9), struct bcm63xx_req(9), struct bcm63x... |
bcm63xx_uninit_udc_hw(9) | NAME bcm63xx_uninit_udc_hw - Shut down the hardware prior to driver removal.
SYNOPSIS void bcm63xx_uninit_udc_hw (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
DESCRIPTION This just masks the IUDMA IRQs and releases the clocks. It is assumed that bcm63xx_udc_stop has already r... |
bcm63xx_update_cfg_iface(9) | NAME bcm63xx_update_cfg_iface - Read current configuration/interface settings.
SYNOPSIS void bcm63xx_update_cfg_iface (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
DESCRIPTION This controller intercepts SET_CONFIGURATION and SET_INTERFACE messages. The driver never sees the r... |
bcm63xx_update_link_speed(9) | NAME bcm63xx_update_link_speed - Check to see if the link speed has changed.
SYNOPSIS int bcm63xx_update_link_speed (struct bcm63xx_udc *udc );
ARGUMENTS udc Reference to the device controller.
DESCRIPTION The link speed update coincides with a SETUP IRQ. Returns 1 if the speed has changed, so that the call... |
bcm63xx_update_wedge(9) | NAME bcm63xx_update_wedge - Iterate through wedged endpoints.
SYNOPSIS void bcm63xx_update_wedge (struct bcm63xx_udc *udc , bool new_status );
ARGUMENTS udc Reference to the device controller.
new_status true to "refresh" wedge status; false to clear it.
DESCRIPTION On a SETUP interrupt, we need t... |
bcm_config_lre_advert(9) | NAME bcm_config_lre_advert - sanitize and advertise Long-Distance Signaling auto-negotiation parameters
SYNOPSIS int bcm_config_lre_advert (struct phy_device *phydev );
ARGUMENTS phydev target phy_device struct
RETURN 0 if the PHY's advertisement hasn't changed, < 0 on error, > 0 if it has changed
DESCRIPTION ... |
bcm_linkmode_adv_to_lre_adv_t(9) | NAME bcm_linkmode_adv_to_lre_adv_t - translate linkmode advertisement to LDS
SYNOPSIS u32 bcm_linkmode_adv_to_lre_adv_t (unsigned long *advertising );
ARGUMENTS advertising the linkmode advertisement settings
RETURN LDS Auto-Negotiation Advertised Ability register value
DESCRIPTION A small helper function that tran... |
bcma_arch_register_fallback_sprom(9) | NAME bcma_arch_register_fallback_sprom - Registers a method providing a fallback SPROM if no SPROM is found.
SYNOPSIS int bcma_arch_register_fallback_sprom (int (*sprom_callback)(struct bcma_bus *bus, struct ssb_sprom *out) );
ARGUMENTS sprom_callback The callback function.
DESCRIPTION With this function the arc... |
bcmp(3) | NAME bcmp - compare byte sequences
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <strings.h>
[[deprecated]] int bcmp(size_t n;
const void s1[n], const void s2[n], size_t n);
DESCRIPTION bcmp() is identical to memcmp(3); use the latter instead.
STANDARDS None.
HISTO... |
bcmp(9) | NAME bcmp - returns 0 if and only if the buffers have identical contents.
SYNOPSIS int bcmp (const void *a , const void *b , size_t len );
ARGUMENTS a pointer to first buffer.
b pointer to second buffer.
len size of buffers.
DESCRIPTION The sign or magnitude of a non-zero... |
bcom_buffer_done(9) | NAME bcom_buffer_done - Checks if a BestComm
SYNOPSIS int bcom_buffer_done (struct bcom_task *tsk );
ARGUMENTS tsk The BestComm task structure
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.h struct bcom_bd(9), struct bcom_task(9), bcom_enable(9), bcom_disable(9), bcom_get_task_irq(9), bc... |
bcom_disable(9) | NAME bcom_disable - Disable a BestComm task
SYNOPSIS void bcom_disable (struct bcom_task *tsk );
ARGUMENTS tsk The BestComm task structure
DESCRIPTION This function disable a given task, making sure it's not executed by the BestComm engine.
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.h str... |
bcom_disable_prefetch(9) | NAME bcom_disable_prefetch - Hook to disable bus prefetching
SYNOPSIS void bcom_disable_prefetch (void );
ARGUMENTS void no arguments
DESCRIPTION ATA DMA and the original MPC5200 need this due to silicon bugs. At the moment disabling prefetch is a one-way street. There is no mechanism in place to turn prefe... |
bcom_enable(9) | NAME bcom_enable - Enable a BestComm task
SYNOPSIS void bcom_enable (struct bcom_task *tsk );
ARGUMENTS tsk The BestComm task structure
DESCRIPTION This function makes sure the given task is enabled and can be run by the BestComm engine as needed
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.... |
bcom_get_bd(9) | NAME bcom_get_bd - Get a BD from the queue
SYNOPSIS struct bcom_bd * bcom_get_bd (struct bcom_task *tsk , unsigned int index );
ARGUMENTS tsk The BestComm task structure index: Index of the BD to fetch
index -- undescribed --
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.h struc... |
bcom_get_task_irq(9) | NAME bcom_get_task_irq - Returns the irq number of a BestComm task
SYNOPSIS int bcom_get_task_irq (struct bcom_task *tsk );
ARGUMENTS tsk The BestComm task structure
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.h struct bcom_bd(9), struct bcom_task(9), bcom_enable(9), bcom_disable(9), ... |
bcom_prepare_next_buffer(9) | NAME bcom_prepare_next_buffer - clear status of next available buffer.
SYNOPSIS struct bcom_bd * bcom_prepare_next_buffer (struct bcom_task *tsk );
ARGUMENTS tsk The BestComm task structure
DESCRIPTION Returns pointer to next buffer descriptor
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.h... |
bcom_psc_gen_bd_rx_init(9) | NAME bcom_psc_gen_bd_rx_init - Allocate a receive bcom_task for a PSC port
SYNOPSIS struct bcom_task * bcom_psc_gen_bd_rx_init (unsigned psc_num , int queue_len , phys_addr_t fifo , int maxbufsize );
ARGUMENTS psc_num Number of the PSC to allocate a task for
queue_len number of buffer descriptors to all... |
bcom_psc_gen_bd_tx_init(9) | NAME bcom_psc_gen_bd_tx_init - Allocate a transmit bcom_task for a PSC port
SYNOPSIS struct bcom_task * bcom_psc_gen_bd_tx_init (unsigned psc_num , int queue_len , phys_addr_t fifo );
ARGUMENTS psc_num Number of the PSC to allocate a task for
queue_len number of buffer descriptors to allocate for the ta... |
bcom_queue_empty(9) | NAME bcom_queue_empty - Checks if a BestComm task BD queue is empty
SYNOPSIS int bcom_queue_empty (struct bcom_task *tsk );
ARGUMENTS tsk The BestComm task structure
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.h struct bcom_bd(9), struct bcom_task(9), bcom_enable(9), bcom_disable(9), b... |
bcom_queue_full(9) | NAME bcom_queue_full - Checks if a BestComm task BD queue is full
SYNOPSIS int bcom_queue_full (struct bcom_task *tsk );
ARGUMENTS tsk The BestComm task structure
SEE ALSO Kernel file ./include/linux/fsl/bestcomm/bestcomm.h struct bcom_bd(9), struct bcom_task(9), bcom_enable(9), bcom_disable(9), bcom_get_tas... |
bcomps(1) | NAME bcomps - biconnected components filter for graphs
SYNOPSIS bcomps [ -stvx? ] [ -ooutfile ] [ files ]
DESCRIPTION bcomps decomposes graphs into their biconnected components, printing the components to standard output.
OPTIONS The following options are supported:
-s No output graph is printed. Implie... |
bcopy(3) | NAME bcopy - copy byte sequence
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <strings.h>
[[deprecated]] void bcopy(size_t n;
const void src[n], void dest[n], size_t n);
DESCRIPTION The bcopy() function copies n bytes from src to dest. The result is correct, even ... |
bd_abort_claiming(9) | NAME bd_abort_claiming - abort claiming of a block device
SYNOPSIS void bd_abort_claiming (struct block_device *bdev , void *holder );
ARGUMENTS bdev block device of interest
holder holder that has claimed bdev
DESCRIPTION Abort claiming of a block device when the exclusive open failed. This can ... |
bd_finish_claiming(9) | NAME bd_finish_claiming - finish claiming of a block device
SYNOPSIS void bd_finish_claiming (struct block_device *bdev , void *holder , const struct blk_holder_ops *hops );
ARGUMENTS bdev block device of interest
holder holder that has claimed bdev
hops block device holder operatio... |
bd_link_disk_holder(9) | NAME bd_link_disk_holder - create symlinks between holding disk and slave bdev
SYNOPSIS int bd_link_disk_holder (struct block_device *bdev , struct gendisk *disk );
ARGUMENTS bdev the claimed slave bdev
disk the holding disk
DESCRIPTION DON'T USE THIS UNLESS YOU'RE ALREADY USING IT. This fun... |
bd_may_claim(9) | NAME bd_may_claim - test whether a block device can be claimed
SYNOPSIS bool bd_may_claim (struct block_device *bdev , void *holder , const struct blk_holder_ops *hops );
ARGUMENTS bdev block device of interest
holder holder trying to claim bdev
hops holder ops
DESCRIPTION Test whe... |
bd_prepare_to_claim(9) | NAME bd_prepare_to_claim - claim a block device
SYNOPSIS int bd_prepare_to_claim (struct block_device *bdev , void *holder , const struct blk_holder_ops *hops );
ARGUMENTS bdev block device of interest
holder holder trying to claim bdev
hops holder ops.
DESCRIPTION Claim bdev. Thi... |
bd_unlink_disk_holder(9) | NAME bd_unlink_disk_holder - destroy symlinks created by bd_link_disk_holder()
SYNOPSIS void bd_unlink_disk_holder (struct block_device *bdev , struct gendisk *disk );
ARGUMENTS bdev the calimed slave bdev
disk the holding disk
DESCRIPTION DON'T USE THIS UNLESS YOU'RE ALREADY USING IT.
CONTEXT... |
bdev_count_inflight(9) | NAME bdev_count_inflight - get the number of inflight IOs for a block device.
SYNOPSIS unsigned int bdev_count_inflight (struct block_device *part );
ARGUMENTS part the block device.
DESCRIPTION Inflight here means started IO accounting, from bdev_start_io_acct for bio-based block device, and from blk_account... |
bdev_fput(9) | NAME bdev_fput - yield claim to the block device and put the file
SYNOPSIS void bdev_fput (struct file *bdev_file );
ARGUMENTS bdev_file open block device
DESCRIPTION Yield claim on the block device and put the file. Ensure that the block device can be reclaimed before the file is closed which is a deferred operat... |
bdev_freeze(9) | NAME bdev_freeze - lock a filesystem and force it into a consistent state
SYNOPSIS int bdev_freeze (struct block_device *bdev );
ARGUMENTS bdev blockdevice to lock
DESCRIPTION If a superblock is found on this device, we take the s_umount semaphore on it to make sure nobody unmounts until the snapshot creatio... |
bdev_getblk(9) | NAME bdev_getblk - Get a buffer_head in a block device's buffer cache.
SYNOPSIS struct buffer_head * bdev_getblk (struct block_device *bdev , sector_t block , unsigned size , gfp_t gfp );
ARGUMENTS bdev The block device.
block The block number.
size The size of buffer_heads for thi... |
bdev_mark_dead(9) | NAME bdev_mark_dead - mark a block device as dead
SYNOPSIS void bdev_mark_dead (struct block_device *bdev , bool surprise );
ARGUMENTS bdev block device to operate on
surprise indicate a surprise removal
DESCRIPTION Tell the file system that this devices or media is dead. If surprise is set to tr... |
bdev_open(9) | NAME bdev_open - open a block device
SYNOPSIS int bdev_open (struct block_device *bdev , blk_mode_t mode , void *holder , const struct blk_holder_ops *hops , struct file *bdev_file );
ARGUMENTS bdev block device to open
mode open mode (BLK_OPEN_*)
holder exclusive holder identifier
... |
bdev_rw_virt(9) | NAME bdev_rw_virt - synchronously read into / write from kernel mapping
SYNOPSIS int bdev_rw_virt (struct block_device *bdev , sector_t sector , void *data , size_t len , enum req_op op );
ARGUMENTS bdev block device to access
sector sector to access
data data to read/write
... |
bdev_thaw(9) | NAME bdev_thaw - unlock filesystem
SYNOPSIS int bdev_thaw (struct block_device *bdev );
ARGUMENTS bdev blockdevice to unlock
DESCRIPTION Unlocks the filesystem and marks it writeable again after bdev_freeze.
RETURN On success zero is returned, negative error code on failure.
SEE ALSO Kernel file ./block/bde... |
bdev_validate_blocksize(9) | NAME bdev_validate_blocksize - check that this block size is acceptable
SYNOPSIS int bdev_validate_blocksize (struct block_device *bdev , int block_size );
ARGUMENTS bdev blockdevice to check
block_size block size to check
DESCRIPTION For block device users that do not use buffer heads or the block d... |
bdev_zone_is_seq(9) | NAME bdev_zone_is_seq - check if a sector belongs to a sequential write zone
SYNOPSIS bool bdev_zone_is_seq (struct block_device *bdev , sector_t sector );
ARGUMENTS bdev block device to check
sector sector number
DESCRIPTION Check if sector on bdev is contained in a sequential write required zon... |
bdflush(2) | NAME bdflush - start, flush, or tune buffer-dirty-flush daemon
SYNOPSIS #include <sys/kdaemon.h>
int bdflush(int func, long data);
DESCRIPTION This system call used to turn the calling process into the bdflush daemon, or tune it, or flush the "old buffers". It then progressively lost all of that functionalit... |
bdi_get_by_id(9) | NAME bdi_get_by_id - lookup and get bdi from its id
SYNOPSIS struct backing_dev_info * bdi_get_by_id (u64 id );
ARGUMENTS id bdi id to lookup
DESCRIPTION Find bdi matching id and get it. Returns NULL if the matching bdi doesn't exist or is already unregistered.
SEE ALSO Kernel file ./mm/backing-dev.c wb_g... |
bdi_split_work_to_wbs(9) | NAME bdi_split_work_to_wbs - split a wb_writeback_work to all wb's of a bdi
SYNOPSIS void bdi_split_work_to_wbs (struct backing_dev_info *bdi , struct wb_writeback_work *base_work , bool skip_if_busy );
ARGUMENTS bdi target backing_dev_info
base_work wb_writeback_work to issue
skip_if_busy
... |
bdisp_hw_alloc_filters(9) | NAME bdisp_hw_alloc_filters -
SYNOPSIS int bdisp_hw_alloc_filters (struct device *dev );
ARGUMENTS dev device
DESCRIPTION Allocate dma memory for filters
RETURN 0 on success
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_get_and_clear_irq(9), bdisp... |
bdisp_hw_alloc_nodes(9) | NAME bdisp_hw_alloc_nodes -
SYNOPSIS int bdisp_hw_alloc_nodes (struct bdisp_ctx *ctx );
ARGUMENTS ctx bdisp context
DESCRIPTION Allocate dma memory for nodes
RETURN 0 on success
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_get_and_clear_irq(9), bdi... |
bdisp_hw_build_all_nodes(9) | NAME bdisp_hw_build_all_nodes -
SYNOPSIS int bdisp_hw_build_all_nodes (struct bdisp_ctx *ctx );
ARGUMENTS ctx device context
DESCRIPTION Build all the nodes for the blitter operation
RETURN 0 on success
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_g... |
bdisp_hw_build_node(9) | NAME bdisp_hw_build_node -
SYNOPSIS void bdisp_hw_build_node (struct bdisp_ctx *ctx , struct bdisp_op_cfg *cfg , struct bdisp_node *node , enum bdisp_target_plan t_plan , int src_x_offset );
ARGUMENTS ctx device context
cfg operation configuration
node node to be set
t_p... |
bdisp_hw_color_format(9) | NAME bdisp_hw_color_format -
SYNOPSIS u32 bdisp_hw_color_format (u32 pixelformat );
ARGUMENTS pixelformat v4l2 pixel format
DESCRIPTION v4l2 to bdisp pixel format convert
RETURN bdisp pixel format
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_get_and_clear_i... |
bdisp_hw_free_filters(9) | NAME bdisp_hw_free_filters -
SYNOPSIS void bdisp_hw_free_filters (struct device *dev );
ARGUMENTS dev device
DESCRIPTION Free filters memory
RETURN None
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_get_and_clear_irq(9), bdisp_hw_free_nodes(9), bd... |
bdisp_hw_free_nodes(9) | NAME bdisp_hw_free_nodes -
SYNOPSIS void bdisp_hw_free_nodes (struct bdisp_ctx *ctx );
ARGUMENTS ctx bdisp context
DESCRIPTION Free node memory
RETURN None
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_get_and_clear_irq(9), bdisp_hw_alloc_nodes(9), ... |
bdisp_hw_get_and_clear_irq(9) | NAME bdisp_hw_get_and_clear_irq -
SYNOPSIS int bdisp_hw_get_and_clear_irq (struct bdisp_dev *bdisp );
ARGUMENTS bdisp bdisp entity
DESCRIPTION Read then reset interrupt status
RETURN 0 if expected interrupt was raised.
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset... |
bdisp_hw_get_hf_addr(9) | NAME bdisp_hw_get_hf_addr -
SYNOPSIS dma_addr_t bdisp_hw_get_hf_addr (u16 inc );
ARGUMENTS inc resize increment
DESCRIPTION Find the horizontal filter table that fits the resize increment
RETURN table physical address
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(... |
bdisp_hw_get_hv_inc(9) | NAME bdisp_hw_get_hv_inc -
SYNOPSIS int bdisp_hw_get_hv_inc (struct bdisp_ctx *ctx , u16 *h_inc , u16 *v_inc );
ARGUMENTS ctx device context
h_inc horizontal increment
v_inc vertical increment
DESCRIPTION Computes the horizontal & vertical increments (inverse of scale)
RETURN 0 o... |
bdisp_hw_get_inc(9) | NAME bdisp_hw_get_inc -
SYNOPSIS int bdisp_hw_get_inc (u32 from , u32 to , u16 *inc );
ARGUMENTS from input size
to output size
inc resize increment in 6.10 format
DESCRIPTION Computes the increment (inverse of scale) in 6.10 format
RETURN 0 on success
SEE ALSO Kernel file... |
bdisp_hw_get_op_cfg(9) | NAME bdisp_hw_get_op_cfg -
SYNOPSIS int bdisp_hw_get_op_cfg (struct bdisp_ctx *ctx , struct bdisp_op_cfg *c );
ARGUMENTS ctx device context
c operation configuration
DESCRIPTION Check which blitter operations are expected and sets the scaling increments
RETURN 0 on success
SEE ALSO Kernel... |
bdisp_hw_get_vf_addr(9) | NAME bdisp_hw_get_vf_addr -
SYNOPSIS dma_addr_t bdisp_hw_get_vf_addr (u16 inc );
ARGUMENTS inc resize increment
DESCRIPTION Find the vertical filter table that fits the resize increment
RETURN table physical address
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9)... |
bdisp_hw_reset(9) | NAME bdisp_hw_reset -
SYNOPSIS int bdisp_hw_reset (struct bdisp_dev *bdisp );
ARGUMENTS bdisp bdisp entity
DESCRIPTION Resets HW
RETURN 0 on success.
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_get_and_clear_irq(9), bdisp_hw_free_nodes(9), bdisp_hw_alloc_nodes(9), bdisp_... |
bdisp_hw_save_request(9) | NAME bdisp_hw_save_request -
SYNOPSIS void bdisp_hw_save_request (struct bdisp_ctx *ctx );
ARGUMENTS ctx device context
DESCRIPTION Save a copy of the request and of the built nodes
RETURN None
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_get_and_cl... |
bdisp_hw_update(9) | NAME bdisp_hw_update -
SYNOPSIS int bdisp_hw_update (struct bdisp_ctx *ctx );
ARGUMENTS ctx device context
DESCRIPTION Send the request to the HW
RETURN 0 on success
SEE ALSO Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c bdisp_hw_reset(9), bdisp_hw_get_and_clear_irq(9), bdisp_hw_free_n... |
bdw_update_pipe_irq(9) | NAME bdw_update_pipe_irq - update DE pipe interrupt
SYNOPSIS void bdw_update_pipe_irq (struct intel_display *display , enum pipe pipe , u32 interrupt_mask , u32 enabled_irq_mask );
ARGUMENTS display display device
pipe pipe whose interrupt to update
interrupt_mask
mask of... |
bdw_update_port_irq(9) | NAME bdw_update_port_irq - update DE port interrupt
SYNOPSIS void bdw_update_port_irq (struct intel_display *display , u32 interrupt_mask , u32 enabled_irq_mask );
ARGUMENTS display display device
interrupt_mask
mask of interrupt bits to update
enabled_irq_mask
... |
bdx_change_mtu(9) | NAME bdx_change_mtu - Change the Maximum Transfer Unit
SYNOPSIS int bdx_change_mtu (struct net_device *ndev , int new_mtu );
ARGUMENTS ndev network interface device structure
new_mtu new value for maximum frame size
DESCRIPTION Returns 0 on success, negative on failure
SEE ALSO Kernel file ./... |
bdx_close(9) | NAME bdx_close - Disables a network interface
SYNOPSIS int bdx_close (struct net_device *ndev );
ARGUMENTS ndev network interface device structure
DESCRIPTION Returns 0, this is not allowed to fail The close entry point is called when an interface is de-activated by the OS. The hardware is still under the dr... |
bdx_fifo_free(9) | NAME bdx_fifo_free - free all resources used by fifo
SYNOPSIS void bdx_fifo_free (struct bdx_priv *priv , struct fifo *f );
ARGUMENTS priv NIC private structure
f fifo to release
SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_link_changed(9), bdx_isr_n... |
bdx_fifo_init(9) | NAME bdx_fifo_init - create TX/RX descriptor fifo for host-NIC communication.
SYNOPSIS int bdx_fifo_init (struct bdx_priv *priv , struct fifo *f , int fsz_type , u16 reg_CFG0 , u16 reg_CFG1 , u16 reg_RPTR , u16 reg_WPTR );
ARGUMENTS priv NIC private structure
f fifo to initialize
fsz_... |
bdx_fw_load(9) | NAME bdx_fw_load - loads firmware to NIC
SYNOPSIS int bdx_fw_load (struct bdx_priv *priv );
ARGUMENTS priv NIC private structure
DESCRIPTION Firmware is loaded via TXD fifo, so it must be initialized first. Firware must be loaded once per NIC not per PCI device provided by NIC (NIC can have few of them). So ... |
bdx_hw_start(9) | NAME bdx_hw_start - inits registers and starts HW's Rx and Tx engines
SYNOPSIS int bdx_hw_start (struct bdx_priv *priv );
ARGUMENTS priv NIC private structure
SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fifo_free(9), bdx_link_changed(9), bdx_isr_napi(9), bdx_fw_loa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.