id
stringlengths
4
63
text
stringlengths
153
8.81M
ata_scsiop_inquiry(9)
NAME ata_scsiop_inquiry - Simulate INQUIRY command SYNOPSIS unsigned int ata_scsiop_inquiry (struct ata_device *dev , struct scsi_cmnd *cmd , u8 *rbuf ); ARGUMENTS dev Target device. cmd SCSI command of interest. rbuf Response buffer, to which simulated SCSI cmd output is sent. ...
ata_scsiop_maint_in(9)
NAME ata_scsiop_maint_in - Simulate a subset of MAINTENANCE_IN SYNOPSIS unsigned int ata_scsiop_maint_in (struct ata_device *dev , struct scsi_cmnd *cmd , u8 *rbuf ); ARGUMENTS dev Target device. cmd SCSI command of interest. rbuf Response buffer, to which simulated SCSI cmd out...
ata_scsiop_mode_sense(9)
NAME ata_scsiop_mode_sense - Simulate MODE SENSE 6, 10 commands SYNOPSIS unsigned int ata_scsiop_mode_sense (struct ata_device *dev , struct scsi_cmnd *cmd , u8 *rbuf ); ARGUMENTS dev Target device. cmd SCSI command of interest. rbuf Response buffer, to which simulated SCSI cmd ...
ata_scsiop_read_cap(9)
NAME ata_scsiop_read_cap - Simulate READ CAPACITY[ 16] commands SYNOPSIS unsigned int ata_scsiop_read_cap (struct ata_device *dev , struct scsi_cmnd *cmd , u8 *rbuf ); ARGUMENTS dev Target device. cmd SCSI command of interest. rbuf Response buffer, to which simulated SCSI cmd ou...
ata_scsiop_report_luns(9)
NAME ata_scsiop_report_luns - Simulate REPORT LUNS command SYNOPSIS unsigned int ata_scsiop_report_luns (struct ata_device *dev , struct scsi_cmnd *cmd , u8 *rbuf ); ARGUMENTS dev Target device. cmd SCSI command of interest. rbuf Response buffer, to which simulated SCSI cmd outp...
ata_set_max_sectors(9)
NAME ata_set_max_sectors - Set max sectors SYNOPSIS int ata_set_max_sectors (struct ata_device *dev , u64 new_sectors ); ARGUMENTS dev target device new_sectors new max sectors value to set for the device DESCRIPTION Set max sectors of dev to new_sectors. RETURN 0 on success, -EACCES if command is a...
ata_set_mode(9)
NAME ata_set_mode - Program timings and issue SET FEATURES - XFER SYNOPSIS int ata_set_mode (struct ata_link *link , struct ata_device **r_failed_dev ); ARGUMENTS link link on which timings will be programmed r_failed_dev out parameter for failed device DESCRIPTION Standard implemen...
ata_set_rwcmd_protocol(9)
NAME ata_set_rwcmd_protocol - set taskfile r/w command and protocol SYNOPSIS bool ata_set_rwcmd_protocol (struct ata_device *dev , struct ata_taskfile *tf ); ARGUMENTS dev target device for the taskfile tf taskfile to examine and configure DESCRIPTION Examine the device configuration and tf-...
ata_sff_altstatus(9)
NAME ata_sff_altstatus - Read device alternate status reg SYNOPSIS bool ata_sff_altstatus (struct ata_port *ap , u8 *status ); ARGUMENTS ap port where the device is status pointer to a status value DESCRIPTION Reads ATA alternate status register for currently-selected device and return its valu...
ata_sff_busy_wait(9)
NAME ata_sff_busy_wait - Wait for a port status register SYNOPSIS u8 ata_sff_busy_wait (struct ata_port *ap , unsigned int bits , unsigned int max ); ARGUMENTS ap Port to wait for. bits bits that must be clear max number of 10uS waits to perform DESCRIPTION Waits up to max*10 ...
ata_sff_check_status(9)
NAME ata_sff_check_status - Read device status reg & clear interrupt SYNOPSIS u8 ata_sff_check_status (struct ata_port *ap ); ARGUMENTS ap port where the device is DESCRIPTION Reads ATA taskfile status register for currently-selected device and return its value. This also clears pending interrupts from this...
ata_sff_data_xfer(9)
NAME ata_sff_data_xfer - Transfer data by PIO SYNOPSIS unsigned int ata_sff_data_xfer (struct ata_queued_cmd *qc , unsigned char *buf , unsigned int buflen , int rw ); ARGUMENTS qc queued command buf data buffer buflen buffer length rw read/write DESCRIPTION Tra...
ata_sff_data_xfer32(9)
NAME ata_sff_data_xfer32 - Transfer data by PIO SYNOPSIS unsigned int ata_sff_data_xfer32 (struct ata_queued_cmd *qc , unsigned char *buf , unsigned int buflen , int rw ); ARGUMENTS qc queued command buf data buffer buflen buffer length rw read/write DESCRIPTION...
ata_sff_dev_classify(9)
NAME ata_sff_dev_classify - Parse returned ATA device signature SYNOPSIS unsigned int ata_sff_dev_classify (struct ata_device *dev , int present , u8 *r_err ); ARGUMENTS dev ATA device to classify (starting at zero) present device seems present r_err Value of error register on comple...
ata_sff_dev_select(9)
NAME ata_sff_dev_select - Select device 0/1 on ATA bus SYNOPSIS void ata_sff_dev_select (struct ata_port *ap , unsigned int device ); ARGUMENTS ap ATA channel to manipulate device ATA device (numbered from zero) to select DESCRIPTION Use the method defined in the ATA specification to mak...
ata_sff_dma_pause(9)
NAME ata_sff_dma_pause - Pause before commencing DMA SYNOPSIS void ata_sff_dma_pause (struct ata_port *ap ); ARGUMENTS ap Port to pause for. DESCRIPTION Perform I/O fencing and ensure sufficient cycle delays occur for the HDMA1:0 transition SEE ALSO Kernel file ./drivers/ata/libata-sff.c ata_sff_check_s...
ata_sff_drain_fifo(9)
NAME ata_sff_drain_fifo - Stock FIFO drain logic for SFF controllers SYNOPSIS void ata_sff_drain_fifo (struct ata_queued_cmd *qc ); ARGUMENTS qc command DESCRIPTION Drain the FIFO and device of any stuck data following a command failing to complete. In some cases this is necessary before a reset will recove...
ata_sff_error_handler(9)
NAME ata_sff_error_handler - Stock error handler for SFF controller SYNOPSIS void ata_sff_error_handler (struct ata_port *ap ); ARGUMENTS ap port to handle error for DESCRIPTION Stock error handler for SFF controller. It can handle both PATA and SATA controllers. Many controllers should be able to use ...
ata_sff_exec_command(9)
NAME ata_sff_exec_command - issue ATA command to host controller SYNOPSIS void ata_sff_exec_command (struct ata_port *ap , const struct ata_taskfile *tf ); ARGUMENTS ap port to which command is being issued tf ATA taskfile register set DESCRIPTION Issues ATA command, with proper synchroniza...
ata_sff_freeze(9)
NAME ata_sff_freeze - Freeze SFF controller port SYNOPSIS void ata_sff_freeze (struct ata_port *ap ); ARGUMENTS ap port to freeze DESCRIPTION Freeze SFF controller port. LOCKING: Inherited from caller. SEE ALSO Kernel file ./drivers/ata/libata-sff.c ata_sff_check_status(9), ata_sff_altstatus(9), ata_...
ata_sff_hsm_move(9)
NAME ata_sff_hsm_move - move the HSM to the next state. SYNOPSIS int ata_sff_hsm_move (struct ata_port *ap , struct ata_queued_cmd *qc , u8 status , int in_wq ); ARGUMENTS ap the target ata_port qc qc on going status current device status in_wq 1 if called from wor...
ata_sff_interrupt(9)
NAME ata_sff_interrupt - Default SFF ATA host interrupt handler SYNOPSIS irqreturn_t ata_sff_interrupt (int irq , void *dev_instance ); ARGUMENTS irq irq line (unused) dev_instance pointer to our ata_host information structure DESCRIPTION Default interrupt handler for PCI IDE devic...
ata_sff_irq_on(9)
NAME ata_sff_irq_on - Enable interrupts on a port. SYNOPSIS void ata_sff_irq_on (struct ata_port *ap ); ARGUMENTS ap Port on which interrupts are enabled. DESCRIPTION Enable interrupts on a legacy IDE device using MMIO or PIO, wait for idle, clear any pending interrupts. NOTE may NOT be used as the sff_irq...
ata_sff_irq_status(9)
NAME ata_sff_irq_status - Check if the device is busy SYNOPSIS u8 ata_sff_irq_status (struct ata_port *ap ); ARGUMENTS ap port where the device is DESCRIPTION Determine if the port is currently busy. Uses altstatus if available in order to avoid clearing shared IRQ status when finding an IRQ source. Non ct...
ata_sff_lost_interrupt(9)
NAME ata_sff_lost_interrupt - Check for an apparent lost interrupt SYNOPSIS void ata_sff_lost_interrupt (struct ata_port *ap ); ARGUMENTS ap port that appears to have timed out DESCRIPTION Called from the libata error handlers when the core code suspects an interrupt has been lost. If it has complete anyth...
ata_sff_pause(9)
NAME ata_sff_pause - Flush writes and wait 400nS SYNOPSIS void ata_sff_pause (struct ata_port *ap ); ARGUMENTS ap Port to pause for. DESCRIPTION CAUTION: If we have an mmio device with no ctl and no altstatus method this will fail. No such devices are known to exist. LOCKING: Inherited from caller. SEE AL...
ata_sff_port_init(9)
NAME ata_sff_port_init - Initialize SFF/BMDMA ATA port SYNOPSIS void ata_sff_port_init (struct ata_port *ap ); ARGUMENTS ap Port to initialize DESCRIPTION Called on port allocation to initialize SFF/BMDMA specific fields. LOCKING: None. SEE ALSO Kernel file ./drivers/ata/libata-sff.c ata_sff_check_stat...
ata_sff_port_intr(9)
NAME ata_sff_port_intr - Handle SFF port interrupt SYNOPSIS unsigned int ata_sff_port_intr (struct ata_port *ap , struct ata_queued_cmd *qc ); ARGUMENTS ap Port on which interrupt arrived (possibly...) qc Taskfile currently active in engine DESCRIPTION Handle port interrupt for given queued...
ata_sff_postreset(9)
NAME ata_sff_postreset - SFF postreset callback SYNOPSIS void ata_sff_postreset (struct ata_link *link , unsigned int *classes ); ARGUMENTS link the target SFF ata_link classes classes of attached devices DESCRIPTION This function is invoked after a successful reset. It first calls ata_std_postre...
ata_sff_prereset(9)
NAME ata_sff_prereset - prepare SFF link for reset SYNOPSIS int ata_sff_prereset (struct ata_link *link , unsigned long deadline ); ARGUMENTS link SFF link to be reset deadline deadline jiffies for the operation DESCRIPTION SFF link link is about to be reset. Initialize it. It first calls ata_std...
ata_sff_qc_fill_rtf(9)
NAME ata_sff_qc_fill_rtf - fill result TF using ->sff_tf_read SYNOPSIS void ata_sff_qc_fill_rtf (struct ata_queued_cmd *qc ); ARGUMENTS qc qc to fill result TF for DESCRIPTION qc is finished and result TF needs to be filled. Fill it using ->sff_tf_read. LOCKING: spin_lock_irqsave(host lock) SEE ALSO Kern...
ata_sff_qc_issue(9)
NAME ata_sff_qc_issue - issue taskfile to a SFF controller SYNOPSIS unsigned int ata_sff_qc_issue (struct ata_queued_cmd *qc ); ARGUMENTS qc command to issue to device DESCRIPTION This function issues a PIO or NODATA command to a SFF controller. LOCKING: spin_lock_irqsave(host lock) RETURN Zero on success...
ata_sff_set_devctl(9)
NAME ata_sff_set_devctl - Write device control reg SYNOPSIS bool ata_sff_set_devctl (struct ata_port *ap , u8 ctl ); ARGUMENTS ap port where the device is ctl value to write DESCRIPTION Writes ATA device control register. LOCKING: Inherited from caller. RETURN true if the register exists, ...
ata_sff_softreset(9)
NAME ata_sff_softreset - reset host port via ATA SRST SYNOPSIS int ata_sff_softreset (struct ata_link *link , unsigned int *classes , unsigned long deadline ); ARGUMENTS link ATA link to reset classes resulting classes of attached devices deadline deadline jiffies for the operation DESC...
ata_sff_std_ports(9)
NAME ata_sff_std_ports - initialize ioaddr with standard port offsets. SYNOPSIS void ata_sff_std_ports (struct ata_ioports *ioaddr ); ARGUMENTS ioaddr IO address structure to be initialized DESCRIPTION Utility function which initializes data_addr, error_addr, feature_addr, nsect_addr, lbal_addr, lbam_addr...
ata_sff_sync(9)
NAME ata_sff_sync - Flush writes SYNOPSIS void ata_sff_sync (struct ata_port *ap ); ARGUMENTS ap Port to wait for. DESCRIPTION CAUTION: If we have an mmio device with no ctl and no altstatus method this will fail. No such devices are known to exist. LOCKING: Inherited from caller. SEE ALSO Kernel file ....
ata_sff_tf_load(9)
NAME ata_sff_tf_load - send taskfile registers to host controller SYNOPSIS void ata_sff_tf_load (struct ata_port *ap , const struct ata_taskfile *tf ); ARGUMENTS ap Port to which output is sent tf ATA taskfile register set DESCRIPTION Outputs ATA taskfile to standard ATA host controller. L...
ata_sff_tf_read(9)
NAME ata_sff_tf_read - input device's ATA taskfile shadow registers SYNOPSIS void ata_sff_tf_read (struct ata_port *ap , struct ata_taskfile *tf ); ARGUMENTS ap Port from which input is read tf ATA taskfile register set for storing input DESCRIPTION Reads ATA taskfile registers for currentl...
ata_sff_thaw(9)
NAME ata_sff_thaw - Thaw SFF controller port SYNOPSIS void ata_sff_thaw (struct ata_port *ap ); ARGUMENTS ap port to thaw DESCRIPTION Thaw SFF controller port. LOCKING: Inherited from caller. SEE ALSO Kernel file ./drivers/ata/libata-sff.c ata_sff_check_status(9), ata_sff_altstatus(9), ata_sff_irq_st...
ata_sff_wait_after_reset(9)
NAME ata_sff_wait_after_reset - wait for devices to become ready after reset SYNOPSIS int ata_sff_wait_after_reset (struct ata_link *link , unsigned int devmask , unsigned long deadline ); ARGUMENTS link SFF link which is just reset devmask mask of present devices deadline deadline jiffi...
ata_sff_wait_ready(9)
NAME ata_sff_wait_ready - sleep until BSY clears, or timeout SYNOPSIS int ata_sff_wait_ready (struct ata_link *link , unsigned long deadline ); ARGUMENTS link SFF link to wait ready status for deadline deadline jiffies for the operation DESCRIPTION Sleep until ATA Status register bit BSY clears, or...
ata_sg_clean(9)
NAME ata_sg_clean - Unmap DMA memory associated with command SYNOPSIS void ata_sg_clean (struct ata_queued_cmd *qc ); ARGUMENTS qc Command containing DMA memory to be released DESCRIPTION Unmap all mapped DMA memory associated with this command. LOCKING: spin_lock_irqsave(host lock) SEE ALSO Kernel file...
ata_sg_init(9)
NAME ata_sg_init - Associate command with scatter-gather table. SYNOPSIS void ata_sg_init (struct ata_queued_cmd *qc , struct scatterlist *sg , unsigned int n_elem ); ARGUMENTS qc Command to be associated sg Scatter-gather table. n_elem Number of elements in s/g table. DESCRIPT...
ata_sg_setup(9)
NAME ata_sg_setup - DMA-map the scatter-gather table associated with a command. SYNOPSIS int ata_sg_setup (struct ata_queued_cmd *qc ); ARGUMENTS qc Command with scatter-gather table to be mapped. DESCRIPTION DMA-map the scatter-gather table associated with queued_cmd qc. LOCKING: spin_lock_irqsave(host lo...
ata_slave_link_init(9)
NAME ata_slave_link_init - initialize slave link SYNOPSIS int ata_slave_link_init (struct ata_port *ap ); ARGUMENTS ap port to initialize slave link for DESCRIPTION Create and initialize slave link for ap. This enables slave link handling on the port. In libata, a port contains links and a link contains...
ata_std_bios_param(9)
NAME ata_std_bios_param - generic bios head/sector/cylinder calculator used by sd. SYNOPSIS int ata_std_bios_param (struct scsi_device *sdev , struct gendisk *unused , sector_t capacity , int geom[] ); ARGUMENTS sdev SCSI device for which BIOS geometry is to be determined unused gendisk associated...
ata_std_end_eh(9)
NAME ata_std_end_eh - non-libsas ata_ports complete eh with this common routine SYNOPSIS void ata_std_end_eh (struct ata_port *ap ); ARGUMENTS ap ATA port to end EH for DESCRIPTION In the libata object model there is a 1:1 mapping of ata_port to shost, so host fields can be directly manipulated under ap...
ata_std_error_handler(9)
NAME ata_std_error_handler - standard error handler SYNOPSIS void ata_std_error_handler (struct ata_port *ap ); ARGUMENTS ap host port to handle error for DESCRIPTION Perform standard error handling sequence. LOCKING: Kernel thread context (may sleep). SEE ALSO Kernel file ./drivers/ata/libata-eh.c __a...
ata_std_postreset(9)
NAME ata_std_postreset - standard postreset callback SYNOPSIS void ata_std_postreset (struct ata_link *link , unsigned int *classes ); ARGUMENTS link the target ata_link classes classes of attached devices DESCRIPTION This function is invoked after a successful reset. Note that the device might h...
ata_std_prereset(9)
NAME ata_std_prereset - prepare for reset SYNOPSIS int ata_std_prereset (struct ata_link *link , unsigned long deadline ); ARGUMENTS link ATA link to be reset deadline deadline jiffies for the operation DESCRIPTION link is about to be reset. Initialize it. Failure from prereset makes libata ab...
ata_std_qc_defer(9)
NAME ata_std_qc_defer - Check whether a qc needs to be deferred SYNOPSIS int ata_std_qc_defer (struct ata_queued_cmd *qc ); ARGUMENTS qc ATA command in question DESCRIPTION Non-NCQ commands cannot run with any other command, NCQ or not. As upper layer only knows the queue depth, we are responsible fo...
ata_std_sched_eh(9)
NAME ata_std_sched_eh - non-libsas ata_ports issue eh with this common routine SYNOPSIS void ata_std_sched_eh (struct ata_port *ap ); ARGUMENTS ap ATA port to schedule EH for DESCRIPTION LOCKING: inherited from ata_port_schedule_eh spin_lock_irqsave(host lock) SEE ALSO Kernel file ./drivers/ata/libata-eh...
ata_task_ioctl(9)
NAME ata_task_ioctl - Handler for HDIO_DRIVE_TASK ioctl SYNOPSIS int ata_task_ioctl (struct scsi_device *scsidev , void __user *arg ); ARGUMENTS scsidev Device to which we are issuing command arg User provided data for issuing command DESCRIPTION LOCKING: Defined by the SCSI layer. We don't real...
ata_tdev_add(9)
NAME ata_tdev_add - - initialize an ATA transport device SYNOPSIS int ata_tdev_add (struct ata_device *ata_dev ); ARGUMENTS ata_dev struct ata_device owning the transport device to add DESCRIPTION Initialize an ATA transport device for sysfs. It will be added in the device tree below the ATA link device it belo...
ata_tdev_delete(9)
NAME ata_tdev_delete - - remove an ATA transport device SYNOPSIS void ata_tdev_delete (struct ata_device *ata_dev ); ARGUMENTS ata_dev struct ata_device owning the transport device to delete DESCRIPTION Removes the ATA transport device for the specified ATA device. SEE ALSO Kernel file ./drivers/ata/libata-tra...
ata_tdev_free(9)
NAME ata_tdev_free - - free an ATA transport device SYNOPSIS void ata_tdev_free (struct ata_device *dev ); ARGUMENTS dev struct ata_device owning the transport device to free DESCRIPTION Free the ATA transport device for the specified ATA device. NOTE This function must only be called for a ATA transport de...
ata_tf_from_fis(9)
NAME ata_tf_from_fis - Convert SATA FIS to ATA taskfile SYNOPSIS void ata_tf_from_fis (const u8 *fis , struct ata_taskfile *tf ); ARGUMENTS fis Buffer from which data will be input tf Taskfile to output DESCRIPTION Converts a serial ATA FIS structure to a standard ATA taskfile. LOCKING: Inh...
ata_tf_read_block(9)
NAME ata_tf_read_block - Read block address from ATA taskfile SYNOPSIS u64 ata_tf_read_block (const struct ata_taskfile *tf , struct ata_device *dev ); ARGUMENTS tf ATA taskfile of interest dev ATA device tf belongs to DESCRIPTION LOCKING: None. Read block address from tf. This function ca...
ata_tf_to_fis(9)
NAME ata_tf_to_fis - Convert ATA taskfile to SATA FIS structure SYNOPSIS void ata_tf_to_fis (const struct ata_taskfile *tf , u8 pmp , int is_cmd , u8 *fis ); ARGUMENTS tf Taskfile to convert pmp Port multiplier port is_cmd This FIS is for command fis Buffer into w...
ata_tf_to_host(9)
NAME ata_tf_to_host - issue ATA taskfile to host controller SYNOPSIS void ata_tf_to_host (struct ata_port *ap , const struct ata_taskfile *tf , unsigned int tag ); ARGUMENTS ap port to which command is being issued tf ATA taskfile register set tag tag of the associated comman...
ata_timing_cycle2mode(9)
NAME ata_timing_cycle2mode - find xfer mode for the specified cycle duration SYNOPSIS u8 ata_timing_cycle2mode (unsigned int xfer_shift , int cycle ); ARGUMENTS xfer_shift ATA_SHIFT_* value for transfer type to examine. cycle cycle duration in ns DESCRIPTION Return matching xfer mode for cycle. The ...
ata_tlink_add(9)
NAME ata_tlink_add - - initialize an ATA link transport device SYNOPSIS int ata_tlink_add (struct ata_link *link ); ARGUMENTS link struct ata_link owning the link transport device to initialize DESCRIPTION Initialize an ATA link transport device for sysfs. It will be added in the device tree below the ATA por...
ata_tlink_delete(9)
NAME ata_tlink_delete - - remove an ATA link transport device SYNOPSIS void ata_tlink_delete (struct ata_link *link ); ARGUMENTS link struct ata_link owning the link transport device to remove DESCRIPTION Removes the link transport device of the specified ATA link. This also removes the ATA device(s) associat...
ata_to_sense_error(9)
NAME ata_to_sense_error - convert ATA error to SCSI error SYNOPSIS void ata_to_sense_error (u8 drv_stat , u8 drv_err , u8 *sk , u8 *asc , u8 *ascq ); ARGUMENTS drv_stat value contained in ATA status register drv_err value contained in ATA error register sk the sense key we'll fill out ...
ata_tosh_init_one(9)
NAME ata_tosh_init_one - attach generic IDE SYNOPSIS int ata_tosh_init_one (struct pci_dev *dev , const struct pci_device_id *id ); ARGUMENTS dev PCI device found id match entry DESCRIPTION Called each time a matching IDE interface is found. We check if the interface is one we wish to claim ...
ata_tport_delete(9)
NAME ata_tport_delete - - remove ATA PORT SYNOPSIS void ata_tport_delete (struct ata_port *ap ); ARGUMENTS ap ATA PORT to remove DESCRIPTION Removes the specified ATA PORT. Remove the associated link as well. SEE ALSO Kernel file ./drivers/ata/libata-transport.c ata_is_port(9), ata_port_classify(9), ata...
ata_unpack_xfermask(9)
NAME ata_unpack_xfermask - Unpack xfer_mask into pio, mwdma and udma masks SYNOPSIS void ata_unpack_xfermask (unsigned int xfer_mask , unsigned int *pio_mask , unsigned int *mwdma_mask , unsigned int *udma_mask ); ARGUMENTS xfer_mask xfer_mask to unpack pio_mask resulting pio_mask mwdma_mask res...
ata_wait_after_reset(9)
NAME ata_wait_after_reset - wait for link to become ready after reset SYNOPSIS int ata_wait_after_reset (struct ata_link *link , unsigned long deadline , int (*check_ready)(struct ata_link *link) ); ARGUMENTS link link to be waited on deadline deadline jiffies for the operation check_ready c...
ata_wait_idle(9)
NAME ata_wait_idle - Wait for a port to be idle. SYNOPSIS u8 ata_wait_idle (struct ata_port *ap ); ARGUMENTS ap Port to wait for. DESCRIPTION Waits up to 10ms for port's BUSY and DRQ signals to clear. Returns final value of status register. LOCKING: Inherited from caller. SEE ALSO Kernel file ./include/l...
ata_wait_ready(9)
NAME ata_wait_ready - wait for link to become ready SYNOPSIS int ata_wait_ready (struct ata_link *link , unsigned long deadline , int (*check_ready)(struct ata_link *link) ); ARGUMENTS link link to be waited on deadline deadline jiffies for the operation check_ready callback to check link re...
ata_wait_register(9)
NAME ata_wait_register - wait until register value changes SYNOPSIS u32 ata_wait_register (struct ata_port *ap , void __iomem *reg , u32 mask , u32 val , unsigned int interval , unsigned int timeout ); ARGUMENTS ap ATA port to wait register for, can be NULL reg IO-mapped register mask...
ata_xfer_mask2mode(9)
NAME ata_xfer_mask2mode - Find matching XFER_* for the given xfer_mask SYNOPSIS u8 ata_xfer_mask2mode (unsigned int xfer_mask ); ARGUMENTS xfer_mask xfer_mask of interest DESCRIPTION Return matching XFER_* value for xfer_mask. Only the highest bit of xfer_mask is considered. LOCKING: None. RETURN Matching XFER_...
ata_xfer_mode2mask(9)
NAME ata_xfer_mode2mask - Find matching xfer_mask for XFER_* SYNOPSIS unsigned int ata_xfer_mode2mask (u8 xfer_mode ); ARGUMENTS xfer_mode XFER_* of interest DESCRIPTION Return matching xfer_mask for xfer_mode. LOCKING: None. RETURN Matching xfer_mask, 0 if no match found. SEE ALSO Kernel file ./drivers/ata/...
ata_xfer_mode2shift(9)
NAME ata_xfer_mode2shift - Find matching xfer_shift for XFER_* SYNOPSIS int ata_xfer_mode2shift (u8 xfer_mode ); ARGUMENTS xfer_mode XFER_* of interest DESCRIPTION Return matching xfer_shift for xfer_mode. LOCKING: None. RETURN Matching xfer_shift, -1 if no match found. SEE ALSO Kernel file ./drivers/ata/lib...
atalk_find_or_insert_socket(9)
NAME atalk_find_or_insert_socket - Try to find a socket matching ADDR SYNOPSIS struct sock * atalk_find_or_insert_socket (struct sock *sk , struct sockaddr_at *sat ); ARGUMENTS sk socket to insert in the list if it is not there already sat address to search for DESCRIPTION Try to find a sock...
atalk_pick_and_bind_port(9)
NAME atalk_pick_and_bind_port - Pick a source port when one is not given SYNOPSIS int atalk_pick_and_bind_port (struct sock *sk , struct sockaddr_at *sat ); ARGUMENTS sk socket to insert into the tables sat address to search for DESCRIPTION Pick a source port when one is not given. If we can...
atalk_rcv(9)
NAME atalk_rcv - Receive a packet (in skb) from device dev SYNOPSIS int atalk_rcv (struct sk_buff *skb , struct net_device *dev , struct packet_type *pt , struct net_device *orig_dev ); ARGUMENTS skb packet received dev network device where the packet comes from pt packet type...
atan(3)
NAME atan, atanf, atanl - arc tangent function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atan(double x); float atanf(float x); long double atanl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atanf(), atanl(): ...
atan(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME atan, atanf, atanl — arc tangent function SYNOPSIS #include <m...
atan2(3)
NAME atan2, atan2f, atan2l - arc tangent function of two variables LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atan2(double y, double x); float atan2f(float y, float x); long double atan2l(long double y, long double x); Feature Test Macro Requirements for glibc (see fe...
atan2(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME atan2, atan2f, atan2l — arc tangent functions SYNOPSIS #includ...
atan2f(3)
NAME atan2, atan2f, atan2l - arc tangent function of two variables LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atan2(double y, double x); float atan2f(float y, float x); long double atan2l(long double y, long double x); Feature Test Macro Requirements for glibc (see fe...
atan2l(3)
NAME atan2, atan2f, atan2l - arc tangent function of two variables LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atan2(double y, double x); float atan2f(float y, float x); long double atan2l(long double y, long double x); Feature Test Macro Requirements for glibc (see fe...
atanf(3)
NAME atan, atanf, atanl - arc tangent function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atan(double x); float atanf(float x); long double atanl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atanf(), atanl(): ...
atanf(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME atanf — arc tangent function SYNOPSIS #include <math.h> ...
atanh(3)
NAME atanh, atanhf, atanhl - inverse hyperbolic tangent function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atanh(double x); float atanhf(float x); long double atanhl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atanh...
atanh(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME atanh, atanhf, atanhl — inverse hyperbolic tangent functions S...
atanhf(3)
NAME atanh, atanhf, atanhl - inverse hyperbolic tangent function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atanh(double x); float atanhf(float x); long double atanhl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atanh...
atanhl(3)
NAME atanh, atanhf, atanhl - inverse hyperbolic tangent function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atanh(double x); float atanhf(float x); long double atanhl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atanh...
atanl(3)
NAME atan, atanf, atanl - arc tangent function LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double atan(double x); float atanf(float x); long double atanl(long double x); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atanf(), atanl(): ...
atanl(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME atanl — arc tangent function SYNOPSIS #include <math.h> ...
atapi_check_dma(9)
NAME atapi_check_dma - Check whether ATAPI DMA can be supported SYNOPSIS int atapi_check_dma (struct ata_queued_cmd *qc ); ARGUMENTS qc Metadata associated with taskfile to check DESCRIPTION Allow low-level driver to filter ATA PACKET commands, returning a status indicating whether or not it is OK to use DM...
atapi_cmd_type(9)
NAME atapi_cmd_type - Determine ATAPI command type from SCSI opcode SYNOPSIS int atapi_cmd_type (u8 opcode ); ARGUMENTS opcode SCSI opcode DESCRIPTION Determine ATAPI command type from opcode. LOCKING: None. RETURN ATAPI_{READ|WRITE|READ_CD|PASS_THRU|MISC} SEE ALSO Kernel file ./drivers/ata/libata-core.c ...
atapi_eh_clear_ua(9)
NAME atapi_eh_clear_ua - Clear ATAPI UNIT ATTENTION after reset SYNOPSIS int atapi_eh_clear_ua (struct ata_device *dev ); ARGUMENTS dev ATAPI device to clear UA for DESCRIPTION Resets and other operations can make an ATAPI device raise UNIT ATTENTION which causes the next operation to fail. This function cl...
atapi_eh_request_sense(9)
NAME atapi_eh_request_sense - perform ATAPI REQUEST_SENSE SYNOPSIS unsigned int atapi_eh_request_sense (struct ata_device *dev , u8 *sense_buf , u8 dfl_sense_key ); ARGUMENTS dev device to perform REQUEST_SENSE to sense_buf result sense data buffer (SCSI_SENSE_BUFFERSIZE bytes long) dfl_sens...
atapi_eh_tur(9)
NAME atapi_eh_tur - perform ATAPI TEST_UNIT_READY SYNOPSIS unsigned int atapi_eh_tur (struct ata_device *dev , u8 *r_sense_key ); ARGUMENTS dev target ATAPI device r_sense_key out parameter for sense_key DESCRIPTION Perform ATAPI TEST_UNIT_READY. LOCKING: EH context (may sleep). RETURN 0 on success...
atapi_pio_bytes(9)
NAME atapi_pio_bytes - Transfer data from/to the ATAPI device. SYNOPSIS void atapi_pio_bytes (struct ata_queued_cmd *qc ); ARGUMENTS qc Command on going DESCRIPTION Transfer Transfer data from/to the ATAPI device. LOCKING: Inherited from caller. SEE ALSO Kernel file ./drivers/ata/libata-sff.c ata_sff_c...
atapi_send_cdb(9)
NAME atapi_send_cdb - Write CDB bytes to hardware SYNOPSIS void atapi_send_cdb (struct ata_port *ap , struct ata_queued_cmd *qc ); ARGUMENTS ap Port to which ATAPI device is attached. qc Taskfile currently active DESCRIPTION When device has indicated its readiness to accept a CDB, this func...
atapi_xlat(9)
NAME atapi_xlat - Initialize PACKET taskfile SYNOPSIS unsigned int atapi_xlat (struct ata_queued_cmd *qc ); ARGUMENTS qc command structure to be initialized DESCRIPTION LOCKING: spin_lock_irqsave(host lock) RETURN Zero on success, non-zero on failure. SEE ALSO Kernel file ./drivers/ata/libata-scsi.c at...
atc260x_device_probe(9)
NAME atc260x_device_probe - Probe a configured ATC260x device SYNOPSIS int atc260x_device_probe (struct atc260x *atc260x ); ARGUMENTS atc260x ATC260x device to probe (must be configured) DESCRIPTION This function lets the ATC260x core register the ATC260x MFD devices and IRQCHIP. The ATC260x device passed in mus...