sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget%/translations/zh_CN/driver-api/libatamodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/zh_TW/driver-api/libatamodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/it_IT/driver-api/libatamodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/ja_JP/driver-api/libatamodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/ko_KR/driver-api/libatamodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget%/translations/sp_SP/driver-api/libatamodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hlibATA Developer's Guideh]hlibATA Developer’s Guide}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh?/var/lib/git/docbuild/linux/Documentation/driver-api/libata.rsthKubh field_list)}(hhh]hfield)}(hhh](h field_name)}(hAuthorh]hAuthor}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhKubh field_body)}(h Jeff Garzik h]h paragraph)}(h Jeff Garzikh]h Jeff Garzik}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Introductionh]h Introduction}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hlibATA is a library used inside the Linux kernel to support ATA host controllers and devices. libATA provides an ATA driver API, class transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA devices according to the T10 SAT specification.h]hlibATA is a library used inside the Linux kernel to support ATA host controllers and devices. libATA provides an ATA driver API, class transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA devices according to the T10 SAT specification.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(h|This Guide documents the libATA driver API, library functions, library internals, and a couple sample ATA low-level drivers.h]h|This Guide documents the libATA driver API, library functions, library internals, and a couple sample ATA low-level drivers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h] introductionah ]h"] introductionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hlibata Driver APIh]hlibata Driver API}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hhhhhKubh)}(h:c:type:`struct ata_port_operations ` is defined for every low-level libata hardware driver, and it controls how the low-level driver interfaces with the ATA and SCSI layers.h](h)}(h::c:type:`struct ata_port_operations `h]hliteral)}(hjEh]hstruct ata_port_operations}(hjIhhhNhNubah}(h]h ](xrefcc-typeeh"]h$]h&]uh1jGhjCubah}(h]h ]h"]h$]h&]refdocdriver-api/libata refdomainjTreftypetype refexplicitrefwarn reftargetata_port_operationsuh1hhhhKhj?ubh is defined for every low-level libata hardware driver, and it controls how the low-level driver interfaces with the ATA and SCSI layers.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj.hhubh)}(hXFIS-based drivers will hook into the system with ``->qc_prep()`` and ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner similar to PCI IDE hardware may utilize several generic helpers, defining at a bare minimum the bus I/O addresses of the ATA shadow register blocks.h](h1FIS-based drivers will hook into the system with }(hjrhhhNhNubjH)}(h``->qc_prep()``h]h ->qc_prep()}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjrubh and }(hjrhhhNhNubjH)}(h``->qc_issue()``h]h ->qc_issue()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjrubh high-level hooks. Hardware which behaves in a manner similar to PCI IDE hardware may utilize several generic helpers, defining at a bare minimum the bus I/O addresses of the ATA shadow register blocks.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj.hhubh)}(hhh](h)}(h::c:type:`struct ata_port_operations `h]h)}(hjh]jH)}(hjh]hstruct ata_port_operations}(hjhhhNhNubah}(h]h ](jSjTc-typeeh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypetype refexplicitrefwarnjfata_port_operationsuh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK!ubh)}(hhh](h)}(h"Post-IDENTIFY device configurationh]h"Post-IDENTIFY device configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK$ubh literal_block)}(hmode_filter()`` hook is called when libata has built a mask of the possible modes. This is passed to the ``->mode_filter()`` function which should return a mask of valid modes after filtering those unsuitable due to hardware limits. It is not valid to use this interface to add modes.h](hRHooks called prior to the issue of SET FEATURES - XFER MODE command. The optional }(hj5hhhNhNubjH)}(h``->mode_filter()``h]h->mode_filter()}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj5ubhZ hook is called when libata has built a mask of the possible modes. This is passed to the }(hj5hhhNhNubjH)}(h``->mode_filter()``h]h->mode_filter()}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj5ubh function which should return a mask of valid modes after filtering those unsuitable due to hardware limits. It is not valid to use this interface to add modes.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKpio_mode`` and ``dev->dma_mode`` are guaranteed to be valid when ``->set_piomode()`` and when ``->set_dmamode()`` is called. The timings for any other drive sharing the cable will also be valid at this point. That is the library records the decisions for the modes of each drive on a channel before it attempts to set any of them.h](jH)}(h``dev->pio_mode``h]h dev->pio_mode}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjgubh and }(hjghhhNhNubjH)}(h``dev->dma_mode``h]h dev->dma_mode}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjgubh! are guaranteed to be valid when }(hjghhhNhNubjH)}(h``->set_piomode()``h]h->set_piomode()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjgubh and when }(hjghhhNhNubjH)}(h``->set_dmamode()``h]h->set_dmamode()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjgubh is called. The timings for any other drive sharing the cable will also be valid at this point. That is the library records the decisions for the modes of each drive on a channel before it attempts to set any of them.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKChjhhubh)}(hs``->post_set_mode()`` is called unconditionally, after the SET FEATURES - XFER MODE command completes successfully.h](jH)}(h``->post_set_mode()``h]h->post_set_mode()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh^ is called unconditionally, after the SET FEATURES - XFER MODE command completes successfully.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKIhjhhubh)}(hn``->set_piomode()`` is always called (if present), but ``->set_dma_mode()`` is only called if DMA is possible.h](jH)}(h``->set_piomode()``h]h->set_piomode()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh$ is always called (if present), but }(hjhhhNhNubjH)}(h``->set_dma_mode()``h]h->set_dma_mode()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh# is only called if DMA is possible.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKLhjhhubeh}(h]set-pio-dma-modeah ]h"]set pio/dma modeah$]h&]uh1hhjhhhhhK2ubh)}(hhh](h)}(hTaskfile read/writeh]hTaskfile read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKPubj)}(hvoid (*sff_tf_load) (struct ata_port *ap, struct ata_taskfile *tf); void (*sff_tf_read) (struct ata_port *ap, struct ata_taskfile *tf);h]hvoid (*sff_tf_load) (struct ata_port *ap, struct ata_taskfile *tf); void (*sff_tf_read) (struct ata_port *ap, struct ata_taskfile *tf);}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKThj hhubh)}(hX^``->tf_load()`` is called to load the given taskfile into hardware registers / DMA buffers. ``->tf_read()`` is called to read the hardware registers / DMA buffers, to obtain the current set of taskfile register values. Most drivers for taskfile-based hardware (PIO or MMIO) use :c:func:`ata_sff_tf_load` and :c:func:`ata_sff_tf_read` for these hooks.h](jH)}(h``->tf_load()``h]h ->tf_load()}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj*ubhM is called to load the given taskfile into hardware registers / DMA buffers. }(hj*hhhNhNubjH)}(h``->tf_read()``h]h ->tf_read()}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj*ubh is called to read the hardware registers / DMA buffers, to obtain the current set of taskfile register values. Most drivers for taskfile-based hardware (PIO or MMIO) use }(hj*hhhNhNubh)}(h:c:func:`ata_sff_tf_load`h]jH)}(hjTh]hata_sff_tf_load()}(hjVhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjRubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_tf_loaduh1hhhhKXhj*ubh and }(hj*hhhNhNubh)}(h:c:func:`ata_sff_tf_read`h]jH)}(hjwh]hata_sff_tf_read()}(hjyhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjuubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_tf_readuh1hhhhKXhj*ubh for these hooks.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKXhj hhubeh}(h]taskfile-read-writeah ]h"]taskfile read/writeah$]h&]uh1hhjhhhhhKPubh)}(hhh](h)}(hPIO data read/writeh]hPIO data read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK_ubj)}(hPvoid (*sff_data_xfer) (struct ata_device *, unsigned char *, unsigned int, int);h]hPvoid (*sff_data_xfer) (struct ata_device *, unsigned char *, unsigned int, int);}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKchjhhubh)}(hAll bmdma-style drivers must implement this hook. This is the low-level operation that actually copies the data bytes during a PIO data transfer. Typically the driver will choose one of :c:func:`ata_sff_data_xfer`, or :c:func:`ata_sff_data_xfer32`.h](hAll bmdma-style drivers must implement this hook. This is the low-level operation that actually copies the data bytes during a PIO data transfer. Typically the driver will choose one of }(hjhhhNhNubh)}(h:c:func:`ata_sff_data_xfer`h]jH)}(hjh]hata_sff_data_xfer()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_data_xferuh1hhhhKfhjubh, or }(hjhhhNhNubh)}(h:c:func:`ata_sff_data_xfer32`h]jH)}(hjh]hata_sff_data_xfer32()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_data_xfer32uh1hhhhKfhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKfhjhhubeh}(h]pio-data-read-writeah ]h"]pio data read/writeah$]h&]uh1hhjhhhhhK_ubh)}(hhh](h)}(hATA command executeh]hATA command execute}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hhhhhKlubj)}(hGvoid (*sff_exec_command)(struct ata_port *ap, struct ata_taskfile *tf);h]hGvoid (*sff_exec_command)(struct ata_port *ap, struct ata_taskfile *tf);}hj2sbah}(h]h ]h"]h$]h&]jjuh1jhhhKphj!hhubh)}(hcauses an ATA command, previously loaded with ``->tf_load()``, to be initiated in hardware. Most drivers for taskfile-based hardware use :c:func:`ata_sff_exec_command` for this hook.h](h.causes an ATA command, previously loaded with }(hj@hhhNhNubjH)}(h``->tf_load()``h]h ->tf_load()}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj@ubhL, to be initiated in hardware. Most drivers for taskfile-based hardware use }(hj@hhhNhNubh)}(h:c:func:`ata_sff_exec_command`h]jH)}(hj\h]hata_sff_exec_command()}(hj^hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjZubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_exec_commanduh1hhhhKshj@ubh for this hook.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKshj!hhubeh}(h]ata-command-executeah ]h"]ata command executeah$]h&]uh1hhjhhhhhKlubh)}(hhh](h)}(h%Per-cmd ATAPI DMA capabilities filterh]h%Per-cmd ATAPI DMA capabilities filter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKxubj)}(h3int (*check_atapi_dma) (struct ata_queued_cmd *qc);h]h3int (*check_atapi_dma) (struct ata_queued_cmd *qc);}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhK|hjhhubh)}(hAllow low-level driver to filter ATA PACKET commands, returning a status indicating whether or not it is OK to use DMA for the supplied PACKET command.h]hAllow low-level driver to filter ATA PACKET commands, returning a status indicating whether or not it is OK to use DMA for the supplied PACKET command.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(heThis hook may be specified as NULL, in which case libata will assume that atapi dma can be supported.h]heThis hook may be specified as NULL, in which case libata will assume that atapi dma can be supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]%per-cmd-atapi-dma-capabilities-filterah ]h"]%per-cmd atapi dma capabilities filterah$]h&]uh1hhjhhhhhKxubh)}(hhh](h)}(h"Read specific ATA shadow registersh]h"Read specific ATA shadow registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubj)}(h`u8 (*sff_check_status)(struct ata_port *ap); u8 (*sff_check_altstatus)(struct ata_port *ap);h]h`u8 (*sff_check_status)(struct ata_port *ap); u8 (*sff_check_altstatus)(struct ata_port *ap);}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKhjhhubh)}(hReads the Status/AltStatus ATA shadow register from hardware. On some hardware, reading the Status register has the side effect of clearing the interrupt condition. Most drivers for taskfile-based hardware use :c:func:`ata_sff_check_status` for this hook.h](hReads the Status/AltStatus ATA shadow register from hardware. On some hardware, reading the Status register has the side effect of clearing the interrupt condition. Most drivers for taskfile-based hardware use }(hjhhhNhNubh)}(h:c:func:`ata_sff_check_status`h]jH)}(hjh]hata_sff_check_status()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_check_statusuh1hhhhKhjubh for this hook.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]"read-specific-ata-shadow-registersah ]h"]"read specific ata shadow registersah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(h"Write specific ATA shadow registerh]h"Write specific ATA shadow register}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hhhhhKubj)}(h4void (*sff_set_devctl)(struct ata_port *ap, u8 ctl);h]h4void (*sff_set_devctl)(struct ata_port *ap, u8 ctl);}hj7sbah}(h]h ]h"]h$]h&]jjuh1jhhhKhj&hhubh)}(heWrite the device control ATA shadow register to the hardware. Most drivers don't need to define this.h]hgWrite the device control ATA shadow register to the hardware. Most drivers don’t need to define this.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj&hhubeh}(h]"write-specific-ata-shadow-registerah ]h"]"write specific ata shadow registerah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(hSelect ATA device on bush]hSelect ATA device on bus}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hhhhhKubj)}(hAvoid (*sff_dev_select)(struct ata_port *ap, unsigned int device);h]hAvoid (*sff_dev_select)(struct ata_port *ap, unsigned int device);}hjlsbah}(h]h ]h"]h$]h&]jjuh1jhhhKhj[hhubh)}(hIssues the low-level hardware command(s) that causes one of N hardware devices to be considered 'selected' (active and available for use) on the ATA bus. This generally has no meaning on FIS-based devices.h]hIssues the low-level hardware command(s) that causes one of N hardware devices to be considered ‘selected’ (active and available for use) on the ATA bus. This generally has no meaning on FIS-based devices.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj[hhubh)}(hXMost drivers for taskfile-based hardware use :c:func:`ata_sff_dev_select` for this hook.h](h-Most drivers for taskfile-based hardware use }(hjhhhNhNubh)}(h:c:func:`ata_sff_dev_select`h]jH)}(hjh]hata_sff_dev_select()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_dev_selectuh1hhhhKhjubh for this hook.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj[hhubeh}(h]select-ata-device-on-busah ]h"]select ata device on busah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(hPrivate tuning methodh]hPrivate tuning method}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubj)}(h'void (*set_mode) (struct ata_port *ap);h]h'void (*set_mode) (struct ata_port *ap);}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKhjhhubh)}(hX'By default libata performs drive and controller tuning in accordance with the ATA timing rules and also applies blacklists and cable limits. Some controllers need special handling and have custom tuning rules, typically raid controllers that use ATA commands but do not actually do drive timing.h]hX'By default libata performs drive and controller tuning in accordance with the ATA timing rules and also applies blacklists and cable limits. Some controllers need special handling and have custom tuning rules, typically raid controllers that use ATA commands but do not actually do drive timing.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh block_quote)}(hXd**Warning** This hook should not be used to replace the standard controller tuning logic when a controller has quirks. Replacing the default tuning logic in that case would bypass handling for drive and bridge quirks that may be important to data reliability. If a controller needs to filter the mode selection it should use the mode_filter hook instead. h](h)}(h **Warning**h]hstrong)}(hjh]hWarning}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hXVThis hook should not be used to replace the standard controller tuning logic when a controller has quirks. Replacing the default tuning logic in that case would bypass handling for drive and bridge quirks that may be important to data reliability. If a controller needs to filter the mode selection it should use the mode_filter hook instead.h]hXVThis hook should not be used to replace the standard controller tuning logic when a controller has quirks. Replacing the default tuning logic in that case would bypass handling for drive and bridge quirks that may be important to data reliability. If a controller needs to filter the mode selection it should use the mode_filter hook instead.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(h]private-tuning-methodah ]h"]private tuning methodah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(hControl PCI IDE BMDMA engineh]hControl PCI IDE BMDMA engine}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hhhhhKubj)}(hvoid (*bmdma_setup) (struct ata_queued_cmd *qc); void (*bmdma_start) (struct ata_queued_cmd *qc); void (*bmdma_stop) (struct ata_port *ap); u8 (*bmdma_status) (struct ata_port *ap);h]hvoid (*bmdma_setup) (struct ata_queued_cmd *qc); void (*bmdma_start) (struct ata_queued_cmd *qc); void (*bmdma_stop) (struct ata_port *ap); u8 (*bmdma_status) (struct ata_port *ap);}hj:sbah}(h]h ]h"]h$]h&]jjuh1jhhhKhj)hhubh)}(hWhen setting up an IDE BMDMA transaction, these hooks arm (``->bmdma_setup``), fire (``->bmdma_start``), and halt (``->bmdma_stop``) the hardware's DMA engine. ``->bmdma_status`` is used to read the standard PCI IDE DMA Status register.h](h;When setting up an IDE BMDMA transaction, these hooks arm (}(hjHhhhNhNubjH)}(h``->bmdma_setup``h]h ->bmdma_setup}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjHubh ), fire (}(hjHhhhNhNubjH)}(h``->bmdma_start``h]h ->bmdma_start}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjHubh ), and halt (}(hjHhhhNhNubjH)}(h``->bmdma_stop``h]h ->bmdma_stop}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjHubh) the hardware’s DMA engine. }(hjHhhhNhNubjH)}(h``->bmdma_status``h]h->bmdma_status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjHubh: is used to read the standard PCI IDE DMA Status register.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj)hhubh)}(hYThese hooks are typically either no-ops, or simply not implemented, in FIS-based drivers.h]hYThese hooks are typically either no-ops, or simply not implemented, in FIS-based drivers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj)hhubh)}(hX!Most legacy IDE drivers use :c:func:`ata_bmdma_setup` for the :c:func:`bmdma_setup` hook. :c:func:`ata_bmdma_setup` will write the pointer to the PRD table to the IDE PRD Table Address register, enable DMA in the DMA Command register, and call :c:func:`exec_command` to begin the transfer.h](hMost legacy IDE drivers use }(hjhhhNhNubh)}(h:c:func:`ata_bmdma_setup`h]jH)}(hjh]hata_bmdma_setup()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_setupuh1hhhhKhjubh for the }(hjhhhNhNubh)}(h:c:func:`bmdma_setup`h]jH)}(hjh]h bmdma_setup()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf bmdma_setupuh1hhhhKhjubh hook. }(hjhhhNhNubh)}(h:c:func:`ata_bmdma_setup`h]jH)}(hjh]hata_bmdma_setup()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_setupuh1hhhhKhjubh will write the pointer to the PRD table to the IDE PRD Table Address register, enable DMA in the DMA Command register, and call }(hjhhhNhNubh)}(h:c:func:`exec_command`h]jH)}(hjh]hexec_command()}(hj!hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf exec_commanduh1hhhhKhjubh to begin the transfer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj)hhubh)}(hMost legacy IDE drivers use :c:func:`ata_bmdma_start` for the :c:func:`bmdma_start` hook. :c:func:`ata_bmdma_start` will write the ATA_DMA_START flag to the DMA Command register.h](hMost legacy IDE drivers use }(hjFhhhNhNubh)}(h:c:func:`ata_bmdma_start`h]jH)}(hjPh]hata_bmdma_start()}(hjRhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjNubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_startuh1hhhhKhjFubh for the }(hjFhhhNhNubh)}(h:c:func:`bmdma_start`h]jH)}(hjsh]h bmdma_start()}(hjuhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjqubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf bmdma_startuh1hhhhKhjFubh hook. }(hjFhhhNhNubh)}(h:c:func:`ata_bmdma_start`h]jH)}(hjh]hata_bmdma_start()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_startuh1hhhhKhjFubh? will write the ATA_DMA_START flag to the DMA Command register.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj)hhubh)}(hMany legacy IDE drivers use :c:func:`ata_bmdma_stop` for the :c:func:`bmdma_stop` hook. :c:func:`ata_bmdma_stop` clears the ATA_DMA_START flag in the DMA command register.h](hMany legacy IDE drivers use }(hjhhhNhNubh)}(h:c:func:`ata_bmdma_stop`h]jH)}(hjh]hata_bmdma_stop()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_stopuh1hhhhKhjubh for the }(hjhhhNhNubh)}(h:c:func:`bmdma_stop`h]jH)}(hjh]h bmdma_stop()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf bmdma_stopuh1hhhhKhjubh hook. }(hjhhhNhNubh)}(h:c:func:`ata_bmdma_stop`h]jH)}(hj h]hata_bmdma_stop()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_stopuh1hhhhKhjubh; clears the ATA_DMA_START flag in the DMA command register.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj)hhubh)}(hZMany legacy IDE drivers use :c:func:`ata_bmdma_status` as the :c:func:`bmdma_status` hook.h](hMany legacy IDE drivers use }(hj4hhhNhNubh)}(h:c:func:`ata_bmdma_status`h]jH)}(hj>h]hata_bmdma_status()}(hj@hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj<ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_statusuh1hhhhKhj4ubh as the }(hj4hhhNhNubh)}(h:c:func:`bmdma_status`h]jH)}(hjah]hbmdma_status()}(hjchhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj_ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf bmdma_statusuh1hhhhKhj4ubh hook.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj)hhubeh}(h]control-pci-ide-bmdma-engineah ]h"]control pci ide bmdma engineah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(hHigh-level taskfile hooksh]hHigh-level taskfile hooks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubj)}(hoenum ata_completion_errors (*qc_prep) (struct ata_queued_cmd *qc); int (*qc_issue) (struct ata_queued_cmd *qc);h]hoenum ata_completion_errors (*qc_prep) (struct ata_queued_cmd *qc); int (*qc_issue) (struct ata_queued_cmd *qc);}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKhjhhubh)}(hXHigher-level hooks, these two hooks can potentially supersede several of the above taskfile/DMA engine hooks. ``->qc_prep`` is called after the buffers have been DMA-mapped, and is typically used to populate the hardware's DMA scatter-gather table. Some drivers use the standard :c:func:`ata_bmdma_qc_prep` and :c:func:`ata_bmdma_dumb_qc_prep` helper functions, but more advanced drivers roll their own.h](hnHigher-level hooks, these two hooks can potentially supersede several of the above taskfile/DMA engine hooks. }(hjhhhNhNubjH)}(h ``->qc_prep``h]h ->qc_prep}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh is called after the buffers have been DMA-mapped, and is typically used to populate the hardware’s DMA scatter-gather table. Some drivers use the standard }(hjhhhNhNubh)}(h:c:func:`ata_bmdma_qc_prep`h]jH)}(hjh]hata_bmdma_qc_prep()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_qc_prepuh1hhhhKhjubh and }(hjhhhNhNubh)}(h :c:func:`ata_bmdma_dumb_qc_prep`h]jH)}(hjh]hata_bmdma_dumb_qc_prep()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_dumb_qc_prepuh1hhhhKhjubh< helper functions, but more advanced drivers roll their own.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hX ``->qc_issue`` is used to make a command active, once the hardware and S/G tables have been prepared. IDE BMDMA drivers use the helper function :c:func:`ata_sff_qc_issue` for taskfile protocol-based dispatch. More advanced drivers implement their own ``->qc_issue``.h](jH)}(h``->qc_issue``h]h ->qc_issue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubh is used to make a command active, once the hardware and S/G tables have been prepared. IDE BMDMA drivers use the helper function }(hj hhhNhNubh)}(h:c:func:`ata_sff_qc_issue`h]jH)}(hj- h]hata_sff_qc_issue()}(hj/ hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj+ ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_qc_issueuh1hhhhKhj ubhQ for taskfile protocol-based dispatch. More advanced drivers implement their own }(hj hhhNhNubjH)}(h``->qc_issue``h]h ->qc_issue}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(h:c:func:`ata_sff_qc_issue` calls ``->sff_tf_load()``, ``->bmdma_setup()``, and ``->bmdma_start()`` as necessary to initiate a transfer.h](h)}(h:c:func:`ata_sff_qc_issue`h]jH)}(hjl h]hata_sff_qc_issue()}(hjn hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_qc_issueuh1hhhhKhjf ubh calls }(hjf hhhNhNubjH)}(h``->sff_tf_load()``h]h->sff_tf_load()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjf ubh, }(hjf hhhNhNubjH)}(h``->bmdma_setup()``h]h->bmdma_setup()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjf ubh, and }(hjf hhhNhNubjH)}(h``->bmdma_start()``h]h->bmdma_start()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjf ubh% as necessary to initiate a transfer.}(hjf hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]high-level-taskfile-hooksah ]h"]high-level taskfile hooksah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(h!Exception and probe handling (EH)h]h!Exception and probe handling (EH)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhMubj)}(hIvoid (*freeze) (struct ata_port *ap); void (*thaw) (struct ata_port *ap);h]hIvoid (*freeze) (struct ata_port *ap); void (*thaw) (struct ata_port *ap);}hj sbah}(h]h ]h"]h$]h&]jjuh1jhhhMhj hhubh)}(h:c:func:`ata_port_freeze` is called when HSM violations or some other condition disrupts normal operation of the port. A frozen port is not allowed to perform any operation until the port is thawed, which usually follows a successful reset.h](h)}(h:c:func:`ata_port_freeze`h]jH)}(hj h]hata_port_freeze()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_port_freezeuh1hhhhM hj ubh is called when HSM violations or some other condition disrupts normal operation of the port. A frozen port is not allowed to perform any operation until the port is thawed, which usually follows a successful reset.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hj hhubh)}(hXThe optional ``->freeze()`` callback can be used for freezing the port hardware-wise (e.g. mask interrupt and stop DMA engine). If a port cannot be frozen hardware-wise, the interrupt handler must ack and clear interrupts unconditionally while the port is frozen.h](h The optional }(hj hhhNhNubjH)}(h``->freeze()``h]h ->freeze()}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubh callback can be used for freezing the port hardware-wise (e.g. mask interrupt and stop DMA engine). If a port cannot be frozen hardware-wise, the interrupt handler must ack and clear interrupts unconditionally while the port is frozen.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj hhubh)}(hThe optional ``->thaw()`` callback is called to perform the opposite of ``->freeze()``: prepare the port for normal operation once again. Unmask interrupts, start DMA engine, etc.h](h The optional }(hj= hhhNhNubjH)}(h ``->thaw()``h]h->thaw()}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj= ubh/ callback is called to perform the opposite of }(hj= hhhNhNubjH)}(h``->freeze()``h]h ->freeze()}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj= ubh]: prepare the port for normal operation once again. Unmask interrupts, start DMA engine, etc.}(hj= hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj hhubj)}(h,void (*error_handler) (struct ata_port *ap);h]h,void (*error_handler) (struct ata_port *ap);}hjo sbah}(h]h ]h"]h$]h&]jjuh1jhhhMhj hhubh)}(hX``->error_handler()`` is a driver's hook into probe, hotplug, and recovery and other exceptional conditions. The primary responsibility of an implementation is to call :c:func:`ata_do_eh` or :c:func:`ata_bmdma_drive_eh` with a set of EH hooks as arguments:h](jH)}(h``->error_handler()``h]h->error_handler()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj} ubh is a driver’s hook into probe, hotplug, and recovery and other exceptional conditions. The primary responsibility of an implementation is to call }(hj} hhhNhNubh)}(h:c:func:`ata_do_eh`h]jH)}(hj h]h ata_do_eh()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf ata_do_ehuh1hhhhMhj} ubh or }(hj} hhhNhNubh)}(h:c:func:`ata_bmdma_drive_eh`h]jH)}(hj h]hata_bmdma_drive_eh()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_bmdma_drive_ehuh1hhhhMhj} ubh% with a set of EH hooks as arguments:}(hj} hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj hhubh)}(h_'prereset' hook (may be NULL) is called during an EH reset, before any other actions are taken.h]hc‘prereset’ hook (may be NULL) is called during an EH reset, before any other actions are taken.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM!hj hhubh)}(h'postreset' hook (may be NULL) is called after the EH reset is performed. Based on existing conditions, severity of the problem, and hardware capabilities,h]h‘postreset’ hook (may be NULL) is called after the EH reset is performed. Based on existing conditions, severity of the problem, and hardware capabilities,}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM$hj hhubh)}(hoEither 'softreset' (may be NULL) or 'hardreset' (may be NULL) will be called to perform the low-level EH reset.h]hwEither ‘softreset’ (may be NULL) or ‘hardreset’ (may be NULL) will be called to perform the low-level EH reset.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM(hj hhubj)}(h6void (*post_internal_cmd) (struct ata_queued_cmd *qc);h]h6void (*post_internal_cmd) (struct ata_queued_cmd *qc);}hj sbah}(h]h ]h"]h$]h&]jjuh1jhhhM-hj hhubh)}(hPerform any hardware-specific actions necessary to finish processing after executing a probe-time or EH-time command via :c:func:`ata_exec_internal`.h](hyPerform any hardware-specific actions necessary to finish processing after executing a probe-time or EH-time command via }(hj hhhNhNubh)}(h:c:func:`ata_exec_internal`h]jH)}(hj! h]hata_exec_internal()}(hj# hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_exec_internaluh1hhhhM0hj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM0hj hhubeh}(h]exception-and-probe-handling-ehah ]h"]!exception and probe handling (eh)ah$]h&]uh1hhjhhhhhMubh)}(hhh](h)}(hHardware interrupt handlingh]hHardware interrupt handling}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP hhhhhM5ubj)}(hairqreturn_t (*irq_handler)(int, void *, struct pt_regs *); void (*irq_clear) (struct ata_port *);h]hairqreturn_t (*irq_handler)(int, void *, struct pt_regs *); void (*irq_clear) (struct ata_port *);}hja sbah}(h]h ]h"]h$]h&]jjuh1jhhhM9hjP hhubh)}(h``->irq_handler`` is the interrupt handling routine registered with the system, by libata. ``->irq_clear`` is called during probe just before the interrupt handler is registered, to be sure hardware is quiet.h](jH)}(h``->irq_handler``h]h ->irq_handler}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjo ubhJ is the interrupt handling routine registered with the system, by libata. }(hjo hhhNhNubjH)}(h``->irq_clear``h]h ->irq_clear}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjo ubhf is called during probe just before the interrupt handler is registered, to be sure hardware is quiet.}(hjo hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM=hjP hhubh)}(hoThe second argument, dev_instance, should be cast to a pointer to :c:type:`struct ata_host_set `.h](hBThe second argument, dev_instance, should be cast to a pointer to }(hj hhhNhNubh)}(h,:c:type:`struct ata_host_set `h]jH)}(hj h]hstruct ata_host_set}(hj hhhNhNubah}(h]h ](jSjTc-typeeh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypetype refexplicitrefwarnjf ata_host_setuh1hhhhMAhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMAhjP hhubh)}(hMost legacy IDE drivers use :c:func:`ata_sff_interrupt` for the irq_handler hook, which scans all ports in the host_set, determines which queued command was active (if any), and calls ata_sff_host_intr(ap,qc).h](hMost legacy IDE drivers use }(hj hhhNhNubh)}(h:c:func:`ata_sff_interrupt`h]jH)}(hj h]hata_sff_interrupt()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_interruptuh1hhhhMDhj ubh for the irq_handler hook, which scans all ports in the host_set, determines which queued command was active (if any), and calls ata_sff_host_intr(ap,qc).}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMDhjP hhubh)}(hMost legacy IDE drivers use :c:func:`ata_sff_irq_clear` for the :c:func:`irq_clear` hook, which simply clears the interrupt and error flags in the DMA status register.h](hMost legacy IDE drivers use }(hj hhhNhNubh)}(h:c:func:`ata_sff_irq_clear`h]jH)}(hj h]hata_sff_irq_clear()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_sff_irq_clearuh1hhhhMHhj ubh for the }(hj hhhNhNubh)}(h:c:func:`irq_clear`h]jH)}(hj, h]h irq_clear()}(hj. hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj* ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf irq_clearuh1hhhhMHhj ubhT hook, which simply clears the interrupt and error flags in the DMA status register.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMHhjP hhubeh}(h]hardware-interrupt-handlingah ]h"]hardware interrupt handlingah$]h&]uh1hhjhhhhhM5ubh)}(hhh](h)}(hSATA phy read/writeh]hSATA phy read/write}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[ hhhhhMMubj)}(hint (*scr_read) (struct ata_port *ap, unsigned int sc_reg, u32 *val); int (*scr_write) (struct ata_port *ap, unsigned int sc_reg, u32 val);h]hint (*scr_read) (struct ata_port *ap, unsigned int sc_reg, u32 *val); int (*scr_write) (struct ata_port *ap, unsigned int sc_reg, u32 val);}hjl sbah}(h]h ]h"]h$]h&]jjuh1jhhhMQhj[ hhubh)}(hoRead and write standard SATA phy registers. sc_reg is one of SCR_STATUS, SCR_CONTROL, SCR_ERROR, or SCR_ACTIVE.h]hoRead and write standard SATA phy registers. sc_reg is one of SCR_STATUS, SCR_CONTROL, SCR_ERROR, or SCR_ACTIVE.}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMWhj[ hhubeh}(h]sata-phy-read-writeah ]h"]sata phy read/writeah$]h&]uh1hhjhhhhhMMubh)}(hhh](h)}(hInit and shutdownh]hInit and shutdown}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhM[ubj)}(hint (*port_start) (struct ata_port *ap); void (*port_stop) (struct ata_port *ap); void (*host_stop) (struct ata_host_set *host_set);h]hint (*port_start) (struct ata_port *ap); void (*port_stop) (struct ata_port *ap); void (*host_stop) (struct ata_host_set *host_set);}hj sbah}(h]h ]h"]h$]h&]jjuh1jhhhM_hj hhubh)}(hX7``->port_start()`` is called just after the data structures for each port are initialized. Typically this is used to alloc per-port DMA buffers / tables / rings, enable DMA engines, and similar tasks. Some drivers also use this entry point as a chance to allocate driver-private memory for ``ap->private_data``.h](jH)}(h``->port_start()``h]h->port_start()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubhX is called just after the data structures for each port are initialized. Typically this is used to alloc per-port DMA buffers / tables / rings, enable DMA engines, and similar tasks. Some drivers also use this entry point as a chance to allocate driver-private memory for }(hj hhhNhNubjH)}(h``ap->private_data``h]hap->private_data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMdhj hhubh)}(hMany drivers use :c:func:`ata_port_start` as this hook or call it from their own :c:func:`port_start` hooks. :c:func:`ata_port_start` allocates space for a legacy IDE PRD table and returns.h](hMany drivers use }(hj hhhNhNubh)}(h:c:func:`ata_port_start`h]jH)}(hj h]hata_port_start()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_port_startuh1hhhhMjhj ubh( as this hook or call it from their own }(hj hhhNhNubh)}(h:c:func:`port_start`h]jH)}(hj h]h port_start()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf port_startuh1hhhhMjhj ubh hooks. }(hj hhhNhNubh)}(h:c:func:`ata_port_start`h]jH)}(hj- h]hata_port_start()}(hj/ hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj+ ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_port_startuh1hhhhMjhj ubh8 allocates space for a legacy IDE PRD table and returns.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMjhj hhubh)}(h``->port_stop()`` is called after ``->host_stop()``. Its sole function is to release DMA/memory resources, now that they are no longer actively being used. Many drivers also free driver-private data from port at this time.h](jH)}(h``->port_stop()``h]h ->port_stop()}(hjX hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjT ubh is called after }(hjT hhhNhNubjH)}(h``->host_stop()``h]h ->host_stop()}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjT ubh. Its sole function is to release DMA/memory resources, now that they are no longer actively being used. Many drivers also free driver-private data from port at this time.}(hjT hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMnhj hhubh)}(h``->host_stop()`` is called after all ``->port_stop()`` calls have completed. The hook must finalize hardware shutdown, release DMA and other resources, etc. This hook may be specified as NULL, in which case it is not called.h](jH)}(h``->host_stop()``h]h ->host_stop()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubh is called after all }(hj hhhNhNubjH)}(h``->port_stop()``h]h ->port_stop()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubh calls have completed. The hook must finalize hardware shutdown, release DMA and other resources, etc. This hook may be specified as NULL, in which case it is not called.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMrhj hhubeh}(h]init-and-shutdownah ]h"]init and shutdownah$]h&]uh1hhjhhhhhM[ubeh}(h]struct-ata-port-operationsah ]h"]struct ata_port_operationsah$]h&]uh1hhj.hhhhhK!ubeh}(h]libata-driver-apiah ]h"]libata driver apiah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hError handlingh]hError handling}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhMxubh)}(hThis chapter describes how errors are handled under libata. Readers are advised to read SCSI EH (Documentation/scsi/scsi_eh.rst) and ATA exceptions doc first.h]hThis chapter describes how errors are handled under libata. Readers are advised to read SCSI EH (Documentation/scsi/scsi_eh.rst) and ATA exceptions doc first.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMzhj hhubh)}(hhh](h)}(hOrigins of commandsh]hOrigins of commands}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhMubh)}(hXJIn libata, a command is represented with :c:type:`struct ata_queued_cmd ` or qc. qc's are preallocated during port initialization and repetitively used for command executions. Currently only one qc is allocated per port but yet-to-be-merged NCQ branch allocates one for each tag and maps each qc to NCQ tag 1-to-1.h](h)In libata, a command is represented with }(hj hhhNhNubh)}(h0:c:type:`struct ata_queued_cmd `h]jH)}(hjh]hstruct ata_queued_cmd}(hjhhhNhNubah}(h]h ](jSjTc-typeeh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypetype refexplicitrefwarnjfata_queued_cmduh1hhhhMhj ubh or qc. qc’s are preallocated during port initialization and repetitively used for command executions. Currently only one qc is allocated per port but yet-to-be-merged NCQ branch allocates one for each tag and maps each qc to NCQ tag 1-to-1.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj hhubh)}(hX#libata commands can originate from two sources - libata itself and SCSI midlayer. libata internal commands are used for initialization and error handling. All normal blk requests and commands for SCSI emulation are passed as SCSI commands through queuecommand callback of SCSI host template.h]hX#libata commands can originate from two sources - libata itself and SCSI midlayer. libata internal commands are used for initialization and error handling. All normal blk requests and commands for SCSI emulation are passed as SCSI commands through queuecommand callback of SCSI host template.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj hhubeh}(h]origins-of-commandsah ]h"]origins of commandsah$]h&]uh1hhj hhhhhMubh)}(hhh](h)}(hHow commands are issuedh]hHow commands are issued}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hhhhhMubhdefinition_list)}(hhh](hdefinition_list_item)}(hXInternal commands Once allocated qc's taskfile is initialized for the command to be executed. qc currently has two mechanisms to notify completion. One is via ``qc->complete_fn()`` callback and the other is completion ``qc->waiting``. ``qc->complete_fn()`` callback is the asynchronous path used by normal SCSI translated commands and ``qc->waiting`` is the synchronous (issuer sleeps in process context) path used by internal commands. Once initialization is complete, host_set lock is acquired and the qc is issued. h](hterm)}(hInternal commandsh]hInternal commands}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjWubh definition)}(hhh](h)}(hXOnce allocated qc's taskfile is initialized for the command to be executed. qc currently has two mechanisms to notify completion. One is via ``qc->complete_fn()`` callback and the other is completion ``qc->waiting``. ``qc->complete_fn()`` callback is the asynchronous path used by normal SCSI translated commands and ``qc->waiting`` is the synchronous (issuer sleeps in process context) path used by internal commands.h](hOnce allocated qc’s taskfile is initialized for the command to be executed. qc currently has two mechanisms to notify completion. One is via }(hjphhhNhNubjH)}(h``qc->complete_fn()``h]hqc->complete_fn()}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjpubh& callback and the other is completion }(hjphhhNhNubjH)}(h``qc->waiting``h]h qc->waiting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjpubh. }(hjphhhNhNubjH)}(h``qc->complete_fn()``h]hqc->complete_fn()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjpubhO callback is the asynchronous path used by normal SCSI translated commands and }(hjphhhNhNubjH)}(h``qc->waiting``h]h qc->waiting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjpubhV is the synchronous (issuer sleeps in process context) path used by internal commands.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjmubh)}(hPOnce initialization is complete, host_set lock is acquired and the qc is issued.h]hPOnce initialization is complete, host_set lock is acquired and the qc is issued.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjmubeh}(h]h ]h"]h$]h&]uh1jkhjWubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjRubjV)}(hXSCSI commands All libata drivers use :c:func:`ata_scsi_queuecmd` as ``hostt->queuecommand`` callback. scmds can either be simulated or translated. No qc is involved in processing a simulated scmd. The result is computed right away and the scmd is completed. ``qc->complete_fn()`` callback is used for completion notification. ATA commands use :c:func:`ata_scsi_qc_complete` while ATAPI commands use :c:func:`atapi_qc_complete`. Both functions end up calling ``qc->scsidone`` to notify upper layer when the qc is finished. After translation is completed, the qc is issued with :c:func:`ata_qc_issue`. Note that SCSI midlayer invokes hostt->queuecommand while holding host_set lock, so all above occur while holding host_set lock. h](j\)}(h SCSI commandsh]h SCSI commands}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjubjl)}(hhh](h)}(hAll libata drivers use :c:func:`ata_scsi_queuecmd` as ``hostt->queuecommand`` callback. scmds can either be simulated or translated. No qc is involved in processing a simulated scmd. The result is computed right away and the scmd is completed.h](hAll libata drivers use }(hjhhhNhNubh)}(h:c:func:`ata_scsi_queuecmd`h]jH)}(hjh]hata_scsi_queuecmd()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_scsi_queuecmduh1hhhhMhjubh as }(hjhhhNhNubjH)}(h``hostt->queuecommand``h]hhostt->queuecommand}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh callback. scmds can either be simulated or translated. No qc is involved in processing a simulated scmd. The result is computed right away and the scmd is completed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hXU``qc->complete_fn()`` callback is used for completion notification. ATA commands use :c:func:`ata_scsi_qc_complete` while ATAPI commands use :c:func:`atapi_qc_complete`. Both functions end up calling ``qc->scsidone`` to notify upper layer when the qc is finished. After translation is completed, the qc is issued with :c:func:`ata_qc_issue`.h](jH)}(h``qc->complete_fn()``h]hqc->complete_fn()}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj8ubh@ callback is used for completion notification. ATA commands use }(hj8hhhNhNubh)}(h:c:func:`ata_scsi_qc_complete`h]jH)}(hjPh]hata_scsi_qc_complete()}(hjRhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjNubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_scsi_qc_completeuh1hhhhMhj8ubh while ATAPI commands use }(hj8hhhNhNubh)}(h:c:func:`atapi_qc_complete`h]jH)}(hjsh]hatapi_qc_complete()}(hjuhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjqubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfatapi_qc_completeuh1hhhhMhj8ubh . Both functions end up calling }(hj8hhhNhNubjH)}(h``qc->scsidone``h]h qc->scsidone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj8ubhf to notify upper layer when the qc is finished. After translation is completed, the qc is issued with }(hj8hhhNhNubh)}(h:c:func:`ata_qc_issue`h]jH)}(hjh]hata_qc_issue()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf ata_qc_issueuh1hhhhMhj8ubh.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hNote that SCSI midlayer invokes hostt->queuecommand while holding host_set lock, so all above occur while holding host_set lock.h]hNote that SCSI midlayer invokes hostt->queuecommand while holding host_set lock, so all above occur while holding host_set lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjRhhubeh}(h]h ]h"]h$]h&]uh1jPhj?hhhhhNubeh}(h]how-commands-are-issuedah ]h"]how commands are issuedah$]h&]uh1hhj hhhhhMubh)}(hhh](h)}(hHow commands are processedh]hHow commands are processed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hDepending on which protocol and which controller are used, commands are processed differently. For the purpose of discussion, a controller which uses taskfile interface and all standard callbacks is assumed.h]hDepending on which protocol and which controller are used, commands are processed differently. For the purpose of discussion, a controller which uses taskfile interface and all standard callbacks is assumed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hCurrently 6 ATA command protocols are used. They can be sorted into the following four categories according to how they are processed.h]hCurrently 6 ATA command protocols are used. They can be sorted into the following four categories according to how they are processed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubjQ)}(hhh](jV)}(hATA NO DATA or DMA ATA_PROT_NODATA and ATA_PROT_DMA fall into this category. These types of commands don't require any software intervention once issued. Device will raise interrupt on completion. h](j\)}(hATA NO DATA or DMAh]hATA NO DATA or DMA}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhj'ubjl)}(hhh]h)}(hATA_PROT_NODATA and ATA_PROT_DMA fall into this category. These types of commands don't require any software intervention once issued. Device will raise interrupt on completion.h]hATA_PROT_NODATA and ATA_PROT_DMA fall into this category. These types of commands don’t require any software intervention once issued. Device will raise interrupt on completion.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj9ubah}(h]h ]h"]h$]h&]uh1jkhj'ubeh}(h]h ]h"]h$]h&]uh1jUhhhMhj$ubjV)}(hATA PIO ATA_PROT_PIO is in this category. libata currently implements PIO with polling. ATA_NIEN bit is set to turn off interrupt and pio_task on ata_wq performs polling and IO. h](j\)}(hATA PIOh]hATA PIO}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjVubjl)}(hhh]h)}(hATA_PROT_PIO is in this category. libata currently implements PIO with polling. ATA_NIEN bit is set to turn off interrupt and pio_task on ata_wq performs polling and IO.h]hATA_PROT_PIO is in this category. libata currently implements PIO with polling. ATA_NIEN bit is set to turn off interrupt and pio_task on ata_wq performs polling and IO.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhubah}(h]h ]h"]h$]h&]uh1jkhjVubeh}(h]h ]h"]h$]h&]uh1jUhhhMhj$hhubjV)}(hXATAPI NODATA or DMA ATA_PROT_ATAPI_NODATA and ATA_PROT_ATAPI_DMA are in this category. packet_task is used to poll BSY bit after issuing PACKET command. Once BSY is turned off by the device, packet_task transfers CDB and hands off processing to interrupt handler. h](j\)}(hATAPI NODATA or DMAh]hATAPI NODATA or DMA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjubjl)}(hhh]h)}(hATA_PROT_ATAPI_NODATA and ATA_PROT_ATAPI_DMA are in this category. packet_task is used to poll BSY bit after issuing PACKET command. Once BSY is turned off by the device, packet_task transfers CDB and hands off processing to interrupt handler.h]hATA_PROT_ATAPI_NODATA and ATA_PROT_ATAPI_DMA are in this category. packet_task is used to poll BSY bit after issuing PACKET command. Once BSY is turned off by the device, packet_task transfers CDB and hands off processing to interrupt handler.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhj$hhubjV)}(hATAPI PIO ATA_PROT_ATAPI is in this category. ATA_NIEN bit is set and, as in ATAPI NODATA or DMA, packet_task submits cdb. However, after submitting cdb, further processing (data transfer) is handed off to pio_task. h](j\)}(h ATAPI PIOh]h ATAPI PIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjubjl)}(hhh]h)}(hATA_PROT_ATAPI is in this category. ATA_NIEN bit is set and, as in ATAPI NODATA or DMA, packet_task submits cdb. However, after submitting cdb, further processing (data transfer) is handed off to pio_task.h]hATA_PROT_ATAPI is in this category. ATA_NIEN bit is set and, as in ATAPI NODATA or DMA, packet_task submits cdb. However, after submitting cdb, further processing (data transfer) is handed off to pio_task.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhj$hhubeh}(h]h ]h"]h$]h&]uh1jPhjhhhhhNubeh}(h]how-commands-are-processedah ]h"]how commands are processedah$]h&]uh1hhj hhhhhMubh)}(hhh](h)}(hHow commands are completedh]hHow commands are completed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hX7Once issued, all qc's are either completed with :c:func:`ata_qc_complete` or time out. For commands which are handled by interrupts, :c:func:`ata_host_intr` invokes :c:func:`ata_qc_complete`, and, for PIO tasks, pio_task invokes :c:func:`ata_qc_complete`. In error cases, packet_task may also complete commands.h](h2Once issued, all qc’s are either completed with }(hjhhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hj h]hata_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhjubh< or time out. For commands which are handled by interrupts, }(hjhhhNhNubh)}(h:c:func:`ata_host_intr`h]jH)}(hj/h]hata_host_intr()}(hj1hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj-ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf ata_host_intruh1hhhhMhjubh invokes }(hjhhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hjRh]hata_qc_complete()}(hjThhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjPubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhjubh', and, for PIO tasks, pio_task invokes }(hjhhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hjuh]hata_qc_complete()}(hjwhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjsubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhjubh9. In error cases, packet_task may also complete commands.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(h-:c:func:`ata_qc_complete` does the following.h](h)}(h:c:func:`ata_qc_complete`h]jH)}(hjh]hata_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhjubh does the following.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubhenumerated_list)}(hhh](h list_item)}(hDMA memory is unmapped. h]h)}(hDMA memory is unmapped.h]hDMA memory is unmapped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h-ATA_QCFLAG_ACTIVE is cleared from qc->flags. h]h)}(h,ATA_QCFLAG_ACTIVE is cleared from qc->flags.h]h,ATA_QCFLAG_ACTIVE is cleared from qc->flags.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h:c:expr:`qc->complete_fn` callback is invoked. If the return value of the callback is not zero. Completion is short circuited and :c:func:`ata_qc_complete` returns. h]h)}(h:c:expr:`qc->complete_fn` callback is invoked. If the return value of the callback is not zero. Completion is short circuited and :c:func:`ata_qc_complete` returns.h](h desc_inline)}(hqc->complete_fnh](h)}(hhh]h desc_sig_name)}(hqch]hqc}(hjhhhNhNubah}(h]h ]nah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftype identifier reftargetjmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]sbuh1hhj ubhdesc_sig_operator)}(h->h]h->}(hj8hhhNhNubah}(h]h ]oah"]h$]h&]uh1j6hj ubj)}(h complete_fnh]h complete_fn}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ](c-exprsig sig-inlinejTeh"]h$]h&]uh1jhjubhi callback is invoked. If the return value of the callback is not zero. Completion is short circuited and }(hjhhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hjdh]hata_qc_complete()}(hjfhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjbubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhjubh returns.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hX:c:func:`__ata_qc_complete` is called, which does 1. ``qc->flags`` is cleared to zero. 2. ``ap->active_tag`` and ``qc->tag`` are poisoned. 3. ``qc->waiting`` is cleared & completed (in that order). 4. qc is deallocated by clearing appropriate bit in ``ap->qactive``. h](h)}(h1:c:func:`__ata_qc_complete` is called, which doesh](h)}(h:c:func:`__ata_qc_complete`h]jH)}(hjh]h__ata_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf__ata_qc_completeuh1hhhhMhjubh is called, which does}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hhh](j)}(h"``qc->flags`` is cleared to zero. h]h)}(h!``qc->flags`` is cleared to zero.h](jH)}(h ``qc->flags``h]h qc->flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh is cleared to zero.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h1``ap->active_tag`` and ``qc->tag`` are poisoned. h]h)}(h0``ap->active_tag`` and ``qc->tag`` are poisoned.h](jH)}(h``ap->active_tag``h]hap->active_tag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh and }(hjhhhNhNubjH)}(h ``qc->tag``h]hqc->tag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh are poisoned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h8``qc->waiting`` is cleared & completed (in that order). h]h)}(h7``qc->waiting`` is cleared & completed (in that order).h](jH)}(h``qc->waiting``h]h qc->waiting}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj'ubh( is cleared & completed (in that order).}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hBqc is deallocated by clearing appropriate bit in ``ap->qactive``. h]h)}(hAqc is deallocated by clearing appropriate bit in ``ap->qactive``.h](h1qc is deallocated by clearing appropriate bit in }(hjMhhhNhNubjH)}(h``ap->qactive``h]h ap->qactive}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjMubh.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjIubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix.uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhNhNubeh}(h]h ]h"]h$]h&]jyjzj{hj|j}uh1jhjhhhhhMubh)}(hSo, it basically notifies upper layer and deallocates qc. One exception is short-circuit path in #3 which is used by :c:func:`atapi_qc_complete`.h](huSo, it basically notifies upper layer and deallocates qc. One exception is short-circuit path in #3 which is used by }(hjhhhNhNubh)}(h:c:func:`atapi_qc_complete`h]jH)}(hjh]hatapi_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfatapi_qc_completeuh1hhhhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hFor all non-ATAPI commands, whether it fails or not, almost the same code path is taken and very little error handling takes place. A qc is completed with success status if it succeeded, with failed status otherwise.h]hFor all non-ATAPI commands, whether it fails or not, almost the same code path is taken and very little error handling takes place. A qc is completed with success status if it succeeded, with failed status otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXHowever, failed ATAPI commands require more handling as REQUEST SENSE is needed to acquire sense data. If an ATAPI command fails, :c:func:`ata_qc_complete` is invoked with error status, which in turn invokes :c:func:`atapi_qc_complete` via ``qc->complete_fn()`` callback.h](hHowever, failed ATAPI commands require more handling as REQUEST SENSE is needed to acquire sense data. If an ATAPI command fails, }(hjhhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hjh]hata_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhjubh5 is invoked with error status, which in turn invokes }(hjhhhNhNubh)}(h:c:func:`atapi_qc_complete`h]jH)}(hjh]hatapi_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfatapi_qc_completeuh1hhhhMhjubh via }(hjhhhNhNubjH)}(h``qc->complete_fn()``h]hqc->complete_fn()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh callback.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXThis makes :c:func:`atapi_qc_complete` set ``scmd->result`` to SAM_STAT_CHECK_CONDITION, complete the scmd and return 1. As the sense data is empty but ``scmd->result`` is CHECK CONDITION, SCSI midlayer will invoke EH for the scmd, and returning 1 makes :c:func:`ata_qc_complete` to return without deallocating the qc. This leads us to :c:func:`ata_scsi_error` with partially completed qc.h](h This makes }(hj/hhhNhNubh)}(h:c:func:`atapi_qc_complete`h]jH)}(hj9h]hatapi_qc_complete()}(hj;hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj7ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfatapi_qc_completeuh1hhhhMhj/ubh set }(hj/hhhNhNubjH)}(h``scmd->result``h]h scmd->result}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj/ubh] to SAM_STAT_CHECK_CONDITION, complete the scmd and return 1. As the sense data is empty but }(hj/hhhNhNubjH)}(h``scmd->result``h]h scmd->result}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj/ubhV is CHECK CONDITION, SCSI midlayer will invoke EH for the scmd, and returning 1 makes }(hj/hhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hjh]hata_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj~ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhj/ubh9 to return without deallocating the qc. This leads us to }(hj/hhhNhNubh)}(h:c:func:`ata_scsi_error`h]jH)}(hjh]hata_scsi_error()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_scsi_erroruh1hhhhMhj/ubh with partially completed qc.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]how-commands-are-completedah ]h"]how commands are completedah$]h&]uh1hhj hhhhhMubh)}(hhh](h)}(h:c:func:`ata_scsi_error`h]h)}(hjh]jH)}(hjh]hata_scsi_error()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_scsi_erroruh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hX:c:func:`ata_scsi_error` is the current ``transportt->eh_strategy_handler()`` for libata. As discussed above, this will be entered in two cases - timeout and ATAPI error completion. This function will check if a qc is active and has not failed yet. Such a qc will be marked with AC_ERR_TIMEOUT such that EH will know to handle it later. Then it calls low level libata driver's :c:func:`error_handler` callback.h](h)}(h:c:func:`ata_scsi_error`h]jH)}(hjh]hata_scsi_error()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_scsi_erroruh1hhhhMhjubh is the current }(hjhhhNhNubjH)}(h%``transportt->eh_strategy_handler()``h]h!transportt->eh_strategy_handler()}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubhX. for libata. As discussed above, this will be entered in two cases - timeout and ATAPI error completion. This function will check if a qc is active and has not failed yet. Such a qc will be marked with AC_ERR_TIMEOUT such that EH will know to handle it later. Then it calls low level libata driver’s }(hjhhhNhNubh)}(h:c:func:`error_handler`h]jH)}(hj8h]herror_handler()}(hj:hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj6ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf error_handleruh1hhhhMhjubh callback.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXWhen the :c:func:`error_handler` callback is invoked it stops BMDMA and completes the qc. Note that as we're currently in EH, we cannot call scsi_done. As described in SCSI EH doc, a recovered scmd should be either retried with :c:func:`scsi_queue_insert` or finished with :c:func:`scsi_finish_command`. Here, we override ``qc->scsidone`` with :c:func:`scsi_finish_command` and calls :c:func:`ata_qc_complete`.h](h When the }(hj_hhhNhNubh)}(h:c:func:`error_handler`h]jH)}(hjih]herror_handler()}(hjkhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjgubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf error_handleruh1hhhhMhj_ubh callback is invoked it stops BMDMA and completes the qc. Note that as we’re currently in EH, we cannot call scsi_done. As described in SCSI EH doc, a recovered scmd should be either retried with }(hj_hhhNhNubh)}(h:c:func:`scsi_queue_insert`h]jH)}(hjh]hscsi_queue_insert()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfscsi_queue_insertuh1hhhhMhj_ubh or finished with }(hj_hhhNhNubh)}(h:c:func:`scsi_finish_command`h]jH)}(hjh]hscsi_finish_command()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfscsi_finish_commanduh1hhhhMhj_ubh. Here, we override }(hj_hhhNhNubjH)}(h``qc->scsidone``h]h qc->scsidone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj_ubh with }(hj_hhhNhNubh)}(h:c:func:`scsi_finish_command`h]jH)}(hjh]hscsi_finish_command()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfscsi_finish_commanduh1hhhhMhj_ubh and calls }(hj_hhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hjh]hata_qc_complete()}(hj hhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhj_ubh.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hIf EH is invoked due to a failed ATAPI qc, the qc here is completed but not deallocated. The purpose of this half-completion is to use the qc as place holder to make EH code reach this place. This is a bit hackish, but it works.h]hIf EH is invoked due to a failed ATAPI qc, the qc here is completed but not deallocated. The purpose of this half-completion is to use the qc as place holder to make EH code reach this place. This is a bit hackish, but it works.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXOnce control reaches here, the qc is deallocated by invoking :c:func:`__ata_qc_complete` explicitly. Then, internal qc for REQUEST SENSE is issued. Once sense data is acquired, scmd is finished by directly invoking :c:func:`scsi_finish_command` on the scmd. Note that as we already have completed and deallocated the qc which was associated with the scmd, we don't need to/cannot call :c:func:`ata_qc_complete` again.h](h=Once control reaches here, the qc is deallocated by invoking }(hj<hhhNhNubh)}(h:c:func:`__ata_qc_complete`h]jH)}(hjFh]h__ata_qc_complete()}(hjHhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjDubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjf__ata_qc_completeuh1hhhhMhj<ubh explicitly. Then, internal qc for REQUEST SENSE is issued. Once sense data is acquired, scmd is finished by directly invoking }(hj<hhhNhNubh)}(h:c:func:`scsi_finish_command`h]jH)}(hjih]hscsi_finish_command()}(hjkhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjgubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfscsi_finish_commanduh1hhhhMhj<ubh on the scmd. Note that as we already have completed and deallocated the qc which was associated with the scmd, we don’t need to/cannot call }(hj<hhhNhNubh)}(h:c:func:`ata_qc_complete`h]jH)}(hjh]hata_qc_complete()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_qc_completeuh1hhhhMhj<ubh again.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]ata-scsi-errorah ]h"]ata_scsi_error()ah$]h&]uh1hhj hhhhhMubh)}(hhh](h)}(hProblems with the current EHh]hProblems with the current EH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh bullet_list)}(hhh](j)}(hX>Error representation is too crude. Currently any and all error conditions are represented with ATA STATUS and ERROR registers. Errors which aren't ATA device errors are treated as ATA device errors by setting ATA_ERR bit. Better error descriptor which can properly represent ATA and other errors/exceptions is needed. h]h)}(hX=Error representation is too crude. Currently any and all error conditions are represented with ATA STATUS and ERROR registers. Errors which aren't ATA device errors are treated as ATA device errors by setting ATA_ERR bit. Better error descriptor which can properly represent ATA and other errors/exceptions is needed.h]hX?Error representation is too crude. Currently any and all error conditions are represented with ATA STATUS and ERROR registers. Errors which aren’t ATA device errors are treated as ATA device errors by setting ATA_ERR bit. Better error descriptor which can properly represent ATA and other errors/exceptions is needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hyWhen handling timeouts, no action is taken to make device forget about the timed out command and ready for new commands. h]h)}(hxWhen handling timeouts, no action is taken to make device forget about the timed out command and ready for new commands.h]hxWhen handling timeouts, no action is taken to make device forget about the timed out command and ready for new commands.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM#hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hEH handling via :c:func:`ata_scsi_error` is not properly protected from usual command processing. On EH entrance, the device is not in quiescent state. Timed out commands may succeed or fail any time. pio_task and atapi_task may still be running. h]h)}(hEH handling via :c:func:`ata_scsi_error` is not properly protected from usual command processing. On EH entrance, the device is not in quiescent state. Timed out commands may succeed or fail any time. pio_task and atapi_task may still be running.h](hEH handling via }(hjhhhNhNubh)}(h:c:func:`ata_scsi_error`h]jH)}(hjh]hata_scsi_error()}(hjhhhNhNubah}(h]h ](jSjTc-funceh"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]refdocj` refdomainjTreftypefunc refexplicitrefwarnjfata_scsi_erroruh1hhhhM&hjubh is not properly protected from usual command processing. On EH entrance, the device is not in quiescent state. Timed out commands may succeed or fail any time. pio_task and atapi_task may still be running.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM&hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hToo weak error recovery. Devices / controllers causing HSM mismatch errors and other errors quite often require reset to return to known state. Also, advanced error handling is necessary to support features like NCQ and hotplug. h]h)}(hToo weak error recovery. Devices / controllers causing HSM mismatch errors and other errors quite often require reset to return to known state. Also, advanced error handling is necessary to support features like NCQ and hotplug.h]hToo weak error recovery. Devices / controllers causing HSM mismatch errors and other errors quite often require reset to return to known state. Also, advanced error handling is necessary to support features like NCQ and hotplug.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM+hj<ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hXATA errors are directly handled in the interrupt handler and PIO errors in pio_task. This is problematic for advanced error handling for the following reasons. First, advanced error handling often requires context and internal qc execution. Second, even a simple failure (say, CRC error) needs information gathering and could trigger complex error handling (say, resetting & reconfiguring). Having multiple code paths to gather information, enter EH and trigger actions makes life painful. Third, scattered EH code makes implementing low level drivers difficult. Low level drivers override libata callbacks. If EH is scattered over several places, each affected callbacks should perform its part of error handling. This can be error prone and painful. h](h)}(hATA errors are directly handled in the interrupt handler and PIO errors in pio_task. This is problematic for advanced error handling for the following reasons.h]hATA errors are directly handled in the interrupt handler and PIO errors in pio_task. This is problematic for advanced error handling for the following reasons.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM0hjTubh)}(hPFirst, advanced error handling often requires context and internal qc execution.h]hPFirst, advanced error handling often requires context and internal qc execution.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM4hjTubh)}(hSecond, even a simple failure (say, CRC error) needs information gathering and could trigger complex error handling (say, resetting & reconfiguring). Having multiple code paths to gather information, enter EH and trigger actions makes life painful.h]hSecond, even a simple failure (say, CRC error) needs information gathering and could trigger complex error handling (say, resetting & reconfiguring). Having multiple code paths to gather information, enter EH and trigger actions makes life painful.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM7hjTubh)}(hXThird, scattered EH code makes implementing low level drivers difficult. Low level drivers override libata callbacks. If EH is scattered over several places, each affected callbacks should perform its part of error handling. This can be error prone and painful.h]hXThird, scattered EH code makes implementing low level drivers difficult. Low level drivers override libata callbacks. If EH is scattered over several places, each affected callbacks should perform its part of error handling. This can be error prone and painful.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM<hjTubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1jhhhMhjhhubeh}(h]problems-with-the-current-ehah ]h"]problems with the current ehah$]h&]uh1hhj hhhhhMubeh}(h]error-handlingah ]h"]error handlingah$]h&]uh1hhhhhhhhMxubh)}(hhh](h)}(hlibata Libraryh]hlibata Library}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMBubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singleata_link_next (C function)c.ata_link_nexthNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hjstruct ata_link * ata_link_next (struct ata_link *link, struct ata_port *ap, enum ata_link_iter_mode mode)h]hdesc_signature_line)}(hhstruct ata_link *ata_link_next(struct ata_link *link, struct ata_port *ap, enum ata_link_iter_mode mode)h](hdesc_sig_keyword)}(hstructh]hstruct}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhjhhhjhKubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj modnameN classnameNj.j1)}j4]j/ ASTIdentifier)}j* ata_link_nextsbc.ata_link_nextasbuh1hhjhhhjhKubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubhdesc_sig_punctuation)}(h*h]h*}(hj:hhhNhNubah}(h]h ]pah"]h$]h&]uh1j8hjhhhjhKubh desc_name)}(h ata_link_nexth]j)}(hj'h]h ata_link_next}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubah}(h]h ](sig-namedescnameeh"]h$]h&]jjuh1jIhjhhhjhKubhdesc_parameterlist)}(hJ(struct ata_link *link, struct ata_port *ap, enum ata_link_iter_mode mode)h](hdesc_parameter)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j%c.ata_link_nextasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjlubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjfubjk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j%c.ata_link_nextasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj*hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjfubjk)}(henum ata_link_iter_mode modeh](j)}(henumh]henum}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubh)}(hhh]j)}(hata_link_iter_modeh]hata_link_iter_mode}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjqmodnameN classnameNj.j1)}j4]j%c.ata_link_nextasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjfubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhKubeh}(h]h ]h"]h$]h&]jj add_permalinkuh1jsphinx_line_type declaratorhjhhhjhKubah}(h]jah ](jY sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jhjhKhjhhubh desc_content)}(hhh]h)}(hlink iteration helperh]hlink iteration helper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jTfunctioneh"]h$]h&]domainjTobjtypejdesctypejnoindex noindexentrynocontentsentryuh1jhhhjhNhNubh container)}(hX&**Parameters** ``struct ata_link *link`` the previous link, NULL to start ``struct ata_port *ap`` ATA port containing links to iterate ``enum ata_link_iter_mode mode`` iteration mode, one of ATA_LITER_* LOCKING: Host lock or EH context. **Return** Pointer to the next link.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubjQ)}(hhh](jV)}(h;``struct ata_link *link`` the previous link, NULL to start h](j\)}(h``struct ata_link *link``h]jH)}(hjh]hstruct ata_link *link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubjl)}(hhh]h)}(h the previous link, NULL to starth]h the previous link, NULL to start}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hKhj-ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj,hKhjubjV)}(h=``struct ata_port *ap`` ATA port containing links to iterate h](j\)}(h``struct ata_port *ap``h]jH)}(hjPh]hstruct ata_port *ap}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjNubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjJubjl)}(hhh]h)}(h$ATA port containing links to iterateh]h$ATA port containing links to iterate}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehKhjfubah}(h]h ]h"]h$]h&]uh1jkhjJubeh}(h]h ]h"]h$]h&]uh1jUhjehKhjubjV)}(hg``enum ata_link_iter_mode mode`` iteration mode, one of ATA_LITER_* LOCKING: Host lock or EH context. h](j\)}(h ``enum ata_link_iter_mode mode``h]jH)}(hjh]henum ata_link_iter_mode mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubjl)}(hhh](h)}(h"iteration mode, one of ATA_LITER_*h]h"iteration mode, one of ATA_LITER_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubh)}(h!LOCKING: Host lock or EH context.h]h!LOCKING: Host lock or EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhjubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubj)}(hPointer to the next link.h]h)}(hjh]hPointer to the next link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubah}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_next (C function)c.ata_dev_nexthNtauh1jhjhhhNhNubj)}(hhh](j)}(hmstruct ata_device * ata_dev_next (struct ata_device *dev, struct ata_link *link, enum ata_dev_iter_mode mode)h]j)}(hkstruct ata_device *ata_dev_next(struct ata_device *dev, struct ata_link *link, enum ata_dev_iter_mode mode)h](j)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj/hKubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjCmodnameN classnameNj.j1)}j4]j$)}j* ata_dev_nextsbc.ata_dev_nextasbuh1hhjhhhj/hKubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj/hKubj9)}(hj<h]h*}(hjphhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjhhhj/hKubjJ)}(h ata_dev_nexth]j)}(hj_h]h ata_dev_next}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj/hKubje)}(hL(struct ata_device *dev, struct ata_link *link, enum ata_dev_iter_mode mode)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j]c.ata_dev_nextasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj,modnameN classnameNj.j1)}j4]j]c.ata_dev_nextasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjVhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(henum ata_dev_iter_mode modeh](j)}(hjRh]henum}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubh)}(hhh]j)}(hata_dev_iter_modeh]hata_dev_iter_mode}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j]c.ata_dev_nextasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhj/hKubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj/hKubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj/hKhjhhubj)}(hhh]h)}(hdevice iteration helperh]hdevice iteration helper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj/hKubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjhNhNubj)}(hX.**Parameters** ``struct ata_device *dev`` the previous device, NULL to start ``struct ata_link *link`` ATA link containing devices to iterate ``enum ata_dev_iter_mode mode`` iteration mode, one of ATA_DITER_* LOCKING: Host lock or EH context. **Return** Pointer to the next device.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhj ubjQ)}(hhh](jV)}(h>``struct ata_device *dev`` the previous device, NULL to start h](j\)}(h``struct ata_device *dev``h]jH)}(hj1h]hstruct ata_device *dev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj/ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhj+ubjl)}(hhh]h)}(h"the previous device, NULL to starth]h"the previous device, NULL to start}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhKhjGubah}(h]h ]h"]h$]h&]uh1jkhj+ubeh}(h]h ]h"]h$]h&]uh1jUhjFhKhj(ubjV)}(hA``struct ata_link *link`` ATA link containing devices to iterate h](j\)}(h``struct ata_link *link``h]jH)}(hjjh]hstruct ata_link *link}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjhubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjdubjl)}(hhh]h)}(h&ATA link containing devices to iterateh]h&ATA link containing devices to iterate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jkhjdubeh}(h]h ]h"]h$]h&]uh1jUhjhKhj(ubjV)}(hf``enum ata_dev_iter_mode mode`` iteration mode, one of ATA_DITER_* LOCKING: Host lock or EH context. h](j\)}(h``enum ata_dev_iter_mode mode``h]jH)}(hjh]henum ata_dev_iter_mode mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubjl)}(hhh](h)}(h"iteration mode, one of ATA_DITER_*h]h"iteration mode, one of ATA_DITER_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubh)}(h!LOCKING: Host lock or EH context.h]h!LOCKING: Host lock or EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhj(ubeh}(h]h ]h"]h$]h&]uh1jPhj ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhj ubj)}(hPointer to the next device.h]h)}(hjh]hPointer to the next device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chKhjubah}(h]h ]h"]h$]h&]uh1jhjhKhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jatapi_cmd_type (C function)c.atapi_cmd_typehNtauh1jhjhhhNhNubj)}(hhh](j)}(hint atapi_cmd_type (u8 opcode)h]j)}(hint atapi_cmd_type(u8 opcode)h](hdesc_sig_keyword_type)}(hinth]hint}(hj>hhhNhNubah}(h]h ]ktah"]h$]h&]uh1j<hj8hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhjMhMubjJ)}(hatapi_cmd_typeh]j)}(hatapi_cmd_typeh]hatapi_cmd_type}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj8hhhjMhMubje)}(h (u8 opcode)h]jk)}(h u8 opcodeh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jbsbc.atapi_cmd_typeasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(hopcodeh]hopcode}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjtubah}(h]h ]h"]h$]h&]jjuh1jdhj8hhhjMhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj4hhhjMhMubah}(h]j/ah ](jYjeh"]h$]h&]jj)jhuh1jhjMhMhj1hhubj)}(hhh]h)}(h-Determine ATAPI command type from SCSI opcodeh]h-Determine ATAPI command type from SCSI opcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj1hhhjMhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjhNhNubj)}(h**Parameters** ``u8 opcode`` SCSI opcode Determine ATAPI command type from **opcode**. LOCKING: None. **Return** ATAPI_{READ|WRITE|READ_CD|PASS_THRU|MISC}h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(hY``u8 opcode`` SCSI opcode Determine ATAPI command type from **opcode**. LOCKING: None. h](j\)}(h ``u8 opcode``h]jH)}(hjh]h u8 opcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(h SCSI opcodeh]h SCSI opcode}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj.ubh)}(h-Determine ATAPI command type from **opcode**.h](h"Determine ATAPI command type from }(hj@hhhNhNubj)}(h **opcode**h]hopcode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj.ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj.ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj-hMhjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjubj)}(h)ATAPI_{READ|WRITE|READ_CD|PASS_THRU|MISC}h]h)}(hjh]h)ATAPI_{READ|WRITE|READ_CD|PASS_THRU|MISC}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_pack_xfermask (C function)c.ata_pack_xfermaskhNtauh1jhjhhhNhNubj)}(hhh](j)}(hgunsigned int ata_pack_xfermask (unsigned int pio_mask, unsigned int mwdma_mask, unsigned int udma_mask)h]j)}(hfunsigned int ata_pack_xfermask(unsigned int pio_mask, unsigned int mwdma_mask, unsigned int udma_mask)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMZubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMZubjJ)}(hata_pack_xfermaskh]j)}(hata_pack_xfermaskh]hata_pack_xfermask}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMZubje)}(hH(unsigned int pio_mask, unsigned int mwdma_mask, unsigned int udma_mask)h](jk)}(hunsigned int pio_maskh](j=)}(hunsignedh]hunsigned}(hj+ hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj' ubj)}(h h]h }(hj9 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj' ubj=)}(hinth]hint}(hjG hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj' ubj)}(h h]h }(hjU hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj' ubj)}(hpio_maskh]hpio_mask}(hjc hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj' ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj# ubjk)}(hunsigned int mwdma_maskh](j=)}(hunsignedh]hunsigned}(hj| hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjx ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx ubj=)}(hinth]hint}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjx ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx ubj)}(h mwdma_maskh]h mwdma_mask}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj# ubjk)}(hunsigned int udma_maskh](j=)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj=)}(hinth]hint}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h udma_maskh]h udma_mask}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj# ubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMZubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMZubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMZhjhhubj)}(hhh]h)}(h-Pack pio, mwdma and udma masks into xfer_maskh]h-Pack pio, mwdma and udma masks into xfer_mask}(hj/!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMLhj,!hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMZubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjG!jjG!jjjuh1jhhhjhNhNubj)}(hX**Parameters** ``unsigned int pio_mask`` pio_mask ``unsigned int mwdma_mask`` mwdma_mask ``unsigned int udma_mask`` udma_mask Pack **pio_mask**, **mwdma_mask** and **udma_mask** into a single unsigned int xfer_mask. LOCKING: None. **Return** Packed xfer_mask.h](h)}(h**Parameters**h]j)}(hjQ!h]h Parameters}(hjS!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO!ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMPhjK!ubjQ)}(hhh](jV)}(h#``unsigned int pio_mask`` pio_mask h](j\)}(h``unsigned int pio_mask``h]jH)}(hjp!h]hunsigned int pio_mask}(hjr!hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjn!ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMMhjj!ubjl)}(hhh]h)}(hpio_maskh]hpio_mask}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMMhj!ubah}(h]h ]h"]h$]h&]uh1jkhjj!ubeh}(h]h ]h"]h$]h&]uh1jUhj!hMMhjg!ubjV)}(h'``unsigned int mwdma_mask`` mwdma_mask h](j\)}(h``unsigned int mwdma_mask``h]jH)}(hj!h]hunsigned int mwdma_mask}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj!ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMNhj!ubjl)}(hhh]h)}(h mwdma_maskh]h mwdma_mask}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMNhj!ubah}(h]h ]h"]h$]h&]uh1jkhj!ubeh}(h]h ]h"]h$]h&]uh1jUhj!hMNhjg!ubjV)}(h``unsigned int udma_mask`` udma_mask Pack **pio_mask**, **mwdma_mask** and **udma_mask** into a single unsigned int xfer_mask. LOCKING: None. h](j\)}(h``unsigned int udma_mask``h]jH)}(hj!h]hunsigned int udma_mask}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj!ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMUhj!ubjl)}(hhh](h)}(h udma_maskh]h udma_mask}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMOhj!ubh)}(hYPack **pio_mask**, **mwdma_mask** and **udma_mask** into a single unsigned int xfer_mask.h](hPack }(hj "hhhNhNubj)}(h **pio_mask**h]hpio_mask}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubh, }(hj "hhhNhNubj)}(h**mwdma_mask**h]h mwdma_mask}(hj$"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubh and }(hj "hhhNhNubj)}(h **udma_mask**h]h udma_mask}(hj6"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubh& into a single unsigned int xfer_mask.}(hj "hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMQhj!ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjO"hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMThj!ubeh}(h]h ]h"]h$]h&]uh1jkhj!ubeh}(h]h ]h"]h$]h&]uh1jUhj!hMUhjg!ubeh}(h]h ]h"]h$]h&]uh1jPhjK!ubh)}(h **Return**h]j)}(hjr"h]hReturn}(hjt"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp"ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMWhjK!ubj)}(hPacked xfer_mask.h]h)}(hj"h]hPacked xfer_mask.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMWhj"ubah}(h]h ]h"]h$]h&]uh1jhj"hMWhjK!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_xfer_mask2mode (C function)c.ata_xfer_mask2modehNtauh1jhjhhhNhNubj)}(hhh](j)}(h.u8 ata_xfer_mask2mode (unsigned int xfer_mask)h]j)}(h-u8 ata_xfer_mask2mode(unsigned int xfer_mask)h](h)}(hhh]j)}(hu8h]hu8}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj"modnameN classnameNj.j1)}j4]j$)}j*ata_xfer_mask2modesbc.ata_xfer_mask2modeasbuh1hhj"hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhj"hMubjJ)}(hata_xfer_mask2modeh]j)}(hj"h]hata_xfer_mask2mode}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj"hhhj"hMubje)}(h(unsigned int xfer_mask)h]jk)}(hunsigned int xfer_maskh](j=)}(hunsignedh]hunsigned}(hj#hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj#ubj)}(h h]h }(hj #hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj=)}(hinth]hint}(hj.#hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj#ubj)}(h h]h }(hj<#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(h xfer_maskh]h xfer_mask}(hjJ#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj #ubah}(h]h ]h"]h$]h&]jjuh1jdhj"hhhj"hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj"hhhj"hMubah}(h]j"ah ](jYjeh"]h$]h&]jj)jhuh1jhj"hMhj"hhubj)}(hhh]h)}(h,Find matching XFER_* for the given xfer_maskh]h,Find matching XFER_* for the given xfer_mask}(hjt#hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjq#hhubah}(h]h ]h"]h$]h&]uh1jhj"hhhj"hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj#jj#jjjuh1jhhhjhNhNubj)}(hX**Parameters** ``unsigned int xfer_mask`` xfer_mask of interest Return matching XFER_* value for **xfer_mask**. Only the highest bit of **xfer_mask** is considered. LOCKING: None. **Return** Matching XFER_* value, 0xff if no match found.h](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj#ubjQ)}(hhh]jV)}(h``unsigned int xfer_mask`` xfer_mask of interest Return matching XFER_* value for **xfer_mask**. Only the highest bit of **xfer_mask** is considered. LOCKING: None. h](j\)}(h``unsigned int xfer_mask``h]jH)}(hj#h]hunsigned int xfer_mask}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj#ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj#ubjl)}(hhh](h)}(hxfer_mask of interesth]hxfer_mask of interest}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj#ubh)}(heReturn matching XFER_* value for **xfer_mask**. Only the highest bit of **xfer_mask** is considered.h](h!Return matching XFER_* value for }(hj#hhhNhNubj)}(h **xfer_mask**h]h xfer_mask}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh. Only the highest bit of }(hj#hhhNhNubj)}(h **xfer_mask**h]h xfer_mask}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh is considered.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj#ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj#ubeh}(h]h ]h"]h$]h&]uh1jkhj#ubeh}(h]h ]h"]h$]h&]uh1jUhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jPhj#ubh)}(h **Return**h]j)}(hj3$h]hReturn}(hj5$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1$ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj#ubj)}(h.Matching XFER_* value, 0xff if no match found.h]h)}(hjK$h]h.Matching XFER_* value, 0xff if no match found.}(hjM$hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjI$ubah}(h]h ]h"]h$]h&]uh1jhjZ$hMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_xfer_mode2mask (C function)c.ata_xfer_mode2maskhNtauh1jhjhhhNhNubj)}(hhh](j)}(h.unsigned int ata_xfer_mode2mask (u8 xfer_mode)h]j)}(h-unsigned int ata_xfer_mode2mask(u8 xfer_mode)h](j=)}(hunsignedh]hunsigned}(hj$hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj}$hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}$hhhj$hMubj=)}(hinth]hint}(hj$hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj}$hhhj$hMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}$hhhj$hMubjJ)}(hata_xfer_mode2maskh]j)}(hata_xfer_mode2maskh]hata_xfer_mode2mask}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj}$hhhj$hMubje)}(h(u8 xfer_mode)h]jk)}(h u8 xfer_modeh](h)}(hhh]j)}(hu8h]hu8}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj$modnameN classnameNj.j1)}j4]j$)}j*j$sbc.ata_xfer_mode2maskasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h xfer_modeh]h xfer_mode}(hj %hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj$ubah}(h]h ]h"]h$]h&]jjuh1jdhj}$hhhj$hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjy$hhhj$hMubah}(h]jt$ah ](jYjeh"]h$]h&]jj)jhuh1jhj$hMhjv$hhubj)}(hhh]h)}(h"Find matching xfer_mask for XFER_*h]h"Find matching xfer_mask for XFER_*}(hj5%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj2%hhubah}(h]h ]h"]h$]h&]uh1jhjv$hhhj$hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjM%jjM%jjjuh1jhhhjhNhNubj)}(h**Parameters** ``u8 xfer_mode`` XFER_* of interest Return matching xfer_mask for **xfer_mode**. LOCKING: None. **Return** Matching xfer_mask, 0 if no match found.h](h)}(h**Parameters**h]j)}(hjW%h]h Parameters}(hjY%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU%ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjQ%ubjQ)}(hhh]jV)}(hb``u8 xfer_mode`` XFER_* of interest Return matching xfer_mask for **xfer_mode**. LOCKING: None. h](j\)}(h``u8 xfer_mode``h]jH)}(hjv%h]h u8 xfer_mode}(hjx%hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjt%ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjp%ubjl)}(hhh](h)}(hXFER_* of interesth]hXFER_* of interest}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj%ubh)}(h,Return matching xfer_mask for **xfer_mode**.h](hReturn matching xfer_mask for }(hj%hhhNhNubj)}(h **xfer_mode**h]h xfer_mode}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj%ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj%ubeh}(h]h ]h"]h$]h&]uh1jkhjp%ubeh}(h]h ]h"]h$]h&]uh1jUhj%hMhjm%ubah}(h]h ]h"]h$]h&]uh1jPhjQ%ubh)}(h **Return**h]j)}(hj%h]hReturn}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjQ%ubj)}(h(Matching xfer_mask, 0 if no match found.h]h)}(hj%h]h(Matching xfer_mask, 0 if no match found.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj%ubah}(h]h ]h"]h$]h&]uh1jhj &hMhjQ%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_xfer_mode2shift (C function)c.ata_xfer_mode2shifthNtauh1jhjhhhNhNubj)}(hhh](j)}(h&int ata_xfer_mode2shift (u8 xfer_mode)h]j)}(h%int ata_xfer_mode2shift(u8 xfer_mode)h](j=)}(hinth]hint}(hj0&hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj,&hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj?&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,&hhhj>&hMubjJ)}(hata_xfer_mode2shifth]j)}(hata_xfer_mode2shifth]hata_xfer_mode2shift}(hjQ&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM&ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj,&hhhj>&hMubje)}(h(u8 xfer_mode)h]jk)}(h u8 xfer_modeh](h)}(hhh]j)}(hu8h]hu8}(hjp&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm&ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjr&modnameN classnameNj.j1)}j4]j$)}j*jS&sbc.ata_xfer_mode2shiftasbuh1hhji&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji&ubj)}(h xfer_modeh]h xfer_mode}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji&ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhje&ubah}(h]h ]h"]h$]h&]jjuh1jdhj,&hhhj>&hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj(&hhhj>&hMubah}(h]j#&ah ](jYjeh"]h$]h&]jj)jhuh1jhj>&hMhj%&hhubj)}(hhh]h)}(h#Find matching xfer_shift for XFER_*h]h#Find matching xfer_shift for XFER_*}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jhj%&hhhj>&hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj&jj&jjjuh1jhhhjhNhNubj)}(h**Parameters** ``u8 xfer_mode`` XFER_* of interest Return matching xfer_shift for **xfer_mode**. LOCKING: None. **Return** Matching xfer_shift, -1 if no match found.h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj&ubjQ)}(hhh]jV)}(hc``u8 xfer_mode`` XFER_* of interest Return matching xfer_shift for **xfer_mode**. LOCKING: None. h](j\)}(h``u8 xfer_mode``h]jH)}(hj 'h]h u8 xfer_mode}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj'ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj'ubjl)}(hhh](h)}(hXFER_* of interesth]hXFER_* of interest}(hj"'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj'ubh)}(h-Return matching xfer_shift for **xfer_mode**.h](hReturn matching xfer_shift for }(hj1'hhhNhNubj)}(h **xfer_mode**h]h xfer_mode}(hj9'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1'ubh.}(hj1'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj'ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjR'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj'ubeh}(h]h ]h"]h$]h&]uh1jkhj'ubeh}(h]h ]h"]h$]h&]uh1jUhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jPhj&ubh)}(h **Return**h]j)}(hju'h]hReturn}(hjw'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs'ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj&ubj)}(h*Matching xfer_shift, -1 if no match found.h]h)}(hj'h]h*Matching xfer_shift, -1 if no match found.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'hMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_mode_string (C function)c.ata_mode_stringhNtauh1jhjhhhNhNubj)}(hhh](j)}(h5const char * ata_mode_string (unsigned int xfer_mask)h]j)}(h3const char *ata_mode_string(unsigned int xfer_mask)h](j)}(hconsth]hconst}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj'hMubj=)}(hcharh]hchar}(hj'hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj'hhhj'hMubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj'hMubj9)}(hj<h]h*}(hj'hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj'hhhj'hMubjJ)}(hata_mode_stringh]j)}(hata_mode_stringh]hata_mode_string}(hj (hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj (ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj'hhhj'hMubje)}(h(unsigned int xfer_mask)h]jk)}(hunsigned int xfer_maskh](j=)}(hunsignedh]hunsigned}(hj)(hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj%(ubj)}(h h]h }(hj7(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%(ubj=)}(hinth]hint}(hjE(hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj%(ubj)}(h h]h }(hjS(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%(ubj)}(h xfer_maskh]h xfer_mask}(hja(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj!(ubah}(h]h ]h"]h$]h&]jjuh1jdhj'hhhj'hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj'hhhj'hMubah}(h]j'ah ](jYjeh"]h$]h&]jj)jhuh1jhj'hMhj'hhubj)}(hhh]h)}(hconvert xfer_mask to stringh]hconvert xfer_mask to string}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jhj'hhhj'hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj(jj(jjjuh1jhhhjhNhNubj)}(hXH**Parameters** ``unsigned int xfer_mask`` mask of bits supported; only highest bit counts. Determine string which represents the highest speed (highest bit in **modemask**). LOCKING: None. **Return** Constant C string representing highest speed listed in **mode_mask**, or the constant C string "".h](h)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(ubjQ)}(hhh]jV)}(h``unsigned int xfer_mask`` mask of bits supported; only highest bit counts. Determine string which represents the highest speed (highest bit in **modemask**). LOCKING: None. h](j\)}(h``unsigned int xfer_mask``h]jH)}(hj(h]hunsigned int xfer_mask}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj(ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(ubjl)}(hhh](h)}(h0mask of bits supported; only highest bit counts.h]h0mask of bits supported; only highest bit counts.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(ubh)}(hRDetermine string which represents the highest speed (highest bit in **modemask**).h](hDDetermine string which represents the highest speed (highest bit in }(hj(hhhNhNubj)}(h **modemask**h]hmodemask}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh).}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(ubeh}(h]h ]h"]h$]h&]uh1jkhj(ubeh}(h]h ]h"]h$]h&]uh1jUhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jPhj(ubh)}(h **Return**h]j)}(hj8)h]hReturn}(hj:)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6)ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(ubj)}(hgConstant C string representing highest speed listed in **mode_mask**, or the constant C string "".h]h)}(hgConstant C string representing highest speed listed in **mode_mask**, or the constant C string "".h](h7Constant C string representing highest speed listed in }(hjR)hhhNhNubj)}(h **mode_mask**h]h mode_mask}(hjZ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR)ubh', or the constant C string “”.}(hjR)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjN)ubah}(h]h ]h"]h$]h&]uh1jhjr)hMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_classify (C function)c.ata_dev_classifyhNtauh1jhjhhhNhNubj)}(hhh](j)}(h=unsigned int ata_dev_classify (const struct ata_taskfile *tf)h]j)}(hunsigned int ata_pio_need_iordy(const struct ata_device *adev)h](j=)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj3hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhj 4hMubj=)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj3hhhj 4hMubj)}(h h]h }(hj*4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhj 4hMubjJ)}(hata_pio_need_iordyh]j)}(hata_pio_need_iordyh]hata_pio_need_iordy}(hj<4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj84ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj3hhhj 4hMubje)}(h(const struct ata_device *adev)h]jk)}(hconst struct ata_device *adevh](j)}(hj'h]hconst}(hjX4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT4ubj)}(h h]h }(hje4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT4ubj)}(hjh]hstruct}(hjs4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT4ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj4modnameN classnameNj.j1)}j4]j$)}j*j>4sbc.ata_pio_need_iordyasbuh1hhjT4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT4ubj9)}(hj<h]h*}(hj4hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjT4ubj)}(hadevh]hadev}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT4ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjP4ubah}(h]h ]h"]h$]h&]jjuh1jdhj3hhhj 4hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj3hhhj 4hMubah}(h]j3ah ](jYjeh"]h$]h&]jj)jhuh1jhj 4hMhj3hhubj)}(hhh]h)}(hcheck if iordy neededh]hcheck if iordy needed}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jhj3hhhj 4hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj5jj5jjjuh1jhhhjhNhNubj)}(h**Parameters** ``const struct ata_device *adev`` ATA device Check if the current speed of the device requires IORDY. Used by various controllers for chip configuration.h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj5ubjQ)}(hhh]jV)}(h``const struct ata_device *adev`` ATA device Check if the current speed of the device requires IORDY. Used by various controllers for chip configuration.h](j\)}(h!``const struct ata_device *adev``h]jH)}(hj75h]hconst struct ata_device *adev}(hj95hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj55ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj15ubjl)}(hhh](h)}(h ATA deviceh]h ATA device}(hjP5hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjM5ubh)}(hlCheck if the current speed of the device requires IORDY. Used by various controllers for chip configuration.h]hlCheck if the current speed of the device requires IORDY. Used by various controllers for chip configuration.}(hj_5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL5hMhjM5ubeh}(h]h ]h"]h$]h&]uh1jkhj15ubeh}(h]h ]h"]h$]h&]uh1jUhjL5hMhj.5ubah}(h]h ]h"]h$]h&]uh1jPhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_do_dev_read_id (C function)c.ata_do_dev_read_idhNtauh1jhjhhhNhNubj)}(hhh](j)}(h]unsigned int ata_do_dev_read_id (struct ata_device *dev, struct ata_taskfile *tf, __le16 *id)h]j)}(h\unsigned int ata_do_dev_read_id(struct ata_device *dev, struct ata_taskfile *tf, __le16 *id)h](j=)}(hunsignedh]hunsigned}(hj5hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj5hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhj5hMubj=)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj5hhhj5hMubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhj5hMubjJ)}(hata_do_dev_read_idh]j)}(hata_do_dev_read_idh]hata_do_dev_read_id}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj5hhhj5hMubje)}(h=(struct ata_device *dev, struct ata_taskfile *tf, __le16 *id)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj6modnameN classnameNj.j1)}j4]j$)}j*j5sbc.ata_do_dev_read_idasbuh1hhj5ubj)}(h h]h }(hj66hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj9)}(hj<h]h*}(hjD6hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj5ubj)}(hdevh]hdev}(hjQ6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj5ubjk)}(hstruct ata_taskfile *tfh](j)}(hjh]hstruct}(hjj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf6ubj)}(h h]h }(hjw6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf6ubh)}(hhh]j)}(h ata_taskfileh]h ata_taskfile}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj6modnameN classnameNj.j1)}j4]j26c.ata_do_dev_read_idasbuh1hhjf6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf6ubj9)}(hj<h]h*}(hj6hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjf6ubj)}(htfh]htf}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj5ubjk)}(h __le16 *idh](h)}(hhh]j)}(h__le16h]h__le16}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj6modnameN classnameNj.j1)}j4]j26c.ata_do_dev_read_idasbuh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj9)}(hj<h]h*}(hj 7hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj6ubj)}(hidh]hid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj5ubeh}(h]h ]h"]h$]h&]jjuh1jdhj5hhhj5hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj5hhhj5hMubah}(h]j5ah ](jYjeh"]h$]h&]jj)jhuh1jhj5hMhj5hhubj)}(hhh]h)}(hdefault ID read methodh]hdefault ID read method}(hj@7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj=7hhubah}(h]h ]h"]h$]h&]uh1jhj5hhhj5hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjX7jjX7jjjuh1jhhhjhNhNubj)}(hX=**Parameters** ``struct ata_device *dev`` device ``struct ata_taskfile *tf`` proposed taskfile ``__le16 *id`` data buffer Issue the identify taskfile and hand back the buffer containing identify data. For some RAID controllers and for pre ATA devices this function is wrapped or replaced by the driverh](h)}(h**Parameters**h]j)}(hjb7h]h Parameters}(hjd7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`7ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj\7ubjQ)}(hhh](jV)}(h"``struct ata_device *dev`` device h](j\)}(h``struct ata_device *dev``h]jH)}(hj7h]hstruct ata_device *dev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj7ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj{7ubjl)}(hhh]h)}(hdeviceh]hdevice}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jkhj{7ubeh}(h]h ]h"]h$]h&]uh1jUhj7hMhjx7ubjV)}(h.``struct ata_taskfile *tf`` proposed taskfile h](j\)}(h``struct ata_taskfile *tf``h]jH)}(hj7h]hstruct ata_taskfile *tf}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj7ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj7ubjl)}(hhh]h)}(hproposed taskfileh]hproposed taskfile}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jkhj7ubeh}(h]h ]h"]h$]h&]uh1jUhj7hMhjx7ubjV)}(h``__le16 *id`` data buffer Issue the identify taskfile and hand back the buffer containing identify data. For some RAID controllers and for pre ATA devices this function is wrapped or replaced by the driverh](j\)}(h``__le16 *id``h]jH)}(hj7h]h __le16 *id}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj7ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj7ubjl)}(hhh](h)}(h data bufferh]h data buffer}(hj 8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj 8ubh)}(hIssue the identify taskfile and hand back the buffer containing identify data. For some RAID controllers and for pre ATA devices this function is wrapped or replaced by the driverh]hIssue the identify taskfile and hand back the buffer containing identify data. For some RAID controllers and for pre ATA devices this function is wrapped or replaced by the driver}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj 8ubeh}(h]h ]h"]h$]h&]uh1jkhj7ubeh}(h]h ]h"]h$]h&]uh1jUhj8hMhjx7ubeh}(h]h ]h"]h$]h&]uh1jPhj\7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_cable_40wire (C function)c.ata_cable_40wirehNtauh1jhjhhhNhNubj)}(hhh](j)}(h*int ata_cable_40wire (struct ata_port *ap)h]j)}(h)int ata_cable_40wire(struct ata_port *ap)h](j=)}(hinth]hint}(hj\8hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjX8hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM0 ubj)}(h h]h }(hjk8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX8hhhjj8hM0 ubjJ)}(hata_cable_40wireh]j)}(hata_cable_40wireh]hata_cable_40wire}(hj}8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy8ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjX8hhhjj8hM0 ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubh)}(hhh]j)}(hata_porth]hata_port}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj8modnameN classnameNj.j1)}j4]j$)}j*j8sbc.ata_cable_40wireasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj9)}(hj<h]h*}(hj8hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj8ubj)}(haph]hap}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj8ubah}(h]h ]h"]h$]h&]jjuh1jdhjX8hhhjj8hM0 ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjT8hhhjj8hM0 ubah}(h]jO8ah ](jYjeh"]h$]h&]jj)jhuh1jhjj8hM0 hjQ8hhubj)}(hhh]h)}(hreturn 40 wire cable typeh]hreturn 40 wire cable type}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM* hj9hhubah}(h]h ]h"]h$]h&]uh1jhjQ8hhhjj8hM0 ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj49jj49jjjuh1jhhhjhNhNubj)}(h}**Parameters** ``struct ata_port *ap`` port Helper method for drivers which want to hardwire 40 wire cable detection.h](h)}(h**Parameters**h]j)}(hj>9h]h Parameters}(hj@9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<9ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM. hj89ubjQ)}(hhh]jV)}(hg``struct ata_port *ap`` port Helper method for drivers which want to hardwire 40 wire cable detection.h](j\)}(h``struct ata_port *ap``h]jH)}(hj]9h]hstruct ata_port *ap}(hj_9hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj[9ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM- hjW9ubjl)}(hhh](h)}(hporth]hport}(hjv9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM+ hjs9ubh)}(hIHelper method for drivers which want to hardwire 40 wire cable detection.<h]hIHelper method for drivers which want to hardwire 40 wire cable detection.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr9hM- hjs9ubeh}(h]h ]h"]h$]h&]uh1jkhjW9ubeh}(h]h ]h"]h$]h&]uh1jUhjr9hM- hjT9ubah}(h]h ]h"]h$]h&]uh1jPhj89ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_cable_80wire (C function)c.ata_cable_80wirehNtauh1jhjhhhNhNubj)}(hhh](j)}(h*int ata_cable_80wire (struct ata_port *ap)h]j)}(h)int ata_cable_80wire(struct ata_port *ap)h](j=)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj9hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM> ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhj9hM> ubjJ)}(hata_cable_80wireh]j)}(hata_cable_80wireh]hata_cable_80wire}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj9hhhj9hM> ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubh)}(hhh]j)}(hata_porth]hata_port}(hj :hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj":modnameN classnameNj.j1)}j4]j$)}j*j9sbc.ata_cable_80wireasbuh1hhj9ubj)}(h h]h }(hj@:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj9)}(hj<h]h*}(hjN:hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj9ubj)}(haph]hap}(hj[:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj9ubah}(h]h ]h"]h$]h&]jjuh1jdhj9hhhj9hM> ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj9hhhj9hM> ubah}(h]j9ah ](jYjeh"]h$]h&]jj)jhuh1jhj9hM> hj9hhubj)}(hhh]h)}(hreturn 80 wire cable typeh]hreturn 80 wire cable type}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM8 hj:hhubah}(h]h ]h"]h$]h&]uh1jhj9hhhj9hM> ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj:jj:jjjuh1jhhhjhNhNubj)}(h}**Parameters** ``struct ata_port *ap`` port Helper method for drivers which want to hardwire 80 wire cable detection.h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM< hj:ubjQ)}(hhh]jV)}(hg``struct ata_port *ap`` port Helper method for drivers which want to hardwire 80 wire cable detection.h](j\)}(h``struct ata_port *ap``h]jH)}(hj:h]hstruct ata_port *ap}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj:ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM; hj:ubjl)}(hhh](h)}(hporth]hport}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM9 hj:ubh)}(hIHelper method for drivers which want to hardwire 80 wire cable detection.h]hIHelper method for drivers which want to hardwire 80 wire cable detection.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM; hj:ubeh}(h]h ]h"]h$]h&]uh1jkhj:ubeh}(h]h ]h"]h$]h&]uh1jUhj:hM; hj:ubah}(h]h ]h"]h$]h&]uh1jPhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_cable_unknown (C function)c.ata_cable_unknownhNtauh1jhjhhhNhNubj)}(hhh](j)}(h+int ata_cable_unknown (struct ata_port *ap)h]j)}(h*int ata_cable_unknown(struct ata_port *ap)h](j=)}(hinth]hint}(hj.;hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj*;hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMK ubj)}(h h]h }(hj=;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*;hhhj<;hMK ubjJ)}(hata_cable_unknownh]j)}(hata_cable_unknownh]hata_cable_unknown}(hjO;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK;ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj*;hhhj<;hMK ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjk;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg;ubj)}(h h]h }(hjx;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg;ubh)}(hhh]j)}(hata_porth]hata_port}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj;modnameN classnameNj.j1)}j4]j$)}j*jQ;sbc.ata_cable_unknownasbuh1hhjg;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg;ubj9)}(hj<h]h*}(hj;hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjg;ubj)}(haph]hap}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg;ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjc;ubah}(h]h ]h"]h$]h&]jjuh1jdhj*;hhhj<;hMK ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj&;hhhj<;hMK ubah}(h]j!;ah ](jYjeh"]h$]h&]jj)jhuh1jhj<;hMK hj#;hhubj)}(hhh]h)}(hreturn unknown PATA cable.h]hreturn unknown PATA cable.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMF hj;hhubah}(h]h ]h"]h$]h&]uh1jhj#;hhhj<;hMK ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj<jj<jjjuh1jhhhjhNhNubj)}(ho**Parameters** ``struct ata_port *ap`` port Helper method for drivers which have no PATA cable detection.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMJ hj <ubjQ)}(hhh]jV)}(h[``struct ata_port *ap`` port Helper method for drivers which have no PATA cable detection.h](j\)}(h``struct ata_port *ap``h]jH)}(hj/<h]hstruct ata_port *ap}(hj1<hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj-<ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMH hj)<ubjl)}(hhh](h)}(hporth]hport}(hjH<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMG hjE<ubh)}(h=Helper method for drivers which have no PATA cable detection.h]h=Helper method for drivers which have no PATA cable detection.}(hjW<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMI hjE<ubeh}(h]h ]h"]h$]h&]uh1jkhj)<ubeh}(h]h ]h"]h$]h&]uh1jUhjD<hMH hj&<ubah}(h]h ]h"]h$]h&]uh1jPhj <ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_cable_ignore (C function)c.ata_cable_ignorehNtauh1jhjhhhNhNubj)}(hhh](j)}(h*int ata_cable_ignore (struct ata_port *ap)h]j)}(h)int ata_cable_ignore(struct ata_port *ap)h](j=)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj<hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMY ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhj<hMY ubjJ)}(hata_cable_ignoreh]j)}(hata_cable_ignoreh]hata_cable_ignore}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj<hhhj<hMY ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubh)}(hhh]j)}(hata_porth]hata_port}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj<modnameN classnameNj.j1)}j4]j$)}j*j<sbc.ata_cable_ignoreasbuh1hhj<ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj9)}(hj<h]h*}(hj!=hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj<ubj)}(haph]hap}(hj.=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj<ubah}(h]h ]h"]h$]h&]jjuh1jdhj<hhhj<hMY ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj<hhhj<hMY ubah}(h]j<ah ](jYjeh"]h$]h&]jj)jhuh1jhj<hMY hj<hhubj)}(hhh]h)}(hreturn ignored PATA cable.h]hreturn ignored PATA cable.}(hjX=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMS hjU=hhubah}(h]h ]h"]h$]h&]uh1jhj<hhhj<hMY ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjp=jjp=jjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_port *ap`` port Helper method for drivers which don't use cable type to limit transfer mode.h](h)}(h**Parameters**h]j)}(hjz=h]h Parameters}(hj|=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx=ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMW hjt=ubjQ)}(hhh]jV)}(hj``struct ata_port *ap`` port Helper method for drivers which don't use cable type to limit transfer mode.h](j\)}(h``struct ata_port *ap``h]jH)}(hj=h]hstruct ata_port *ap}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj=ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMV hj=ubjl)}(hhh](h)}(hporth]hport}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMT hj=ubh)}(hLHelper method for drivers which don't use cable type to limit transfer mode.h]hNHelper method for drivers which don’t use cable type to limit transfer mode.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMV hj=ubeh}(h]h ]h"]h$]h&]uh1jkhj=ubeh}(h]h ]h"]h$]h&]uh1jUhj=hMV hj=ubah}(h]h ]h"]h$]h&]uh1jPhjt=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_cable_sata (C function)c.ata_cable_satahNtauh1jhjhhhNhNubj)}(hhh](j)}(h(int ata_cable_sata (struct ata_port *ap)h]j)}(h'int ata_cable_sata(struct ata_port *ap)h](j=)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj=hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMe ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhj>hMe ubjJ)}(hata_cable_satah]j)}(hata_cable_satah]hata_cable_sata}(hj">hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj=hhhj>hMe ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj>>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:>ubj)}(h h]h }(hjK>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:>ubh)}(hhh]j)}(hata_porth]hata_port}(hj\>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY>ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj^>modnameN classnameNj.j1)}j4]j$)}j*j$>sbc.ata_cable_sataasbuh1hhj:>ubj)}(h h]h }(hj|>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:>ubj9)}(hj<h]h*}(hj>hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj:>ubj)}(haph]hap}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6>ubah}(h]h ]h"]h$]h&]jjuh1jdhj=hhhj>hMe ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj=hhhj>hMe ubah}(h]j=ah ](jYjeh"]h$]h&]jj)jhuh1jhj>hMe hj=hhubj)}(hhh]h)}(hreturn SATA cable typeh]hreturn SATA cable type}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM` hj>hhubah}(h]h ]h"]h$]h&]uh1jhj=hhhj>hMe ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj>jj>jjjuh1jhhhjhNhNubj)}(hb**Parameters** ``struct ata_port *ap`` port Helper method for drivers which have SATA cablesh](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMd hj>ubjQ)}(hhh]jV)}(hN``struct ata_port *ap`` port Helper method for drivers which have SATA cablesh](j\)}(h``struct ata_port *ap``h]jH)}(hj?h]hstruct ata_port *ap}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj?ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMb hj>ubjl)}(hhh](h)}(hporth]hport}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMa hj?ubh)}(h0Helper method for drivers which have SATA cablesh]h0Helper method for drivers which have SATA cables}(hj*?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMc hj?ubeh}(h]h ]h"]h$]h&]uh1jkhj>ubeh}(h]h ]h"]h$]h&]uh1jUhj?hMb hj>ubah}(h]h ]h"]h$]h&]uh1jPhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_pair (C function)c.ata_dev_pairhNtauh1jhjhhhNhNubj)}(hhh](j)}(h:struct ata_device * ata_dev_pair (struct ata_device *adev)h]j)}(h8struct ata_device *ata_dev_pair(struct ata_device *adev)h](j)}(hjh]hstruct}(hjk?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg?hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM ubj)}(h h]h }(hjy?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg?hhhjx?hM ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj?modnameN classnameNj.j1)}j4]j$)}j* ata_dev_pairsbc.ata_dev_pairasbuh1hhjg?hhhjx?hM ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg?hhhjx?hM ubj9)}(hj<h]h*}(hj?hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjg?hhhjx?hM ubjJ)}(h ata_dev_pairh]j)}(hj?h]h ata_dev_pair}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjg?hhhjx?hM ubje)}(h(struct ata_device *adev)h]jk)}(hstruct ata_device *adevh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj@modnameN classnameNj.j1)}j4]j?c.ata_dev_pairasbuh1hhj?ubj)}(h h]h }(hj!@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj9)}(hj<h]h*}(hj/@hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj?ubj)}(hadevh]hadev}(hj<@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj?ubah}(h]h ]h"]h$]h&]jjuh1jdhjg?hhhjx?hM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjc?hhhjx?hM ubah}(h]j^?ah ](jYjeh"]h$]h&]jj)jhuh1jhjx?hM hj`?hhubj)}(hhh]h)}(hreturn other device on cableh]hreturn other device on cable}(hjf@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjc@hhubah}(h]h ]h"]h$]h&]uh1jhj`?hhhjx?hM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj~@jj~@jjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_device *adev`` device Obtain the other device on the same cable, or if none is present NULL is returnedh](h)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hj@ubjQ)}(hhh]jV)}(hu``struct ata_device *adev`` device Obtain the other device on the same cable, or if none is present NULL is returnedh](j\)}(h``struct ata_device *adev``h]jH)}(hj@h]hstruct ata_device *adev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj@ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hj@ubjl)}(hhh](h)}(hdeviceh]hdevice}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hj@ubh)}(hQObtain the other device on the same cable, or if none is present NULL is returnedh]hQObtain the other device on the same cable, or if none is present NULL is returned}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hM hj@ubeh}(h]h ]h"]h$]h&]uh1jkhj@ubeh}(h]h ]h"]h$]h&]uh1jUhj@hM hj@ubah}(h]h ]h"]h$]h&]uh1jPhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_do_set_mode (C function)c.ata_do_set_modehNtauh1jhjhhhNhNubj)}(hhh](j)}(hMint ata_do_set_mode (struct ata_link *link, struct ata_device **r_failed_dev)h]j)}(hLint ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev)h](j=)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj Ahhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj AhhhjAhM ubjJ)}(hata_do_set_modeh]j)}(hata_do_set_modeh]hata_do_set_mode}(hj0AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,Aubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj AhhhjAhM ubje)}(h9(struct ata_link *link, struct ata_device **r_failed_dev)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjLAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHAubj)}(h h]h }(hjYAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHAubh)}(hhh]j)}(hata_linkh]hata_link}(hjjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgAubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjlAmodnameN classnameNj.j1)}j4]j$)}j*j2Asbc.ata_do_set_modeasbuh1hhjHAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHAubj9)}(hj<h]h*}(hjAhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjHAubj)}(hlinkh]hlink}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHAubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjDAubjk)}(h struct ata_device **r_failed_devh](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjAmodnameN classnameNj.j1)}j4]jAc.ata_do_set_modeasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj9)}(hj<h]h*}(hjBhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjAubj9)}(hj<h]h*}(hjBhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjAubj)}(h r_failed_devh]h r_failed_dev}(hj"BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjDAubeh}(h]h ]h"]h$]h&]jjuh1jdhj AhhhjAhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjAhhhjAhM ubah}(h]jAah ](jYjeh"]h$]h&]jj)jhuh1jhjAhM hjAhhubj)}(hhh]h)}(h-Program timings and issue SET FEATURES - XFERh]h-Program timings and issue SET FEATURES - XFER}(hjLBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM| hjIBhhubah}(h]h ]h"]h$]h&]uh1jhjAhhhjAhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjdBjjdBjjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct ata_link *link`` link on which timings will be programmed ``struct ata_device **r_failed_dev`` out parameter for failed device Standard implementation of the function used to tune and set ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_dev_set_mode() fails, pointer to the failing device is returned in **r_failed_dev**. LOCKING: PCI/etc. bus probe sem. **Return** 0 on success, negative errno otherwiseh](h)}(h**Parameters**h]j)}(hjnBh]h Parameters}(hjpBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlBubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjhBubjQ)}(hhh](jV)}(hC``struct ata_link *link`` link on which timings will be programmed h](j\)}(h``struct ata_link *link``h]jH)}(hjBh]hstruct ata_link *link}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjBubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM} hjBubjl)}(hhh]h)}(h(link on which timings will be programmedh]h(link on which timings will be programmed}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM} hjBubah}(h]h ]h"]h$]h&]uh1jkhjBubeh}(h]h ]h"]h$]h&]uh1jUhjBhM} hjBubjV)}(hX5``struct ata_device **r_failed_dev`` out parameter for failed device Standard implementation of the function used to tune and set ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_dev_set_mode() fails, pointer to the failing device is returned in **r_failed_dev**. LOCKING: PCI/etc. bus probe sem. h](j\)}(h$``struct ata_device **r_failed_dev``h]jH)}(hjBh]h struct ata_device **r_failed_dev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjBubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjBubjl)}(hhh](h)}(hout parameter for failed deviceh]hout parameter for failed device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM~ hjBubh)}(hStandard implementation of the function used to tune and set ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_dev_set_mode() fails, pointer to the failing device is returned in **r_failed_dev**.h](hStandard implementation of the function used to tune and set ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_dev_set_mode() fails, pointer to the failing device is returned in }(hjBhhhNhNubj)}(h**r_failed_dev**h]h r_failed_dev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjBubh)}(h LOCKING: PCI/etc. bus probe sem.h]h LOCKING: PCI/etc. bus probe sem.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjBubeh}(h]h ]h"]h$]h&]uh1jkhjBubeh}(h]h ]h"]h$]h&]uh1jUhjBhM hjBubeh}(h]h ]h"]h$]h&]uh1jPhjhBubh)}(h **Return**h]j)}(hj2Ch]hReturn}(hj4ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Cubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjhBubj)}(h&0 on success, negative errno otherwiseh]h)}(hjJCh]h&0 on success, negative errno otherwise}(hjLChhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjHCubah}(h]h ]h"]h$]h&]uh1jhjYChM hjhBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ata_wait_after_reset (C function)c.ata_wait_after_resethNtauh1jhjhhhNhNubj)}(hhh](j)}(hsint ata_wait_after_reset (struct ata_link *link, unsigned long deadline, int (*check_ready)(struct ata_link *link))h]j)}(hrint ata_wait_after_reset(struct ata_link *link, unsigned long deadline, int (*check_ready)(struct ata_link *link))h](j=)}(hinth]hint}(hjChhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj|Chhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMDubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ChhhjChMDubjJ)}(hata_wait_after_reseth]j)}(hata_wait_after_reseth]hata_wait_after_reset}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj|ChhhjChMDubje)}(hZ(struct ata_link *link, unsigned long deadline, int (*check_ready)(struct ata_link *link))h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubh)}(hhh]j)}(hata_linkh]hata_link}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjCmodnameN classnameNj.j1)}j4]j$)}j*jCsbc.ata_wait_after_resetasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj9)}(hj<h]h*}(hj DhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjCubj)}(hlinkh]hlink}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjCubjk)}(hunsigned long deadlineh](j=)}(hunsignedh]hunsigned}(hj/DhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj+Dubj)}(h h]h }(hj=DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+Dubj=)}(hlongh]hlong}(hjKDhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj+Dubj)}(h h]h }(hjYDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+Dubj)}(hdeadlineh]hdeadline}(hjgDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+Dubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjCubjk)}(h)int (*check_ready)(struct ata_link *link)h](j=)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj|Dubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Dubj9)}(h(h]h(}(hjDhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|Dubj9)}(hj<h]h*}(hjDhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|Dubj)}(h check_readyh]h check_ready}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Dubj9)}(h)h]h)}(hjDhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|Dubj9)}(hjDh]h(}(hjDhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|Dubj)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Dubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Dubh)}(hhh]j)}(hata_linkh]hata_link}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjEmodnameN classnameNj.j1)}j4]jCc.ata_wait_after_resetasbuh1hhj|Dubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Dubj9)}(hj<h]h*}(hj*EhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|Dubj)}(hlinkh]hlink}(hj7EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Dubj9)}(hjDh]h)}(hjEEhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|Dubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjCubeh}(h]h ]h"]h$]h&]jjuh1jdhj|ChhhjChMDubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjxChhhjChMDubah}(h]jsCah ](jYjeh"]h$]h&]jj)jhuh1jhjChMDhjuChhubj)}(hhh]h)}(h)wait for link to become ready after reseth]h)wait for link to become ready after reset}(hjnEhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM7hjkEhhubah}(h]h ]h"]h$]h&]uh1jhjuChhhjChMDubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjEjjEjjjuh1jhhhjhNhNubj)}(hXp**Parameters** ``struct ata_link *link`` link to be waited on ``unsigned long deadline`` deadline jiffies for the operation ``int (*check_ready)(struct ata_link *link)`` callback to check link readiness Wait for **link** to become ready after reset. LOCKING: EH context. **Return** 0 if **link** is ready before **deadline**; otherwise, -errno.h](h)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM;hjEubjQ)}(hhh](jV)}(h/``struct ata_link *link`` link to be waited on h](j\)}(h``struct ata_link *link``h]jH)}(hjEh]hstruct ata_link *link}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjEubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM8hjEubjl)}(hhh]h)}(hlink to be waited onh]hlink to be waited on}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM8hjEubah}(h]h ]h"]h$]h&]uh1jkhjEubeh}(h]h ]h"]h$]h&]uh1jUhjEhM8hjEubjV)}(h>``unsigned long deadline`` deadline jiffies for the operation h](j\)}(h``unsigned long deadline``h]jH)}(hjEh]hunsigned long deadline}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjEubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM9hjEubjl)}(hhh]h)}(h"deadline jiffies for the operationh]h"deadline jiffies for the operation}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM9hjEubah}(h]h ]h"]h$]h&]uh1jkhjEubeh}(h]h ]h"]h$]h&]uh1jUhjEhM9hjEubjV)}(h``int (*check_ready)(struct ata_link *link)`` callback to check link readiness Wait for **link** to become ready after reset. LOCKING: EH context. h](j\)}(h-``int (*check_ready)(struct ata_link *link)``h]jH)}(hj!Fh]h)int (*check_ready)(struct ata_link *link)}(hj#FhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjFubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM?hjFubjl)}(hhh](h)}(h callback to check link readinessh]h callback to check link readiness}(hj:FhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM:hj7Fubh)}(h.Wait for **link** to become ready after reset.h](h Wait for }(hjIFhhhNhNubj)}(h**link**h]hlink}(hjQFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIFubh to become ready after reset.}(hjIFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM<hj7Fubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM>hj7Fubeh}(h]h ]h"]h$]h&]uh1jkhjFubeh}(h]h ]h"]h$]h&]uh1jUhj6FhM?hjEubeh}(h]h ]h"]h$]h&]uh1jPhjEubh)}(h **Return**h]j)}(hjFh]hReturn}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMAhjEubj)}(h>0 if **link** is ready before **deadline**; otherwise, -errno.h]h)}(hjFh](h0 if }(hjFhhhNhNubj)}(h**link**h]hlink}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh is ready before }(hjFhhhNhNubj)}(h **deadline**h]hdeadline}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh; otherwise, -errno.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMAhjFubah}(h]h ]h"]h$]h&]uh1jhjFhMAhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_std_prereset (C function)c.ata_std_preresethNtauh1jhjhhhNhNubj)}(hhh](j)}(hDint ata_std_prereset (struct ata_link *link, unsigned long deadline)h]j)}(hCint ata_std_prereset(struct ata_link *link, unsigned long deadline)h](j=)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjFhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM^ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhj GhM^ubjJ)}(hata_std_prereseth]j)}(hata_std_prereseth]hata_std_prereset}(hj GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjFhhhj GhM^ubje)}(h/(struct ata_link *link, unsigned long deadline)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Uubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj@UmodnameN classnameNj.j1)}j4]j$)}j*jUsbc.ata_link_offlineasbuh1hhjUubj)}(h h]h }(hj^UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj9)}(hj<h]h*}(hjlUhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjUubj)}(hlinkh]hlink}(hjyUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjUubah}(h]h ]h"]h$]h&]jjuh1jdhjThhhjThMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjThhhjThMubah}(h]jTah ](jYjeh"]h$]h&]jj)jhuh1jhjThMhjThhubj)}(hhh]h)}(h&test whether the given link is offlineh]h&test whether the given link is offline}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jhjThhhjThMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjUjjUjjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct ata_link *link`` ATA link to test Test whether **link** is offline. This is identical to ata_phys_link_offline() when there's no slave link. When there's a slave link, this function should only be called on the master link and will return true if both M/S links are offline. LOCKING: None. **Return** True if the port offline status is available and offline.h](h)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjUubjQ)}(hhh]jV)}(hX/``struct ata_link *link`` ATA link to test Test whether **link** is offline. This is identical to ata_phys_link_offline() when there's no slave link. When there's a slave link, this function should only be called on the master link and will return true if both M/S links are offline. LOCKING: None. h](j\)}(h``struct ata_link *link``h]jH)}(hjUh]hstruct ata_link *link}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjUubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjUubjl)}(hhh](h)}(hATA link to testh]hATA link to test}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjUubh)}(hTest whether **link** is offline. This is identical to ata_phys_link_offline() when there's no slave link. When there's a slave link, this function should only be called on the master link and will return true if both M/S links are offline.h](h Test whether }(hj VhhhNhNubj)}(h**link**h]hlink}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Vubh is offline. This is identical to ata_phys_link_offline() when there’s no slave link. When there’s a slave link, this function should only be called on the master link and will return true if both M/S links are offline.}(hj VhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjUubh)}(hLOCKING: None.h]hLOCKING: None.}(hj-VhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjUubeh}(h]h ]h"]h$]h&]uh1jkhjUubeh}(h]h ]h"]h$]h&]uh1jUhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jPhjUubh)}(h **Return**h]j)}(hjPVh]hReturn}(hjRVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNVubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjUubj)}(h9True if the port offline status is available and offline.h]h)}(hjhVh]h9True if the port offline status is available and offline.}(hjjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjfVubah}(h]h ]h"]h$]h&]uh1jhjwVhMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_suspend (C function)c.ata_host_suspendhNtauh1jhjhhhNhNubj)}(hhh](j)}(h@void ata_host_suspend (struct ata_host *host, pm_message_t mesg)h]j)}(h?void ata_host_suspend(struct ata_host *host, pm_message_t mesg)h](j=)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjVhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhjVhMubjJ)}(hata_host_suspendh]j)}(hata_host_suspendh]hata_host_suspend}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjVhhhjVhMubje)}(h*(struct ata_host *host, pm_message_t mesg)h](jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubh)}(hhh]j)}(hata_hosth]hata_host}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjVmodnameN classnameNj.j1)}j4]j$)}j*jVsbc.ata_host_suspendasbuh1hhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj9)}(hj<h]h*}(hj'WhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjVubj)}(hhosth]hhost}(hj4WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjVubjk)}(hpm_message_t mesgh](h)}(hhh]j)}(h pm_message_th]h pm_message_t}(hjPWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMWubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjRWmodnameN classnameNj.j1)}j4]jWc.ata_host_suspendasbuh1hhjIWubj)}(h h]h }(hjnWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIWubj)}(hmesgh]hmesg}(hj|WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIWubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjVubeh}(h]h ]h"]h$]h&]jjuh1jdhjVhhhjVhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjVhhhjVhMubah}(h]jVah ](jYjeh"]h$]h&]jj)jhuh1jhjVhMhjVhhubj)}(hhh]h)}(h suspend hosth]h suspend host}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jhjVhhhjVhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjWjjWjjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_host *host`` host to suspend ``pm_message_t mesg`` PM message Suspend **host**. Actual operation is performed by port suspend.h](h)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjWubjQ)}(hhh](jV)}(h*``struct ata_host *host`` host to suspend h](j\)}(h``struct ata_host *host``h]jH)}(hjWh]hstruct ata_host *host}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjWubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjWubjl)}(hhh]h)}(hhost to suspendh]hhost to suspend}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jkhjWubeh}(h]h ]h"]h$]h&]uh1jUhjWhMhjWubjV)}(hc``pm_message_t mesg`` PM message Suspend **host**. Actual operation is performed by port suspend.h](j\)}(h``pm_message_t mesg``h]jH)}(hj Xh]hpm_message_t mesg}(hj"XhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjXubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjXubjl)}(hhh](h)}(h PM messageh]h PM message}(hj9XhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj6Xubh)}(hASuspend **host**. Actual operation is performed by port suspend.h](hSuspend }(hjHXhhhNhNubj)}(h**host**h]hhost}(hjPXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHXubh1. Actual operation is performed by port suspend.}(hjHXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj6Xubeh}(h]h ]h"]h$]h&]uh1jkhjXubeh}(h]h ]h"]h$]h&]uh1jUhj5XhMhjWubeh}(h]h ]h"]h$]h&]uh1jPhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_resume (C function)c.ata_host_resumehNtauh1jhjhhhNhNubj)}(hhh](j)}(h,void ata_host_resume (struct ata_host *host)h]j)}(h+void ata_host_resume(struct ata_host *host)h](j=)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjXhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhjXhMubjJ)}(hata_host_resumeh]j)}(hata_host_resumeh]hata_host_resume}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjXhhhjXhMubje)}(h(struct ata_host *host)h]jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubh)}(hhh]j)}(hata_hosth]hata_host}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjXmodnameN classnameNj.j1)}j4]j$)}j*jXsbc.ata_host_resumeasbuh1hhjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj9)}(hj<h]h*}(hj$YhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjXubj)}(hhosth]hhost}(hj1YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjXubah}(h]h ]h"]h$]h&]jjuh1jdhjXhhhjXhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjXhhhjXhMubah}(h]jXah ](jYjeh"]h$]h&]jj)jhuh1jhjXhMhjXhhubj)}(hhh]h)}(h resume hosth]h resume host}(hj[YhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjXYhhubah}(h]h ]h"]h$]h&]uh1jhjXhhhjXhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjsYjjsYjjjuh1jhhhjhNhNubj)}(h}**Parameters** ``struct ata_host *host`` host to resume Resume **host**. Actual operation is performed by port resume.h](h)}(h**Parameters**h]j)}(hj}Yh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Yubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjwYubjQ)}(hhh]jV)}(hi``struct ata_host *host`` host to resume Resume **host**. Actual operation is performed by port resume.h](j\)}(h``struct ata_host *host``h]jH)}(hjYh]hstruct ata_host *host}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjYubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjYubjl)}(hhh](h)}(hhost to resumeh]hhost to resume}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjYubh)}(h?Resume **host**. Actual operation is performed by port resume.h](hResume }(hjYhhhNhNubj)}(h**host**h]hhost}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh0. Actual operation is performed by port resume.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjYubeh}(h]h ]h"]h$]h&]uh1jkhjYubeh}(h]h ]h"]h$]h&]uh1jUhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jPhjwYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_port_alloc (C function)c.ata_port_allochNtauh1jhjhhhNhNubj)}(hhh](j)}(h8struct ata_port * ata_port_alloc (struct ata_host *host)h]j)}(h6struct ata_port *ata_port_alloc(struct ata_host *host)h](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMOubj)}(h h]h }(hj%ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhj$ZhMOubh)}(hhh]j)}(hata_porth]hata_port}(hj6ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3Zubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj8ZmodnameN classnameNj.j1)}j4]j$)}j*ata_port_allocsbc.ata_port_allocasbuh1hhjZhhhj$ZhMOubj)}(h h]h }(hjWZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhj$ZhMOubj9)}(hj<h]h*}(hjeZhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjZhhhj$ZhMOubjJ)}(hata_port_alloch]j)}(hjTZh]hata_port_alloc}(hjvZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrZubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjZhhhj$ZhMOubje)}(h(struct ata_host *host)h]jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubh)}(hhh]j)}(hata_hosth]hata_host}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjZmodnameN classnameNj.j1)}j4]jRZc.ata_port_allocasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj9)}(hj<h]h*}(hjZhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjZubj)}(hhosth]hhost}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjZubah}(h]h ]h"]h$]h&]jjuh1jdhjZhhhj$ZhMOubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjZhhhj$ZhMOubah}(h]j Zah ](jYjeh"]h$]h&]jj)jhuh1jhj$ZhMOhj Zhhubj)}(hhh]h)}(h0allocate and initialize basic ATA port resourcesh]h0allocate and initialize basic ATA port resources}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMDhj[hhubah}(h]h ]h"]h$]h&]uh1jhj Zhhhj$ZhMOubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj*[jj*[jjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct ata_host *host`` ATA host this allocated port belongs to Allocate and initialize basic ATA port resources. **Return** Allocate ATA port on success, NULL on failure. LOCKING: Inherited from calling layer (may sleep).h](h)}(h**Parameters**h]j)}(hj4[h]h Parameters}(hj6[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2[ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMHhj.[ubjQ)}(hhh]jV)}(hu``struct ata_host *host`` ATA host this allocated port belongs to Allocate and initialize basic ATA port resources. h](j\)}(h``struct ata_host *host``h]jH)}(hjS[h]hstruct ata_host *host}(hjU[hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjQ[ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMGhjM[ubjl)}(hhh](h)}(h'ATA host this allocated port belongs toh]h'ATA host this allocated port belongs to}(hjl[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMEhji[ubh)}(h1Allocate and initialize basic ATA port resources.h]h1Allocate and initialize basic ATA port resources.}(hj{[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh[hMGhji[ubeh}(h]h ]h"]h$]h&]uh1jkhjM[ubeh}(h]h ]h"]h$]h&]uh1jUhjh[hMGhjJ[ubah}(h]h ]h"]h$]h&]uh1jPhj.[ubh)}(h **Return**h]j)}(hj[h]hReturn}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMIhj.[ubj)}(hbAllocate ATA port on success, NULL on failure. LOCKING: Inherited from calling layer (may sleep).h](h)}(h.Allocate ATA port on success, NULL on failure.h]h.Allocate ATA port on success, NULL on failure.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMIhj[ubh)}(h2LOCKING: Inherited from calling layer (may sleep).h]h2LOCKING: Inherited from calling layer (may sleep).}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMKhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMIhj.[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_alloc (C function)c.ata_host_allochNtauh1jhjhhhNhNubj)}(hhh](j)}(hBstruct ata_host * ata_host_alloc (struct device *dev, int n_ports)h]j)}(h@struct ata_host *ata_host_alloc(struct device *dev, int n_ports)h](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj \hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhj\hMubh)}(hhh]j)}(hata_hosth]hata_host}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj\modnameN classnameNj.j1)}j4]j$)}j*ata_host_allocsbc.ata_host_allocasbuh1hhj[hhhj\hMubj)}(h h]h }(hj;\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhj\hMubj9)}(hj<h]h*}(hjI\hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj[hhhj\hMubjJ)}(hata_host_alloch]j)}(hj8\h]hata_host_alloc}(hjZ\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV\ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj[hhhj\hMubje)}(h!(struct device *dev, int n_ports)h](jk)}(hstruct device *devh](j)}(hjh]hstruct}(hju\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq\ubh)}(hhh]j)}(hdeviceh]hdevice}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj\modnameN classnameNj.j1)}j4]j6\c.ata_host_allocasbuh1hhjq\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq\ubj9)}(hj<h]h*}(hj\hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjq\ubj)}(hdevh]hdev}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq\ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjm\ubjk)}(h int n_portsh](j=)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(hn_portsh]hn_ports}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjm\ubeh}(h]h ]h"]h$]h&]jjuh1jdhj[hhhj\hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj[hhhj\hMubah}(h]j[ah ](jYjeh"]h$]h&]jj)jhuh1jhj\hMhj[hhubj)}(hhh]h)}(h*allocate and init basic ATA host resourcesh]h*allocate and init basic ATA host resources}(hj+]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj(]hhubah}(h]h ]h"]h$]h&]uh1jhj[hhhj\hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjC]jjC]jjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct device *dev`` generic device this host is associated with ``int n_ports`` the number of ATA ports associated with this host Allocate and initialize basic ATA host resources. LLD calls this function to allocate a host, initializes it fully and attaches it using ata_host_register(). **Return** Allocate ATA host on success, NULL on failure. LOCKING: Inherited from calling layer (may sleep).h](h)}(h**Parameters**h]j)}(hjM]h]h Parameters}(hjO]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK]ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjG]ubjQ)}(hhh](jV)}(hC``struct device *dev`` generic device this host is associated with h](j\)}(h``struct device *dev``h]jH)}(hjl]h]hstruct device *dev}(hjn]hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjj]ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjf]ubjl)}(hhh]h)}(h+generic device this host is associated withh]h+generic device this host is associated with}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jkhjf]ubeh}(h]h ]h"]h$]h&]uh1jUhj]hMhjc]ubjV)}(h``int n_ports`` the number of ATA ports associated with this host Allocate and initialize basic ATA host resources. LLD calls this function to allocate a host, initializes it fully and attaches it using ata_host_register(). h](j\)}(h``int n_ports``h]jH)}(hj]h]h int n_ports}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj]ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj]ubjl)}(hhh](h)}(h1the number of ATA ports associated with this hosth]h1the number of ATA ports associated with this host}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj]ubh)}(hAllocate and initialize basic ATA host resources. LLD calls this function to allocate a host, initializes it fully and attaches it using ata_host_register().h]hAllocate and initialize basic ATA host resources. LLD calls this function to allocate a host, initializes it fully and attaches it using ata_host_register().}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj]ubeh}(h]h ]h"]h$]h&]uh1jkhj]ubeh}(h]h ]h"]h$]h&]uh1jUhj]hMhjc]ubeh}(h]h ]h"]h$]h&]uh1jPhjG]ubh)}(h **Return**h]j)}(hj]h]hReturn}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjG]ubj)}(hbAllocate ATA host on success, NULL on failure. LOCKING: Inherited from calling layer (may sleep).h](h)}(h.Allocate ATA host on success, NULL on failure.h]h.Allocate ATA host on success, NULL on failure.}(hj ^hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj^ubh)}(h2LOCKING: Inherited from calling layer (may sleep).h]h2LOCKING: Inherited from calling layer (may sleep).}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjG]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ata_host_alloc_pinfo (C function)c.ata_host_alloc_pinfohNtauh1jhjhhhNhNubj)}(hhh](j)}(hrstruct ata_host * ata_host_alloc_pinfo (struct device *dev, const struct ata_port_info * const * ppi, int n_ports)h]j)}(hnstruct ata_host *ata_host_alloc_pinfo(struct device *dev, const struct ata_port_info *const *ppi, int n_ports)h](j)}(hjh]hstruct}(hjN^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ^hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj\^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ^hhhj[^hMubh)}(hhh]j)}(hata_hosth]hata_host}(hjm^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj^ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjo^modnameN classnameNj.j1)}j4]j$)}j*ata_host_alloc_pinfosbc.ata_host_alloc_pinfoasbuh1hhjJ^hhhj[^hMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ^hhhj[^hMubj9)}(hj<h]h*}(hj^hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjJ^hhhj[^hMubjJ)}(hata_host_alloc_pinfoh]j)}(hj^h]hata_host_alloc_pinfo}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjJ^hhhj[^hMubje)}(hI(struct device *dev, const struct ata_port_info *const *ppi, int n_ports)h](jk)}(hstruct device *devh](j)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubh)}(hhh]j)}(hdeviceh]hdevice}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj^modnameN classnameNj.j1)}j4]j^c.ata_host_alloc_pinfoasbuh1hhj^ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj9)}(hj<h]h*}(hj_hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj^ubj)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubjk)}(h&const struct ata_port_info *const *ppih](j)}(hj'h]hconst}(hj8_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubj)}(h h]h }(hjE_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubj)}(hjh]hstruct}(hjS_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubj)}(h h]h }(hj`_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubh)}(hhh]j)}(h ata_port_infoh]h ata_port_info}(hjq_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn_ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjs_modnameN classnameNj.j1)}j4]j^c.ata_host_alloc_pinfoasbuh1hhj4_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubj9)}(hj<h]h*}(hj_hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj4_ubj)}(hj'h]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubj9)}(hj<h]h*}(hj_hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj4_ubj)}(hppih]hppi}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubjk)}(h int n_portsh](j=)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(hn_portsh]hn_ports}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubeh}(h]h ]h"]h$]h&]jjuh1jdhjJ^hhhj[^hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjF^hhhj[^hMubah}(h]jA^ah ](jYjeh"]h$]h&]jj)jhuh1jhj[^hMhjC^hhubj)}(hhh]h)}(h(alloc host and init with port_info arrayh]h(alloc host and init with port_info array}(hj1`hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj.`hhubah}(h]h ]h"]h$]h&]uh1jhjC^hhhj[^hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjI`jjI`jjjuh1jhhhjhNhNubj)}(hX.**Parameters** ``struct device *dev`` generic device this host is associated with ``const struct ata_port_info * const * ppi`` array of ATA port_info to initialize host with ``int n_ports`` number of ATA ports attached to this host Allocate ATA host and initialize with info from **ppi**. If NULL terminated, **ppi** may contain fewer entries than **n_ports**. The last entry will be used for the remaining ports. **Return** Allocate ATA host on success, NULL on failure. LOCKING: Inherited from calling layer (may sleep).h](h)}(h**Parameters**h]j)}(hjS`h]h Parameters}(hjU`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ`ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjM`ubjQ)}(hhh](jV)}(hC``struct device *dev`` generic device this host is associated with h](j\)}(h``struct device *dev``h]jH)}(hjr`h]hstruct device *dev}(hjt`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjp`ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjl`ubjl)}(hhh]h)}(h+generic device this host is associated withh]h+generic device this host is associated with}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jkhjl`ubeh}(h]h ]h"]h$]h&]uh1jUhj`hMhji`ubjV)}(h\``const struct ata_port_info * const * ppi`` array of ATA port_info to initialize host with h](j\)}(h,``const struct ata_port_info * const * ppi``h]jH)}(hj`h]h(const struct ata_port_info * const * ppi}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj`ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj`ubjl)}(hhh]h)}(h.array of ATA port_info to initialize host withh]h.array of ATA port_info to initialize host with}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jkhj`ubeh}(h]h ]h"]h$]h&]uh1jUhj`hMhji`ubjV)}(h``int n_ports`` number of ATA ports attached to this host Allocate ATA host and initialize with info from **ppi**. If NULL terminated, **ppi** may contain fewer entries than **n_ports**. The last entry will be used for the remaining ports. h](j\)}(h``int n_ports``h]jH)}(hj`h]h int n_ports}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj`ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj`ubjl)}(hhh](h)}(h)number of ATA ports attached to this hosth]h)number of ATA ports attached to this host}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj`ubh)}(hAllocate ATA host and initialize with info from **ppi**. If NULL terminated, **ppi** may contain fewer entries than **n_ports**. The last entry will be used for the remaining ports.h](h0Allocate ATA host and initialize with info from }(hj ahhhNhNubj)}(h**ppi**h]hppi}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubh. If NULL terminated, }(hj ahhhNhNubj)}(h**ppi**h]hppi}(hj&ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubh may contain fewer entries than }(hj ahhhNhNubj)}(h **n_ports**h]hn_ports}(hj8ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubh7. The last entry will be used for the remaining ports.}(hj ahhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj`ubeh}(h]h ]h"]h$]h&]uh1jkhj`ubeh}(h]h ]h"]h$]h&]uh1jUhj`hMhji`ubeh}(h]h ]h"]h$]h&]uh1jPhjM`ubh)}(h **Return**h]j)}(hjeah]hReturn}(hjgahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcaubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjM`ubj)}(hbAllocate ATA host on success, NULL on failure. LOCKING: Inherited from calling layer (may sleep).h](h)}(h.Allocate ATA host on success, NULL on failure.h]h.Allocate ATA host on success, NULL on failure.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj{aubh)}(h2LOCKING: Inherited from calling layer (may sleep).h]h2LOCKING: Inherited from calling layer (may sleep).}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj{aubeh}(h]h ]h"]h$]h&]uh1jhjahMhjM`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_start (C function)c.ata_host_starthNtauh1jhjhhhNhNubj)}(hhh](j)}(h*int ata_host_start (struct ata_host *host)h]j)}(h)int ata_host_start(struct ata_host *host)h](j=)}(hinth]hint}(hjahhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjahhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM}ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhjahM}ubjJ)}(hata_host_starth]j)}(hata_host_starth]hata_host_start}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjahhhjahM}ubje)}(h(struct ata_host *host)h]jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hj bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubh)}(hhh]j)}(hata_hosth]hata_host}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj bmodnameN classnameNj.j1)}j4]j$)}j*jasbc.ata_host_startasbuh1hhjaubj)}(h h]h }(hj>bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj9)}(hj<h]h*}(hjLbhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjaubj)}(hhosth]hhost}(hjYbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjaubah}(h]h ]h"]h$]h&]jjuh1jdhjahhhjahM}ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjahhhjahM}ubah}(h]jaah ](jYjeh"]h$]h&]jj)jhuh1jhjahM}hjahhubj)}(hhh]h)}(h%start and freeze ports of an ATA hosth]h%start and freeze ports of an ATA host}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMnhjbhhubah}(h]h ]h"]h$]h&]uh1jhjahhhjahM}ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjbjjbjjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct ata_host *host`` ATA host to start ports for Start and then freeze ports of **host**. Started status is recorded in host->flags, so this function can be called multiple times. Ports are guaranteed to get started only once. If host->ops is not initialized yet, it is set to the first non-dummy port ops. LOCKING: Inherited from calling layer (may sleep). **Return** 0 if all ports are started successfully, -errno otherwise.h](h)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMrhjbubjQ)}(hhh]jV)}(hXp``struct ata_host *host`` ATA host to start ports for Start and then freeze ports of **host**. Started status is recorded in host->flags, so this function can be called multiple times. Ports are guaranteed to get started only once. If host->ops is not initialized yet, it is set to the first non-dummy port ops. LOCKING: Inherited from calling layer (may sleep). h](j\)}(h``struct ata_host *host``h]jH)}(hjbh]hstruct ata_host *host}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjbubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMxhjbubjl)}(hhh](h)}(hATA host to start ports forh]hATA host to start ports for}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMohjbubh)}(hXStart and then freeze ports of **host**. Started status is recorded in host->flags, so this function can be called multiple times. Ports are guaranteed to get started only once. If host->ops is not initialized yet, it is set to the first non-dummy port ops.h](hStart and then freeze ports of }(hjbhhhNhNubj)}(h**host**h]hhost}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh. Started status is recorded in host->flags, so this function can be called multiple times. Ports are guaranteed to get started only once. If host->ops is not initialized yet, it is set to the first non-dummy port ops.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMqhjbubh)}(h2LOCKING: Inherited from calling layer (may sleep).h]h2LOCKING: Inherited from calling layer (may sleep).}(hj chhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMwhjbubeh}(h]h ]h"]h$]h&]uh1jkhjbubeh}(h]h ]h"]h$]h&]uh1jUhjbhMxhjbubah}(h]h ]h"]h$]h&]uh1jPhjbubh)}(h **Return**h]j)}(hj0ch]hReturn}(hj2chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.cubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMzhjbubj)}(h:0 if all ports are started successfully, -errno otherwise.h]h)}(hjHch]h:0 if all ports are started successfully, -errno otherwise.}(hjJchhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMzhjFcubah}(h]h ]h"]h$]h&]uh1jhjWchMzhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_init (C function)c.ata_host_inithNtauh1jhjhhhNhNubj)}(hhh](j)}(h_void ata_host_init (struct ata_host *host, struct device *dev, struct ata_port_operations *ops)h]j)}(h^void ata_host_init(struct ata_host *host, struct device *dev, struct ata_port_operations *ops)h](j=)}(hvoidh]hvoid}(hj~chhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjzchhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzchhhjchMubjJ)}(h ata_host_inith]j)}(h ata_host_inith]h ata_host_init}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjzchhhjchMubje)}(hL(struct ata_host *host, struct device *dev, struct ata_port_operations *ops)h](jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubh)}(hhh]j)}(hata_hosth]hata_host}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjcmodnameN classnameNj.j1)}j4]j$)}j*jcsbc.ata_host_initasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj9)}(hj<h]h*}(hjdhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjcubj)}(hhosth]hhost}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjcubjk)}(hstruct device *devh](j)}(hjh]hstruct}(hj-dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)dubj)}(h h]h }(hj:dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)dubh)}(hhh]j)}(hdeviceh]hdevice}(hjKdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHdubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjMdmodnameN classnameNj.j1)}j4]jcc.ata_host_initasbuh1hhj)dubj)}(h h]h }(hjidhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)dubj9)}(hj<h]h*}(hjwdhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj)dubj)}(hdevh]hdev}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)dubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjcubjk)}(hstruct ata_port_operations *opsh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubh)}(hhh]j)}(hata_port_operationsh]hata_port_operations}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjdmodnameN classnameNj.j1)}j4]jcc.ata_host_initasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj9)}(hj<h]h*}(hjdhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjdubj)}(hopsh]hops}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjcubeh}(h]h ]h"]h$]h&]jjuh1jdhjzchhhjchMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjvchhhjchMubah}(h]jqcah ](jYjeh"]h$]h&]jj)jhuh1jhjchMhjschhubj)}(hhh]h)}(h.Initialize a host struct for sas (ipr, libsas)h]h.Initialize a host struct for sas (ipr, libsas)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjehhubah}(h]h ]h"]h$]h&]uh1jhjschhhjchMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj6ejj6ejjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_host *host`` host to initialize ``struct device *dev`` device host is attached to ``struct ata_port_operations *ops`` port_opsh](h)}(h**Parameters**h]j)}(hj@eh]h Parameters}(hjBehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>eubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj:eubjQ)}(hhh](jV)}(h-``struct ata_host *host`` host to initialize h](j\)}(h``struct ata_host *host``h]jH)}(hj_eh]hstruct ata_host *host}(hjaehhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj]eubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjYeubjl)}(hhh]h)}(hhost to initializeh]hhost to initialize}(hjxehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjtehMhjueubah}(h]h ]h"]h$]h&]uh1jkhjYeubeh}(h]h ]h"]h$]h&]uh1jUhjtehMhjVeubjV)}(h2``struct device *dev`` device host is attached to h](j\)}(h``struct device *dev``h]jH)}(hjeh]hstruct device *dev}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjeubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjeubjl)}(hhh]h)}(hdevice host is attached toh]hdevice host is attached to}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjeubah}(h]h ]h"]h$]h&]uh1jkhjeubeh}(h]h ]h"]h$]h&]uh1jUhjehMhjVeubjV)}(h,``struct ata_port_operations *ops`` port_opsh](j\)}(h#``struct ata_port_operations *ops``h]jH)}(hjeh]hstruct ata_port_operations *ops}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjeubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjeubjl)}(hhh]h)}(hport_opsh]hport_ops}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjeubah}(h]h ]h"]h$]h&]uh1jkhjeubeh}(h]h ]h"]h$]h&]uh1jUhjehMhjVeubeh}(h]h ]h"]h$]h&]uh1jPhj:eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_register (C function)c.ata_host_registerhNtauh1jhjhhhNhNubj)}(hhh](j)}(hSint ata_host_register (struct ata_host *host, const struct scsi_host_template *sht)h]j)}(hRint ata_host_register(struct ata_host *host, const struct scsi_host_template *sht)h](j=)}(hinth]hint}(hj+fhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj'fhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM ubj)}(h h]h }(hj:fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'fhhhj9fhM ubjJ)}(hata_host_registerh]j)}(hata_host_registerh]hata_host_register}(hjLfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHfubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj'fhhhj9fhM ubje)}(h=(struct ata_host *host, const struct scsi_host_template *sht)h](jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjhfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdfubj)}(h h]h }(hjufhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdfubh)}(hhh]j)}(hata_hosth]hata_host}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjfmodnameN classnameNj.j1)}j4]j$)}j*jNfsbc.ata_host_registerasbuh1hhjdfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdfubj9)}(hj<h]h*}(hjfhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjdfubj)}(hhosth]hhost}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdfubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj`fubjk)}(h$const struct scsi_host_template *shth](j)}(hj'h]hconst}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubh)}(hhh]j)}(hscsi_host_templateh]hscsi_host_template}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjgmodnameN classnameNj.j1)}j4]jfc.ata_host_registerasbuh1hhjfubj)}(h h]h }(hj1ghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj9)}(hj<h]h*}(hj?ghhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjfubj)}(hshth]hsht}(hjLghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj`fubeh}(h]h ]h"]h$]h&]jjuh1jdhj'fhhhj9fhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj#fhhhj9fhM ubah}(h]jfah ](jYjeh"]h$]h&]jj)jhuh1jhj9fhM hj fhhubj)}(hhh]h)}(hregister initialized ATA hosth]hregister initialized ATA host}(hjvghhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjsghhubah}(h]h ]h"]h$]h&]uh1jhj fhhhj9fhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjgjjgjjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct ata_host *host`` ATA host to register ``const struct scsi_host_template *sht`` template for SCSI host Register initialized ATA host. **host** is allocated using ata_host_alloc() and fully initialized by LLD. This function starts ports, registers **host** with ATA and SCSI layers and probe registered devices. LOCKING: Inherited from calling layer (may sleep). **Return** 0 on success, -errno otherwise.h](h)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjgubjQ)}(hhh](jV)}(h/``struct ata_host *host`` ATA host to register h](j\)}(h``struct ata_host *host``h]jH)}(hjgh]hstruct ata_host *host}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjgubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjgubjl)}(hhh]h)}(hATA host to registerh]hATA host to register}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMhjgubah}(h]h ]h"]h$]h&]uh1jkhjgubeh}(h]h ]h"]h$]h&]uh1jUhjghMhjgubjV)}(hXG``const struct scsi_host_template *sht`` template for SCSI host Register initialized ATA host. **host** is allocated using ata_host_alloc() and fully initialized by LLD. This function starts ports, registers **host** with ATA and SCSI layers and probe registered devices. LOCKING: Inherited from calling layer (may sleep). h](j\)}(h(``const struct scsi_host_template *sht``h]jH)}(hjgh]h$const struct scsi_host_template *sht}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjgubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjgubjl)}(hhh](h)}(htemplate for SCSI hosth]htemplate for SCSI host}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjhubh)}(hRegister initialized ATA host. **host** is allocated using ata_host_alloc() and fully initialized by LLD. This function starts ports, registers **host** with ATA and SCSI layers and probe registered devices.h](h Register initialized ATA host. }(hjhhhhNhNubj)}(h**host**h]hhost}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubhj is allocated using ata_host_alloc() and fully initialized by LLD. This function starts ports, registers }(hjhhhhNhNubj)}(h**host**h]hhost}(hj2hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh7 with ATA and SCSI layers and probe registered devices.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjhubh)}(h2LOCKING: Inherited from calling layer (may sleep).h]h2LOCKING: Inherited from calling layer (may sleep).}(hjKhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjhubeh}(h]h ]h"]h$]h&]uh1jkhjgubeh}(h]h ]h"]h$]h&]uh1jUhjhhMhjgubeh}(h]h ]h"]h$]h&]uh1jPhjgubh)}(h **Return**h]j)}(hjnhh]hReturn}(hjphhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlhubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjgubj)}(h0 on success, -errno otherwise.h]h)}(hjhh]h0 on success, -errno otherwise.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM hjhubah}(h]h ]h"]h$]h&]uh1jhjhhM hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_activate (C function)c.ata_host_activatehNtauh1jhjhhhNhNubj)}(hhh](j)}(hint ata_host_activate (struct ata_host *host, int irq, irq_handler_t irq_handler, unsigned long irq_flags, const struct scsi_host_template *sht)h]j)}(hint ata_host_activate(struct ata_host *host, int irq, irq_handler_t irq_handler, unsigned long irq_flags, const struct scsi_host_template *sht)h](j=)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMiubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhjhhMiubjJ)}(hata_host_activateh]j)}(hata_host_activateh]hata_host_activate}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhhjhhMiubje)}(hz(struct ata_host *host, int irq, irq_handler_t irq_handler, unsigned long irq_flags, const struct scsi_host_template *sht)h](jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubh)}(hhh]j)}(hata_hosth]hata_host}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjimodnameN classnameNj.j1)}j4]j$)}j*jhsbc.ata_host_activateasbuh1hhjhubj)}(h h]h }(hj7ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj9)}(hj<h]h*}(hjEihhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjhubj)}(hhosth]hhost}(hjRihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjhubjk)}(hint irqh](j=)}(hinth]hint}(hjkihhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjgiubj)}(h h]h }(hjyihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgiubj)}(hirqh]hirq}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgiubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjhubjk)}(hirq_handler_t irq_handlerh](h)}(hhh]j)}(h irq_handler_th]h irq_handler_t}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjimodnameN classnameNj.j1)}j4]j3ic.ata_host_activateasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h irq_handlerh]h irq_handler}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjhubjk)}(hunsigned long irq_flagsh](j=)}(hunsignedh]hunsigned}(hjihhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj=)}(hlongh]hlong}(hjjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h irq_flagsh]h irq_flags}(hj jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjhubjk)}(h$const struct scsi_host_template *shth](j)}(hj'h]hconst}(hj9jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5jubj)}(h h]h }(hjFjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5jubj)}(hjh]hstruct}(hjTjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5jubj)}(h h]h }(hjajhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5jubh)}(hhh]j)}(hscsi_host_templateh]hscsi_host_template}(hjrjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjojubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjtjmodnameN classnameNj.j1)}j4]j3ic.ata_host_activateasbuh1hhj5jubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5jubj9)}(hj<h]h*}(hjjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj5jubj)}(hshth]hsht}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5jubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjhubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhhjhhMiubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhhjhhMiubah}(h]jhah ](jYjeh"]h$]h&]jj)jhuh1jhjhhMihjhhhubj)}(hhh]h)}(h'start host, request IRQ and register ith]h'start host, request IRQ and register it}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMShjjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhhjhhMiubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjjjuh1jhhhjhNhNubj)}(hX4**Parameters** ``struct ata_host *host`` target ATA host ``int irq`` IRQ to request ``irq_handler_t irq_handler`` irq_handler used when requesting IRQ ``unsigned long irq_flags`` irq_flags used when requesting IRQ ``const struct scsi_host_template *sht`` scsi_host_template to use when registering the host After allocating an ATA host and initializing it, most libata LLDs perform three steps to activate the host - start host, request IRQ and register it. This helper takes necessary arguments and performs the three steps in one go. An invalid IRQ skips the IRQ registration and expects the host to have set polling mode on the port. In this case, **irq_handler** should be NULL. LOCKING: Inherited from calling layer (may sleep). **Return** 0 on success, -errno otherwise.h](h)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMWhjjubjQ)}(hhh](jV)}(h*``struct ata_host *host`` target ATA host h](j\)}(h``struct ata_host *host``h]jH)}(hjkh]hstruct ata_host *host}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjkubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMThjkubjl)}(hhh]h)}(htarget ATA hosth]htarget ATA host}(hj/khhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+khMThj,kubah}(h]h ]h"]h$]h&]uh1jkhjkubeh}(h]h ]h"]h$]h&]uh1jUhj+khMThj kubjV)}(h``int irq`` IRQ to request h](j\)}(h ``int irq``h]jH)}(hjOkh]hint irq}(hjQkhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjMkubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMUhjIkubjl)}(hhh]h)}(hIRQ to requesth]hIRQ to request}(hjhkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdkhMUhjekubah}(h]h ]h"]h$]h&]uh1jkhjIkubeh}(h]h ]h"]h$]h&]uh1jUhjdkhMUhj kubjV)}(hC``irq_handler_t irq_handler`` irq_handler used when requesting IRQ h](j\)}(h``irq_handler_t irq_handler``h]jH)}(hjkh]hirq_handler_t irq_handler}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjkubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMVhjkubjl)}(hhh]h)}(h$irq_handler used when requesting IRQh]h$irq_handler used when requesting IRQ}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMVhjkubah}(h]h ]h"]h$]h&]uh1jkhjkubeh}(h]h ]h"]h$]h&]uh1jUhjkhMVhj kubjV)}(h?``unsigned long irq_flags`` irq_flags used when requesting IRQ h](j\)}(h``unsigned long irq_flags``h]jH)}(hjkh]hunsigned long irq_flags}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjkubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMWhjkubjl)}(hhh]h)}(h"irq_flags used when requesting IRQh]h"irq_flags used when requesting IRQ}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMWhjkubah}(h]h ]h"]h$]h&]uh1jkhjkubeh}(h]h ]h"]h$]h&]uh1jUhjkhMWhj kubjV)}(hX ``const struct scsi_host_template *sht`` scsi_host_template to use when registering the host After allocating an ATA host and initializing it, most libata LLDs perform three steps to activate the host - start host, request IRQ and register it. This helper takes necessary arguments and performs the three steps in one go. An invalid IRQ skips the IRQ registration and expects the host to have set polling mode on the port. In this case, **irq_handler** should be NULL. LOCKING: Inherited from calling layer (may sleep). h](j\)}(h(``const struct scsi_host_template *sht``h]jH)}(hjkh]h$const struct scsi_host_template *sht}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjkubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMdhjkubjl)}(hhh](h)}(h3scsi_host_template to use when registering the hosth]h3scsi_host_template to use when registering the host}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMXhjlubh)}(hAfter allocating an ATA host and initializing it, most libata LLDs perform three steps to activate the host - start host, request IRQ and register it. This helper takes necessary arguments and performs the three steps in one go.h]hAfter allocating an ATA host and initializing it, most libata LLDs perform three steps to activate the host - start host, request IRQ and register it. This helper takes necessary arguments and performs the three steps in one go.}(hj"lhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMZhjlubh)}(hAn invalid IRQ skips the IRQ registration and expects the host to have set polling mode on the port. In this case, **irq_handler** should be NULL.h](hsAn invalid IRQ skips the IRQ registration and expects the host to have set polling mode on the port. In this case, }(hj1lhhhNhNubj)}(h**irq_handler**h]h irq_handler}(hj9lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1lubh should be NULL.}(hj1lhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chM_hjlubh)}(h2LOCKING: Inherited from calling layer (may sleep).h]h2LOCKING: Inherited from calling layer (may sleep).}(hjRlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMchjlubeh}(h]h ]h"]h$]h&]uh1jkhjkubeh}(h]h ]h"]h$]h&]uh1jUhjlhMdhj kubeh}(h]h ]h"]h$]h&]uh1jPhjjubh)}(h **Return**h]j)}(hjulh]hReturn}(hjwlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjslubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMfhjjubj)}(h0 on success, -errno otherwise.h]h)}(hjlh]h0 on success, -errno otherwise.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMfhjlubah}(h]h ]h"]h$]h&]uh1jhjlhMfhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_host_detach (C function)c.ata_host_detachhNtauh1jhjhhhNhNubj)}(hhh](j)}(h,void ata_host_detach (struct ata_host *host)h]j)}(h+void ata_host_detach(struct ata_host *host)h](j=)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjlhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhjlhMubjJ)}(hata_host_detachh]j)}(hata_host_detachh]hata_host_detach}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjlhhhjlhMubje)}(h(struct ata_host *host)h]jk)}(hstruct ata_host *hosth](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubh)}(hhh]j)}(hata_hosth]hata_host}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj mmodnameN classnameNj.j1)}j4]j$)}j*jlsbc.ata_host_detachasbuh1hhjlubj)}(h h]h }(hj>mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj9)}(hj<h]h*}(hjLmhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjlubj)}(hhosth]hhost}(hjYmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjlubah}(h]h ]h"]h$]h&]jjuh1jdhjlhhhjlhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjlhhhjlhMubah}(h]jlah ](jYjeh"]h$]h&]jj)jhuh1jhjlhMhjlhhubj)}(hhh]h)}(hDetach all ports of an ATA hosth]hDetach all ports of an ATA host}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jhjlhhhjlhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjmjjmjjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_host *host`` Host to detach Detach all ports of **host**. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjmubjQ)}(hhh]jV)}(ht``struct ata_host *host`` Host to detach Detach all ports of **host**. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_host *host``h]jH)}(hjmh]hstruct ata_host *host}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjmubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjmubjl)}(hhh](h)}(hHost to detachh]hHost to detach}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjmubh)}(hDetach all ports of **host**.h](hDetach all ports of }(hjmhhhNhNubj)}(h**host**h]hhost}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjmubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubeh}(h]h ]h"]h$]h&]uh1jkhjmubeh}(h]h ]h"]h$]h&]uh1jUhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jPhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_pci_remove_one (C function)c.ata_pci_remove_onehNtauh1jhjhhhNhNubj)}(hhh](j)}(h.void ata_pci_remove_one (struct pci_dev *pdev)h]j)}(h-void ata_pci_remove_one(struct pci_dev *pdev)h](j=)}(hvoidh]hvoid}(hjMnhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjInhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj\nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjInhhhj[nhMubjJ)}(hata_pci_remove_oneh]j)}(hata_pci_remove_oneh]hata_pci_remove_one}(hjnnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjnubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjInhhhj[nhMubje)}(h(struct pci_dev *pdev)h]jk)}(hstruct pci_dev *pdevh](j)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubh)}(hhh]j)}(hpci_devh]hpci_dev}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjnmodnameN classnameNj.j1)}j4]j$)}j*jpnsbc.ata_pci_remove_oneasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj9)}(hj<h]h*}(hjnhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjnubj)}(hpdevh]hpdev}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjnubah}(h]h ]h"]h$]h&]jjuh1jdhjInhhhj[nhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjEnhhhj[nhMubah}(h]j@nah ](jYjeh"]h$]h&]jj)jhuh1jhj[nhMhjBnhhubj)}(hhh]h)}(h%PCI layer callback for device removalh]h%PCI layer callback for device removal}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj ohhubah}(h]h ]h"]h$]h&]uh1jhjBnhhhj[nhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj%ojj%ojjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct pci_dev *pdev`` PCI device that was removed PCI layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres. LOCKING: Inherited from PCI layer (may sleep).h](h)}(h**Parameters**h]j)}(hj/oh]h Parameters}(hj1ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-oubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj)oubjQ)}(hhh]jV)}(hX``struct pci_dev *pdev`` PCI device that was removed PCI layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres. LOCKING: Inherited from PCI layer (may sleep).h](j\)}(h``struct pci_dev *pdev``h]jH)}(hjNoh]hstruct pci_dev *pdev}(hjPohhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjLoubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjHoubjl)}(hhh](h)}(hPCI device that was removedh]hPCI device that was removed}(hjgohhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjdoubh)}(hPCI layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres.h]hPCI layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres.}(hjvohhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjdoubh)}(h.LOCKING: Inherited from PCI layer (may sleep).h]h.LOCKING: Inherited from PCI layer (may sleep).}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjcohMhjdoubeh}(h]h ]h"]h$]h&]uh1jkhjHoubeh}(h]h ]h"]h$]h&]uh1jUhjcohMhjEoubah}(h]h ]h"]h$]h&]uh1jPhj)oubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$ata_platform_remove_one (C function)c.ata_platform_remove_onehNtauh1jhjhhhNhNubj)}(hhh](j)}(h;void ata_platform_remove_one (struct platform_device *pdev)h]j)}(h:void ata_platform_remove_one(struct platform_device *pdev)h](j=)}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjohhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhjohMubjJ)}(hata_platform_remove_oneh]j)}(hata_platform_remove_oneh]hata_platform_remove_one}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjohhhjohMubje)}(h(struct platform_device *pdev)h]jk)}(hstruct platform_device *pdevh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubh)}(hhh]j)}(hplatform_deviceh]hplatform_device}(hj phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj"pmodnameN classnameNj.j1)}j4]j$)}j*josbc.ata_platform_remove_oneasbuh1hhjoubj)}(h h]h }(hj@phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj9)}(hj<h]h*}(hjNphhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjoubj)}(hpdevh]hpdev}(hj[phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjoubah}(h]h ]h"]h$]h&]jjuh1jdhjohhhjohMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjohhhjohMubah}(h]joah ](jYjeh"]h$]h&]jj)jhuh1jhjohMhjohhubj)}(hhh]h)}(h*Platform layer callback for device removalh]h*Platform layer callback for device removal}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjphhubah}(h]h ]h"]h$]h&]uh1jhjohhhjohMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjpjjpjjjuh1jhhhjhNhNubj)}(hX5**Parameters** ``struct platform_device *pdev`` Platform device that was removed Platform layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres. LOCKING: Inherited from platform layer (may sleep).h](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjpubjQ)}(hhh]jV)}(hX``struct platform_device *pdev`` Platform device that was removed Platform layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres. LOCKING: Inherited from platform layer (may sleep).h](j\)}(h ``struct platform_device *pdev``h]jH)}(hjph]hstruct platform_device *pdev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjpubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjpubjl)}(hhh](h)}(h Platform device that was removedh]h Platform device that was removed}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjpubh)}(hPlatform layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres.h]hPlatform layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjpubh)}(h3LOCKING: Inherited from platform layer (may sleep).h]h3LOCKING: Inherited from platform layer (may sleep).}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubeh}(h]h ]h"]h$]h&]uh1jkhjpubeh}(h]h ]h"]h$]h&]uh1jUhjphMhjpubah}(h]h ]h"]h$]h&]uh1jPhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_msleep (C function) c.ata_msleephNtauh1jhjhhhNhNubj)}(hhh](j)}(h9void ata_msleep (struct ata_port *ap, unsigned int msecs)h]j)}(h8void ata_msleep(struct ata_port *ap, unsigned int msecs)h](j=)}(hvoidh]hvoid}(hj=qhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj9qhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjLqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9qhhhjKqhMubjJ)}(h ata_msleeph]j)}(h ata_msleeph]h ata_msleep}(hj^qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZqubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj9qhhhjKqhMubje)}(h)(struct ata_port *ap, unsigned int msecs)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjzqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvqubh)}(hhh]j)}(hata_porth]hata_port}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjqmodnameN classnameNj.j1)}j4]j$)}j*j`qsb c.ata_msleepasbuh1hhjvqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvqubj9)}(hj<h]h*}(hjqhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjvqubj)}(haph]hap}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvqubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjrqubjk)}(hunsigned int msecsh](j=)}(hunsignedh]hunsigned}(hjqhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj=)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjqubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(hmsecsh]hmsecs}(hj$rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjrqubeh}(h]h ]h"]h$]h&]jjuh1jdhj9qhhhjKqhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj5qhhhjKqhMubah}(h]j0qah ](jYjeh"]h$]h&]jj)jhuh1jhjKqhMhj2qhhubj)}(hhh]h)}(hATA EH owner aware msleeph]hATA EH owner aware msleep}(hjNrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjKrhhubah}(h]h ]h"]h$]h&]uh1jhj2qhhhjKqhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjfrjjfrjjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct ata_port *ap`` ATA port to attribute the sleep to ``unsigned int msecs`` duration to sleep in milliseconds Sleeps **msecs**. If the current task is owner of **ap**'s EH, the ownership is released before going to sleep and reacquired after the sleep is complete. IOW, other ports sharing the **ap->host** will be allowed to own the EH while this task is sleeping. LOCKING: Might sleep.h](h)}(h**Parameters**h]j)}(hjprh]h Parameters}(hjrrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnrubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjjrubjQ)}(hhh](jV)}(h;``struct ata_port *ap`` ATA port to attribute the sleep to h](j\)}(h``struct ata_port *ap``h]jH)}(hjrh]hstruct ata_port *ap}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjrubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjrubjl)}(hhh]h)}(h"ATA port to attribute the sleep toh]h"ATA port to attribute the sleep to}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jkhjrubeh}(h]h ]h"]h$]h&]uh1jUhjrhMhjrubjV)}(hXR``unsigned int msecs`` duration to sleep in milliseconds Sleeps **msecs**. If the current task is owner of **ap**'s EH, the ownership is released before going to sleep and reacquired after the sleep is complete. IOW, other ports sharing the **ap->host** will be allowed to own the EH while this task is sleeping. LOCKING: Might sleep.h](j\)}(h``unsigned int msecs``h]jH)}(hjrh]hunsigned int msecs}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjrubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjrubjl)}(hhh](h)}(h!duration to sleep in millisecondsh]h!duration to sleep in milliseconds}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjrubh)}(hXSleeps **msecs**. If the current task is owner of **ap**'s EH, the ownership is released before going to sleep and reacquired after the sleep is complete. IOW, other ports sharing the **ap->host** will be allowed to own the EH while this task is sleeping.h](hSleeps }(hjrhhhNhNubj)}(h **msecs**h]hmsecs}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh#. If the current task is owner of }(hjrhhhNhNubj)}(h**ap**h]hap}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh’s EH, the ownership is released before going to sleep and reacquired after the sleep is complete. IOW, other ports sharing the }(hjrhhhNhNubj)}(h **ap->host**h]hap->host}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh; will be allowed to own the EH while this task is sleeping.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjrubh)}(hLOCKING: Might sleep.h]hLOCKING: Might sleep.}(hj5shhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubeh}(h]h ]h"]h$]h&]uh1jkhjrubeh}(h]h ]h"]h$]h&]uh1jUhjrhMhjrubeh}(h]h ]h"]h$]h&]uh1jPhjjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_wait_register (C function)c.ata_wait_registerhNtauh1jhjhhhNhNubj)}(hhh](j)}(h~u32 ata_wait_register (struct ata_port *ap, void __iomem *reg, u32 mask, u32 val, unsigned int interval, unsigned int timeout)h]j)}(h}u32 ata_wait_register(struct ata_port *ap, void __iomem *reg, u32 mask, u32 val, unsigned int interval, unsigned int timeout)h](h)}(hhh]j)}(hu32h]hu32}(hjxshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjusubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjzsmodnameN classnameNj.j1)}j4]j$)}j*ata_wait_registersbc.ata_wait_registerasbuh1hhjqshhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqshhhjshMubjJ)}(hata_wait_registerh]j)}(hjsh]hata_wait_register}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjqshhhjshMubje)}(hh(struct ata_port *ap, void __iomem *reg, u32 mask, u32 val, unsigned int interval, unsigned int timeout)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubh)}(hhh]j)}(hata_porth]hata_port}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjsmodnameN classnameNj.j1)}j4]jsc.ata_wait_registerasbuh1hhjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj9)}(hj<h]h*}(hjthhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjsubj)}(haph]hap}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubjk)}(hvoid __iomem *regh](j=)}(hvoidh]hvoid}(hj7thhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj3tubj)}(h h]h }(hjEthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3tubh__iomem}(hj3thhhNhNubj)}(h h]h }(hjWthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3tubj9)}(hj<h]h*}(hjethhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj3tubj)}(hregh]hreg}(hjrthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3tubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubjk)}(hu32 maskh](h)}(hhh]j)}(hu32h]hu32}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjtmodnameN classnameNj.j1)}j4]jsc.ata_wait_registerasbuh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(hmaskh]hmask}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubjk)}(hu32 valh](h)}(hhh]j)}(hu32h]hu32}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjtmodnameN classnameNj.j1)}j4]jsc.ata_wait_registerasbuh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(hvalh]hval}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubjk)}(hunsigned int intervalh](j=)}(hunsignedh]hunsigned}(hjuhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjuubj)}(h h]h }(hj)uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj=)}(hinth]hint}(hj7uhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjuubj)}(h h]h }(hjEuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(hintervalh]hinterval}(hjSuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubjk)}(hunsigned int timeouth](j=)}(hunsignedh]hunsigned}(hjluhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhuubj)}(h h]h }(hjzuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhuubj=)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhuubj)}(htimeouth]htimeout}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhuubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubeh}(h]h ]h"]h$]h&]jjuh1jdhjqshhhjshMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjmshhhjshMubah}(h]jhsah ](jYjeh"]h$]h&]jj)jhuh1jhjshMhjjshhubj)}(hhh]h)}(h!wait until register value changesh]h!wait until register value changes}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jhjjshhhjshMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjujjujjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct ata_port *ap`` ATA port to wait register for, can be NULL ``void __iomem *reg`` IO-mapped register ``u32 mask`` Mask to apply to read register value ``u32 val`` Wait condition ``unsigned int interval`` polling interval in milliseconds ``unsigned int timeout`` timeout in milliseconds Waiting for some bits of register to change is a common operation for ATA controllers. This function reads 32bit LE IO-mapped register **reg** and tests for the following condition. (***reg** & mask) != val If the condition is met, it returns; otherwise, the process is repeated after **interval_msec** until timeout. LOCKING: Kernel thread context (may sleep) **Return** The final register value.h](h)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjuubjQ)}(hhh](jV)}(hC``struct ata_port *ap`` ATA port to wait register for, can be NULL h](j\)}(h``struct ata_port *ap``h]jH)}(hjvh]hstruct ata_port *ap}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj vubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj vubjl)}(hhh]h)}(h*ATA port to wait register for, can be NULLh]h*ATA port to wait register for, can be NULL}(hj(vhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$vhMhj%vubah}(h]h ]h"]h$]h&]uh1jkhj vubeh}(h]h ]h"]h$]h&]uh1jUhj$vhMhjvubjV)}(h)``void __iomem *reg`` IO-mapped register h](j\)}(h``void __iomem *reg``h]jH)}(hjHvh]hvoid __iomem *reg}(hjJvhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjFvubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjBvubjl)}(hhh]h)}(hIO-mapped registerh]hIO-mapped register}(hjavhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]vhMhj^vubah}(h]h ]h"]h$]h&]uh1jkhjBvubeh}(h]h ]h"]h$]h&]uh1jUhj]vhMhjvubjV)}(h2``u32 mask`` Mask to apply to read register value h](j\)}(h ``u32 mask``h]jH)}(hjvh]hu32 mask}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjvubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj{vubjl)}(hhh]h)}(h$Mask to apply to read register valueh]h$Mask to apply to read register value}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jkhj{vubeh}(h]h ]h"]h$]h&]uh1jUhjvhMhjvubjV)}(h``u32 val`` Wait condition h](j\)}(h ``u32 val``h]jH)}(hjvh]hu32 val}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjvubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjvubjl)}(hhh]h)}(hWait conditionh]hWait condition}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jkhjvubeh}(h]h ]h"]h$]h&]uh1jUhjvhMhjvubjV)}(h;``unsigned int interval`` polling interval in milliseconds h](j\)}(h``unsigned int interval``h]jH)}(hjvh]hunsigned int interval}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjvubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjvubjl)}(hhh]h)}(h polling interval in millisecondsh]h polling interval in milliseconds}(hj whhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhj wubah}(h]h ]h"]h$]h&]uh1jkhjvubeh}(h]h ]h"]h$]h&]uh1jUhjwhMhjvubjV)}(hX``unsigned int timeout`` timeout in milliseconds Waiting for some bits of register to change is a common operation for ATA controllers. This function reads 32bit LE IO-mapped register **reg** and tests for the following condition. (***reg** & mask) != val If the condition is met, it returns; otherwise, the process is repeated after **interval_msec** until timeout. LOCKING: Kernel thread context (may sleep) h](j\)}(h``unsigned int timeout``h]jH)}(hj,wh]hunsigned int timeout}(hj.whhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj*wubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhj&wubjl)}(hhh](h)}(htimeout in millisecondsh]htimeout in milliseconds}(hjEwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjBwubh)}(hWaiting for some bits of register to change is a common operation for ATA controllers. This function reads 32bit LE IO-mapped register **reg** and tests for the following condition.h](hWaiting for some bits of register to change is a common operation for ATA controllers. This function reads 32bit LE IO-mapped register }(hjTwhhhNhNubj)}(h**reg**h]hreg}(hj\whhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTwubh' and tests for the following condition.}(hjTwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjBwubh)}(h(***reg** & mask) != valh](h(}(hjuwhhhNhNubj)}(h***reg**h]h*reg}(hj}whhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuwubh & mask) != val}(hjuwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjBwubh)}(hnIf the condition is met, it returns; otherwise, the process is repeated after **interval_msec** until timeout.h](hNIf the condition is met, it returns; otherwise, the process is repeated after }(hjwhhhNhNubj)}(h**interval_msec**h]h interval_msec}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh until timeout.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjBwubh)}(h*LOCKING: Kernel thread context (may sleep)h]h*LOCKING: Kernel thread context (may sleep)}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjBwubeh}(h]h ]h"]h$]h&]uh1jkhj&wubeh}(h]h ]h"]h$]h&]uh1jUhjAwhMhjvubeh}(h]h ]h"]h$]h&]uh1jPhjuubh)}(h **Return**h]j)}(hjwh]hReturn}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjuubj)}(hThe final register value.h]h)}(hjwh]hThe final register value.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:580: ./drivers/ata/libata-core.chMhjwubah}(h]h ]h"]h$]h&]uh1jhjxhMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]libata-libraryah ]h"]libata libraryah$]h&]uh1hhhhhhhhMBubh)}(hhh](h)}(hlibata Core Internalsh]hlibata Core Internals}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhhhhhMHubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_phys_link (C function)c.ata_dev_phys_linkhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hlink** only when **dev** is on slave link. For all other cases, it's the same as **dev->link**. LOCKING: Don't care. **Return** Pointer to the found physical link.h](h)}(h**Parameters**h]j)}(hj^yh]h Parameters}(hj`yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\yubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjXyubjQ)}(hhh]jV)}(hX``struct ata_device *dev`` ATA device to look up physical link for Look up physical link which **dev** is attached to. Note that this is different from **dev->link** only when **dev** is on slave link. For all other cases, it's the same as **dev->link**. LOCKING: Don't care. h](j\)}(h``struct ata_device *dev``h]jH)}(hj}yh]hstruct ata_device *dev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj{yubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjwyubjl)}(hhh](h)}(h'ATA device to look up physical link forh]h'ATA device to look up physical link for}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjyubh)}(hLook up physical link which **dev** is attached to. Note that this is different from **dev->link** only when **dev** is on slave link. For all other cases, it's the same as **dev->link**.h](hLook up physical link which }(hjyhhhNhNubj)}(h**dev**h]hdev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh3 is attached to. Note that this is different from }(hjyhhhNhNubj)}(h **dev->link**h]h dev->link}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh only when }(hjyhhhNhNubj)}(h**dev**h]hdev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh< is on slave link. For all other cases, it’s the same as }(hjyhhhNhNubj)}(h **dev->link**h]h dev->link}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjyubh)}(hLOCKING: Don't care.h]hLOCKING: Don’t care.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjyubeh}(h]h ]h"]h$]h&]uh1jkhjwyubeh}(h]h ]h"]h$]h&]uh1jUhjyhMhjtyubah}(h]h ]h"]h$]h&]uh1jPhjXyubh)}(h **Return**h]j)}(hjzh]hReturn}(hj!zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjXyubj)}(h#Pointer to the found physical link.h]h)}(hj7zh]h#Pointer to the found physical link.}(hj9zhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hj5zubah}(h]h ]h"]h$]h&]uh1jhjFzhM hjXyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_force_cbl (C function)c.ata_force_cblhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h(void ata_force_cbl (struct ata_port *ap)h]j)}(h'void ata_force_cbl(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hjmzhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjizhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM<ubj)}(h h]h }(hj|zhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjizhhhj{zhM<ubjJ)}(h ata_force_cblh]j)}(h ata_force_cblh]h ata_force_cbl}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjizhhhj{zhM<ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubh)}(hhh]j)}(hata_porth]hata_port}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjzmodnameN classnameNj.j1)}j4]j$)}j*jzsbc.ata_force_cblasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj9)}(hj<h]h*}(hjzhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjzubj)}(haph]hap}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjzubah}(h]h ]h"]h$]h&]jjuh1jdhjizhhhj{zhM<ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjezhhhj{zhM<ubah}(h]j`zah ](jYjeh"]h$]h&]jj)jhuh1jhj{zhM<hjbzhhubj)}(hhh]h)}(h*force cable type according to libata.forceh]h*force cable type according to libata.force}(hj-{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM0hj*{hhubah}(h]h ]h"]h$]h&]uh1jhjbzhhhj{zhM<ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjE{jjE{jjjuh1jhhhjxhNhNubj)}(hXe**Parameters** ``struct ata_port *ap`` ATA port of interest Force cable type according to libata.force and whine about it. The last entry which has matching port number is used, so it can be specified as part of device force parameters. For example, both "a:40c,1.00:udma4" and "1.00:40c,udma4" have the same effect. LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hjO{h]h Parameters}(hjQ{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM{ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM4hjI{ubjQ)}(hhh]jV)}(hXE``struct ata_port *ap`` ATA port of interest Force cable type according to libata.force and whine about it. The last entry which has matching port number is used, so it can be specified as part of device force parameters. For example, both "a:40c,1.00:udma4" and "1.00:40c,udma4" have the same effect. LOCKING: EH context.h](j\)}(h``struct ata_port *ap``h]jH)}(hjn{h]hstruct ata_port *ap}(hjp{hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjl{ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM9hjh{ubjl)}(hhh](h)}(hATA port of interesth]hATA port of interest}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM1hj{ubh)}(hXForce cable type according to libata.force and whine about it. The last entry which has matching port number is used, so it can be specified as part of device force parameters. For example, both "a:40c,1.00:udma4" and "1.00:40c,udma4" have the same effect.h]hX Force cable type according to libata.force and whine about it. The last entry which has matching port number is used, so it can be specified as part of device force parameters. For example, both “a:40c,1.00:udma4” and “1.00:40c,udma4” have the same effect.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM3hj{ubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM9hj{ubeh}(h]h ]h"]h$]h&]uh1jkhjh{ubeh}(h]h ]h"]h$]h&]uh1jUhj{hM9hje{ubah}(h]h ]h"]h$]h&]uh1jPhjI{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_force_pflags (C function)c.ata_force_pflagshNtauh1jhjxhhhNhNubj)}(hhh](j)}(h+void ata_force_pflags (struct ata_port *ap)h]j)}(h*void ata_force_pflags(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj{hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMXubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhj{hMXubjJ)}(hata_force_pflagsh]j)}(hata_force_pflagsh]hata_force_pflags}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj{hhhj{hMXubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj"|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(h h]h }(hj/|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubh)}(hhh]j)}(hata_porth]hata_port}(hj@|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=|ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjB|modnameN classnameNj.j1)}j4]j$)}j*j|sbc.ata_force_pflagsasbuh1hhj|ubj)}(h h]h }(hj`|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj9)}(hj<h]h*}(hjn|hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|ubj)}(haph]hap}(hj{|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj|ubah}(h]h ]h"]h$]h&]jjuh1jdhj{hhhj{hMXubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj{hhhj{hMXubah}(h]j{ah ](jYjeh"]h$]h&]jj)jhuh1jhj{hMXhj{hhubj)}(hhh]h)}(h*force port flags according to libata.forceh]h*force port flags according to libata.force}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMPhj|hhubah}(h]h ]h"]h$]h&]uh1jhj{hhhj{hMXubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj|jj|jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_port *ap`` ATA port of interest Force port flags according to libata.force and whine about it. LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMThj|ubjQ)}(hhh]jV)}(h``struct ata_port *ap`` ATA port of interest Force port flags according to libata.force and whine about it. LOCKING: EH context.h](j\)}(h``struct ata_port *ap``h]jH)}(hj|h]hstruct ata_port *ap}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj|ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMUhj|ubjl)}(hhh](h)}(hATA port of interesth]hATA port of interest}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMQhj|ubh)}(h>Force port flags according to libata.force and whine about it.h]h>Force port flags according to libata.force and whine about it.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMShj|ubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMUhj|ubeh}(h]h ]h"]h$]h&]uh1jkhj|ubeh}(h]h ]h"]h$]h&]uh1jUhj|hMUhj|ubah}(h]h ]h"]h$]h&]uh1jPhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ata_force_link_limits (C function)c.ata_force_link_limitshNtauh1jhjxhhhNhNubj)}(hhh](j)}(h2void ata_force_link_limits (struct ata_link *link)h]j)}(h1void ata_force_link_limits(struct ata_link *link)h](j=)}(hvoidh]hvoid}(hj]}hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjY}hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM|ubj)}(h h]h }(hjl}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY}hhhjk}hM|ubjJ)}(hata_force_link_limitsh]j)}(hata_force_link_limitsh]hata_force_link_limits}(hj~}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz}ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjY}hhhjk}hM|ubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubh)}(hhh]j)}(hata_linkh]hata_link}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj}modnameN classnameNj.j1)}j4]j$)}j*j}sbc.ata_force_link_limitsasbuh1hhj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj9)}(hj<h]h*}(hj}hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj}ubj)}(hlinkh]hlink}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj}ubah}(h]h ]h"]h$]h&]jjuh1jdhjY}hhhjk}hM|ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjU}hhhjk}hM|ubah}(h]jP}ah ](jYjeh"]h$]h&]jj)jhuh1jhjk}hM|hjR}hhubj)}(hhh]h)}(h+force link limits according to libata.forceh]h+force link limits according to libata.force}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMmhj~hhubah}(h]h ]h"]h$]h&]uh1jhjR}hhhjk}hM|ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj5~jj5~jjjuh1jhhhjxhNhNubj)}(hXT**Parameters** ``struct ata_link *link`` ATA link of interest Force link flags and SATA spd limit according to libata.force and whine about it. When only the port part is specified (e.g. 1:), the limit applies to all links connected to both the host link and all fan-out ports connected via PMP. If the device part is specified as 0 (e.g. 1.00:), it specifies the first fan-out link not the host link. Device number 15 always points to the host link whether PMP is attached or not. If the controller has slave link, device number 16 points to it. LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hj?~h]h Parameters}(hjA~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=~ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMqhj9~ubjQ)}(hhh]jV)}(hX.``struct ata_link *link`` ATA link of interest Force link flags and SATA spd limit according to libata.force and whine about it. When only the port part is specified (e.g. 1:), the limit applies to all links connected to both the host link and all fan-out ports connected via PMP. If the device part is specified as 0 (e.g. 1.00:), it specifies the first fan-out link not the host link. Device number 15 always points to the host link whether PMP is attached or not. If the controller has slave link, device number 16 points to it. LOCKING: EH context.h](j\)}(h``struct ata_link *link``h]jH)}(hj^~h]hstruct ata_link *link}(hj`~hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj\~ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMyhjX~ubjl)}(hhh](h)}(hATA link of interesth]hATA link of interest}(hjw~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMnhjt~ubh)}(hXForce link flags and SATA spd limit according to libata.force and whine about it. When only the port part is specified (e.g. 1:), the limit applies to all links connected to both the host link and all fan-out ports connected via PMP. If the device part is specified as 0 (e.g. 1.00:), it specifies the first fan-out link not the host link. Device number 15 always points to the host link whether PMP is attached or not. If the controller has slave link, device number 16 points to it.h]hXForce link flags and SATA spd limit according to libata.force and whine about it. When only the port part is specified (e.g. 1:), the limit applies to all links connected to both the host link and all fan-out ports connected via PMP. If the device part is specified as 0 (e.g. 1.00:), it specifies the first fan-out link not the host link. Device number 15 always points to the host link whether PMP is attached or not. If the controller has slave link, device number 16 points to it.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMphjt~ubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs~hMyhjt~ubeh}(h]h ]h"]h$]h&]uh1jkhjX~ubeh}(h]h ]h"]h$]h&]uh1jUhjs~hMyhjU~ubah}(h]h ]h"]h$]h&]uh1jPhj9~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_force_xfermask (C function)c.ata_force_xfermaskhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h0void ata_force_xfermask (struct ata_device *dev)h]j)}(h/void ata_force_xfermask(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hj~hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj~hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhj~hMubjJ)}(hata_force_xfermaskh]j)}(hata_force_xfermaskh]hata_force_xfermask}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj~hhhj~hMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj2modnameN classnameNj.j1)}j4]j$)}j*j~sbc.ata_force_xfermaskasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj^hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj ubah}(h]h ]h"]h$]h&]jjuh1jdhj~hhhj~hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj~hhhj~hMubah}(h]j~ah ](jYjeh"]h$]h&]jj)jhuh1jhj~hMhj~hhubj)}(hhh]h)}(h(force xfermask according to libata.forceh]h(force xfermask according to libata.force}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj~hhhj~hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX **Parameters** ``struct ata_device *dev`` ATA device of interest Force xfer_mask according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link. LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h``struct ata_device *dev`` ATA device of interest Force xfer_mask according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link. LOCKING: EH context.h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hATA device of interesth]hATA device of interest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hForce xfer_mask according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link.h]hForce xfer_mask according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_force_quirks (C function)c.ata_force_quirkshNtauh1jhjxhhhNhNubj)}(hhh](j)}(h.void ata_force_quirks (struct ata_device *dev)h]j)}(h-void ata_force_quirks(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjIhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhj[hMubjJ)}(hata_force_quirksh]j)}(hata_force_quirksh]hata_force_quirks}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjIhhhj[hMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jpsbc.ata_force_quirksasbuh1hhjubj)}(h h]h }(hjȀhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjրhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjIhhhj[hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjEhhhj[hMubah}(h]j@ah ](jYjeh"]h$]h&]jj)jhuh1jhj[hMhjBhhubj)}(hhh]h)}(h&force quirks according to libata.forceh]h&force quirks according to libata.force}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj hhubah}(h]h ]h"]h$]h&]uh1jhjBhhhj[hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj%jj%jjjuh1jhhhjxhNhNubj)}(hX **Parameters** ``struct ata_device *dev`` ATA device of interest Force quirks according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link. LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj)ubjQ)}(hhh]jV)}(h``struct ata_device *dev`` ATA device of interest Force quirks according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link. LOCKING: EH context.h](j\)}(h``struct ata_device *dev``h]jH)}(hjNh]hstruct ata_device *dev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjLubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjHubjl)}(hhh](h)}(hATA device of interesth]hATA device of interest}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjdubh)}(hForce quirks according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link.h]hForce quirks according to libata.force and whine about it. For consistency with link selection, device number 15 selects the first device connected to the host link.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjdubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubeh}(h]h ]h"]h$]h&]uh1jkhjHubeh}(h]h ]h"]h$]h&]uh1jUhjchMhjEubah}(h]h ]h"]h$]h&]uh1jPhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#ata_set_rwcmd_protocol (C function)c.ata_set_rwcmd_protocolhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hMbool ata_set_rwcmd_protocol (struct ata_device *dev, struct ata_taskfile *tf)h]j)}(hLbool ata_set_rwcmd_protocol(struct ata_device *dev, struct ata_taskfile *tf)h](j=)}(hj+Sh]hbool}(hjŁhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM]ubj)}(h h]h }(hjӁhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjҁhM]ubjJ)}(hata_set_rwcmd_protocolh]j)}(hata_set_rwcmd_protocolh]hata_set_rwcmd_protocol}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjҁhM]ubje)}(h1(struct ata_device *dev, struct ata_taskfile *tf)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj!modnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_set_rwcmd_protocolasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjMhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_taskfile *tfh](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubh)}(hhh]j)}(h ata_taskfileh]h ata_taskfile}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j;c.ata_set_rwcmd_protocolasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjoubj)}(htfh]htf}(hjʂhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjҁhM]ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjҁhM]ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjҁhM]hjhhubj)}(hhh]h)}(h%set taskfile r/w command and protocolh]h%set taskfile r/w command and protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMShjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjҁhM]ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj jj jjjuh1jhhhjxhNhNubj)}(hX!**Parameters** ``struct ata_device *dev`` target device for the taskfile ``struct ata_taskfile *tf`` taskfile to examine and configure Examine the device configuration and tf->flags to determine the proper read/write command and protocol to use for **tf**. LOCKING: caller.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMWhjubjQ)}(hhh](jV)}(h:``struct ata_device *dev`` target device for the taskfile h](j\)}(h``struct ata_device *dev``h]jH)}(hj5h]hstruct ata_device *dev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj3ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMThj/ubjl)}(hhh]h)}(htarget device for the taskfileh]htarget device for the taskfile}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMThjKubah}(h]h ]h"]h$]h&]uh1jkhj/ubeh}(h]h ]h"]h$]h&]uh1jUhjJhMThj,ubjV)}(h``struct ata_taskfile *tf`` taskfile to examine and configure Examine the device configuration and tf->flags to determine the proper read/write command and protocol to use for **tf**. LOCKING: caller.h](j\)}(h``struct ata_taskfile *tf``h]jH)}(hjnh]hstruct ata_taskfile *tf}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjlubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMZhjhubjl)}(hhh](h)}(h!taskfile to examine and configureh]h!taskfile to examine and configure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMUhjubh)}(hyExamine the device configuration and tf->flags to determine the proper read/write command and protocol to use for **tf**.h](hrExamine the device configuration and tf->flags to determine the proper read/write command and protocol to use for }(hjhhhNhNubj)}(h**tf**h]htf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMWhjubh)}(hLOCKING: caller.h]hLOCKING: caller.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubeh}(h]h ]h"]h$]h&]uh1jkhjhubeh}(h]h ]h"]h$]h&]uh1jUhjhMZhj,ubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_tf_read_block (C function)c.ata_tf_read_blockhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hMu64 ata_tf_read_block (const struct ata_taskfile *tf, struct ata_device *dev)h]j)}(hLu64 ata_tf_read_block(const struct ata_taskfile *tf, struct ata_device *dev)h](h)}(hhh]j)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*ata_tf_read_blocksbc.ata_tf_read_blockasbuh1hhjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_tf_read_blockh]j)}(hjh]hata_tf_read_block}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h7(const struct ata_taskfile *tf, struct ata_device *dev)h](jk)}(hconst struct ata_taskfile *tfh](j)}(hj'h]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubh)}(hhh]j)}(h ata_taskfileh]h ata_taskfile}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_tf_read_blockasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjEubj)}(htfh]htf}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjAubjk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjԄhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЄubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЄubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_tf_read_blockasbuh1hhjЄubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЄubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjЄubj)}(hdevh]hdev}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЄubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjAubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h$Read block address from ATA taskfileh]h$Read block address from ATA taskfile}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM~hjRhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjmjjmjjjuh1jhhhjxhNhNubj)}(hXx**Parameters** ``const struct ata_taskfile *tf`` ATA taskfile of interest ``struct ata_device *dev`` ATA device **tf** belongs to LOCKING: None. Read block address from **tf**. This function can handle all three address formats - LBA, LBA48 and CHS. tf->protocol and flags select the address format to use. **Return** Block address read from **tf**.h](h)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjqubjQ)}(hhh](jV)}(h;``const struct ata_taskfile *tf`` ATA taskfile of interest h](j\)}(h!``const struct ata_taskfile *tf``h]jH)}(hjh]hconst struct ata_taskfile *tf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(hATA taskfile of interesth]hATA taskfile of interest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``struct ata_device *dev`` ATA device **tf** belongs to LOCKING: None. Read block address from **tf**. This function can handle all three address formats - LBA, LBA48 and CHS. tf->protocol and flags select the address format to use. h](j\)}(h``struct ata_device *dev``h]jH)}(hjυh]hstruct ata_device *dev}(hjхhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjͅubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjɅubjl)}(hhh](h)}(hATA device **tf** belongs toh](h ATA device }(hjhhhNhNubj)}(h**tf**h]htf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh belongs to}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hLOCKING: None.h]hLOCKING: None.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hRead block address from **tf**. This function can handle all three address formats - LBA, LBA48 and CHS. tf->protocol and flags select the address format to use.h](hRead block address from }(hjhhhNhNubj)}(h**tf**h]htf}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. This function can handle all three address formats - LBA, LBA48 and CHS. tf->protocol and flags select the address format to use.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjɅubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjqubh)}(h **Return**h]j)}(hjMh]hReturn}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjqubj)}(hBlock address read from **tf**.h]h)}(hjeh](hBlock address read from }(hjghhhNhNubj)}(h**tf**h]htf}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjcubah}(h]h ]h"]h$]h&]uh1jhjhMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_build_rw_tf (C function)c.ata_build_rw_tfhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hrint ata_build_rw_tf (struct ata_queued_cmd *qc, u64 block, u32 n_block, unsigned int tf_flags, int cdl, int class)h]j)}(hqint ata_build_rw_tf(struct ata_queued_cmd *qc, u64 block, u32 n_block, unsigned int tf_flags, int cdl, int class)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_build_rw_tfh]j)}(hata_build_rw_tfh]hata_build_rw_tf}(hjΆhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʆubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h^(struct ata_queued_cmd *qc, u64 block, u32 n_block, unsigned int tf_flags, int cdl, int class)h](jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj modnameN classnameNj.j1)}j4]j$)}j*jІsbc.ata_build_rw_tfasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj6hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h u64 blockh](h)}(hhh]j)}(hu64h]hu64}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjamodnameN classnameNj.j1)}j4]j$c.ata_build_rw_tfasbuh1hhjXubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(hblockh]hblock}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h u32 n_blockh](h)}(hhh]j)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$c.ata_build_rw_tfasbuh1hhjubj)}(h h]h }(hjŇhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hn_blockh]hn_block}(hjӇhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int tf_flagsh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(htf_flagsh]htf_flags}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hint cdlh](j=)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj9ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(hcdlh]hcdl}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h int classh](j=)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(hclassh]hclass}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h/Build ATA taskfile for given read/write requesth]h/Build ATA taskfile for given read/write request}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjЈjjЈjjjuh1jhhhjxhNhNubj)}(hX/**Parameters** ``struct ata_queued_cmd *qc`` Metadata associated with the taskfile to build ``u64 block`` Block address ``u32 n_block`` Number of blocks ``unsigned int tf_flags`` RW/FUA etc... ``int cdl`` Command duration limit index ``int class`` IO priority class LOCKING: None. Build ATA taskfile for the command **qc** for read/write request described by **block**, **n_block**, **tf_flags** and **class**. **Return** 0 on success, -ERANGE if the request is too large for **dev**, -EINVAL if the request is invalid.h](h)}(h**Parameters**h]j)}(hjڈh]h Parameters}(hj܈hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؈ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjԈubjQ)}(hhh](jV)}(hM``struct ata_queued_cmd *qc`` Metadata associated with the taskfile to build h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h.Metadata associated with the taskfile to buildh]h.Metadata associated with the taskfile to build}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``u64 block`` Block address h](j\)}(h ``u64 block``h]jH)}(hj2h]h u64 block}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj0ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj,ubjl)}(hhh]h)}(h Block addressh]h Block address}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jkhj,ubeh}(h]h ]h"]h$]h&]uh1jUhjGhMhjubjV)}(h!``u32 n_block`` Number of blocks h](j\)}(h``u32 n_block``h]jH)}(hjkh]h u32 n_block}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjiubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjeubjl)}(hhh]h)}(hNumber of blocksh]hNumber of blocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjeubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h(``unsigned int tf_flags`` RW/FUA etc... h](j\)}(h``unsigned int tf_flags``h]jH)}(hjh]hunsigned int tf_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h RW/FUA etc...h]h RW/FUA etc...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h)``int cdl`` Command duration limit index h](j\)}(h ``int cdl``h]jH)}(hj݉h]hint cdl}(hj߉hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjۉubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj׉ubjl)}(hhh]h)}(hCommand duration limit indexh]hCommand duration limit index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhj׉ubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``int class`` IO priority class LOCKING: None. Build ATA taskfile for the command **qc** for read/write request described by **block**, **n_block**, **tf_flags** and **class**. h](j\)}(h ``int class``h]jH)}(hjh]h int class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hIO priority classh]hIO priority class}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj,ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj,ubh)}(hBuild ATA taskfile for the command **qc** for read/write request described by **block**, **n_block**, **tf_flags** and **class**.h](h#Build ATA taskfile for the command }(hjMhhhNhNubj)}(h**qc**h]hqc}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh% for read/write request described by }(hjMhhhNhNubj)}(h **block**h]hblock}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh, }(hjMhhhNhNubj)}(h **n_block**h]hn_block}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh, }hjMsbj)}(h **tf_flags**h]htf_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh and }(hjMhhhNhNubj)}(h **class**h]hclass}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj,ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj+hMhjubeh}(h]h ]h"]h$]h&]uh1jPhjԈubh)}(h **Return**h]j)}(hjʊh]hReturn}(hj̊hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȊubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjԈubj)}(ha0 on success, -ERANGE if the request is too large for **dev**, -EINVAL if the request is invalid.h]h)}(ha0 on success, -ERANGE if the request is too large for **dev**, -EINVAL if the request is invalid.h](h60 on success, -ERANGE if the request is too large for }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$, -EINVAL if the request is invalid.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjԈubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_unpack_xfermask (C function)c.ata_unpack_xfermaskhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h|void ata_unpack_xfermask (unsigned int xfer_mask, unsigned int *pio_mask, unsigned int *mwdma_mask, unsigned int *udma_mask)h]j)}(h{void ata_unpack_xfermask(unsigned int xfer_mask, unsigned int *pio_mask, unsigned int *mwdma_mask, unsigned int *udma_mask)h](j=)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj'hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMnubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj9hMnubjJ)}(hata_unpack_xfermaskh]j)}(hata_unpack_xfermaskh]hata_unpack_xfermask}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj'hhhj9hMnubje)}(hc(unsigned int xfer_mask, unsigned int *pio_mask, unsigned int *mwdma_mask, unsigned int *udma_mask)h](jk)}(hunsigned int xfer_maskh](j=)}(hunsignedh]hunsigned}(hjhhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjdubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h xfer_maskh]h xfer_mask}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj`ubjk)}(hunsigned int *pio_maskh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjNjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjՋhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hpio_maskh]hpio_mask}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj`ubjk)}(hunsigned int *mwdma_maskh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjOhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(h mwdma_maskh]h mwdma_mask}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj`ubjk)}(hunsigned int *udma_maskh](j=)}(hunsignedh]hunsigned}(hjuhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjqubj)}(h udma_maskh]h udma_mask}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj`ubeh}(h]h ]h"]h$]h&]jjuh1jdhj'hhhj9hMnubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj#hhhj9hMnubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj9hMnhj hhubj)}(hhh]h)}(h/Unpack xfer_mask into pio, mwdma and udma masksh]h/Unpack xfer_mask into pio, mwdma and udma masks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMehjhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj9hMnubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hXT**Parameters** ``unsigned int xfer_mask`` xfer_mask to unpack ``unsigned int *pio_mask`` resulting pio_mask ``unsigned int *mwdma_mask`` resulting mwdma_mask ``unsigned int *udma_mask`` resulting udma_mask Unpack **xfer_mask** into **pio_mask**, **mwdma_mask** and **udma_mask**. Any NULL destination masks will be ignored.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMihjubjQ)}(hhh](jV)}(h/``unsigned int xfer_mask`` xfer_mask to unpack h](j\)}(h``unsigned int xfer_mask``h]jH)}(hj%h]hunsigned int xfer_mask}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj#ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMfhjubjl)}(hhh]h)}(hxfer_mask to unpackh]hxfer_mask to unpack}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMfhj;ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj:hMfhjubjV)}(h.``unsigned int *pio_mask`` resulting pio_mask h](j\)}(h``unsigned int *pio_mask``h]jH)}(hj^h]hunsigned int *pio_mask}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj\ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMghjXubjl)}(hhh]h)}(hresulting pio_maskh]hresulting pio_mask}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMghjtubah}(h]h ]h"]h$]h&]uh1jkhjXubeh}(h]h ]h"]h$]h&]uh1jUhjshMghjubjV)}(h2``unsigned int *mwdma_mask`` resulting mwdma_mask h](j\)}(h``unsigned int *mwdma_mask``h]jH)}(hjh]hunsigned int *mwdma_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhhjubjl)}(hhh]h)}(hresulting mwdma_maskh]hresulting mwdma_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhhjubjV)}(h``unsigned int *udma_mask`` resulting udma_mask Unpack **xfer_mask** into **pio_mask**, **mwdma_mask** and **udma_mask**. Any NULL destination masks will be ignored.h](j\)}(h``unsigned int *udma_mask``h]jH)}(hjЍh]hunsigned int *udma_mask}(hjҍhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj΍ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMkhjʍubjl)}(hhh](h)}(hresulting udma_maskh]hresulting udma_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMihjubh)}(huUnpack **xfer_mask** into **pio_mask**, **mwdma_mask** and **udma_mask**. Any NULL destination masks will be ignored.h](hUnpack }(hjhhhNhNubj)}(h **xfer_mask**h]h xfer_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh into }(hjhhhNhNubj)}(h **pio_mask**h]hpio_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**mwdma_mask**h]h mwdma_mask}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **udma_mask**h]h udma_mask}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. Any NULL destination masks will be ignored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMkhjubeh}(h]h ]h"]h$]h&]uh1jkhjʍubeh}(h]h ]h"]h$]h&]uh1jUhjhMkhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j(ata_read_native_max_address (C function)c.ata_read_native_max_addresshNtauh1jhjxhhhNhNubj)}(hhh](j)}(hJint ata_read_native_max_address (struct ata_device *dev, u64 *max_sectors)h]j)}(hIint ata_read_native_max_address(struct ata_device *dev, u64 *max_sectors)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj|hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhjhMubjJ)}(hata_read_native_max_addressh]j)}(hata_read_native_max_addressh]hata_read_native_max_address}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj|hhhjhMubje)}(h*(struct ata_device *dev, u64 *max_sectors)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjʎhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjێhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj؎ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjݎmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_read_native_max_addressasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu64 *max_sectorsh](h)}(hhh]j)}(hu64h]hu64}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj4modnameN classnameNj.j1)}j4]jc.ata_read_native_max_addressasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj9)}(hj<h]h*}(hj^hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj+ubj)}(h max_sectorsh]h max_sectors}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj|hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjxhhhjhMubah}(h]jsah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjuhhubj)}(hhh]h)}(hRead native max addressh]hRead native max address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjuhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX7**Parameters** ``struct ata_device *dev`` target device ``u64 *max_sectors`` out parameter for the result native max address Perform an LBA48 or LBA28 native size query upon the device in question. **Return** 0 on success, -EACCES if command is aborted by the drive. -EIO on other errors.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh](jV)}(h)``struct ata_device *dev`` target device h](j\)}(h``struct ata_device *dev``h]jH)}(hj֏h]hstruct ata_device *dev}(hj؏hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjԏubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjЏubjl)}(hhh]h)}(h target deviceh]h target device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjЏubeh}(h]h ]h"]h$]h&]uh1jUhjhMhj͏ubjV)}(h``u64 *max_sectors`` out parameter for the result native max address Perform an LBA48 or LBA28 native size query upon the device in question. h](j\)}(h``u64 *max_sectors``h]jH)}(hjh]hu64 *max_sectors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj ubjl)}(hhh](h)}(h/out parameter for the result native max addressh]h/out parameter for the result native max address}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj%ubh)}(hHPerform an LBA48 or LBA28 native size query upon the device in question.h]hHPerform an LBA48 or LBA28 native size query upon the device in question.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj%ubeh}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj$hMhj͏ubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjZh]hReturn}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubj)}(hO0 on success, -EACCES if command is aborted by the drive. -EIO on other errors.h]h)}(hO0 on success, -EACCES if command is aborted by the drive. -EIO on other errors.h]hO0 on success, -EACCES if command is aborted by the drive. -EIO on other errors.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjpubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_set_max_sectors (C function)c.ata_set_max_sectorshNtauh1jhjxhhhNhNubj)}(hhh](j)}(hAint ata_set_max_sectors (struct ata_device *dev, u64 new_sectors)h]j)}(h@int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_set_max_sectorsh]j)}(hata_set_max_sectorsh]hata_set_max_sectors}(hjʐhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƐubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h)(struct ata_device *dev, u64 new_sectors)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*j̐sbc.ata_set_max_sectorsasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj2hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjސubjk)}(hu64 new_sectorsh](h)}(hhh]j)}(hu64h]hu64}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj]modnameN classnameNj.j1)}j4]j c.ata_set_max_sectorsasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h new_sectorsh]h new_sectors}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjސubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hSet max sectorsh]hSet max sectors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjɑjjɑjjjuh1jhhhjxhNhNubj)}(hXM**Parameters** ``struct ata_device *dev`` target device ``u64 new_sectors`` new max sectors value to set for the device Set max sectors of **dev** to **new_sectors**. **Return** 0 on success, -EACCES if command is aborted or denied (due to previous non-volatile SET_MAX) by the drive. -EIO on other errors.h](h)}(h**Parameters**h]j)}(hjӑh]h Parameters}(hjՑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjёubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj͑ubjQ)}(hhh](jV)}(h)``struct ata_device *dev`` target device h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h target deviceh]h target device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(hp``u64 new_sectors`` new max sectors value to set for the device Set max sectors of **dev** to **new_sectors**. h](j\)}(h``u64 new_sectors``h]jH)}(hj+h]hu64 new_sectors}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj)ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj%ubjl)}(hhh](h)}(h+new max sectors value to set for the deviceh]h+new max sectors value to set for the device}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjAubh)}(h.Set max sectors of **dev** to **new_sectors**.h](hSet max sectors of }(hjShhhNhNubj)}(h**dev**h]hdev}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh to }(hjShhhNhNubj)}(h**new_sectors**h]h new_sectors}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj@hMhjAubeh}(h]h ]h"]h$]h&]uh1jkhj%ubeh}(h]h ]h"]h$]h&]uh1jUhj@hMhjubeh}(h]h ]h"]h$]h&]uh1jPhj͑ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj͑ubj)}(h0 on success, -EACCES if command is aborted or denied (due to previous non-volatile SET_MAX) by the drive. -EIO on other errors.h]h)}(h0 on success, -EACCES if command is aborted or denied (due to previous non-volatile SET_MAX) by the drive. -EIO on other errors.h]h0 on success, -EACCES if command is aborted or denied (due to previous non-volatile SET_MAX) by the drive. -EIO on other errors.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj͑ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_hpa_resize (C function)c.ata_hpa_resizehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h+int ata_hpa_resize (struct ata_device *dev)h]j)}(h*int ata_hpa_resize(struct ata_device *dev)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM$ubjJ)}(hata_hpa_resizeh]j)}(hata_hpa_resizeh]hata_hpa_resize}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM$ubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjEmodnameN classnameNj.j1)}j4]j$)}j*j sbc.ata_hpa_resizeasbuh1hhj!ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj9)}(hj<h]h*}(hjqhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj!ubj)}(hdevh]hdev}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM$ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM$ubah}(h]jےah ](jYjeh"]h$]h&]jj)jhuh1jhjhM$hjݒhhubj)}(hhh]h)}(hResize a device with an HPA seth]hResize a device with an HPA set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjݒhhhjhM$ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX+**Parameters** ``struct ata_device *dev`` Device to resize Read the size of an LBA28 or LBA48 disk with HPA features and resize it if required to the full size of the media. The caller must check the drive has the HPA feature set enabled. **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hjʓh]h Parameters}(hj̓hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȓubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjēubjQ)}(hhh]jV)}(h``struct ata_device *dev`` Device to resize Read the size of an LBA28 or LBA48 disk with HPA features and resize it if required to the full size of the media. The caller must check the drive has the HPA feature set enabled. h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hDevice to resizeh]hDevice to resize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hRead the size of an LBA28 or LBA48 disk with HPA features and resize it if required to the full size of the media. The caller must check the drive has the HPA feature set enabled.h]hRead the size of an LBA28 or LBA48 disk with HPA features and resize it if required to the full size of the media. The caller must check the drive has the HPA feature set enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjēubh)}(h **Return**h]j)}(hj4h]hReturn}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM!hjēubj)}(h 0 on success, -errno on failure.h]h)}(hjLh]h 0 on success, -errno on failure.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM!hjJubah}(h]h ]h"]h$]h&]uh1jhj[hM!hjēubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dump_id (C function) c.ata_dump_idhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h8void ata_dump_id (struct ata_device *dev, const u16 *id)h]j)}(h7void ata_dump_id(struct ata_device *dev, const u16 *id)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj~hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhjhMubjJ)}(h ata_dump_idh]j)}(h ata_dump_idh]h ata_dump_id}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj~hhhjhMubje)}(h'(struct ata_device *dev, const u16 *id)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj̔hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjݔhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڔubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjߔmodnameN classnameNj.j1)}j4]j$)}j*jsb c.ata_dump_idasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h const u16 *idh](j)}(hj'h]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubh)}(hhh]j)}(hu16h]hu16}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjQmodnameN classnameNj.j1)}j4]j c.ata_dump_idasbuh1hhj-ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj9)}(hj<h]h*}(hj{hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj-ubj)}(hidh]hid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj~hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjzhhhjhMubah}(h]juah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjwhhubj)}(hhh]h)}(h%IDENTIFY DEVICE info debugging outputh]h%IDENTIFY DEVICE info debugging output}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMzhjhhubah}(h]h ]h"]h$]h&]uh1jhjwhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjʕjjʕjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` device from which the information is fetched ``const u16 *id`` IDENTIFY DEVICE page to dump Dump selected 16-bit words from the given IDENTIFY DEVICE page. LOCKING: caller.h](h)}(h**Parameters**h]j)}(hjԕh]h Parameters}(hj֕hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҕubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM~hjΕubjQ)}(hhh](jV)}(hH``struct ata_device *dev`` device from which the information is fetched h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM{hjubjl)}(hhh]h)}(h,device from which the information is fetchedh]h,device from which the information is fetched}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM{hj ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM{hjubjV)}(h``const u16 *id`` IDENTIFY DEVICE page to dump Dump selected 16-bit words from the given IDENTIFY DEVICE page. LOCKING: caller.h](j\)}(h``const u16 *id``h]jH)}(hj,h]h const u16 *id}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj*ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj&ubjl)}(hhh](h)}(hIDENTIFY DEVICE page to dumph]hIDENTIFY DEVICE page to dump}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM|hjBubh)}(h?Dump selected 16-bit words from the given IDENTIFY DEVICE page.h]h?Dump selected 16-bit words from the given IDENTIFY DEVICE page.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM~hjBubh)}(hLOCKING: caller.h]hLOCKING: caller.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubeh}(h]h ]h"]h$]h&]uh1jkhj&ubeh}(h]h ]h"]h$]h&]uh1jUhjAhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjΕubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_exec_internal (C function)c.ata_exec_internalhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hunsigned int ata_exec_internal (struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, enum dma_data_direction dma_dir, void *buf, unsigned int buflen, unsigned int timeout)h]j)}(hunsigned int ata_exec_internal(struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, enum dma_data_direction dma_dir, void *buf, unsigned int buflen, unsigned int timeout)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhMubj)}(h h]h }(hjΖhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_exec_internalh]j)}(hata_exec_internalh]hata_exec_internal}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjܖubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, enum dma_data_direction dma_dir, void *buf, unsigned int buflen, unsigned int timeout)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_exec_internalasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjHhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_taskfile *tfh](j)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubh)}(hhh]j)}(h ata_taskfileh]h ata_taskfile}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j6c.ata_exec_internalasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjjubj)}(htfh]htf}(hjŗhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h const u8 *cdbh](j)}(hj'h]hconst}(hjޗhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڗubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڗubh)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j6c.ata_exec_internalasbuh1hhjڗubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڗubj9)}(hj<h]h*}(hj(hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjڗubj)}(hcdbh]hcdb}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڗubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(henum dma_data_direction dma_dirh](j)}(hjRh]henum}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubh)}(hhh]j)}(hdma_data_directionh]hdma_data_direction}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjnmodnameN classnameNj.j1)}j4]j6c.ata_exec_internalasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(hdma_dirh]hdma_dir}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h void *bufh](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj͘hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hbufh]hbuf}(hjژhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int buflenh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hbuflenh]hbuflen}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int timeouth](j=)}(hunsignedh]hunsigned}(hjDhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj@ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj=)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj@ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(htimeouth]htimeout}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hexecute libata internal commandh]hexecute libata internal command}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX\**Parameters** ``struct ata_device *dev`` Device to which the command is sent ``struct ata_taskfile *tf`` Taskfile registers for the command and the result ``const u8 *cdb`` CDB for packet command ``enum dma_data_direction dma_dir`` Data transfer direction of the command ``void *buf`` Data buffer of the command ``unsigned int buflen`` Length of data buffer ``unsigned int timeout`` Timeout in msecs (0 for default) Executes libata internal command with timeout. **tf** contains the command on entry and the result on return. Timeout and error conditions are reported via the return value. No recovery action is taken after a command times out. It is the caller's duty to clean up after timeout. LOCKING: None. Should be called with kernel context, might sleep. **Return** Zero on success, AC_ERR_* mask on failureh](h)}(h**Parameters**h]j)}(hjșh]h Parameters}(hjʙhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƙubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj™ubjQ)}(hhh](jV)}(h?``struct ata_device *dev`` Device to which the command is sent h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h#Device to which the command is senth]h#Device to which the command is sent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjޙubjV)}(hN``struct ata_taskfile *tf`` Taskfile registers for the command and the result h](j\)}(h``struct ata_taskfile *tf``h]jH)}(hj h]hstruct ata_taskfile *tf}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h1Taskfile registers for the command and the resulth]h1Taskfile registers for the command and the result}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj5hMhjޙubjV)}(h)``const u8 *cdb`` CDB for packet command h](j\)}(h``const u8 *cdb``h]jH)}(hjYh]h const u8 *cdb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjWubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjSubjl)}(hhh]h)}(hCDB for packet commandh]hCDB for packet command}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jkhjSubeh}(h]h ]h"]h$]h&]uh1jUhjnhMhjޙubjV)}(hK``enum dma_data_direction dma_dir`` Data transfer direction of the command h](j\)}(h#``enum dma_data_direction dma_dir``h]jH)}(hjh]henum dma_data_direction dma_dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h&Data transfer direction of the commandh]h&Data transfer direction of the command}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjޙubjV)}(h)``void *buf`` Data buffer of the command h](j\)}(h ``void *buf``h]jH)}(hj˚h]h void *buf}(hj͚hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjɚubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjŚubjl)}(hhh]h)}(hData buffer of the commandh]hData buffer of the command}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjŚubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjޙubjV)}(h.``unsigned int buflen`` Length of data buffer h](j\)}(h``unsigned int buflen``h]jH)}(hjh]hunsigned int buflen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(hLength of data bufferh]hLength of data buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjޙubjV)}(hX``unsigned int timeout`` Timeout in msecs (0 for default) Executes libata internal command with timeout. **tf** contains the command on entry and the result on return. Timeout and error conditions are reported via the return value. No recovery action is taken after a command times out. It is the caller's duty to clean up after timeout. LOCKING: None. Should be called with kernel context, might sleep. h](j\)}(h``unsigned int timeout``h]jH)}(hj=h]hunsigned int timeout}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj;ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj7ubjl)}(hhh](h)}(h Timeout in msecs (0 for default)h]h Timeout in msecs (0 for default)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjSubh)}(hXExecutes libata internal command with timeout. **tf** contains the command on entry and the result on return. Timeout and error conditions are reported via the return value. No recovery action is taken after a command times out. It is the caller's duty to clean up after timeout.h](h/Executes libata internal command with timeout. }(hjehhhNhNubj)}(h**tf**h]htf}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh contains the command on entry and the result on return. Timeout and error conditions are reported via the return value. No recovery action is taken after a command times out. It is the caller’s duty to clean up after timeout.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjSubh)}(hBLOCKING: None. Should be called with kernel context, might sleep.h]hBLOCKING: None. Should be called with kernel context, might sleep.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjSubeh}(h]h ]h"]h$]h&]uh1jkhj7ubeh}(h]h ]h"]h$]h&]uh1jUhjRhMhjޙubeh}(h]h ]h"]h$]h&]uh1jPhj™ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj™ubj)}(h)Zero on success, AC_ERR_* mask on failureh]h)}(hjh]h)Zero on success, AC_ERR_* mask on failure}(hjÛhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjЛhMhj™ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ata_pio_mask_no_iordy (C function)c.ata_pio_mask_no_iordyhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h9u32 ata_pio_mask_no_iordy (const struct ata_device *adev)h]j)}(h8u32 ata_pio_mask_no_iordy(const struct ata_device *adev)h](h)}(hhh]j)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*ata_pio_mask_no_iordysbc.ata_pio_mask_no_iordyasbuh1hhjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_pio_mask_no_iordyh]j)}(hjh]hata_pio_mask_no_iordy}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(const struct ata_device *adev)h]jk)}(hconst struct ata_device *adevh](j)}(hj'h]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_pio_mask_no_iordyasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjEubj)}(hadevh]hadev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjAubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hReturn the non IORDY maskh]hReturn the non IORDY mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``const struct ata_device *adev`` ATA device Compute the highest mode possible if we are not using iordy. Return -1 if no iordy mode is available.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h``const struct ata_device *adev`` ATA device Compute the highest mode possible if we are not using iordy. Return -1 if no iordy mode is available.h](j\)}(h!``const struct ata_device *adev``h]jH)}(hj&h]hconst struct ata_device *adev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj$ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj ubjl)}(hhh](h)}(h ATA deviceh]h ATA device}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj<ubh)}(heCompute the highest mode possible if we are not using iordy. Return -1 if no iordy mode is available.h]heCompute the highest mode possible if we are not using iordy. Return -1 if no iordy mode is available.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubeh}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj;hMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_read_id (C function)c.ata_dev_read_idhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h`int ata_dev_read_id (struct ata_device *dev, unsigned int *p_class, unsigned int flags, u16 *id)h]j)}(h_int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class, unsigned int flags, u16 *id)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_dev_read_idh]j)}(hata_dev_read_idh]hata_dev_read_id}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(hL(struct ata_device *dev, unsigned int *p_class, unsigned int flags, u16 *id)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj˝hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjǝubj)}(h h]h }(hj؝hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjǝubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_read_idasbuh1hhjǝubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjǝubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjǝubj)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjǝubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjÝubjk)}(hunsigned int *p_classh](j=)}(hunsignedh]hunsigned}(hj=hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj9ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj=)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj9ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj9)}(hj<h]h*}(hjuhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj9ubj)}(hp_classh]hp_class}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjÝubjk)}(hunsigned int flagsh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjŞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hflagsh]hflags}(hjӞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjÝubjk)}(hu16 *idh](h)}(hhh]j)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_dev_read_idasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hidh]hid}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjÝubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h&Read ID data from the specified deviceh]h&Read ID data from the specified device}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjjjuh1jhhhjxhNhNubj)}(hX~**Parameters** ``struct ata_device *dev`` target device ``unsigned int *p_class`` pointer to class of the target device (may be changed) ``unsigned int flags`` ATA_READID_* flags ``u16 *id`` buffer to read IDENTIFY data into Read ID data from the specified device. ATA_CMD_ID_ATA is performed on ATA devices and ATA_CMD_ID_ATAPI on ATAPI devices. This function also issues ATA_CMD_INIT_DEV_PARAMS for pre-ATA4 drives. FIXME: ATA_CMD_ID_ATA is optional for early drives and right now we abort if we hit that case. LOCKING: Kernel thread context (may sleep) **Return** 0 on success, -errno otherwise.h](h)}(h**Parameters**h]j)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjnubjQ)}(hhh](jV)}(h)``struct ata_device *dev`` target device h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h target deviceh]h target device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(hQ``unsigned int *p_class`` pointer to class of the target device (may be changed) h](j\)}(h``unsigned int *p_class``h]jH)}(hj̟h]hunsigned int *p_class}(hjΟhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjʟubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjƟubjl)}(hhh]h)}(h6pointer to class of the target device (may be changed)h]h6pointer to class of the target device (may be changed)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjƟubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h*``unsigned int flags`` ATA_READID_* flags h](j\)}(h``unsigned int flags``h]jH)}(hjh]hunsigned int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(hATA_READID_* flagsh]hATA_READID_* flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(hX~``u16 *id`` buffer to read IDENTIFY data into Read ID data from the specified device. ATA_CMD_ID_ATA is performed on ATA devices and ATA_CMD_ID_ATAPI on ATAPI devices. This function also issues ATA_CMD_INIT_DEV_PARAMS for pre-ATA4 drives. FIXME: ATA_CMD_ID_ATA is optional for early drives and right now we abort if we hit that case. LOCKING: Kernel thread context (may sleep) h](j\)}(h ``u16 *id``h]jH)}(hj>h]hu16 *id}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj<ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj8ubjl)}(hhh](h)}(h!buffer to read IDENTIFY data intoh]h!buffer to read IDENTIFY data into}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjTubh)}(hRead ID data from the specified device. ATA_CMD_ID_ATA is performed on ATA devices and ATA_CMD_ID_ATAPI on ATAPI devices. This function also issues ATA_CMD_INIT_DEV_PARAMS for pre-ATA4 drives.h]hRead ID data from the specified device. ATA_CMD_ID_ATA is performed on ATA devices and ATA_CMD_ID_ATAPI on ATAPI devices. This function also issues ATA_CMD_INIT_DEV_PARAMS for pre-ATA4 drives.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjTubh)}(h^FIXME: ATA_CMD_ID_ATA is optional for early drives and right now we abort if we hit that case.h]h^FIXME: ATA_CMD_ID_ATA is optional for early drives and right now we abort if we hit that case.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjTubh)}(h*LOCKING: Kernel thread context (may sleep)h]h*LOCKING: Kernel thread context (may sleep)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjTubeh}(h]h ]h"]h$]h&]uh1jkhj8ubeh}(h]h ]h"]h$]h&]uh1jUhjShMhjubeh}(h]h ]h"]h$]h&]uh1jPhjnubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjnubj)}(h0 on success, -errno otherwise.h]h)}(hjh]h0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjΠhMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&ata_dev_power_set_standby (C function)c.ata_dev_power_set_standbyhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h7void ata_dev_power_set_standby (struct ata_device *dev)h]j)}(h6void ata_dev_power_set_standby(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_dev_power_set_standbyh]j)}(hata_dev_power_set_standbyh]hata_dev_power_set_standby}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjRmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_power_set_standbyasbuh1hhj.ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj9)}(hj<h]h*}(hj~hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj.ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj*ubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h"Set a device power mode to standbyh]h"Set a device power mode to standby}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj͡jj͡jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` target device Issue a STANDBY IMMEDIATE command to set a device power mode to standby. For an HDD device, this spins down the disks. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjסh]h Parameters}(hj١hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjաubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjѡubjQ)}(hhh]jV)}(h``struct ata_device *dev`` target device Issue a STANDBY IMMEDIATE command to set a device power mode to standby. For an HDD device, this spins down the disks. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(h target deviceh]h target device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj ubh)}(hvIssue a STANDBY IMMEDIATE command to set a device power mode to standby. For an HDD device, this spins down the disks.h]hvIssue a STANDBY IMMEDIATE command to set a device power mode to standby. For an HDD device, this spins down the disks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj ubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj hMhjubah}(h]h ]h"]h$]h&]uh1jPhjѡubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%ata_dev_power_set_active (C function)c.ata_dev_power_set_activehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h6void ata_dev_power_set_active (struct ata_device *dev)h]j)}(h5void ata_dev_power_set_active(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjihhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhj{hMubjJ)}(hata_dev_power_set_activeh]j)}(hata_dev_power_set_activeh]hata_dev_power_set_active}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjihhhj{hMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjȢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŢubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjʢmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_power_set_activeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjihhhj{hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjehhhj{hMubah}(h]j`ah ](jYjeh"]h$]h&]jj)jhuh1jhj{hMhjbhhubj)}(hhh]h)}(h!Set a device power mode to activeh]h!Set a device power mode to active}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj*hhubah}(h]h ]h"]h$]h&]uh1jhjbhhhj{hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjEjjEjjjuh1jhhhjxhNhNubj)}(hX5**Parameters** ``struct ata_device *dev`` target device Issue a VERIFY command to enter to ensure that the device is in the active power mode. For a spun-down HDD (standby or idle power mode), the VERIFY command will complete after the disk spins up. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjIubjQ)}(hhh]jV)}(hX``struct ata_device *dev`` target device Issue a VERIFY command to enter to ensure that the device is in the active power mode. For a spun-down HDD (standby or idle power mode), the VERIFY command will complete after the disk spins up. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_device *dev``h]jH)}(hjnh]hstruct ata_device *dev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjlubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjhubjl)}(hhh](h)}(h target deviceh]h target device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hIssue a VERIFY command to enter to ensure that the device is in the active power mode. For a spun-down HDD (standby or idle power mode), the VERIFY command will complete after the disk spins up.h]hIssue a VERIFY command to enter to ensure that the device is in the active power mode. For a spun-down HDD (standby or idle power mode), the VERIFY command will complete after the disk spins up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubeh}(h]h ]h"]h$]h&]uh1jkhjhubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjeubah}(h]h ]h"]h$]h&]uh1jPhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_read_log_page (C function)c.ata_read_log_pagehNtauh1jhjxhhhNhNubj)}(hhh](j)}(hiunsigned int ata_read_log_page (struct ata_device *dev, u8 log, u8 page, void *buf, unsigned int sectors)h]j)}(hhunsigned int ata_read_log_page(struct ata_device *dev, u8 log, u8 page, void *buf, unsigned int sectors)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM9ubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhM9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM9ubjJ)}(hata_read_log_pageh]j)}(hata_read_log_pageh]hata_read_log_page}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM9ubje)}(hJ(struct ata_device *dev, u8 log, u8 page, void *buf, unsigned int sectors)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj^modnameN classnameNj.j1)}j4]j$)}j*j$sbc.ata_read_log_pageasbuh1hhj:ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj:ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hu8 logh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jxc.ata_read_log_pageasbuh1hhjubj)}(h h]h }(hjѤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hlogh]hlog}(hjߤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hu8 pageh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jxc.ata_read_log_pageasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hpageh]hpage}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(h void *bufh](j=)}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj<ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj9)}(hj<h]h*}(hj\hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj<ubj)}(hbufh]hbuf}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hunsigned int sectorsh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj)}(hsectorsh]hsectors}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM9ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjݣhhhjhM9ubah}(h]jأah ](jYjeh"]h$]h&]jj)jhuh1jhjhM9hjڣhhubj)}(hhh]h)}(hread a specific log pageh]hread a specific log page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM*hjhhubah}(h]h ]h"]h$]h&]uh1jhjڣhhhjhM9ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hXh**Parameters** ``struct ata_device *dev`` target device ``u8 log`` log to read ``u8 page`` page to read ``void *buf`` buffer to store read page ``unsigned int sectors`` number of sectors to read Read log page using READ_LOG_EXT command. LOCKING: Kernel thread context (may sleep). **Return** 0 on success, AC_ERR_* mask otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM.hjubjQ)}(hhh](jV)}(h)``struct ata_device *dev`` target device h](j\)}(h``struct ata_device *dev``h]jH)}(hj%h]hstruct ata_device *dev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj#ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM+hjubjl)}(hhh]h)}(h target deviceh]h target device}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM+hj;ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj:hM+hjubjV)}(h``u8 log`` log to read h](j\)}(h ``u8 log``h]jH)}(hj^h]hu8 log}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj\ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM,hjXubjl)}(hhh]h)}(h log to readh]h log to read}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshM,hjtubah}(h]h ]h"]h$]h&]uh1jkhjXubeh}(h]h ]h"]h$]h&]uh1jUhjshM,hjubjV)}(h``u8 page`` page to read h](j\)}(h ``u8 page``h]jH)}(hjh]hu8 page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM-hjubjl)}(hhh]h)}(h page to readh]h page to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM-hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM-hjubjV)}(h(``void *buf`` buffer to store read page h](j\)}(h ``void *buf``h]jH)}(hjЦh]h void *buf}(hjҦhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjΦubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM.hjʦubjl)}(hhh]h)}(hbuffer to store read pageh]hbuffer to store read page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM.hjubah}(h]h ]h"]h$]h&]uh1jkhjʦubeh}(h]h ]h"]h$]h&]uh1jUhjhM.hjubjV)}(h``unsigned int sectors`` number of sectors to read Read log page using READ_LOG_EXT command. LOCKING: Kernel thread context (may sleep). h](j\)}(h``unsigned int sectors``h]jH)}(hj h]hunsigned int sectors}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM4hjubjl)}(hhh](h)}(hnumber of sectors to readh]hnumber of sectors to read}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM/hjubh)}(h)Read log page using READ_LOG_EXT command.h]h)Read log page using READ_LOG_EXT command.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM1hjubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM3hjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM4hjubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjch]hReturn}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM6hjubj)}(h&0 on success, AC_ERR_* mask otherwise.h]h)}(hj{h]h&0 on success, AC_ERR_* mask otherwise.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM6hjyubah}(h]h ]h"]h$]h&]uh1jhjhM6hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_configure (C function)c.ata_dev_configurehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h.int ata_dev_configure (struct ata_device *dev)h]j)}(h-int ata_dev_configure(struct ata_device *dev)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjJ)}(hata_dev_configureh]j)}(hata_dev_configureh]hata_dev_configure}(hjҧhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjΧubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM ubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jԧsbc.ata_dev_configureasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj:hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(h(Configure the specified ATA/ATAPI deviceh]h(Configure the specified ATA/ATAPI device}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjnhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Target device to configure Configure **dev** according to **dev->id**. Generic and low-level driver specific fixups are also applied. LOCKING: Kernel thread context (may sleep) **Return** 0 on success, -errno otherwiseh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjubjQ)}(hhh]jV)}(h``struct ata_device *dev`` Target device to configure Configure **dev** according to **dev->id**. Generic and low-level driver specific fixups are also applied. LOCKING: Kernel thread context (may sleep) h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjubjl)}(hhh](h)}(hTarget device to configureh]hTarget device to configure}(hj˨hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjȨubh)}(hkConfigure **dev** according to **dev->id**. Generic and low-level driver specific fixups are also applied.h](h Configure }(hjڨhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڨubh according to }(hjڨhhhNhNubj)}(h **dev->id**h]hdev->id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڨubhA. Generic and low-level driver specific fixups are also applied.}(hjڨhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjȨubh)}(h*LOCKING: Kernel thread context (may sleep)h]h*LOCKING: Kernel thread context (may sleep)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjȨubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjǨhM hjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hj0h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjubj)}(h0 on success, -errno otherwiseh]h)}(hjHh]h0 on success, -errno otherwise}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjFubah}(h]h ]h"]h$]h&]uh1jhjWhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#sata_print_link_status (C function)c.sata_print_link_statushNtauh1jhjxhhhNhNubj)}(hhh](j)}(h3void sata_print_link_status (struct ata_link *link)h]j)}(h2void sata_print_link_status(struct ata_link *link)h](j=)}(hvoidh]hvoid}(hj~hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjzhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMu ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhjhMu ubjJ)}(hsata_print_link_statush]j)}(hsata_print_link_statush]hsata_print_link_status}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjzhhhjhMu ubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjȩhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hj٩hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֩ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj۩modnameN classnameNj.j1)}j4]j$)}j*jsbc.sata_print_link_statusasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjzhhhjhMu ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjvhhhjhMu ubah}(h]jqah ](jYjeh"]h$]h&]jj)jhuh1jhjhMu hjshhubj)}(hhh]h)}(hPrint SATA link statush]hPrint SATA link status}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMm hj;hhubah}(h]h ]h"]h$]h&]uh1jhjshhhjhMu ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjVjjVjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_link *link`` SATA link to printk link status about This function prints link speed and status of a SATA link. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMq hjZubjQ)}(hhh]jV)}(h``struct ata_link *link`` SATA link to printk link status about This function prints link speed and status of a SATA link. LOCKING: None.h](j\)}(h``struct ata_link *link``h]jH)}(hjh]hstruct ata_link *link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj}ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMr hjyubjl)}(hhh](h)}(h%SATA link to printk link status abouth]h%SATA link to printk link status about}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMn hjubh)}(h:This function prints link speed and status of a SATA link.h]h:This function prints link speed and status of a SATA link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMp hjubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMr hjubeh}(h]h ]h"]h$]h&]uh1jkhjyubeh}(h]h ]h"]h$]h&]uh1jUhjhMr hjvubah}(h]h ]h"]h$]h&]uh1jPhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ata_timing_cycle2mode (C function)c.ata_timing_cycle2modehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h=u8 ata_timing_cycle2mode (unsigned int xfer_shift, int cycle)h]j)}(h``unsigned long deadline`` deadline jiffies for the operation h](j\)}(h``unsigned long deadline``h]jH)}(hjh]hunsigned long deadline}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjubjl)}(hhh]h)}(h"deadline jiffies for the operationh]h"deadline jiffies for the operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjıubjV)}(hXs``int (*check_ready)(struct ata_link *link)`` callback to check link readiness Wait for **link** to become ready. **check_ready** should return positive number if **link** is ready, 0 if it isn't, -ENODEV if link doesn't seem to be occupied, other errno for other error conditions. Transient -ENODEV conditions are allowed for ATA_TMOUT_FF_WAIT. LOCKING: EH context. h](j\)}(h-``int (*check_ready)(struct ata_link *link)``h]jH)}(hj?h]h)int (*check_ready)(struct ata_link *link)}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj=ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hj9ubjl)}(hhh](h)}(h callback to check link readinessh]h callback to check link readiness}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjUubh)}(hWait for **link** to become ready. **check_ready** should return positive number if **link** is ready, 0 if it isn't, -ENODEV if link doesn't seem to be occupied, other errno for other error conditions.h](h Wait for }(hjghhhNhNubj)}(h**link**h]hlink}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh to become ready. }(hjghhhNhNubj)}(h**check_ready**h]h check_ready}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh" should return positive number if }(hjghhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubhr is ready, 0 if it isn’t, -ENODEV if link doesn’t seem to be occupied, other errno for other error conditions.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjUubh)}(h?Transient -ENODEV conditions are allowed for ATA_TMOUT_FF_WAIT.h]h?Transient -ENODEV conditions are allowed for ATA_TMOUT_FF_WAIT.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjUubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjUubeh}(h]h ]h"]h$]h&]uh1jkhj9ubeh}(h]h ]h"]h$]h&]uh1jUhjThM hjıubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hj޲h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܲubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjubj)}(h>0 if **link** is ready before **deadline**; otherwise, -errno.h]h)}(hjh](h0 if }(hjhhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is ready before }(hjhhhNhNubj)}(h **deadline**h]hdeadline}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; otherwise, -errno.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjubah}(h]h ]h"]h$]h&]uh1jhj)hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_dev_same_device (C function)c.ata_dev_same_devicehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h[int ata_dev_same_device (struct ata_device *dev, unsigned int new_class, const u16 *new_id)h]j)}(hZint ata_dev_same_device(struct ata_device *dev, unsigned int new_class, const u16 *new_id)h](j=)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjLhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhj^hMubjJ)}(hata_dev_same_deviceh]j)}(hata_dev_same_deviceh]hata_dev_same_device}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjLhhhj^hMubje)}(hC(struct ata_device *dev, unsigned int new_class, const u16 *new_id)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jssbc.ata_dev_same_deviceasbuh1hhjubj)}(h h]h }(hj˳hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjٳhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int new_classh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h new_classh]h new_class}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hconst u16 *new_idh](j)}(hj'h]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubh)}(hhh]j)}(hu16h]hu16}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjpmodnameN classnameNj.j1)}j4]jdzc.ata_dev_same_deviceasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjLubj)}(hnew_idh]hnew_id}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjLhhhj^hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjHhhhj^hMubah}(h]jCah ](jYjeh"]h$]h&]jj)jhuh1jhj^hMhjEhhubj)}(hhh]h)}(h2Determine whether new ID matches configured deviceh]h2Determine whether new ID matches configured device}(hjѴhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjδhhubah}(h]h ]h"]h$]h&]uh1jhjEhhhj^hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` device to compare against ``unsigned int new_class`` class of the new device ``const u16 *new_id`` IDENTIFY page of the new device Compare **new_class** and **new_id** against **dev** and determine whether **dev** is the device indicated by **new_class** and **new_id**. LOCKING: None. **Return** 1 if **dev** matches **new_class** and **new_id**, 0 otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh](jV)}(h5``struct ata_device *dev`` device to compare against h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj ubjl)}(hhh]h)}(hdevice to compare againsth]hdevice to compare against}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj'hMhj ubjV)}(h3``unsigned int new_class`` class of the new device h](j\)}(h``unsigned int new_class``h]jH)}(hjKh]hunsigned int new_class}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjIubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjEubjl)}(hhh]h)}(hclass of the new deviceh]hclass of the new device}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jkhjEubeh}(h]h ]h"]h$]h&]uh1jUhj`hMhj ubjV)}(h``const u16 *new_id`` IDENTIFY page of the new device Compare **new_class** and **new_id** against **dev** and determine whether **dev** is the device indicated by **new_class** and **new_id**. LOCKING: None. h](j\)}(h``const u16 *new_id``h]jH)}(hjh]hconst u16 *new_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj~ubjl)}(hhh](h)}(hIDENTIFY page of the new deviceh]hIDENTIFY page of the new device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hCompare **new_class** and **new_id** against **dev** and determine whether **dev** is the device indicated by **new_class** and **new_id**.h](hCompare }(hjhhhNhNubj)}(h **new_class**h]h new_class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **new_id**h]hnew_id}(hjƵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh against }(hjhhhNhNubj)}(h**dev**h]hdev}(hjصhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and determine whether }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is the device indicated by }(hjhhhNhNubj)}(h **new_class**h]h new_class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **new_id**h]hnew_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hLOCKING: None.h]hLOCKING: None.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhj~ubeh}(h]h ]h"]h$]h&]uh1jUhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjJh]hReturn}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubj)}(h?1 if **dev** matches **new_class** and **new_id**, 0 otherwise.h]h)}(hjbh](h1 if }(hjdhhhNhNubj)}(h**dev**h]hdev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh matches }(hjdhhhNhNubj)}(h **new_class**h]h new_class}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh and }(hjdhhhNhNubj)}(h **new_id**h]hnew_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh, 0 otherwise.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj`ubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_reread_id (C function)c.ata_dev_reread_idhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hIint ata_dev_reread_id (struct ata_device *dev, unsigned int readid_flags)h]j)}(hHint ata_dev_reread_id(struct ata_device *dev, unsigned int readid_flags)h](j=)}(hinth]hint}(hjζhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjʶhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjݶhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʶhhhjܶhMubjJ)}(hata_dev_reread_idh]j)}(hata_dev_reread_idh]hata_dev_reread_id}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjʶhhhjܶhMubje)}(h3(struct ata_device *dev, unsigned int readid_flags)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj+modnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_reread_idasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjWhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int readid_flagsh](j=)}(hunsignedh]hunsigned}(hj}hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj)}(h readid_flagsh]h readid_flags}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjʶhhhjܶhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjƶhhhjܶhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjܶhMhjöhhubj)}(hhh]h)}(hRe-read IDENTIFY datah]hRe-read IDENTIFY data}(hj߷hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjܷhhubah}(h]h ]h"]h$]h&]uh1jhjöhhhjܶhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX&**Parameters** ``struct ata_device *dev`` target ATA device ``unsigned int readid_flags`` read ID flags Re-read IDENTIFY page and make sure **dev** is still attached to the port. LOCKING: Kernel thread context (may sleep) **Return** 0 on success, negative errno otherwiseh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh](jV)}(h-``struct ata_device *dev`` target ATA device h](j\)}(h``struct ata_device *dev``h]jH)}(hj h]hstruct ata_device *dev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(htarget ATA deviceh]htarget ATA device}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj5hMhjubjV)}(h``unsigned int readid_flags`` read ID flags Re-read IDENTIFY page and make sure **dev** is still attached to the port. LOCKING: Kernel thread context (may sleep) h](j\)}(h``unsigned int readid_flags``h]jH)}(hjYh]hunsigned int readid_flags}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjWubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjSubjl)}(hhh](h)}(h read ID flagsh]h read ID flags}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjoubh)}(hJRe-read IDENTIFY page and make sure **dev** is still attached to the port.h](h$Re-read IDENTIFY page and make sure }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is still attached to the port.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjoubh)}(h*LOCKING: Kernel thread context (may sleep)h]h*LOCKING: Kernel thread context (may sleep)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjoubeh}(h]h ]h"]h$]h&]uh1jkhjSubeh}(h]h ]h"]h$]h&]uh1jUhjnhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjŸh]hReturn}(hjǸhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjøubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubj)}(h&0 on success, negative errno otherwiseh]h)}(hjݸh]h&0 on success, negative errno otherwise}(hj߸hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj۸ubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_revalidate (C function)c.ata_dev_revalidatehNtauh1jhjxhhhNhNubj)}(hhh](j)}(hbint ata_dev_revalidate (struct ata_device *dev, unsigned int new_class, unsigned int readid_flags)h]j)}(haint ata_dev_revalidate(struct ata_device *dev, unsigned int new_class, unsigned int readid_flags)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj!hMubjJ)}(hata_dev_revalidateh]j)}(hata_dev_revalidateh]hata_dev_revalidate}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj!hMubje)}(hK(struct ata_device *dev, unsigned int new_class, unsigned int readid_flags)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjpmodnameN classnameNj.j1)}j4]j$)}j*j6sbc.ata_dev_revalidateasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjLubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjHubjk)}(hunsigned int new_classh](j=)}(hunsignedh]hunsigned}(hj¹hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjйhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hj޹hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h new_classh]h new_class}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjHubjk)}(hunsigned int readid_flagsh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h readid_flagsh]h readid_flags}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjHubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhj!hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj!hMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj!hMhjhhubj)}(hhh]h)}(hRevalidate ATA deviceh]hRevalidate ATA device}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj!hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` device to revalidate ``unsigned int new_class`` new class code ``unsigned int readid_flags`` read ID flags Re-read IDENTIFY page, make sure **dev** is still attached to the port and reconfigure it according to the new IDENTIFY page. LOCKING: Kernel thread context (may sleep) **Return** 0 on success, negative errno otherwiseh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh](jV)}(h0``struct ata_device *dev`` device to revalidate h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(hdevice to revalidateh]hdevice to revalidate}(hjϺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj˺hMhj̺ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj˺hMhjubjV)}(h*``unsigned int new_class`` new class code h](j\)}(h``unsigned int new_class``h]jH)}(hjh]hunsigned int new_class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(hnew class codeh]hnew class code}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``unsigned int readid_flags`` read ID flags Re-read IDENTIFY page, make sure **dev** is still attached to the port and reconfigure it according to the new IDENTIFY page. LOCKING: Kernel thread context (may sleep) h](j\)}(h``unsigned int readid_flags``h]jH)}(hj(h]hunsigned int readid_flags}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj&ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj"ubjl)}(hhh](h)}(h read ID flagsh]h read ID flags}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj>ubh)}(h}Re-read IDENTIFY page, make sure **dev** is still attached to the port and reconfigure it according to the new IDENTIFY page.h](h!Re-read IDENTIFY page, make sure }(hjPhhhNhNubj)}(h**dev**h]hdev}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhU is still attached to the port and reconfigure it according to the new IDENTIFY page.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj>ubh)}(h*LOCKING: Kernel thread context (may sleep)h]h*LOCKING: Kernel thread context (may sleep)}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj>ubeh}(h]h ]h"]h$]h&]uh1jkhj"ubeh}(h]h ]h"]h$]h&]uh1jUhj=hMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubj)}(h&0 on success, negative errno otherwiseh]h)}(hjh]h&0 on success, negative errno otherwise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_is_40wire (C function)c.ata_is_40wirehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h*int ata_is_40wire (struct ata_device *dev)h]j)}(h)int ata_is_40wire(struct ata_device *dev)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj޻hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj޻hhhjhMubjJ)}(h ata_is_40wireh]j)}(h ata_is_40wireh]h ata_is_40wire}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj޻hhhjhMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj?modnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_is_40wireasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjkhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhj޻hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjڻhhhjhMubah}(h]jջah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhj׻hhubj)}(hhh]h)}(hcheck drive side detectionh]hcheck drive side detection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj׻hhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` device Perform drive side detection decoding, allowing for device vendors who can't follow the documentation.h](h)}(h**Parameters**h]j)}(hjļh]h Parameters}(hjƼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¼ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h``struct ata_device *dev`` device Perform drive side detection decoding, allowing for device vendors who can't follow the documentation.h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjݼubjl)}(hhh](h)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hfPerform drive side detection decoding, allowing for device vendors who can't follow the documentation.h]hhPerform drive side detection decoding, allowing for device vendors who can’t follow the documentation.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjݼubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjڼubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jcable_is_40wire (C function)c.cable_is_40wirehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h)int cable_is_40wire (struct ata_port *ap)h]j)}(h(int cable_is_40wire(struct ata_port *ap)h](j=)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjGhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhjYhMubjJ)}(hcable_is_40wireh]j)}(hcable_is_40wireh]hcable_is_40wire}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjGhhhjYhMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jnsbc.cable_is_40wireasbuh1hhjubj)}(h h]h }(hjƽhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjԽhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjGhhhjYhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjChhhjYhMubah}(h]j>ah ](jYjeh"]h$]h&]jj)jhuh1jhjYhMhj@hhubj)}(hhh]h)}(h40/80/SATA deciderh]h40/80/SATA decider}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj@hhhjYhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj#jj#jjjuh1jhhhjxhNhNubj)}(hXy**Parameters** ``struct ata_port *ap`` port to consider This function encapsulates the policy for speed management in one place. At the moment we don't cache the result but there is a good case for setting ap->cbl to the result when we are called with unknown cables (and figuring out if it impacts hotplug at all). Return 1 if the cable appears to be 40 wire.h](h)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj'ubjQ)}(hhh]jV)}(hX[``struct ata_port *ap`` port to consider This function encapsulates the policy for speed management in one place. At the moment we don't cache the result but there is a good case for setting ap->cbl to the result when we are called with unknown cables (and figuring out if it impacts hotplug at all). Return 1 if the cable appears to be 40 wire.h](j\)}(h``struct ata_port *ap``h]jH)}(hjLh]hstruct ata_port *ap}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjJubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjFubjl)}(hhh](h)}(hport to considerh]hport to consider}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjbubh)}(hXThis function encapsulates the policy for speed management in one place. At the moment we don't cache the result but there is a good case for setting ap->cbl to the result when we are called with unknown cables (and figuring out if it impacts hotplug at all).h]hXThis function encapsulates the policy for speed management in one place. At the moment we don’t cache the result but there is a good case for setting ap->cbl to the result when we are called with unknown cables (and figuring out if it impacts hotplug at all).}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjbubh)}(h,Return 1 if the cable appears to be 40 wire.h]h,Return 1 if the cable appears to be 40 wire.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjbubeh}(h]h ]h"]h$]h&]uh1jkhjFubeh}(h]h ]h"]h$]h&]uh1jUhjahMhjCubah}(h]h ]h"]h$]h&]uh1jPhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_xfermask (C function)c.ata_dev_xfermaskhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h.void ata_dev_xfermask (struct ata_device *dev)h]j)}(h-void ata_dev_xfermask(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjľhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjӾhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjҾhMubjJ)}(hata_dev_xfermaskh]j)}(hata_dev_xfermaskh]hata_dev_xfermask}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjҾhMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj!modnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_xfermaskasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjMhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjҾhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjҾhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjҾhMhjhhubj)}(hhh]h)}(h.Compute supported xfermask of the given deviceh]h.Compute supported xfermask of the given device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjҾhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Device to compute xfermask for Compute supported xfermask of **dev** and store it in dev->*_mask. This function is responsible for applying all known limits including host controller limits, device quirks, etc... LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(hX``struct ata_device *dev`` Device to compute xfermask for Compute supported xfermask of **dev** and store it in dev->*_mask. This function is responsible for applying all known limits including host controller limits, device quirks, etc... LOCKING: None.h](j\)}(h``struct ata_device *dev``h]jH)}(hjſh]hstruct ata_device *dev}(hjǿhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjÿubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hDevice to compute xfermask forh]hDevice to compute xfermask for}(hj޿hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM hjۿubh)}(hCompute supported xfermask of **dev** and store it in dev->*_mask. This function is responsible for applying all known limits including host controller limits, device quirks, etc...h](hCompute supported xfermask of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and store it in dev->*_mask. This function is responsible for applying all known limits including host controller limits, device quirks, etc...}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjۿubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjڿhMhjۿubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjڿhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ata_dev_set_xfermode (C function)c.ata_dev_set_xfermodehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h:unsigned int ata_dev_set_xfermode (struct ata_device *dev)h]j)}(h9unsigned int ata_dev_set_xfermode(struct ata_device *dev)h](j=)}(hunsignedh]hunsigned}(hjNhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjJhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMdubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhj\hMdubj=)}(hinth]hint}(hjkhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjJhhhj\hMdubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhj\hMdubjJ)}(hata_dev_set_xfermodeh]j)}(hata_dev_set_xfermodeh]hata_dev_set_xfermode}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjJhhhj\hMdubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_set_xfermodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjJhhhj\hMdubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjFhhhj\hMdubah}(h]jAah ](jYjeh"]h$]h&]jj)jhuh1jhj\hMdhjChhubj)}(hhh]h)}(h&Issue SET FEATURES - XFER MODE commandh]h&Issue SET FEATURES - XFER MODE command}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMXhj'hhubah}(h]h ]h"]h$]h&]uh1jhjChhhj\hMdubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjBjjBjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` Device to which command will be sent Issue SET FEATURES - XFER MODE command to device **dev** on port **ap**. LOCKING: PCI/etc. bus probe sem. **Return** 0 on success, AC_ERR_* mask otherwise.h](h)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM\hjFubjQ)}(hhh]jV)}(h``struct ata_device *dev`` Device to which command will be sent Issue SET FEATURES - XFER MODE command to device **dev** on port **ap**. LOCKING: PCI/etc. bus probe sem. h](j\)}(h``struct ata_device *dev``h]jH)}(hjkh]hstruct ata_device *dev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjiubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM_hjeubjl)}(hhh](h)}(h$Device to which command will be senth]h$Device to which command will be sent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMYhjubh)}(hHIssue SET FEATURES - XFER MODE command to device **dev** on port **ap**.h](h1Issue SET FEATURES - XFER MODE command to device }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on port }(hjhhhNhNubj)}(h**ap**h]hap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM[hjubh)}(h LOCKING: PCI/etc. bus probe sem.h]h LOCKING: PCI/etc. bus probe sem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM^hjubeh}(h]h ]h"]h$]h&]uh1jkhjeubeh}(h]h ]h"]h$]h&]uh1jUhjhM_hjbubah}(h]h ]h"]h$]h&]uh1jPhjFubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMahjFubj)}(h&0 on success, AC_ERR_* mask otherwise.h]h)}(hjh]h&0 on success, AC_ERR_* mask otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMahjubah}(h]h ]h"]h$]h&]uh1jhjhMahjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_dev_init_params (C function)c.ata_dev_init_paramshNtauh1jhjxhhhNhNubj)}(hhh](j)}(hQunsigned int ata_dev_init_params (struct ata_device *dev, u16 heads, u16 sectors)h]j)}(hPunsigned int ata_dev_init_params(struct ata_device *dev, u16 heads, u16 sectors)h](j=)}(hunsignedh]hunsigned}(hj7hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj3hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhjEhMubj=)}(hinth]hint}(hjThhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj3hhhjEhMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhjEhMubjJ)}(hata_dev_init_paramsh]j)}(hata_dev_init_paramsh]hata_dev_init_params}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj3hhhjEhMubje)}(h0(struct ata_device *dev, u16 heads, u16 sectors)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jvsbc.ata_dev_init_paramsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h u16 headsh](h)}(hhh]j)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_dev_init_paramsasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hheadsh]hheads}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h u16 sectorsh](h)}(hhh]j)}(hu16h]hu16}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjOmodnameN classnameNj.j1)}j4]jc.ata_dev_init_paramsasbuh1hhjFubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(hsectorsh]hsectors}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj3hhhjEhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj/hhhjEhMubah}(h]j*ah ](jYjeh"]h$]h&]jj)jhuh1jhjEhMhj,hhubj)}(hhh]h)}(hIssue INIT DEV PARAMS commandh]hIssue INIT DEV PARAMS command}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj,hhhjEhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX***Parameters** ``struct ata_device *dev`` Device to which command will be sent ``u16 heads`` Number of heads (taskfile parameter) ``u16 sectors`` Number of sectors (taskfile parameter) LOCKING: Kernel thread context (may sleep) **Return** 0 on success, AC_ERR_* mask otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh](jV)}(h@``struct ata_device *dev`` Device to which command will be sent h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h$Device to which command will be senth]h$Device to which command will be sent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h3``u16 heads`` Number of heads (taskfile parameter) h](j\)}(h ``u16 heads``h]jH)}(hjh]h u16 heads}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(h$Number of heads (taskfile parameter)h]h$Number of heads (taskfile parameter)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj2hMhjubjV)}(hc``u16 sectors`` Number of sectors (taskfile parameter) LOCKING: Kernel thread context (may sleep) h](j\)}(h``u16 sectors``h]jH)}(hjVh]h u16 sectors}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjTubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjPubjl)}(hhh](h)}(h&Number of sectors (taskfile parameter)h]h&Number of sectors (taskfile parameter)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjlubh)}(h*LOCKING: Kernel thread context (may sleep)h]h*LOCKING: Kernel thread context (may sleep)}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjlubeh}(h]h ]h"]h$]h&]uh1jkhjPubeh}(h]h ]h"]h$]h&]uh1jUhjkhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubj)}(h&0 on success, AC_ERR_* mask otherwise.h]h)}(hjh]h&0 on success, AC_ERR_* mask otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jatapi_check_dma (C function)c.atapi_check_dmahNtauh1jhjxhhhNhNubj)}(hhh](j)}(h/int atapi_check_dma (struct ata_queued_cmd *qc)h]j)}(h.int atapi_check_dma(struct ata_queued_cmd *qc)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hatapi_check_dmah]j)}(hatapi_check_dmah]hatapi_check_dma}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjLmodnameN classnameNj.j1)}j4]j$)}j*jsbc.atapi_check_dmaasbuh1hhj(ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj9)}(hj<h]h*}(hjxhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj(ubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj$ubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h(Check whether ATAPI DMA can be supportedh]h(Check whether ATAPI DMA can be supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hXn**Parameters** ``struct ata_queued_cmd *qc`` Metadata associated with taskfile to check Allow low-level driver to filter ATA PACKET commands, returning a status indicating whether or not it is OK to use DMA for the supplied PACKET command. LOCKING: spin_lock_irqsave(host lock) **Return** 0 when ATAPI DMA can be used nonzero otherwiseh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(hX ``struct ata_queued_cmd *qc`` Metadata associated with taskfile to check Allow low-level driver to filter ATA PACKET commands, returning a status indicating whether or not it is OK to use DMA for the supplied PACKET command. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(h*Metadata associated with taskfile to checkh]h*Metadata associated with taskfile to check}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hAllow low-level driver to filter ATA PACKET commands, returning a status indicating whether or not it is OK to use DMA for the supplied PACKET command.h]hAllow low-level driver to filter ATA PACKET commands, returning a status indicating whether or not it is OK to use DMA for the supplied PACKET command.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjJh]hReturn}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h.0 when ATAPI DMA can be used nonzero otherwiseh](j\)}(h0 when ATAPI DMA can be usedh]h0 when ATAPI DMA can be used}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjcubjl)}(hhh]h)}(hnonzero otherwiseh]hnonzero otherwise}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjvubah}(h]h ]h"]h$]h&]uh1jkhjcubeh}(h]h ]h"]h$]h&]uh1jUhjuhMhj`ubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_sg_init (C function) c.ata_sg_inithNtauh1jhjxhhhNhNubj)}(hhh](j)}(hYvoid ata_sg_init (struct ata_queued_cmd *qc, struct scatterlist *sg, unsigned int n_elem)h]j)}(hXvoid ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg, unsigned int n_elem)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(h ata_sg_inith]j)}(h ata_sg_inith]h ata_sg_init}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(hH(struct ata_queued_cmd *qc, struct scatterlist *sg, unsigned int n_elem)h](jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsb c.ata_sg_initasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjChhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct scatterlist *sgh](j)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubh)}(hhh]j)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j1 c.ata_sg_initasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjeubj)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int n_elemh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hn_elemh]hn_elem}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h,Associate command with scatter-gather table.h]h,Associate command with scatter-gather table.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjSjjSjjjuh1jhhhjxhNhNubj)}(hXo**Parameters** ``struct ata_queued_cmd *qc`` Command to be associated ``struct scatterlist *sg`` Scatter-gather table. ``unsigned int n_elem`` Number of elements in s/g table. Initialize the data-related elements of queued_cmd **qc** to point to a scatter-gather table **sg**, containing **n_elem** elements. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjWubjQ)}(hhh](jV)}(h7``struct ata_queued_cmd *qc`` Command to be associated h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hj|h]hstruct ata_queued_cmd *qc}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjzubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjvubjl)}(hhh]h)}(hCommand to be associatedh]hCommand to be associated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjvubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjsubjV)}(h1``struct scatterlist *sg`` Scatter-gather table. h](j\)}(h``struct scatterlist *sg``h]jH)}(hjh]hstruct scatterlist *sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(hScatter-gather table.h]hScatter-gather table.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjsubjV)}(h``unsigned int n_elem`` Number of elements in s/g table. Initialize the data-related elements of queued_cmd **qc** to point to a scatter-gather table **sg**, containing **n_elem** elements. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``unsigned int n_elem``h]jH)}(hjh]hunsigned int n_elem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(h Number of elements in s/g table.h]h Number of elements in s/g table.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hInitialize the data-related elements of queued_cmd **qc** to point to a scatter-gather table **sg**, containing **n_elem** elements.h](h3Initialize the data-related elements of queued_cmd }(hjhhhNhNubj)}(h**qc**h]hqc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ to point to a scatter-gather table }(hjhhhNhNubj)}(h**sg**h]hsg}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh , containing }(hjhhhNhNubj)}(h **n_elem**h]hn_elem}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh elements.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjsubeh}(h]h ]h"]h$]h&]uh1jPhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_sg_clean (C function)c.ata_sg_cleanhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h-void ata_sg_clean (struct ata_queued_cmd *qc)h]j)}(h,void ata_sg_clean(struct ata_queued_cmd *qc)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM1ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM1ubjJ)}(h ata_sg_cleanh]j)}(h ata_sg_cleanh]h ata_sg_clean}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM1ubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_sg_cleanasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj$hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM1ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM1ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM1hjhhubj)}(hhh]h)}(h(Unmap DMA memory associated with commandh]h(Unmap DMA memory associated with command}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM)hjXhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM1ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjsjjsjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_queued_cmd *qc`` Command containing DMA memory to be released Unmap all mapped DMA memory associated with this command. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM-hjwubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` Command containing DMA memory to be released Unmap all mapped DMA memory associated with this command. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM.hjubjl)}(hhh](h)}(h,Command containing DMA memory to be releasedh]h,Command containing DMA memory to be released}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM*hjubh)}(h9Unmap all mapped DMA memory associated with this command.h]h9Unmap all mapped DMA memory associated with this command.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM,hjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM.hjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM.hjubah}(h]h ]h"]h$]h&]uh1jPhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_sg_setup (C function)c.ata_sg_setuphNtauh1jhjxhhhNhNubj)}(hhh](j)}(h,int ata_sg_setup (struct ata_queued_cmd *qc)h]j)}(h+int ata_sg_setup(struct ata_queued_cmd *qc)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj!hMMubjJ)}(h ata_sg_setuph]j)}(h ata_sg_setuph]h ata_sg_setup}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj!hMMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjpmodnameN classnameNj.j1)}j4]j$)}j*j6sbc.ata_sg_setupasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjLubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjHubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhj!hMMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj!hMMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj!hMMhjhhubj)}(hhh]h)}(h;DMA-map the scatter-gather table associated with a command.h]h;DMA-map the scatter-gather table associated with a command.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj!hMMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_queued_cmd *qc`` Command with scatter-gather table to be mapped. DMA-map the scatter-gather table associated with queued_cmd **qc**. LOCKING: spin_lock_irqsave(host lock) **Return** Zero on success, negative on error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMEhjubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` Command with scatter-gather table to be mapped. DMA-map the scatter-gather table associated with queued_cmd **qc**. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMGhjubjl)}(hhh](h)}(h/Command with scatter-gather table to be mapped.h]h/Command with scatter-gather table to be mapped.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMBhj*ubh)}(hCDMA-map the scatter-gather table associated with queued_cmd **qc**.h](hh]hunsigned int buf_words}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj<ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMmhj8ubjl)}(hhh](h)}(h!Number of 16-bit words in buffer.h]h!Number of 16-bit words in buffer.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMghjTubh)}(hwSwap halves of 16-bit words if needed to convert from little-endian byte order to native cpu byte order, or vice-versa.h]hwSwap halves of 16-bit words if needed to convert from little-endian byte order to native cpu byte order, or vice-versa.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMihjTubh)}(hLOCKING: Inherited from caller.h]hLOCKING: Inherited from caller.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMmhjTubeh}(h]h ]h"]h$]h&]uh1jkhj8ubeh}(h]h ]h"]h$]h&]uh1jUhjShMmhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_qc_free (C function) c.ata_qc_freehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h,void ata_qc_free (struct ata_queued_cmd *qc)h]j)}(h+void ata_qc_free(struct ata_queued_cmd *qc)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(h ata_qc_freeh]j)}(h ata_qc_freeh]h ata_qc_free}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsb c.ata_qc_freeasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj>hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hfree unused ata_queued_cmdh]hfree unused ata_queued_cmd}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM{hjrhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_queued_cmd *qc`` Command to complete Designed to free unused ata_queued_cmd object in case something prevents using it. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` Command to complete Designed to free unused ata_queued_cmd object in case something prevents using it. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hCommand to completeh]hCommand to complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM|hjubh)}(hRDesigned to free unused ata_queued_cmd object in case something prevents using it.h]hRDesigned to free unused ata_queued_cmd object in case something prevents using it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM~hjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_qc_issue (C function)c.ata_qc_issuehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h-void ata_qc_issue (struct ata_queued_cmd *qc)h]j)}(h,void ata_qc_issue(struct ata_queued_cmd *qc)h](j=)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj)hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhj;hMhubjJ)}(h ata_qc_issueh]j)}(h ata_qc_issueh]h ata_qc_issue}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj)hhhj;hMhubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jPsbc.ata_qc_issueasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjfubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjbubah}(h]h ]h"]h$]h&]jjuh1jdhj)hhhj;hMhubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj%hhhj;hMhubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj;hMhhj"hhubj)}(hhh]h)}(hissue taskfile to deviceh]hissue taskfile to device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM]hjhhubah}(h]h ]h"]h$]h&]uh1jhj"hhhj;hMhubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hXA**Parameters** ``struct ata_queued_cmd *qc`` command to issue to device Prepare an ATA command to submission to device. This includes mapping the data into a DMA-able area, filling in the S/G table, and finally writing the taskfile to hardware, starting the command. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMahj ubjQ)}(hhh]jV)}(hX#``struct ata_queued_cmd *qc`` command to issue to device Prepare an ATA command to submission to device. This includes mapping the data into a DMA-able area, filling in the S/G table, and finally writing the taskfile to hardware, starting the command. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hj.h]hstruct ata_queued_cmd *qc}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj,ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMehj(ubjl)}(hhh](h)}(hcommand to issue to deviceh]hcommand to issue to device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM^hjDubh)}(hPrepare an ATA command to submission to device. This includes mapping the data into a DMA-able area, filling in the S/G table, and finally writing the taskfile to hardware, starting the command.h]hPrepare an ATA command to submission to device. This includes mapping the data into a DMA-able area, filling in the S/G table, and finally writing the taskfile to hardware, starting the command.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM`hjDubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMehjDubeh}(h]h ]h"]h$]h&]uh1jkhj(ubeh}(h]h ]h"]h$]h&]uh1jUhjChMehj%ubah}(h]h ]h"]h$]h&]uh1jPhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ata_phys_link_online (C function)c.ata_phys_link_onlinehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h1bool ata_phys_link_online (struct ata_link *link)h]j)}(h0bool ata_phys_link_online(struct ata_link *link)h](j=)}(hj+Sh]hbool}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_phys_link_onlineh]j)}(hata_phys_link_onlineh]hata_phys_link_online}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_phys_link_onlineasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj-hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h%test whether the given link is onlineh]h%test whether the given link is online}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjahhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj|jj|jjjuh1jhhhjxhNhNubj)}(hXK**Parameters** ``struct ata_link *link`` ATA link to test Test whether **link** is online. Note that this function returns 0 if online status of **link** cannot be obtained, so ata_link_online(link) != !ata_link_offline(link). LOCKING: None. **Return** True if the port online status is available and online.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h``struct ata_link *link`` ATA link to test Test whether **link** is online. Note that this function returns 0 if online status of **link** cannot be obtained, so ata_link_online(link) != !ata_link_offline(link). LOCKING: None. h](j\)}(h``struct ata_link *link``h]jH)}(hjh]hstruct ata_link *link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hATA link to testh]hATA link to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hTest whether **link** is online. Note that this function returns 0 if online status of **link** cannot be obtained, so ata_link_online(link) != !ata_link_offline(link).h](h Test whether }(hjhhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC is online. Note that this function returns 0 if online status of }(hjhhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI cannot be obtained, so ata_link_online(link) != !ata_link_offline(link).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hj#h]hReturn}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubj)}(h7True if the port online status is available and online.h]h)}(hj;h]h7True if the port online status is available and online.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj9ubah}(h]h ]h"]h$]h&]uh1jhjJhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ata_phys_link_offline (C function)c.ata_phys_link_offlinehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h2bool ata_phys_link_offline (struct ata_link *link)h]j)}(h1bool ata_phys_link_offline(struct ata_link *link)h](j=)}(hj+Sh]hbool}(hjqhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjmhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhj~hMubjJ)}(hata_phys_link_offlineh]j)}(hata_phys_link_offlineh]hata_phys_link_offline}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjmhhhj~hMubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_phys_link_offlineasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjmhhhj~hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjihhhj~hMubah}(h]jdah ](jYjeh"]h$]h&]jj)jhuh1jhj~hMhjfhhubj)}(hhh]h)}(h&test whether the given link is offlineh]h&test whether the given link is offline}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj-hhubah}(h]h ]h"]h$]h&]uh1jhjfhhhj~hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjHjjHjjjuh1jhhhjxhNhNubj)}(hXO**Parameters** ``struct ata_link *link`` ATA link to test Test whether **link** is offline. Note that this function returns 0 if offline status of **link** cannot be obtained, so ata_link_online(link) != !ata_link_offline(link). LOCKING: None. **Return** True if the port offline status is available and offline.h](h)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjLubjQ)}(hhh]jV)}(h``struct ata_link *link`` ATA link to test Test whether **link** is offline. Note that this function returns 0 if offline status of **link** cannot be obtained, so ata_link_online(link) != !ata_link_offline(link). LOCKING: None. h](j\)}(h``struct ata_link *link``h]jH)}(hjqh]hstruct ata_link *link}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjoubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjkubjl)}(hhh](h)}(hATA link to testh]hATA link to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hTest whether **link** is offline. Note that this function returns 0 if offline status of **link** cannot be obtained, so ata_link_online(link) != !ata_link_offline(link).h](h Test whether }(hjhhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE is offline. Note that this function returns 0 if offline status of }(hjhhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI cannot be obtained, so ata_link_online(link) != !ata_link_offline(link).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjkubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjhubah}(h]h ]h"]h$]h&]uh1jPhjLubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjLubj)}(h9True if the port offline status is available and offline.h]h)}(hjh]h9True if the port offline status is available and offline.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_init (C function)c.ata_dev_inithNtauh1jhjxhhhNhNubj)}(hhh](j)}(h*void ata_dev_init (struct ata_device *dev)h]j)}(h)void ata_dev_init(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj9hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhjKhMubjJ)}(h ata_dev_inith]j)}(h ata_dev_inith]h ata_dev_init}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj9hhhjKhMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*j`sbc.ata_dev_initasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjvubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjrubah}(h]h ]h"]h$]h&]jjuh1jdhj9hhhjKhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj5hhhjKhMubah}(h]j0ah ](jYjeh"]h$]h&]jj)jhuh1jhjKhMhj2hhubj)}(hhh]h)}(h"Initialize an ata_device structureh]h"Initialize an ata_device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj2hhhjKhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` Device structure to initialize Initialize **dev** in preparation for probing. LOCKING: Inherited from caller.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h``struct ata_device *dev`` Device structure to initialize Initialize **dev** in preparation for probing. LOCKING: Inherited from caller.h](j\)}(h``struct ata_device *dev``h]jH)}(hj>h]hstruct ata_device *dev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj<ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj8ubjl)}(hhh](h)}(hDevice structure to initializeh]hDevice structure to initialize}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjTubh)}(h.Initialize **dev** in preparation for probing.h](h Initialize }(hjfhhhNhNubj)}(h**dev**h]hdev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh in preparation for probing.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjTubh)}(hLOCKING: Inherited from caller.h]hLOCKING: Inherited from caller.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubeh}(h]h ]h"]h$]h&]uh1jkhj8ubeh}(h]h ]h"]h$]h&]uh1jUhjShMhj5ubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_link_init (C function)c.ata_link_inithNtauh1jhjxhhhNhNubj)}(hhh](j)}(hHvoid ata_link_init (struct ata_port *ap, struct ata_link *link, int pmp)h]j)}(hGvoid ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(h ata_link_inith]j)}(h ata_link_inith]h ata_link_init}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h5(struct ata_port *ap, struct ata_link *link, int pmp)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj$modnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_link_initasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjPhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j>c.ata_link_initasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjrubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hint pmph](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hpmph]hpmp}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h Initialize an ata_link structureh]h Initialize an ata_link structure}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjDjjDjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_port *ap`` ATA port link is attached to ``struct ata_link *link`` Link structure to initialize ``int pmp`` Port multiplier port number Initialize **link**. LOCKING: Kernel thread context (may sleep)h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjHubjQ)}(hhh](jV)}(h5``struct ata_port *ap`` ATA port link is attached to h](j\)}(h``struct ata_port *ap``h]jH)}(hjmh]hstruct ata_port *ap}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjkubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjgubjl)}(hhh]h)}(hATA port link is attached toh]hATA port link is attached to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjgubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjdubjV)}(h7``struct ata_link *link`` Link structure to initialize h](j\)}(h``struct ata_link *link``h]jH)}(hjh]hstruct ata_link *link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh]h)}(hLink structure to initializeh]hLink structure to initialize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjdubjV)}(hi``int pmp`` Port multiplier port number Initialize **link**. LOCKING: Kernel thread context (may sleep)h](j\)}(h ``int pmp``h]jH)}(hjh]hint pmp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hPort multiplier port numberh]hPort multiplier port number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(hInitialize **link**.h](h Initialize }(hjhhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(h*LOCKING: Kernel thread context (may sleep)h]h*LOCKING: Kernel thread context (may sleep)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjdubeh}(h]h ]h"]h$]h&]uh1jPhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsata_link_init_spd (C function)c.sata_link_init_spdhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h.int sata_link_init_spd (struct ata_link *link)h]j)}(h-int sata_link_init_spd(struct ata_link *link)h](j=)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjdhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM/ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhjvhM/ubjJ)}(hsata_link_init_spdh]j)}(hsata_link_init_spdh]hsata_link_init_spd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjdhhhjvhM/ubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.sata_link_init_spdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjdhhhjvhM/ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj`hhhjvhM/ubah}(h]j[ah ](jYjeh"]h$]h&]jj)jhuh1jhjvhM/hj]hhubj)}(hhh]h)}(hInitialize link->sata_spd_limith]hInitialize link->sata_spd_limit}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM#hj%hhubah}(h]h ]h"]h$]h&]uh1jhj]hhhjvhM/ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj@jj@jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_link *link`` Link to configure sata_spd_limit for Initialize ``link->[hw_]sata_spd_limit`` to the currently configured value. LOCKING: Kernel thread context (may sleep). **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM'hjDubjQ)}(hhh]jV)}(h``struct ata_link *link`` Link to configure sata_spd_limit for Initialize ``link->[hw_]sata_spd_limit`` to the currently configured value. LOCKING: Kernel thread context (may sleep). h](j\)}(h``struct ata_link *link``h]jH)}(hjih]hstruct ata_link *link}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjgubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM*hjcubjl)}(hhh](h)}(h$Link to configure sata_spd_limit forh]h$Link to configure sata_spd_limit for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM$hjubh)}(hKInitialize ``link->[hw_]sata_spd_limit`` to the currently configured value.h](h Initialize }(hjhhhNhNubjH)}(h``link->[hw_]sata_spd_limit``h]hlink->[hw_]sata_spd_limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh# to the currently configured value.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM&hjubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM)hjubeh}(h]h ]h"]h$]h&]uh1jkhjcubeh}(h]h ]h"]h$]h&]uh1jUhj~hM*hj`ubah}(h]h ]h"]h$]h&]uh1jPhjDubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM,hjDubj)}(h 0 on success, -errno on failure.h]h)}(hjh]h 0 on success, -errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM,hjubah}(h]h ]h"]h$]h&]uh1jhjhM,hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ata_finalize_port_ops (C function)c.ata_finalize_port_opshNtauh1jhjxhhhNhNubj)}(hhh](j)}(hinherits is no longer necessary and cleared. Using ATA_OP_NULL, inheriting ops can force a method to NULL. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM@hjubjQ)}(hhh]jV)}(hX~``struct ata_port_operations *ops`` ata_port_operations to finalize An ata_port_operations can inherit from another ops and that ops can again inherit from another. This can go on as many times as necessary as long as there is no loop in the inheritance chain. Ops tables are finalized when the host is started. NULL or unspecified entries are inherited from the closet ancestor which has the method and the entry is populated with it. After finalization, the ops table directly points to all the methods and ->inherits is no longer necessary and cleared. Using ATA_OP_NULL, inheriting ops can force a method to NULL. LOCKING: None.h](j\)}(h#``struct ata_port_operations *ops``h]jH)}(hj$h]hstruct ata_port_operations *ops}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj"ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMLhjubjl)}(hhh](h)}(hata_port_operations to finalizeh]hata_port_operations to finalize}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM=hj:ubh)}(hAn ata_port_operations can inherit from another ops and that ops can again inherit from another. This can go on as many times as necessary as long as there is no loop in the inheritance chain.h]hAn ata_port_operations can inherit from another ops and that ops can again inherit from another. This can go on as many times as necessary as long as there is no loop in the inheritance chain.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chM?hj:ubh)}(hX'Ops tables are finalized when the host is started. NULL or unspecified entries are inherited from the closet ancestor which has the method and the entry is populated with it. After finalization, the ops table directly points to all the methods and ->inherits is no longer necessary and cleared.h]hX'Ops tables are finalized when the host is started. NULL or unspecified entries are inherited from the closet ancestor which has the method and the entry is populated with it. After finalization, the ops table directly points to all the methods and ->inherits is no longer necessary and cleared.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMDhj:ubh)}(h=Using ATA_OP_NULL, inheriting ops can force a method to NULL.h]h=Using ATA_OP_NULL, inheriting ops can force a method to NULL.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMJhj:ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMLhj:ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj9hMLhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#ata_dev_free_resources (C function)c.ata_dev_free_resourceshNtauh1jhjxhhhNhNubj)}(hhh](j)}(h4void ata_dev_free_resources (struct ata_device *dev)h]j)}(h3void ata_dev_free_resources(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_dev_free_resourcesh]j)}(hata_dev_free_resourcesh]hata_dev_free_resources}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_free_resourcesasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjBhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hFree a device resourcesh]hFree a device resources}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` Target ATA device Free resources allocated to support a device features. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjQ)}(hhh]jV)}(h``struct ata_device *dev`` Target ATA device Free resources allocated to support a device features. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubjl)}(hhh](h)}(hTarget ATA deviceh]hTarget ATA device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(h6Free resources allocated to support a device features.h]h6Free resources allocated to support a device features.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_port_detach (C function)c.ata_port_detachhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h*void ata_port_detach (struct ata_port *ap)h]j)}(h)void ata_port_detach(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj-hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhj?hMubjJ)}(hata_port_detachh]j)}(hata_port_detachh]hata_port_detach}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj-hhhj?hMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jTsbc.ata_port_detachasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjjubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjfubah}(h]h ]h"]h$]h&]jjuh1jdhj-hhhj?hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj)hhhj?hMubah}(h]j$ah ](jYjeh"]h$]h&]jj)jhuh1jhj?hMhj&hhubj)}(hhh]h)}(h0Detach ATA port in preparation of device removalh]h0Detach ATA port in preparation of device removal}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj&hhhj?hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj jj jjjuh1jhhhjxhNhNubj)}(hX&**Parameters** ``struct ata_port *ap`` ATA port to be detached Detach all ATA devices and the associated SCSI devices of **ap**; then, remove the associated SCSI host. **ap** is guaranteed to be quiescent on return from this function. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj ubjQ)}(hhh]jV)}(hX ``struct ata_port *ap`` ATA port to be detached Detach all ATA devices and the associated SCSI devices of **ap**; then, remove the associated SCSI host. **ap** is guaranteed to be quiescent on return from this function. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_port *ap``h]jH)}(hj2h]hstruct ata_port *ap}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj0ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhj,ubjl)}(hhh](h)}(hATA port to be detachedh]hATA port to be detached}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjHubh)}(hDetach all ATA devices and the associated SCSI devices of **ap**; then, remove the associated SCSI host. **ap** is guaranteed to be quiescent on return from this function.h](h:Detach all ATA devices and the associated SCSI devices of }(hjZhhhNhNubj)}(h**ap**h]hap}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh*; then, remove the associated SCSI host. }(hjZhhhNhNubj)}(h**ap**h]hap}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh< is guaranteed to be quiescent on return from this function.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:586: ./drivers/ata/libata-core.chMhjHubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubeh}(h]h ]h"]h$]h&]uh1jkhj,ubeh}(h]h ]h"]h$]h&]uh1jUhjGhMhj)ubah}(h]h ]h"]h$]h&]uh1jPhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j __ata_ehi_push_desc (C function)c.__ata_ehi_push_deschNtauh1jhjxhhhNhNubj)}(hhh](j)}(hHvoid __ata_ehi_push_desc (struct ata_eh_info *ehi, const char *fmt, ...)h]j)}(hGvoid __ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubjJ)}(h__ata_ehi_push_desch]j)}(h__ata_ehi_push_desch]h__ata_ehi_push_desc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhKubje)}(h/(struct ata_eh_info *ehi, const char *fmt, ...)h](jk)}(hstruct ata_eh_info *ehih](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_eh_infoh]h ata_eh_info}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj*modnameN classnameNj.j1)}j4]j$)}j*jsbc.__ata_ehi_push_descasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjVhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hehih]hehi}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hconst char *fmth](j)}(hj'h]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj=)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjxubj)}(hfmth]hfmt}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h...h]j9)}(h...h]h...}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhKubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(h/push error description without adding separatorh]h/push error description without adding separator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_eh_info *ehi`` target EHI ``const char *fmt`` printf format string Format string according to **fmt** and append it to **ehi->desc**. LOCKING: spin_lock_irqsave(host lock) ``...`` variable argumentsh](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjQ)}(hhh](jV)}(h'``struct ata_eh_info *ehi`` target EHI h](j\)}(h``struct ata_eh_info *ehi``h]jH)}(hjDh]hstruct ata_eh_info *ehi}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjBubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhj>ubjl)}(hhh]h)}(h target EHIh]h target EHI}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhKhjZubah}(h]h ]h"]h$]h&]uh1jkhj>ubeh}(h]h ]h"]h$]h&]uh1jUhjYhKhj;ubjV)}(h``const char *fmt`` printf format string Format string according to **fmt** and append it to **ehi->desc**. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``const char *fmt``h]jH)}(hj}h]hconst char *fmt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj{ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjwubjl)}(hhh](h)}(hprintf format stringh]hprintf format string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubh)}(hBFormat string according to **fmt** and append it to **ehi->desc**.h](hFormat string according to }(hjhhhNhNubj)}(h**fmt**h]hfmt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and append it to }(hjhhhNhNubj)}(h **ehi->desc**h]h ehi->desc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubeh}(h]h ]h"]h$]h&]uh1jkhjwubeh}(h]h ]h"]h$]h&]uh1jUhjhKhj;ubjV)}(h``...`` variable argumentsh](j\)}(h``...``h]jH)}(hjh]h...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhj;ubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_ehi_push_desc (C function)c.ata_ehi_push_deschNtauh1jhjxhhhNhNubj)}(hhh](j)}(hFvoid ata_ehi_push_desc (struct ata_eh_info *ehi, const char *fmt, ...)h]j)}(hEvoid ata_ehi_push_desc(struct ata_eh_info *ehi, const char *fmt, ...)h](j=)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjOhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhjahKubjJ)}(hata_ehi_push_desch]j)}(hata_ehi_push_desch]hata_ehi_push_desc}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjOhhhjahKubje)}(h/(struct ata_eh_info *ehi, const char *fmt, ...)h](jk)}(hstruct ata_eh_info *ehih](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_eh_infoh]h ata_eh_info}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jvsbc.ata_ehi_push_descasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hehih]hehi}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hconst char *fmth](j)}(hj'h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj9hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hfmth]hfmt}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h...h]j9)}(hjh]h...}(hj_hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjOhhhjahKubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjKhhhjahKubah}(h]jFah ](jYjeh"]h$]h&]jj)jhuh1jhjahKhjHhhubj)}(hhh]h)}(h%push error description with separatorh]h%push error description with separator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjHhhhjahKubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX.**Parameters** ``struct ata_eh_info *ehi`` target EHI ``const char *fmt`` printf format string Format string according to **fmt** and append it to **ehi->desc**. If **ehi->desc** is not empty, ", " is added in-between. LOCKING: spin_lock_irqsave(host lock) ``...`` variable argumentsh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjQ)}(hhh](jV)}(h'``struct ata_eh_info *ehi`` target EHI h](j\)}(h``struct ata_eh_info *ehi``h]jH)}(hjh]hstruct ata_eh_info *ehi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh]h)}(h target EHIh]h target EHI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhjubjV)}(h``const char *fmt`` printf format string Format string according to **fmt** and append it to **ehi->desc**. If **ehi->desc** is not empty, ", " is added in-between. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``const char *fmt``h]jH)}(hjh]hconst char *fmt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh](h)}(hprintf format stringh]hprintf format string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubh)}(h{Format string according to **fmt** and append it to **ehi->desc**. If **ehi->desc** is not empty, ", " is added in-between.h](hFormat string according to }(hj*hhhNhNubj)}(h**fmt**h]hfmt}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh and append it to }(hj*hhhNhNubj)}(h **ehi->desc**h]h ehi->desc}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh. If }(hj*hhhNhNubj)}(h **ehi->desc**h]h ehi->desc}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh, is not empty, “, “ is added in-between.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhjubjV)}(h``...`` variable argumentsh](j\)}(h``...``h]jH)}(hjh]h...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_ehi_clear_desc (C function)c.ata_ehi_clear_deschNtauh1jhjxhhhNhNubj)}(hhh](j)}(h1void ata_ehi_clear_desc (struct ata_eh_info *ehi)h]j)}(h0void ata_ehi_clear_desc(struct ata_eh_info *ehi)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubjJ)}(hata_ehi_clear_desch]j)}(hata_ehi_clear_desch]hata_ehi_clear_desc}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhKubje)}(h(struct ata_eh_info *ehi)h]jk)}(hstruct ata_eh_info *ehih](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubh)}(hhh]j)}(h ata_eh_infoh]h ata_eh_info}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjGmodnameN classnameNj.j1)}j4]j$)}j*j sbc.ata_ehi_clear_descasbuh1hhj#ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj9)}(hj<h]h*}(hjshhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj#ubj)}(hehih]hehi}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhKubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(hclean error descriptionh]hclean error description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h{**Parameters** ``struct ata_eh_info *ehi`` target EHI Clear **ehi->desc**. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjQ)}(hhh]jV)}(hc``struct ata_eh_info *ehi`` target EHI Clear **ehi->desc**. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_eh_info *ehi``h]jH)}(hjh]hstruct ata_eh_info *ehi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh](h)}(h target EHIh]h target EHI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubh)}(hClear **ehi->desc**.h](hClear }(hjhhhNhNubj)}(h **ehi->desc**h]h ehi->desc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_port_desc (C function)c.ata_port_deschNtauh1jhjxhhhNhNubj)}(hhh](j)}(h>void ata_port_desc (struct ata_port *ap, const char *fmt, ...)h]j)}(h=void ata_port_desc(struct ata_port *ap, const char *fmt, ...)h](j=)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjphhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhjhKubjJ)}(h ata_port_desch]j)}(h ata_port_desch]h ata_port_desc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjphhhjhKubje)}(h+(struct ata_port *ap, const char *fmt, ...)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_port_descasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hconst char *fmth](j)}(hj'h]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjZhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hfmth]hfmt}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h...h]j9)}(hjh]h...}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjphhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjlhhhjhKubah}(h]jgah ](jYjeh"]h$]h&]jj)jhuh1jhjhKhjihhubj)}(hhh]h)}(happend port descriptionh]happend port description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjihhhjhKubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_port *ap`` target ATA port ``const char *fmt`` printf format string Format string according to **fmt** and append it to port description. If port description is not empty, " " is added in-between. This function is to be used while initializing ata_host. The description is printed on host registration. LOCKING: None. ``...`` variable argumentsh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjQ)}(hhh](jV)}(h(``struct ata_port *ap`` target ATA port h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh]h)}(htarget ATA porth]htarget ATA port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhjubjV)}(hX(``const char *fmt`` printf format string Format string according to **fmt** and append it to port description. If port description is not empty, " " is added in-between. This function is to be used while initializing ata_host. The description is printed on host registration. LOCKING: None. h](j\)}(h``const char *fmt``h]jH)}(hj#h]hconst char *fmt}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj!ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh](h)}(hprintf format stringh]hprintf format string}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhj9ubh)}(hFormat string according to **fmt** and append it to port description. If port description is not empty, " " is added in-between. This function is to be used while initializing ata_host. The description is printed on host registration.h](hFormat string according to }(hjKhhhNhNubj)}(h**fmt**h]hfmt}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh and append it to port description. If port description is not empty, “ “ is added in-between. This function is to be used while initializing ata_host. The description is printed on host registration.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhj9ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhj9ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj8hKhjubjV)}(h``...`` variable argumentsh](j\)}(h``...``h]jH)}(hjh]h...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubjl)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chKhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhKhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_port_pbar_desc (C function)c.ata_port_pbar_deschNtauh1jhjxhhhNhNubj)}(hhh](j)}(hXvoid ata_port_pbar_desc (struct ata_port *ap, int bar, ssize_t offset, const char *name)h]j)}(hWvoid ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, const char *name)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_port_pbar_desch]j)}(hata_port_pbar_desch]hata_port_pbar_desc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h@(struct ata_port *ap, int bar, ssize_t offset, const char *name)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubh)}(hhh]j)}(hata_porth]hata_port}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjDmodnameN classnameNj.j1)}j4]j$)}j*j sbc.ata_port_pbar_descasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj9)}(hj<h]h*}(hjphhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj ubj)}(haph]hap}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hint barh](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hbarh]hbar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hssize_t offseth](h)}(hhh]j)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j^c.ata_port_pbar_descasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hconst char *nameh](j)}(hj'h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hcharh]hchar}(hj.hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjJhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hnameh]hname}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(happend PCI BAR descriptionh]happend PCI BAR description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj~hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_port *ap`` target ATA port ``int bar`` target PCI BAR ``ssize_t offset`` offset into PCI BAR ``const char *name`` name of the area If **offset** is negative, this function formats a string which contains the name, address, size and type of the BAR and appends it to the port description. If **offset** is zero or positive, only name and offsetted address is appended. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjQ)}(hhh](jV)}(h(``struct ata_port *ap`` target ATA port h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjubjl)}(hhh]h)}(htarget ATA porth]htarget ATA port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjubjV)}(h``int bar`` target PCI BAR h](j\)}(h ``int bar``h]jH)}(hjh]hint bar}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjubjl)}(hhh]h)}(htarget PCI BARh]htarget PCI BAR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjubjV)}(h'``ssize_t offset`` offset into PCI BAR h](j\)}(h``ssize_t offset``h]jH)}(hj4h]hssize_t offset}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj2ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj.ubjl)}(hhh]h)}(hoffset into PCI BARh]hoffset into PCI BAR}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jkhj.ubeh}(h]h ]h"]h$]h&]uh1jUhjIhMhjubjV)}(hX$``const char *name`` name of the area If **offset** is negative, this function formats a string which contains the name, address, size and type of the BAR and appends it to the port description. If **offset** is zero or positive, only name and offsetted address is appended. LOCKING: None.h](j\)}(h``const char *name``h]jH)}(hjmh]hconst char *name}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjkubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjgubjl)}(hhh](h)}(hname of the areah]hname of the area}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hIf **offset** is negative, this function formats a string which contains the name, address, size and type of the BAR and appends it to the port description. If **offset** is zero or positive, only name and offsetted address is appended.h](hIf }(hjhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is negative, this function formats a string which contains the name, address, size and type of the BAR and appends it to the port description. If }(hjhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB is zero or positive, only name and offsetted address is appended.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjgubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%ata_internal_cmd_timeout (C function)c.ata_internal_cmd_timeouthNtauh1jhjxhhhNhNubj)}(hhh](j)}(hFunsigned int ata_internal_cmd_timeout (struct ata_device *dev, u8 cmd)h]j)}(hEunsigned int ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMMubj=)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhMMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMMubjJ)}(hata_internal_cmd_timeouth]j)}(hata_internal_cmd_timeouth]hata_internal_cmd_timeout}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMMubje)}(h (struct ata_device *dev, u8 cmd)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jGsbc.ata_internal_cmd_timeoutasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj]ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjYubjk)}(hu8 cmdh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_internal_cmd_timeoutasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjYubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMMhjhhubj)}(hhh]h)}(h)determine timeout for an internal commandh]h)determine timeout for an internal command}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMAhj)hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjDjjDjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` target device ``u8 cmd`` internal command to be issued Determine timeout for internal command **cmd** for **dev**. LOCKING: EH context. **Return** Determined timeout.h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMEhjHubjQ)}(hhh](jV)}(h)``struct ata_device *dev`` target device h](j\)}(h``struct ata_device *dev``h]jH)}(hjmh]hstruct ata_device *dev}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjkubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMBhjgubjl)}(hhh]h)}(h target deviceh]h target device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jkhjgubeh}(h]h ]h"]h$]h&]uh1jUhjhMBhjdubjV)}(h|``u8 cmd`` internal command to be issued Determine timeout for internal command **cmd** for **dev**. LOCKING: EH context. h](j\)}(h ``u8 cmd``h]jH)}(hjh]hu8 cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMHhjubjl)}(hhh](h)}(hinternal command to be issuedh]hinternal command to be issued}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMChjubh)}(h;Determine timeout for internal command **cmd** for **dev**.h](h'Determine timeout for internal command }(hjhhhNhNubj)}(h**cmd**h]hcmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMEhjubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMGhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMHhjdubeh}(h]h ]h"]h$]h&]uh1jPhjHubh)}(h **Return**h]j)}(hj$h]hReturn}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMJhjHubj)}(hDetermined timeout.h]h)}(hj<h]hDetermined timeout.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMJhj:ubah}(h]h ]h"]h$]h&]uh1jhjKhMJhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j'ata_internal_cmd_timed_out (C function)c.ata_internal_cmd_timed_outhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h@void ata_internal_cmd_timed_out (struct ata_device *dev, u8 cmd)h]j)}(h?void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd)h](j=)}(hvoidh]hvoid}(hjrhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjnhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhjhMfubjJ)}(hata_internal_cmd_timed_outh]j)}(hata_internal_cmd_timed_outh]hata_internal_cmd_timed_out}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjnhhhjhMfubje)}(h (struct ata_device *dev, u8 cmd)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_internal_cmd_timed_outasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu8 cmdh](h)}(hhh]j)}(hu8h]hu8}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj&modnameN classnameNj.j1)}j4]jc.ata_internal_cmd_timed_outasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hcmdh]hcmd}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjnhhhjhMfubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjjhhhjhMfubah}(h]jeah ](jYjeh"]h$]h&]jj)jhuh1jhjhMfhjghhubj)}(hhh]h)}(h)notification for internal command timeouth]h)notification for internal command timeout}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM[hjwhhubah}(h]h ]h"]h$]h&]uh1jhjghhhjhMfubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX;**Parameters** ``struct ata_device *dev`` target device ``u8 cmd`` internal command which timed out Notify EH that internal command **cmd** for **dev** timed out. This function should be called only for commands whose timeouts are determined using ata_internal_cmd_timeout(). LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM_hjubjQ)}(hhh](jV)}(h)``struct ata_device *dev`` target device h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM\hjubjl)}(hhh]h)}(h target deviceh]h target device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM\hjubjV)}(h``u8 cmd`` internal command which timed out Notify EH that internal command **cmd** for **dev** timed out. This function should be called only for commands whose timeouts are determined using ata_internal_cmd_timeout(). LOCKING: EH context.h](j\)}(h ``u8 cmd``h]jH)}(hjh]hu8 cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMchjubjl)}(hhh](h)}(h internal command which timed outh]h internal command which timed out}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM]hj ubh)}(hNotify EH that internal command **cmd** for **dev** timed out. This function should be called only for commands whose timeouts are determined using ata_internal_cmd_timeout().h](h Notify EH that internal command }(hjhhhNhNubj)}(h**cmd**h]hcmd}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for }(hjhhhNhNubj)}(h**dev**h]hdev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh} timed out. This function should be called only for commands whose timeouts are determined using ata_internal_cmd_timeout().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM_hj ubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMchj ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj hMchjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_acquire (C function)c.ata_eh_acquirehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h)void ata_eh_acquire (struct ata_port *ap)h]j)}(h(void ata_eh_acquire(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_eh_acquireh]j)}(hata_eh_acquireh]hata_eh_acquire}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_eh_acquireasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hacquire EH ownershiph]hacquire EH ownership}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjgjjgjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_port *ap`` ATA port to acquire EH ownership for Acquire EH ownership for **ap**. This is the basic exclusion mechanism for ports sharing a host. Only one port hanging off the same host can claim the ownership of EH. LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjkubjQ)}(hhh]jV)}(h``struct ata_port *ap`` ATA port to acquire EH ownership for Acquire EH ownership for **ap**. This is the basic exclusion mechanism for ports sharing a host. Only one port hanging off the same host can claim the ownership of EH. LOCKING: EH context.h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(h$ATA port to acquire EH ownership forh]h$ATA port to acquire EH ownership for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hAcquire EH ownership for **ap**. This is the basic exclusion mechanism for ports sharing a host. Only one port hanging off the same host can claim the ownership of EH.h](hAcquire EH ownership for }(hjhhhNhNubj)}(h**ap**h]hap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. This is the basic exclusion mechanism for ports sharing a host. Only one port hanging off the same host can claim the ownership of EH.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_release (C function)c.ata_eh_releasehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h)void ata_eh_release (struct ata_port *ap)h]j)}(h(void ata_eh_release(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj'hMubjJ)}(hata_eh_releaseh]j)}(hata_eh_releaseh]hata_eh_release}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj'hMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubh)}(hhh]j)}(hata_porth]hata_port}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjvmodnameN classnameNj.j1)}j4]j$)}j*j<sbc.ata_eh_releaseasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjRubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjNubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhj'hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj'hMubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj'hMhjhhubj)}(hhh]h)}(hrelease EH ownershiph]hrelease EH ownership}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj'hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_port *ap`` ATA port to release EH ownership for Release EH ownership for **ap** if the caller. The caller must have acquired EH ownership using ata_eh_acquire() previously. LOCKING: EH context.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjQ)}(hhh]jV)}(h``struct ata_port *ap`` ATA port to release EH ownership for Release EH ownership for **ap** if the caller. The caller must have acquired EH ownership using ata_eh_acquire() previously. LOCKING: EH context.h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(h$ATA port to release EH ownership forh]h$ATA port to release EH ownership for}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj0ubh)}(h}Release EH ownership for **ap** if the caller. The caller must have acquired EH ownership using ata_eh_acquire() previously.h](hRelease EH ownership for }(hjBhhhNhNubj)}(h**ap**h]hap}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh^ if the caller. The caller must have acquired EH ownership using ata_eh_acquire() previously.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj0ubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj/hMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsi_error (C function)c.ata_scsi_errorhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h,void ata_scsi_error (struct Scsi_Host *host)h]j)}(h+void ata_scsi_error(struct Scsi_Host *host)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM1ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM1ubjJ)}(hata_scsi_errorh]j)}(hata_scsi_errorh]hata_scsi_error}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM1ubje)}(h(struct Scsi_Host *host)h]jk)}(hstruct Scsi_Host *hosth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h Scsi_Hosth]h Scsi_Host}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_scsi_errorasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj,hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hhosth]hhost}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM1ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM1ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM1hjhhubj)}(hhh]h)}(h!SCSI layer error handler callbackh]h!SCSI layer error handler callback}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM&hj`hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM1ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj{jj{jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct Scsi_Host *host`` SCSI host on which error occurred Handles SCSI-layer-thrown error events. LOCKING: Inherited from SCSI layer (none, can sleep) **Return** Zero.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM*hjubjQ)}(hhh]jV)}(h``struct Scsi_Host *host`` SCSI host on which error occurred Handles SCSI-layer-thrown error events. LOCKING: Inherited from SCSI layer (none, can sleep) h](j\)}(h``struct Scsi_Host *host``h]jH)}(hjh]hstruct Scsi_Host *host}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM,hjubjl)}(hhh](h)}(h!SCSI host on which error occurredh]h!SCSI host on which error occurred}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM'hjubh)}(h'Handles SCSI-layer-thrown error events.h]h'Handles SCSI-layer-thrown error events.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM)hjubh)}(h4LOCKING: Inherited from SCSI layer (none, can sleep)h]h4LOCKING: Inherited from SCSI layer (none, can sleep)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM+hjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM,hjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM.hjubj)}(hZero.h]h)}(hjh]hZero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM.hjubah}(h]h ]h"]h$]h&]uh1jhj%hM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j'ata_scsi_cmd_error_handler (C function)c.ata_scsi_cmd_error_handlerhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hjvoid ata_scsi_cmd_error_handler (struct Scsi_Host *host, struct ata_port *ap, struct list_head *eh_work_q)h]j)}(hivoid ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap, struct list_head *eh_work_q)h](j=)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjHhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMPubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhjZhMPubjJ)}(hata_scsi_cmd_error_handlerh]j)}(hata_scsi_cmd_error_handlerh]hata_scsi_cmd_error_handler}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjHhhhjZhMPubje)}(hJ(struct Scsi_Host *host, struct ata_port *ap, struct list_head *eh_work_q)h](jk)}(hstruct Scsi_Host *hosth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h Scsi_Hosth]h Scsi_Host}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*josbc.ata_scsi_cmd_error_handlerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hhosth]hhost}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_scsi_cmd_error_handlerasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjEhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct list_head *eh_work_qh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubh)}(hhh]j)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_scsi_cmd_error_handlerasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjgubj)}(h eh_work_qh]h eh_work_q}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjHhhhjZhMPubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjDhhhjZhMPubah}(h]j?ah ](jYjeh"]h$]h&]jj)jhuh1jhjZhMPhjAhhubj)}(hhh]h)}(h%error callback for a list of commandsh]h%error callback for a list of commands}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMGhjhhubah}(h]h ]h"]h$]h&]uh1jhjAhhhjZhMPubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct Scsi_Host *host`` scsi host containing the port ``struct ata_port *ap`` ATA port within the host ``struct list_head *eh_work_q`` list of commands to process **Description** process the given list of commands and return those finished to the ap->eh_done_q. This function is the first part of the libata error handler which processes a given list of failed commands.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMKhjubjQ)}(hhh](jV)}(h9``struct Scsi_Host *host`` scsi host containing the port h](j\)}(h``struct Scsi_Host *host``h]jH)}(hj-h]hstruct Scsi_Host *host}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj+ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMHhj'ubjl)}(hhh]h)}(hscsi host containing the porth]hscsi host containing the port}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMHhjCubah}(h]h ]h"]h$]h&]uh1jkhj'ubeh}(h]h ]h"]h$]h&]uh1jUhjBhMHhj$ubjV)}(h1``struct ata_port *ap`` ATA port within the host h](j\)}(h``struct ata_port *ap``h]jH)}(hjfh]hstruct ata_port *ap}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjdubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMIhj`ubjl)}(hhh]h)}(hATA port within the hosth]hATA port within the host}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMIhj|ubah}(h]h ]h"]h$]h&]uh1jkhj`ubeh}(h]h ]h"]h$]h&]uh1jUhj{hMIhj$ubjV)}(h<``struct list_head *eh_work_q`` list of commands to process h](j\)}(h``struct list_head *eh_work_q``h]jH)}(hjh]hstruct list_head *eh_work_q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMJhjubjl)}(hhh]h)}(hlist of commands to processh]hlist of commands to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMJhj$ubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMLhjubh)}(hprocess the given list of commands and return those finished to the ap->eh_done_q. This function is the first part of the libata error handler which processes a given list of failed commands.h]hprocess the given list of commands and return those finished to the ap->eh_done_q. This function is the first part of the libata error handler which processes a given list of failed commands.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMLhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j(ata_scsi_port_error_handler (C function)c.ata_scsi_port_error_handlerhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hNvoid ata_scsi_port_error_handler (struct Scsi_Host *host, struct ata_port *ap)h]j)}(hMvoid ata_scsi_port_error_handler(struct Scsi_Host *host, struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj-hMubjJ)}(hata_scsi_port_error_handlerh]j)}(hata_scsi_port_error_handlerh]hata_scsi_port_error_handler}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj-hMubje)}(h-(struct Scsi_Host *host, struct ata_port *ap)h](jk)}(hstruct Scsi_Host *hosth](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubh)}(hhh]j)}(h Scsi_Hosth]h Scsi_Host}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj|modnameN classnameNj.j1)}j4]j$)}j*jBsbc.ata_scsi_port_error_handlerasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjXubj)}(hhosth]hhost}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjTubjk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_scsi_port_error_handlerasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjTubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhj-hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj-hMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj-hMhjhhubj)}(hhh]h)}(h#recover the port after the commandsh]h#recover the port after the commands}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj-hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjgjjgjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct Scsi_Host *host`` SCSI host containing the port ``struct ata_port *ap`` the ATA port **Description** Handle the recovery of the port **ap** after all the commands have been recovered.h](h)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjkubjQ)}(hhh](jV)}(h9``struct Scsi_Host *host`` SCSI host containing the port h](j\)}(h``struct Scsi_Host *host``h]jH)}(hjh]hstruct Scsi_Host *host}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh]h)}(hSCSI host containing the porth]hSCSI host containing the port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h%``struct ata_port *ap`` the ATA port h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh]h)}(h the ATA porth]h the ATA port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjkubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjkubh)}(hRHandle the recovery of the port **ap** after all the commands have been recovered.h](h Handle the recovery of the port }(hjhhhNhNubj)}(h**ap**h]hap}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, after all the commands have been recovered.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_port_wait_eh (C function)c.ata_port_wait_ehhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h+void ata_port_wait_eh (struct ata_port *ap)h]j)}(h*void ata_port_wait_eh(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjWhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM4ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhjihM4ubjJ)}(hata_port_wait_ehh]j)}(hata_port_wait_ehh]hata_port_wait_eh}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjWhhhjihM4ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*j~sbc.ata_port_wait_ehasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjWhhhjihM4ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjShhhjihM4ubah}(h]jNah ](jYjeh"]h$]h&]jj)jhuh1jhjihM4hjPhhubj)}(hhh]h)}(h-Wait for the currently pending EH to completeh]h-Wait for the currently pending EH to complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM,hjhhubah}(h]h ]h"]h$]h&]uh1jhjPhhhjihM4ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj3jj3jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_port *ap`` Port to wait EH for Wait until the currently pending EH is complete. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM0hj7ubjQ)}(hhh]jV)}(h``struct ata_port *ap`` Port to wait EH for Wait until the currently pending EH is complete. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_port *ap``h]jH)}(hj\h]hstruct ata_port *ap}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjZubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM1hjVubjl)}(hhh](h)}(hPort to wait EH forh]hPort to wait EH for}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM-hjrubh)}(h0Wait until the currently pending EH is complete.h]h0Wait until the currently pending EH is complete.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM/hjrubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM1hjrubeh}(h]h ]h"]h$]h&]uh1jkhjVubeh}(h]h ]h"]h$]h&]uh1jUhjqhM1hjSubah}(h]h ]h"]h$]h&]uh1jPhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_set_pending (C function)c.ata_eh_set_pendinghNtauh1jhjxhhhNhNubj)}(hhh](j)}(hlock, in the libsas case we need to hold a lock at the ha->level to coordinate these events. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjQ)}(hhh]jV)}(h/``struct ata_port *ap`` ATA port to end EH for h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh]h)}(hATA port to end EH forh]hATA port to end EH for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hIn the libata object model there is a 1:1 mapping of ata_port to shost, so host fields can be directly manipulated under ap->lock, in the libsas case we need to hold a lock at the ha->level to coordinate these events.h]hIn the libata object model there is a 1:1 mapping of ata_port to shost, so host fields can be directly manipulated under ap->lock, in the libsas case we need to hold a lock at the ha->level to coordinate these events.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubj)}(h%LOCKING: spin_lock_irqsave(host lock)h]h)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubah}(h]h ]h"]h$]h&]uh1jhj1hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ata_port_schedule_eh (C function)c.ata_port_schedule_ehhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h/void ata_port_schedule_eh (struct ata_port *ap)h]j)}(h.void ata_port_schedule_eh(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjThhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhjfhMubjJ)}(hata_port_schedule_ehh]j)}(hata_port_schedule_ehh]hata_port_schedule_eh}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjThhhjfhMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*j{sbc.ata_port_schedule_ehasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjThhhjfhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjPhhhjfhMubah}(h]jKah ](jYjeh"]h$]h&]jj)jhuh1jhjfhMhjMhhubj)}(hhh]h)}(h$schedule error handling without a qch]h$schedule error handling without a qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjMhhhjfhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj0jj0jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_port *ap`` ATA port to schedule EH for Schedule error handling for **ap**. EH will kick in as soon as all commands are drained. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj4ubjQ)}(hhh]jV)}(h``struct ata_port *ap`` ATA port to schedule EH for Schedule error handling for **ap**. EH will kick in as soon as all commands are drained. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_port *ap``h]jH)}(hjYh]hstruct ata_port *ap}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjWubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjSubjl)}(hhh](h)}(hATA port to schedule EH forh]hATA port to schedule EH for}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjoubh)}(hYSchedule error handling for **ap**. EH will kick in as soon as all commands are drained.h](hSchedule error handling for }(hjhhhNhNubj)}(h**ap**h]hap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7. EH will kick in as soon as all commands are drained.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjoubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubeh}(h]h ]h"]h$]h&]uh1jkhjSubeh}(h]h ]h"]h$]h&]uh1jUhjnhMhjPubah}(h]h ]h"]h$]h&]uh1jPhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_link_abort (C function)c.ata_link_aborthNtauh1jhjxhhhNhNubj)}(hhh](j)}(h*int ata_link_abort (struct ata_link *link)h]j)}(h)int ata_link_abort(struct ata_link *link)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_link_aborth]j)}(hata_link_aborth]hata_link_abort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj?modnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_link_abortasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjkhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(habort all qc's on the linkh]habort all qc’s on the link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_link *link`` ATA link to abort qc's for Abort all active qc's active on **link** and schedule EH. LOCKING: spin_lock_irqsave(host lock) **Return** Number of aborted qc's.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjQ)}(hhh]jV)}(h``struct ata_link *link`` ATA link to abort qc's for Abort all active qc's active on **link** and schedule EH. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``struct ata_link *link``h]jH)}(hjh]hstruct ata_link *link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(hATA link to abort qc's forh]hATA link to abort qc’s for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(h9Abort all active qc's active on **link** and schedule EH.h](h"Abort all active qc’s active on }(hj hhhNhNubj)}(h**link**h]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and schedule EH.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjOh]hReturn}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubj)}(hNumber of aborted qc's.h]h)}(hjgh]hNumber of aborted qc’s.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjeubah}(h]h ]h"]h$]h&]uh1jhjvhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_port_abort (C function)c.ata_port_aborthNtauh1jhjxhhhNhNubj)}(hhh](j)}(h(int ata_port_abort (struct ata_port *ap)h]j)}(h'int ata_port_abort(struct ata_port *ap)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM0ubjJ)}(hata_port_aborth]j)}(hata_port_aborth]hata_port_abort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM0ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_port_abortasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj&hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM0ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM0ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM0hjhhubj)}(hhh]h)}(habort all qc's on the porth]habort all qc’s on the port}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM%hjZhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM0ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjujjujjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_port *ap`` ATA port to abort qc's for Abort all active qc's of **ap** and schedule EH. LOCKING: spin_lock_irqsave(host_set lock) **Return** Number of aborted qc's.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM)hjyubjQ)}(hhh]jV)}(h``struct ata_port *ap`` ATA port to abort qc's for Abort all active qc's of **ap** and schedule EH. LOCKING: spin_lock_irqsave(host_set lock) h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM+hjubjl)}(hhh](h)}(hATA port to abort qc's forh]hATA port to abort qc’s for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM&hjubh)}(h0Abort all active qc's of **ap** and schedule EH.h](hAbort all active qc’s of }(hjhhhNhNubj)}(h**ap**h]hap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and schedule EH.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM(hjubh)}(h)LOCKING: spin_lock_irqsave(host_set lock)h]h)LOCKING: spin_lock_irqsave(host_set lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM*hjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM+hjubah}(h]h ]h"]h$]h&]uh1jPhjyubh)}(h **Return**h]j)}(hj h]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM-hjyubj)}(hNumber of aborted qc's.h]h)}(hj"h]hNumber of aborted qc’s.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM-hj ubah}(h]h ]h"]h$]h&]uh1jhj1hM-hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j__ata_port_freeze (C function)c.__ata_port_freezehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h,void __ata_port_freeze (struct ata_port *ap)h]j)}(h+void __ata_port_freeze(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjThhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMHubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhjfhMHubjJ)}(h__ata_port_freezeh]j)}(h__ata_port_freezeh]h__ata_port_freeze}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjThhhjfhMHubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*j{sbc.__ata_port_freezeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjThhhjfhMHubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjPhhhjfhMHubah}(h]jKah ](jYjeh"]h$]h&]jj)jhuh1jhjfhMHhjMhhubj)}(hhh]h)}(h freeze porth]h freeze port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jhjMhhhjfhMHubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj0jj0jjjuh1jhhhjxhNhNubj)}(hX]**Parameters** ``struct ata_port *ap`` ATA port to freeze This function is called when HSM violation or some other condition disrupts normal operation of the port. Frozen port is not allowed to perform any operation until the port is thawed, which usually follows a successful reset. ap->ops->freeze() callback can be used for freezing the port hardware-wise (e.g. mask interrupt and stop DMA engine). If a port cannot be frozen hardware-wise, the interrupt handler must ack and clear interrupts unconditionally while the port is frozen. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM;hj4ubjQ)}(hhh]jV)}(hX5``struct ata_port *ap`` ATA port to freeze This function is called when HSM violation or some other condition disrupts normal operation of the port. Frozen port is not allowed to perform any operation until the port is thawed, which usually follows a successful reset. ap->ops->freeze() callback can be used for freezing the port hardware-wise (e.g. mask interrupt and stop DMA engine). If a port cannot be frozen hardware-wise, the interrupt handler must ack and clear interrupts unconditionally while the port is frozen. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_port *ap``h]jH)}(hjYh]hstruct ata_port *ap}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjWubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMEhjSubjl)}(hhh](h)}(hATA port to freezeh]hATA port to freeze}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM8hjoubh)}(hThis function is called when HSM violation or some other condition disrupts normal operation of the port. Frozen port is not allowed to perform any operation until the port is thawed, which usually follows a successful reset.h]hThis function is called when HSM violation or some other condition disrupts normal operation of the port. Frozen port is not allowed to perform any operation until the port is thawed, which usually follows a successful reset.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM:hjoubh)}(hap->ops->freeze() callback can be used for freezing the port hardware-wise (e.g. mask interrupt and stop DMA engine). If a port cannot be frozen hardware-wise, the interrupt handler must ack and clear interrupts unconditionally while the port is frozen.h]hap->ops->freeze() callback can be used for freezing the port hardware-wise (e.g. mask interrupt and stop DMA engine). If a port cannot be frozen hardware-wise, the interrupt handler must ack and clear interrupts unconditionally while the port is frozen.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM?hjoubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMEhjoubeh}(h]h ]h"]h$]h&]uh1jkhjSubeh}(h]h ]h"]h$]h&]uh1jUhjnhMEhjPubah}(h]h ]h"]h$]h&]uh1jPhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_port_freeze (C function)c.ata_port_freezehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h)int ata_port_freeze (struct ata_port *ap)h]j)}(h(int ata_port_freeze(struct ata_port *ap)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM`ubjJ)}(hata_port_freezeh]j)}(hata_port_freezeh]hata_port_freeze}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM`ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj) hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubh)}(hhh]j)}(hata_porth]hata_port}(hj: hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7 ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj< modnameN classnameNj.j1)}j4]j$)}j*j sbc.ata_port_freezeasbuh1hhj ubj)}(h h]h }(hjZ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj9)}(hj<h]h*}(hjh hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj ubj)}(haph]hap}(hju hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj ubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM`ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM`ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM`hjhhubj)}(hhh]h)}(habort & freeze porth]habort & freeze port}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMShj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM`ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj jj jjjuh1jhhhjxhNhNubj)}(hXA**Parameters** ``struct ata_port *ap`` ATA port to freeze Abort and freeze **ap**. The freeze operation must be called first, because some hardware requires special operations before the taskfile registers are accessible. LOCKING: spin_lock_irqsave(host lock) **Return** Number of aborted commands.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMWhj ubjQ)}(hhh]jV)}(h``struct ata_port *ap`` ATA port to freeze Abort and freeze **ap**. The freeze operation must be called first, because some hardware requires special operations before the taskfile registers are accessible. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``struct ata_port *ap``h]jH)}(hj h]hstruct ata_port *ap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM[hj ubjl)}(hhh](h)}(hATA port to freezeh]hATA port to freeze}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMThj ubh)}(hAbort and freeze **ap**. The freeze operation must be called first, because some hardware requires special operations before the taskfile registers are accessible.h](hAbort and freeze }(hj hhhNhNubj)}(h**ap**h]hap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. The freeze operation must be called first, because some hardware requires special operations before the taskfile registers are accessible.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMVhj ubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMZhj ubeh}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj hM[hj ubah}(h]h ]h"]h$]h&]uh1jPhj ubh)}(h **Return**h]j)}(hjL h]hReturn}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM]hj ubj)}(hNumber of aborted commands.h]h)}(hjd h]hNumber of aborted commands.}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM]hjb ubah}(h]h ]h"]h$]h&]uh1jhjs hM]hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_freeze_port (C function)c.ata_eh_freeze_porthNtauh1jhjxhhhNhNubj)}(hhh](j)}(h-void ata_eh_freeze_port (struct ata_port *ap)h]j)}(h,void ata_eh_freeze_port(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMqubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hMqubjJ)}(hata_eh_freeze_porth]j)}(hata_eh_freeze_porth]hata_eh_freeze_port}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj hhhj hMqubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubh)}(hhh]j)}(hata_porth]hata_port}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj modnameN classnameNj.j1)}j4]j$)}j*j sbc.ata_eh_freeze_portasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj9)}(hj<h]h*}(hj# hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj ubj)}(haph]hap}(hj0 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj ubah}(h]h ]h"]h$]h&]jjuh1jdhj hhhj hMqubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj hMqubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj hMqhj hhubj)}(hhh]h)}(hEH helper to freeze porth]hEH helper to freeze port}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMihjW hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hMqubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjr jjr jjjuh1jhhhjxhNhNubj)}(hb**Parameters** ``struct ata_port *ap`` ATA port to freeze Freeze **ap**. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj| h]h Parameters}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMmhjv ubjQ)}(hhh]jV)}(hJ``struct ata_port *ap`` ATA port to freeze Freeze **ap**. LOCKING: None.h](j\)}(h``struct ata_port *ap``h]jH)}(hj h]hstruct ata_port *ap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMnhj ubjl)}(hhh](h)}(hATA port to freezeh]hATA port to freeze}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMjhj ubh)}(hFreeze **ap**.h](hFreeze }(hj hhhNhNubj)}(h**ap**h]hap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMlhj ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMnhj ubeh}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj hMnhj ubah}(h]h ]h"]h$]h&]uh1jPhjv ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_thaw_port (C function)c.ata_eh_thaw_porthNtauh1jhjxhhhNhNubj)}(hhh](j)}(h+void ata_eh_thaw_port (struct ata_port *ap)h]j)}(h*void ata_eh_thaw_port(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hj$ hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj3 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj2 hMubjJ)}(hata_eh_thaw_porth]j)}(hata_eh_thaw_porth]hata_eh_thaw_port}(hjE hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj hhhj2 hMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hja hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj] ubj)}(h h]h }(hjn hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj] ubh)}(hhh]j)}(hata_porth]hata_port}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj| ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj modnameN classnameNj.j1)}j4]j$)}j*jG sbc.ata_eh_thaw_portasbuh1hhj] ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj] ubj9)}(hj<h]h*}(hj hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj] ubj)}(haph]hap}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj] ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjY ubah}(h]h ]h"]h$]h&]jjuh1jdhj hhhj2 hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj2 hMubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj2 hMhj hhubj)}(hhh]h)}(hEH helper to thaw porth]hEH helper to thaw port}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM|hj hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj2 hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj jj jjjuh1jhhhjxhNhNubj)}(hj**Parameters** ``struct ata_port *ap`` ATA port to thaw Thaw frozen port **ap**. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj ubjQ)}(hhh]jV)}(hR``struct ata_port *ap`` ATA port to thaw Thaw frozen port **ap**. LOCKING: None.h](j\)}(h``struct ata_port *ap``h]jH)}(hj% h]hstruct ata_port *ap}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj# ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj ubjl)}(hhh](h)}(hATA port to thawh]hATA port to thaw}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM}hj; ubh)}(hThaw frozen port **ap**.h](hThaw frozen port }(hjM hhhNhNubj)}(h**ap**h]hap}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM ubh.}(hjM hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj; ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj: hMhj; ubeh}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj: hMhj ubah}(h]h ]h"]h$]h&]uh1jPhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_qc_complete (C function)c.ata_eh_qc_completehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h3void ata_eh_qc_complete (struct ata_queued_cmd *qc)h]j)}(h2void ata_eh_qc_complete(struct ata_queued_cmd *qc)h](j=)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hMubjJ)}(hata_eh_qc_completeh]j)}(hata_eh_qc_completeh]hata_eh_qc_complete}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj hhhj hMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj modnameN classnameNj.j1)}j4]j$)}j*j sbc.ata_eh_qc_completeasbuh1hhj ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj9)}(hj<h]h*}(hj7hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj ubj)}(hqch]hqc}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj ubah}(h]h ]h"]h$]h&]jjuh1jdhj hhhj hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj hMubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj hMhj hhubj)}(hhh]h)}(h&Complete an active ATA command from EHh]h&Complete an active ATA command from EH}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_queued_cmd *qc`` Command to complete Indicate to the mid and upper layers that an ATA command has completed. To be used from EH.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` Command to complete Indicate to the mid and upper layers that an ATA command has completed. To be used from EH.h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(hCommand to completeh]hCommand to complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(h\Indicate to the mid and upper layers that an ATA command has completed. To be used from EH.h]h\Indicate to the mid and upper layers that an ATA command has completed. To be used from EH.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_qc_retry (C function)c.ata_eh_qc_retryhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h0void ata_eh_qc_retry (struct ata_queued_cmd *qc)h]j)}(h/void ata_eh_qc_retry(struct ata_queued_cmd *qc)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj%hMubjJ)}(hata_eh_qc_retryh]j)}(hata_eh_qc_retryh]hata_eh_qc_retry}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj%hMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjtmodnameN classnameNj.j1)}j4]j$)}j*j:sbc.ata_eh_qc_retryasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjPubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjLubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhj%hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj%hMubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj%hMhj hhubj)}(hhh]h)}(h.Tell midlayer to retry an ATA command after EHh]h.Tell midlayer to retry an ATA command after EH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj%hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hXX**Parameters** ``struct ata_queued_cmd *qc`` Command to retry Indicate to the mid and upper layers that an ATA command should be retried. To be used from EH. SCSI midlayer limits the number of retries to scmd->allowed. scmd->allowed is incremented for commands which get retried due to unrelated failures (qc->err_mask is zero).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjQ)}(hhh]jV)}(hX<``struct ata_queued_cmd *qc`` Command to retry Indicate to the mid and upper layers that an ATA command should be retried. To be used from EH. SCSI midlayer limits the number of retries to scmd->allowed. scmd->allowed is incremented for commands which get retried due to unrelated failures (qc->err_mask is zero).h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(hCommand to retryh]hCommand to retry}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj.ubh)}(h`Indicate to the mid and upper layers that an ATA command should be retried. To be used from EH.h]h`Indicate to the mid and upper layers that an ATA command should be retried. To be used from EH.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj.ubh)}(hSCSI midlayer limits the number of retries to scmd->allowed. scmd->allowed is incremented for commands which get retried due to unrelated failures (qc->err_mask is zero).h]hSCSI midlayer limits the number of retries to scmd->allowed. scmd->allowed is incremented for commands which get retried due to unrelated failures (qc->err_mask is zero).}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj.ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj-hMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_dev_disable (C function)c.ata_dev_disablehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h-void ata_dev_disable (struct ata_device *dev)h]j)}(h,void ata_dev_disable(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_dev_disableh]j)}(hata_dev_disableh]hata_dev_disable}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_dev_disableasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hdisable ATA deviceh]hdisable ATA device}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjhjjhjjjuh1jhhhjxhNhNubj)}(hp**Parameters** ``struct ata_device *dev`` ATA device to disable Disable **dev**. Locking: EH context.h](h)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjlubjQ)}(hhh]jV)}(hX``struct ata_device *dev`` ATA device to disable Disable **dev**. Locking: EH context.h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(hATA device to disableh]hATA device to disable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hDisable **dev**.h](hDisable }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hLocking: EH context.h]hLocking: EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_detach_dev (C function)c.ata_eh_detach_devhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h/void ata_eh_detach_dev (struct ata_device *dev)h]j)}(h.void ata_eh_detach_dev(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj(hMubjJ)}(hata_eh_detach_devh]j)}(hata_eh_detach_devh]hata_eh_detach_dev}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj(hMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjwmodnameN classnameNj.j1)}j4]j$)}j*j=sbc.ata_eh_detach_devasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjSubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjOubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhj(hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj(hMubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj(hMhjhhubj)}(hhh]h)}(hdetach ATA deviceh]hdetach ATA device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj(hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hh**Parameters** ``struct ata_device *dev`` ATA device to detach Detach **dev**. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjQ)}(hhh]jV)}(hP``struct ata_device *dev`` ATA device to detach Detach **dev**. LOCKING: None.h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(hATA device to detachh]hATA device to detach}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj1ubh)}(hDetach **dev**.h](hDetach }(hjChhhNhNubj)}(h**dev**h]hdev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj1ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj1ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj0hMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_about_to_do (C function)c.ata_eh_about_to_dohNtauh1jhjxhhhNhNubj)}(hhh](j)}(h\void ata_eh_about_to_do (struct ata_link *link, struct ata_device *dev, unsigned int action)h]j)}(h[void ata_eh_about_to_do(struct ata_link *link, struct ata_device *dev, unsigned int action)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_eh_about_to_doh]j)}(hata_eh_about_to_doh]hata_eh_about_to_do}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(hD(struct ata_link *link, struct ata_device *dev, unsigned int action)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_eh_about_to_doasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj-hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjsmodnameN classnameNj.j1)}j4]jc.ata_eh_about_to_doasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjOubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int actionh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hactionh]haction}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(habout to perform eh_actionh]habout to perform eh_action}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj"hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj=jj=jjjuh1jhhhjxhNhNubj)}(hXe**Parameters** ``struct ata_link *link`` target ATA link ``struct ata_device *dev`` target ATA dev for per-dev action (can be NULL) ``unsigned int action`` action about to be performed Called just before performing EH actions to clear related bits in **link->eh_info** such that eh actions are not unnecessarily repeated. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjAubjQ)}(hhh](jV)}(h*``struct ata_link *link`` target ATA link h](j\)}(h``struct ata_link *link``h]jH)}(hjfh]hstruct ata_link *link}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjdubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj`ubjl)}(hhh]h)}(htarget ATA linkh]htarget ATA link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM hj|ubah}(h]h ]h"]h$]h&]uh1jkhj`ubeh}(h]h ]h"]h$]h&]uh1jUhj{hM hj]ubjV)}(hK``struct ata_device *dev`` target ATA dev for per-dev action (can be NULL) h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjubjl)}(hhh]h)}(h/target ATA dev for per-dev action (can be NULL)h]h/target ATA dev for per-dev action (can be NULL)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hj]ubjV)}(h``unsigned int action`` action about to be performed Called just before performing EH actions to clear related bits in **link->eh_info** such that eh actions are not unnecessarily repeated. LOCKING: None.h](j\)}(h``unsigned int action``h]jH)}(hjh]hunsigned int action}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubjl)}(hhh](h)}(haction about to be performedh]haction about to be performed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjubh)}(hCalled just before performing EH actions to clear related bits in **link->eh_info** such that eh actions are not unnecessarily repeated.h](hBCalled just before performing EH actions to clear related bits in }(hjhhhNhNubj)}(h**link->eh_info**h]h link->eh_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 such that eh actions are not unnecessarily repeated.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hLOCKING: None.h]hLOCKING: None.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhj]ubeh}(h]h ]h"]h$]h&]uh1jPhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_done (C function) c.ata_eh_donehNtauh1jhjxhhhNhNubj)}(hhh](j)}(hUvoid ata_eh_done (struct ata_link *link, struct ata_device *dev, unsigned int action)h]j)}(hTvoid ata_eh_done(struct ata_link *link, struct ata_device *dev, unsigned int action)h](j=)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj]hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM8ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhjohM8ubjJ)}(h ata_eh_doneh]j)}(h ata_eh_doneh]h ata_eh_done}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj]hhhjohM8ubje)}(hD(struct ata_link *link, struct ata_device *dev, unsigned int action)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsb c.ata_eh_doneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj0modnameN classnameNj.j1)}j4]j c.ata_eh_doneasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj9)}(hj<h]h*}(hjZhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj ubj)}(hdevh]hdev}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int actionh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(hactionh]haction}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj]hhhjohM8ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjYhhhjohM8ubah}(h]jTah ](jYjeh"]h$]h&]jj)jhuh1jhjohM8hjVhhubj)}(hhh]h)}(hEH action completeh]hEH action complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM-hjhhubah}(h]h ]h"]h$]h&]uh1jhjVhhhjohM8ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hXF**Parameters** ``struct ata_link *link`` ATA link for which EH actions are complete ``struct ata_device *dev`` target ATA dev for per-dev action (can be NULL) ``unsigned int action`` action just completed Called right after performing EH actions to clear related bits in **link->eh_context**. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM1hjubjQ)}(hhh](jV)}(hE``struct ata_link *link`` ATA link for which EH actions are complete h](j\)}(h``struct ata_link *link``h]jH)}(hj#h]hstruct ata_link *link}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj!ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM.hjubjl)}(hhh]h)}(h*ATA link for which EH actions are completeh]h*ATA link for which EH actions are complete}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hM.hj9ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj8hM.hjubjV)}(hK``struct ata_device *dev`` target ATA dev for per-dev action (can be NULL) h](j\)}(h``struct ata_device *dev``h]jH)}(hj\h]hstruct ata_device *dev}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjZubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM/hjVubjl)}(hhh]h)}(h/target ATA dev for per-dev action (can be NULL)h]h/target ATA dev for per-dev action (can be NULL)}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM/hjrubah}(h]h ]h"]h$]h&]uh1jkhjVubeh}(h]h ]h"]h$]h&]uh1jUhjqhM/hjubjV)}(h``unsigned int action`` action just completed Called right after performing EH actions to clear related bits in **link->eh_context**. LOCKING: None.h](j\)}(h``unsigned int action``h]jH)}(hjh]hunsigned int action}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM5hjubjl)}(hhh](h)}(haction just completedh]haction just completed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM0hjubh)}(hWCalled right after performing EH actions to clear related bits in **link->eh_context**.h](hBCalled right after performing EH actions to clear related bits in }(hjhhhNhNubj)}(h**link->eh_context**h]hlink->eh_context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM2hjubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5hjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM5hjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_err_string (C function)c.ata_err_stringhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h3const char * ata_err_string (unsigned int err_mask)h]j)}(h1const char *ata_err_string(unsigned int err_mask)h](j)}(hj'h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMPubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj+hMPubj=)}(hcharh]hchar}(hj:hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhj+hMPubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj+hMPubj9)}(hj<h]h*}(hjVhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjhhhj+hMPubjJ)}(hata_err_stringh]j)}(hata_err_stringh]hata_err_string}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj+hMPubje)}(h(unsigned int err_mask)h]jk)}(hunsigned int err_maskh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(herr_maskh]herr_mask}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj{ubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhj+hMPubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj+hMPubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj+hMPhjhhubj)}(hhh]h)}(h&convert err_mask to descriptive stringh]h&convert err_mask to descriptive string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMChjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj+hMPubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjxhNhNubj)}(hX"**Parameters** ``unsigned int err_mask`` error mask to convert to string Convert **err_mask** to descriptive string. Errors are prioritized according to severity and only the most severe error is reported. LOCKING: None. **Return** Descriptive string for **err_mask**h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMGhjubjQ)}(hhh]jV)}(h``unsigned int err_mask`` error mask to convert to string Convert **err_mask** to descriptive string. Errors are prioritized according to severity and only the most severe error is reported. LOCKING: None. h](j\)}(h``unsigned int err_mask``h]jH)}(hj&h]hunsigned int err_mask}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj$ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMKhj ubjl)}(hhh](h)}(herror mask to convert to stringh]herror mask to convert to string}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMDhj<ubh)}(hConvert **err_mask** to descriptive string. Errors are prioritized according to severity and only the most severe error is reported.h](hConvert }(hjNhhhNhNubj)}(h **err_mask**h]herr_mask}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubhq to descriptive string. Errors are prioritized according to severity and only the most severe error is reported.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMFhj<ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMJhj<ubeh}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj;hMKhjubah}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMMhjubj)}(h#Descriptive string for **err_mask**h]h)}(hjh](hDescriptive string for }(hjhhhNhNubj)}(h **err_mask**h]herr_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMMhjubah}(h]h ]h"]h$]h&]uh1jhjhMMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jatapi_eh_tur (C function)c.atapi_eh_turhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hCunsigned int atapi_eh_tur (struct ata_device *dev, u8 *r_sense_key)h]j)}(hBunsigned int atapi_eh_tur(struct ata_device *dev, u8 *r_sense_key)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMvubj=)}(hinth]hint}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMvubjJ)}(h atapi_eh_turh]j)}(h atapi_eh_turh]h atapi_eh_tur}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMvubje)}(h)(struct ata_device *dev, u8 *r_sense_key)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjgmodnameN classnameNj.j1)}j4]j$)}j*j-sbc.atapi_eh_turasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjCubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj?ubjk)}(hu8 *r_sense_keyh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.atapi_eh_turasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(h r_sense_keyh]h r_sense_key}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj?ubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMvubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMvubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMvhjhhubj)}(hhh]h)}(hperform ATAPI TEST_UNIT_READYh]hperform ATAPI TEST_UNIT_READY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMvubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj7jj7jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_device *dev`` target ATAPI device ``u8 *r_sense_key`` out parameter for sense_key Perform ATAPI TEST_UNIT_READY. LOCKING: EH context (may sleep). **Return** 0 on success, AC_ERR_* mask on failure.h](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMnhj;ubjQ)}(hhh](jV)}(h/``struct ata_device *dev`` target ATAPI device h](j\)}(h``struct ata_device *dev``h]jH)}(hj`h]hstruct ata_device *dev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj^ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMkhjZubjl)}(hhh]h)}(htarget ATAPI deviceh]htarget ATAPI device}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMkhjvubah}(h]h ]h"]h$]h&]uh1jkhjZubeh}(h]h ]h"]h$]h&]uh1jUhjuhMkhjWubjV)}(hr``u8 *r_sense_key`` out parameter for sense_key Perform ATAPI TEST_UNIT_READY. LOCKING: EH context (may sleep). h](j\)}(h``u8 *r_sense_key``h]jH)}(hjh]hu8 *r_sense_key}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMqhjubjl)}(hhh](h)}(hout parameter for sense_keyh]hout parameter for sense_key}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMlhjubh)}(hPerform ATAPI TEST_UNIT_READY.h]hPerform ATAPI TEST_UNIT_READY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMnhjubh)}(h LOCKING: EH context (may sleep).h]h LOCKING: EH context (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMphjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMqhjWubeh}(h]h ]h"]h$]h&]uh1jPhj;ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMshj;ubj)}(h'0 on success, AC_ERR_* mask on failure.h]h)}(hj h]h'0 on success, AC_ERR_* mask on failure.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMshj ubah}(h]h ]h"]h$]h&]uh1jhjhMshj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&ata_eh_decide_disposition (C function)c.ata_eh_decide_dispositionhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hKenum scsi_disposition ata_eh_decide_disposition (struct ata_queued_cmd *qc)h]j)}(hJenum scsi_disposition ata_eh_decide_disposition(struct ata_queued_cmd *qc)h](j)}(hjRh]henum}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhjNhMubh)}(hhh]j)}(hscsi_dispositionh]hscsi_disposition}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjbmodnameN classnameNj.j1)}j4]j$)}j*ata_eh_decide_dispositionsbc.ata_eh_decide_dispositionasbuh1hhj=hhhjNhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhjNhMubjJ)}(hata_eh_decide_dispositionh]j)}(hj~h]hata_eh_decide_disposition}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj=hhhjNhMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j|c.ata_eh_decide_dispositionasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhj=hhhjNhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj9hhhjNhMubah}(h]j4ah ](jYjeh"]h$]h&]jj)jhuh1jhjNhMhj6hhubj)}(hhh]h)}(h$Disposition a qc based on sense datah]h$Disposition a qc based on sense data}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj,hhubah}(h]h ]h"]h$]h&]uh1jhj6hhhjNhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjGjjGjjjuh1jhhhjxhNhNubj)}(hX7**Parameters** ``struct ata_queued_cmd *qc`` qc to examine For a regular SCSI command, the SCSI completion callback (scsi_done()) will call scsi_complete(), which will call scsi_decide_disposition(), which will call scsi_check_sense(). scsi_complete() finally calls scsi_finish_command(). This is fine for SCSI, since any eventual sense data is usually returned in the completion itself (without invoking SCSI EH). However, for a QC, we always need to fetch the sense data explicitly using SCSI EH. A command that is completed via SCSI EH will instead be completed using scsi_eh_flush_done_q(), which will call scsi_finish_command() directly (without ever calling scsi_check_sense()). For a command that went through SCSI EH, it is the responsibility of the SCSI EH strategy handler to call scsi_decide_disposition(), see e.g. how scsi_eh_get_sense() calls scsi_decide_disposition() for SCSI LLDDs that do not get the sense data as part of the completion. Thus, for QC commands that went via SCSI EH, we need to call scsi_check_sense() ourselves, similar to how scsi_eh_get_sense() calls scsi_decide_disposition(), which calls scsi_check_sense(), in order to set the correct SCSI ML byte (if any). LOCKING: EH context. **Return** SUCCESS or FAILED or NEEDS_RETRY or ADD_TO_MLQUEUEh](h)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjKubjQ)}(hhh]jV)}(hX``struct ata_queued_cmd *qc`` qc to examine For a regular SCSI command, the SCSI completion callback (scsi_done()) will call scsi_complete(), which will call scsi_decide_disposition(), which will call scsi_check_sense(). scsi_complete() finally calls scsi_finish_command(). This is fine for SCSI, since any eventual sense data is usually returned in the completion itself (without invoking SCSI EH). However, for a QC, we always need to fetch the sense data explicitly using SCSI EH. A command that is completed via SCSI EH will instead be completed using scsi_eh_flush_done_q(), which will call scsi_finish_command() directly (without ever calling scsi_check_sense()). For a command that went through SCSI EH, it is the responsibility of the SCSI EH strategy handler to call scsi_decide_disposition(), see e.g. how scsi_eh_get_sense() calls scsi_decide_disposition() for SCSI LLDDs that do not get the sense data as part of the completion. Thus, for QC commands that went via SCSI EH, we need to call scsi_check_sense() ourselves, similar to how scsi_eh_get_sense() calls scsi_decide_disposition(), which calls scsi_check_sense(), in order to set the correct SCSI ML byte (if any). LOCKING: EH context. h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjph]hstruct ata_queued_cmd *qc}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjnubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjjubjl)}(hhh](h)}(h qc to examineh]h qc to examine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hXFor a regular SCSI command, the SCSI completion callback (scsi_done()) will call scsi_complete(), which will call scsi_decide_disposition(), which will call scsi_check_sense(). scsi_complete() finally calls scsi_finish_command(). This is fine for SCSI, since any eventual sense data is usually returned in the completion itself (without invoking SCSI EH). However, for a QC, we always need to fetch the sense data explicitly using SCSI EH.h]hXFor a regular SCSI command, the SCSI completion callback (scsi_done()) will call scsi_complete(), which will call scsi_decide_disposition(), which will call scsi_check_sense(). scsi_complete() finally calls scsi_finish_command(). This is fine for SCSI, since any eventual sense data is usually returned in the completion itself (without invoking SCSI EH). However, for a QC, we always need to fetch the sense data explicitly using SCSI EH.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hA command that is completed via SCSI EH will instead be completed using scsi_eh_flush_done_q(), which will call scsi_finish_command() directly (without ever calling scsi_check_sense()).h]hA command that is completed via SCSI EH will instead be completed using scsi_eh_flush_done_q(), which will call scsi_finish_command() directly (without ever calling scsi_check_sense()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hXFor a command that went through SCSI EH, it is the responsibility of the SCSI EH strategy handler to call scsi_decide_disposition(), see e.g. how scsi_eh_get_sense() calls scsi_decide_disposition() for SCSI LLDDs that do not get the sense data as part of the completion.h]hXFor a command that went through SCSI EH, it is the responsibility of the SCSI EH strategy handler to call scsi_decide_disposition(), see e.g. how scsi_eh_get_sense() calls scsi_decide_disposition() for SCSI LLDDs that do not get the sense data as part of the completion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hThus, for QC commands that went via SCSI EH, we need to call scsi_check_sense() ourselves, similar to how scsi_eh_get_sense() calls scsi_decide_disposition(), which calls scsi_check_sense(), in order to set the correct SCSI ML byte (if any).h]hThus, for QC commands that went via SCSI EH, we need to call scsi_check_sense() ourselves, similar to how scsi_eh_get_sense() calls scsi_decide_disposition(), which calls scsi_check_sense(), in order to set the correct SCSI ML byte (if any).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjgubah}(h]h ]h"]h$]h&]uh1jPhjKubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjKubj)}(h2SUCCESS or FAILED or NEEDS_RETRY or ADD_TO_MLQUEUEh]h)}(hjh]h2SUCCESS or FAILED or NEEDS_RETRY or ADD_TO_MLQUEUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjhMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ata_eh_request_sense (C function)c.ata_eh_request_sensehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h5bool ata_eh_request_sense (struct ata_queued_cmd *qc)h]j)}(h4bool ata_eh_request_sense(struct ata_queued_cmd *qc)h](j=)}(hj+Sh]hbool}(hjEhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjAhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhjRhMubjJ)}(hata_eh_request_senseh]j)}(hata_eh_request_senseh]hata_eh_request_sense}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjAhhhjRhMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jgsbc.ata_eh_request_senseasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj}ubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjyubah}(h]h ]h"]h$]h&]jjuh1jdhjAhhhjRhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj=hhhjRhMubah}(h]j8ah ](jYjeh"]h$]h&]jj)jhuh1jhjRhMhj:hhubj)}(hhh]h)}(hperform REQUEST_SENSE_DATA_EXTh]hperform REQUEST_SENSE_DATA_EXT}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj hhubah}(h]h ]h"]h$]h&]uh1jhj:hhhjRhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj jj jjjuh1jhhhjxhNhNubj)}(hXA**Parameters** ``struct ata_queued_cmd *qc`` qc to perform REQUEST_SENSE_SENSE_DATA_EXT to Perform REQUEST_SENSE_DATA_EXT after the device reported CHECK SENSE. This function is an EH helper. LOCKING: Kernel thread context (may sleep). **Return** true if sense data could be fetched, false otherwise.h](h)}(h**Parameters**h]j)}(hj& h]h Parameters}(hj( hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj ubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` qc to perform REQUEST_SENSE_SENSE_DATA_EXT to Perform REQUEST_SENSE_DATA_EXT after the device reported CHECK SENSE. This function is an EH helper. LOCKING: Kernel thread context (may sleep). h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjE h]hstruct ata_queued_cmd *qc}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjC ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj? ubjl)}(hhh](h)}(h-qc to perform REQUEST_SENSE_SENSE_DATA_EXT toh]h-qc to perform REQUEST_SENSE_SENSE_DATA_EXT to}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj[ ubh)}(hePerform REQUEST_SENSE_DATA_EXT after the device reported CHECK SENSE. This function is an EH helper.h]hePerform REQUEST_SENSE_DATA_EXT after the device reported CHECK SENSE. This function is an EH helper.}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj[ ubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj| hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj[ ubeh}(h]h ]h"]h$]h&]uh1jkhj? ubeh}(h]h ]h"]h$]h&]uh1jUhjZ hMhj< ubah}(h]h ]h"]h$]h&]uh1jPhj ubh)}(h **Return**h]j)}(hj h]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj ubj)}(h5true if sense data could be fetched, false otherwise.h]h)}(hj h]h5true if sense data could be fetched, false otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj ubah}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#atapi_eh_request_sense (C function)c.atapi_eh_request_sensehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h]unsigned int atapi_eh_request_sense (struct ata_device *dev, u8 *sense_buf, u8 dfl_sense_key)h]j)}(h\unsigned int atapi_eh_request_sense(struct ata_device *dev, u8 *sense_buf, u8 dfl_sense_key)h](j=)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hMubj=)}(hinth]hint}(hj !hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj hhhj hMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hMubjJ)}(hatapi_eh_request_senseh]j)}(hatapi_eh_request_senseh]hatapi_eh_request_sense}(hj*!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&!ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj hhhj hMubje)}(h9(struct ata_device *dev, u8 *sense_buf, u8 dfl_sense_key)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjF!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB!ubj)}(h h]h }(hjS!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB!ubh)}(hhh]j)}(h ata_deviceh]h ata_device$}(hjd!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja!ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjf!modnameN classnameNj.j1)}j4]j$)}j*j,!sbc.atapi_eh_request_senseasbuh1hhjB!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB!ubj9)}(hj<h]h*}(hj!hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjB!ubj)}(hdevh]hdev}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj>!ubjk)}(h u8 *sense_bufh](h)}(hhh]j)}(hu8h]hu8}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj!modnameN classnameNj.j1)}j4]j!c.atapi_eh_request_senseasbuh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj9)}(hj<h]h*}(hj!hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj!ubj)}(h sense_bufh]h sense_buf}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj>!ubjk)}(hu8 dfl_sense_keyh](h)}(hhh]j)}(hu8h]hu8}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj "ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj"modnameN classnameNj.j1)}j4]j!c.atapi_eh_request_senseasbuh1hhj "ubj)}(h h]h }(hj."hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj "ubj)}(h dfl_sense_keyh]h dfl_sense_key}(hj<"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj "ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj>!ubeh}(h]h ]h"]h$]h&]jjuh1jdhj hhhj hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj hhhj hMubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj hMhj hhubj)}(hhh]h)}(hperform ATAPI REQUEST_SENSEh]hperform ATAPI REQUEST_SENSE}(hjf"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjc"hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj~"jj~"jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` device to perform REQUEST_SENSE to ``u8 *sense_buf`` result sense data buffer (SCSI_SENSE_BUFFERSIZE bytes long) ``u8 dfl_sense_key`` default sense key to use Perform ATAPI REQUEST_SENSE after the device reported CHECK SENSE. This function is EH helper. LOCKING: Kernel thread context (may sleep). **Return** 0 on success, AC_ERR_* mask on failureh](h)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj"ubjQ)}(hhh](jV)}(h>``struct ata_device *dev`` device to perform REQUEST_SENSE to h](j\)}(h``struct ata_device *dev``h]jH)}(hj"h]hstruct ata_device *dev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj"ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj"ubjl)}(hhh]h)}(h"device to perform REQUEST_SENSE toh]h"device to perform REQUEST_SENSE to}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jkhj"ubeh}(h]h ]h"]h$]h&]uh1jUhj"hMhj"ubjV)}(hN``u8 *sense_buf`` result sense data buffer (SCSI_SENSE_BUFFERSIZE bytes long) h](j\)}(h``u8 *sense_buf``h]jH)}(hj"h]h u8 *sense_buf}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj"ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj"ubjl)}(hhh]h)}(h;result sense data buffer (SCSI_SENSE_BUFFERSIZE bytes long)h]h;result sense data buffer (SCSI_SENSE_BUFFERSIZE bytes long)}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jkhj"ubeh}(h]h ]h"]h$]h&]uh1jUhj"hMhj"ubjV)}(h``u8 dfl_sense_key`` default sense key to use Perform ATAPI REQUEST_SENSE after the device reported CHECK SENSE. This function is EH helper. LOCKING: Kernel thread context (may sleep). h](j\)}(h``u8 dfl_sense_key``h]jH)}(hj#h]hu8 dfl_sense_key}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj#ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj#ubjl)}(hhh](h)}(hdefault sense key to useh]hdefault sense key to use}(hj2#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/#ubh)}(h_Perform ATAPI REQUEST_SENSE after the device reported CHECK SENSE. This function is EH helper.h]h_Perform ATAPI REQUEST_SENSE after the device reported CHECK SENSE. This function is EH helper.}(hjA#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/#ubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjP#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/#ubeh}(h]h ]h"]h$]h&]uh1jkhj#ubeh}(h]h ]h"]h$]h&]uh1jUhj.#hMhj"ubeh}(h]h ]h"]h$]h&]uh1jPhj"ubh)}(h **Return**h]j)}(hjs#h]hReturn}(hju#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq#ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj"ubj)}(h&0 on success, AC_ERR_* mask on failureh]h)}(hj#h]h&0 on success, AC_ERR_* mask on failure}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#hMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ata_eh_analyze_serror (C function)c.ata_eh_analyze_serrorhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h2void ata_eh_analyze_serror (struct ata_link *link)h]j)}(h1void ata_eh_analyze_serror(struct ata_link *link)h](j=)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj#hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM(ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhj#hM(ubjJ)}(hata_eh_analyze_serrorh]j)}(hata_eh_analyze_serrorh]hata_eh_analyze_serror}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj#hhhj#hM(ubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj $hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubh)}(hhh]j)}(hata_linkh]hata_link}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj$modnameN classnameNj.j1)}j4]j$)}j*j#sbc.ata_eh_analyze_serrorasbuh1hhj#ubj)}(h h]h }(hj<$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj9)}(hj<h]h*}(hjJ$hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj#ubj)}(hlinkh]hlink}(hjW$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj#ubah}(h]h ]h"]h$]h&]jjuh1jdhj#hhhj#hM(ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj#hhhj#hM(ubah}(h]j#ah ](jYjeh"]h$]h&]jj)jhuh1jhj#hM(hj#hhubj)}(hhh]h)}(h analyze SError for a failed porth]h analyze SError for a failed port}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj~$hhubah}(h]h ]h"]h$]h&]uh1jhj#hhhj#hM(ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj$jj$jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_link *link`` ATA link to analyze SError for Analyze SError if available and further determine cause of failure. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM#hj$ubjQ)}(hhh]jV)}(h``struct ata_link *link`` ATA link to analyze SError for Analyze SError if available and further determine cause of failure. LOCKING: None.h](j\)}(h``struct ata_link *link``h]jH)}(hj$h]hstruct ata_link *link}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj$ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM%hj$ubjl)}(hhh](h)}(hATA link to analyze SError forh]hATA link to analyze SError for}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj$ubh)}(hCAnalyze SError if available and further determine cause of failure.h]hCAnalyze SError if available and further determine cause of failure.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM"hj$ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM%hj$ubeh}(h]h ]h"]h$]h&]uh1jkhj$ubeh}(h]h ]h"]h$]h&]uh1jUhj$hM%hj$ubah}(h]h ]h"]h$]h&]uh1jPhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_analyze_tf (C function)c.ata_eh_analyze_tfhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h:unsigned int ata_eh_analyze_tf (struct ata_queued_cmd *qc)h]j)}(h9unsigned int ata_eh_analyze_tf(struct ata_queued_cmd *qc)h](j=)}(hunsignedh]hunsigned}(hj9%hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj5%hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM]ubj)}(h h]h }(hjH%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5%hhhjG%hM]ubj=)}(hinth]hint}(hjV%hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj5%hhhjG%hM]ubj)}(h h]h }(hjd%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5%hhhjG%hM]ubjJ)}(hata_eh_analyze_tfh]j)}(hata_eh_analyze_tfh]hata_eh_analyze_tf}(hjv%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr%ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj5%hhhjG%hM]ubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj%modnameN classnameNj.j1)}j4]j$)}j*jx%sbc.ata_eh_analyze_tfasbuh1hhj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj9)}(hj<h]h*}(hj%hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj%ubj)}(hqch]hqc}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj%ubah}(h]h ]h"]h$]h&]jjuh1jdhj5%hhhjG%hM]ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj1%hhhjG%hM]ubah}(h]j,%ah ](jYjeh"]h$]h&]jj)jhuh1jhjG%hM]hj.%hhubj)}(hhh]h)}(hanalyze taskfile of a failed qch]hanalyze taskfile of a failed qc}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMPhj&hhubah}(h]h ]h"]h$]h&]uh1jhj.%hhhjG%hM]ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj-&jj-&jjjuh1jhhhjxhNhNubj)}(hX!**Parameters** ``struct ata_queued_cmd *qc`` qc to analyze Analyze taskfile of **qc** and further determine cause of failure. This function also requests ATAPI sense data if available. LOCKING: Kernel thread context (may sleep). **Return** Determined recovery actionh](h)}(h**Parameters**h]j)}(hj7&h]h Parameters}(hj9&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5&ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMThj1&ubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` qc to analyze Analyze taskfile of **qc** and further determine cause of failure. This function also requests ATAPI sense data if available. LOCKING: Kernel thread context (may sleep). h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjV&h]hstruct ata_queued_cmd *qc}(hjX&hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjT&ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMXhjP&ubjl)}(hhh](h)}(h qc to analyzeh]h qc to analyze}(hjo&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMQhjl&ubh)}(h~Analyze taskfile of **qc** and further determine cause of failure. This function also requests ATAPI sense data if available.h](hAnalyze taskfile of }(hj~&hhhNhNubj)}(h**qc**h]hqc}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~&ubhd and further determine cause of failure. This function also requests ATAPI sense data if available.}(hj~&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMShjl&ubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMWhjl&ubeh}(h]h ]h"]h$]h&]uh1jkhjP&ubeh}(h]h ]h"]h$]h&]uh1jUhjk&hMXhjM&ubah}(h]h ]h"]h$]h&]uh1jPhj1&ubh)}(h **Return**h]j)}(hj&h]hReturn}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMZhj1&ubj)}(hDetermined recovery actionh]h)}(hj&h]hDetermined recovery action}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMZhj&ubah}(h]h ]h"]h$]h&]uh1jhj&hMZhj1&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&ata_eh_speed_down_verdict (C function)c.ata_eh_speed_down_verdicthNtauh1jhjxhhhNhNubj)}(hhh](j)}(h?unsigned int ata_eh_speed_down_verdict (struct ata_device *dev)h]j)}(h>unsigned int ata_eh_speed_down_verdict(struct ata_device *dev)h](j=)}(hunsignedh]hunsigned}(hj'hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj 'hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 'hhhj'hMubj=)}(hinth]hint}(hj-'hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj 'hhhj'hMubj)}(h h]h }(hj;'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 'hhhj'hMubjJ)}(hata_eh_speed_down_verdicth]j)}(hata_eh_speed_down_verdicth]hata_eh_speed_down_verdict}(hjM'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI'ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj 'hhhj'hMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hji'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje'ubj)}(h h]h }(hjv'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje'ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj'modnameN classnameNj.j1)}j4]j$)}j*jO'sbc.ata_eh_speed_down_verdictasbuh1hhje'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje'ubj9)}(hj<h]h*}(hj'hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hje'ubj)}(hdevh]hdev}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhja'ubah}(h]h ]h"]h$]h&]jjuh1jdhj 'hhhj'hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj'hhhj'hMubah}(h]j'ah ](jYjeh"]h$]h&]jj)jhuh1jhj'hMhj'hhubj)}(hhh]h)}(hDetermine speed down verdicth]hDetermine speed down verdict}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jhj'hhhj'hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj(jj(jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Device of interest This function examines error ring of **dev** and determines whether NCQ needs to be turned off, transfer speed should be stepped down, or falling back to PIO is necessary. ECAT_ATA_BUS : ATA_BUS error for any command ECAT_TOUT_HSM : TIMEOUT for any command or HSM violation for IO commands ECAT_UNK_DEV : Unknown DEV error for IO commands ECAT_DUBIOUS_* : Identical to above three but occurred while data transfer hasn't been verified. Verdicts are NCQ_OFF : Turn off NCQ. SPEED_DOWN : Speed down transfer speed but don't fall back to PIO. FALLBACK_TO_PIO : Fall back to PIO. Even if multiple verdicts are returned, only one action is taken per error. An action triggered by non-DUBIOUS errors clears ering, while one triggered by DUBIOUS_* errors doesn't. This is to expedite speed down decisions right after device is initially configured. The following are speed down rules. #1 and #2 deal with DUBIOUS errors. 1. If more than one DUBIOUS_ATA_BUS or DUBIOUS_TOUT_HSM errors occurred during last 5 mins, SPEED_DOWN and FALLBACK_TO_PIO. 2. If more than one DUBIOUS_TOUT_HSM or DUBIOUS_UNK_DEV errors occurred during last 5 mins, NCQ_OFF. 3. If more than 8 ATA_BUS, TOUT_HSM or UNK_DEV errors occurred during last 5 mins, FALLBACK_TO_PIO 4. If more than 3 TOUT_HSM or UNK_DEV errors occurred during last 10 mins, NCQ_OFF. 5. If more than 3 ATA_BUS or TOUT_HSM errors, or more than 6 UNK_DEV errors occurred during last 10 mins, SPEED_DOWN. LOCKING: Inherited from caller. **Return** OR of ATA_EH_SPDN_* flags.h](h)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj (ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj(ubjQ)}(hhh]jV)}(hX\``struct ata_device *dev`` Device of interest This function examines error ring of **dev** and determines whether NCQ needs to be turned off, transfer speed should be stepped down, or falling back to PIO is necessary. ECAT_ATA_BUS : ATA_BUS error for any command ECAT_TOUT_HSM : TIMEOUT for any command or HSM violation for IO commands ECAT_UNK_DEV : Unknown DEV error for IO commands ECAT_DUBIOUS_* : Identical to above three but occurred while data transfer hasn't been verified. Verdicts are NCQ_OFF : Turn off NCQ. SPEED_DOWN : Speed down transfer speed but don't fall back to PIO. FALLBACK_TO_PIO : Fall back to PIO. Even if multiple verdicts are returned, only one action is taken per error. An action triggered by non-DUBIOUS errors clears ering, while one triggered by DUBIOUS_* errors doesn't. This is to expedite speed down decisions right after device is initially configured. The following are speed down rules. #1 and #2 deal with DUBIOUS errors. 1. If more than one DUBIOUS_ATA_BUS or DUBIOUS_TOUT_HSM errors occurred during last 5 mins, SPEED_DOWN and FALLBACK_TO_PIO. 2. If more than one DUBIOUS_TOUT_HSM or DUBIOUS_UNK_DEV errors occurred during last 5 mins, NCQ_OFF. 3. If more than 8 ATA_BUS, TOUT_HSM or UNK_DEV errors occurred during last 5 mins, FALLBACK_TO_PIO 4. If more than 3 TOUT_HSM or UNK_DEV errors occurred during last 10 mins, NCQ_OFF. 5. If more than 3 ATA_BUS or TOUT_HSM errors, or more than 6 UNK_DEV errors occurred during last 10 mins, SPEED_DOWN. LOCKING: Inherited from caller. h](j\)}(h``struct ata_device *dev``h]jH)}(hj-(h]hstruct ata_device *dev}(hj/(hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj+(ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj'(ubjl)}(hhh](h)}(hDevice of interesth]hDevice of interest}(hjF(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubh)}(hThis function examines error ring of **dev** and determines whether NCQ needs to be turned off, transfer speed should be stepped down, or falling back to PIO is necessary.h](h%This function examines error ring of }(hjU(hhhNhNubj)}(h**dev**h]hdev}(hj](hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU(ubh and determines whether NCQ needs to be turned off, transfer speed should be stepped down, or falling back to PIO is necessary.}(hjU(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubh)}(h/ECAT_ATA_BUS : ATA_BUS error for any commandh]h/ECAT_ATA_BUS : ATA_BUS error for any command}(hjv(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubjQ)}(hhh]jV)}(hKECAT_TOUT_HSM : TIMEOUT for any command or HSM violation for IO commands h](j\)}(h ECAT_TOUT_HSMh]h ECAT_TOUT_HSM}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj(ubh classifier)}(h,TIMEOUT for any command or HSM violation forh]h,TIMEOUT for any command or HSM violation for}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hj(hj(ubjl)}(hhh]h)}(h IO commandsh]h IO commands}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jkhj(ubeh}(h]h ]h"]h$]h&]uh1jUhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jPhjC(ubh)}(h3ECAT_UNK_DEV : Unknown DEV error for IO commandsh]h3ECAT_UNK_DEV : Unknown DEV error for IO commands}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubjQ)}(hhh]jV)}(hbECAT_DUBIOUS_* : Identical to above three but occurred while data transfer hasn't been verified. h](j\)}(hECAT_DUBIOUS_*h]hECAT_DUBIOUS_*}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj(ubj()}(h+Identical to above three but occurred whileh]h+Identical to above three but occurred while}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hj(hj(ubjl)}(hhh]h)}(h#data transfer hasn't been verified.h]h%data transfer hasn’t been verified.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jkhj(ubeh}(h]h ]h"]h$]h&]uh1jUhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jPhjC(ubh)}(h Verdicts areh]h Verdicts are}(hj$)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubh)}(hNCQ_OFF : Turn off NCQ.h]hNCQ_OFF : Turn off NCQ.}(hj3)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubjQ)}(hhh]jV)}(hHSPEED_DOWN : Speed down transfer speed but don't fall back to PIO. h](j\)}(h SPEED_DOWNh]h SPEED_DOWN}(hjI)hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjE)ubj()}(h-Speed down transfer speed but don't fall backh]h/Speed down transfer speed but don’t fall back}(hjX)hhhNhNubah}(h]h ]h"]h$]h&]uh1j(hjE)hjW)ubjl)}(hhh]h)}(hto PIO.h]hto PIO.}(hji)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW)hMhjf)ubah}(h]h ]h"]h$]h&]uh1jkhjE)ubeh}(h]h ]h"]h$]h&]uh1jUhjW)hMhjB)ubah}(h]h ]h"]h$]h&]uh1jPhjC(ubh)}(h#FALLBACK_TO_PIO : Fall back to PIO.h]h#FALLBACK_TO_PIO : Fall back to PIO.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubh)}(hX Even if multiple verdicts are returned, only one action is taken per error. An action triggered by non-DUBIOUS errors clears ering, while one triggered by DUBIOUS_* errors doesn't. This is to expedite speed down decisions right after device is initially configured.h]hX Even if multiple verdicts are returned, only one action is taken per error. An action triggered by non-DUBIOUS errors clears ering, while one triggered by DUBIOUS_* errors doesn’t. This is to expedite speed down decisions right after device is initially configured.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubh)}(hHThe following are speed down rules. #1 and #2 deal with DUBIOUS errors.h]hHThe following are speed down rules. #1 and #2 deal with DUBIOUS errors.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubj)}(hhh](j)}(hyIf more than one DUBIOUS_ATA_BUS or DUBIOUS_TOUT_HSM errors occurred during last 5 mins, SPEED_DOWN and FALLBACK_TO_PIO. h]h)}(hxIf more than one DUBIOUS_ATA_BUS or DUBIOUS_TOUT_HSM errors occurred during last 5 mins, SPEED_DOWN and FALLBACK_TO_PIO.h]hxIf more than one DUBIOUS_ATA_BUS or DUBIOUS_TOUT_HSM errors occurred during last 5 mins, SPEED_DOWN and FALLBACK_TO_PIO.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hbIf more than one DUBIOUS_TOUT_HSM or DUBIOUS_UNK_DEV errors occurred during last 5 mins, NCQ_OFF. h]h)}(haIf more than one DUBIOUS_TOUT_HSM or DUBIOUS_UNK_DEV errors occurred during last 5 mins, NCQ_OFF.h]haIf more than one DUBIOUS_TOUT_HSM or DUBIOUS_UNK_DEV errors occurred during last 5 mins, NCQ_OFF.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(h`If more than 8 ATA_BUS, TOUT_HSM or UNK_DEV errors occurred during last 5 mins, FALLBACK_TO_PIO h]h)}(h_If more than 8 ATA_BUS, TOUT_HSM or UNK_DEV errors occurred during last 5 mins, FALLBACK_TO_PIOh]h_If more than 8 ATA_BUS, TOUT_HSM or UNK_DEV errors occurred during last 5 mins, FALLBACK_TO_PIO}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hQIf more than 3 TOUT_HSM or UNK_DEV errors occurred during last 10 mins, NCQ_OFF. h]h)}(hPIf more than 3 TOUT_HSM or UNK_DEV errors occurred during last 10 mins, NCQ_OFF.h]hPIf more than 3 TOUT_HSM or UNK_DEV errors occurred during last 10 mins, NCQ_OFF.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj*ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hsIf more than 3 ATA_BUS or TOUT_HSM errors, or more than 6 UNK_DEV errors occurred during last 10 mins, SPEED_DOWN. h]h)}(hrIf more than 3 ATA_BUS or TOUT_HSM errors, or more than 6 UNK_DEV errors occurred during last 10 mins, SPEED_DOWN.h]hrIf more than 3 ATA_BUS or TOUT_HSM errors, or more than 6 UNK_DEV errors occurred during last 10 mins, SPEED_DOWN.}(hj!*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj*ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]jyjzj{hj|j}uh1jhjC(ubh)}(hLOCKING: Inherited from caller.h]hLOCKING: Inherited from caller.}(hj<*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC(ubeh}(h]h ]h"]h$]h&]uh1jkhj'(ubeh}(h]h ]h"]h$]h&]uh1jUhjB(hMhj$(ubah}(h]h ]h"]h$]h&]uh1jPhj(ubh)}(h **Return**h]j)}(hj_*h]hReturn}(hja*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]*ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj(ubj)}(hOR of ATA_EH_SPDN_* flags.h]h)}(hjw*h]hOR of ATA_EH_SPDN_* flags.}(hjy*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhju*ubah}(h]h ]h"]h$]h&]uh1jhj*hMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_speed_down (C function)c.ata_eh_speed_downhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hcunsigned int ata_eh_speed_down (struct ata_device *dev, unsigned int eflags, unsigned int err_mask)h]j)}(hbunsigned int ata_eh_speed_down(struct ata_device *dev, unsigned int eflags, unsigned int err_mask)h](j=)}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj*hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMTubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhj*hMTubj=)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj*hhhj*hMTubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhj*hMTubjJ)}(hata_eh_speed_downh]j)}(hata_eh_speed_downh]hata_eh_speed_down}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj*hhhj*hMTubje)}(hD(struct ata_device *dev, unsigned int eflags, unsigned int err_mask)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj$+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!+ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj&+modnameN classnameNj.j1)}j4]j$)}j*j*sbc.ata_eh_speed_downasbuh1hhj+ubj)}(h h]h }(hjD+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj9)}(hj<h]h*}(hjR+hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj+ubj)}(hdevh]hdev}(hj_+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj*ubjk)}(hunsigned int eflagsh](j=)}(hunsignedh]hunsigned}(hjx+hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjt+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt+ubj=)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjt+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt+ubj)}(heflagsh]heflags}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj*ubjk)}(hunsigned int err_maskh](j=)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj=)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(herr_maskh]herr_mask}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj*ubeh}(h]h ]h"]h$]h&]jjuh1jdhj*hhhj*hMTubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj*hhhj*hMTubah}(h]j*ah ](jYjeh"]h$]h&]jj)jhuh1jhj*hMThj*hhubj)}(hhh]h)}(h(record error and speed down if necessaryh]h(record error and speed down if necessary}(hj+,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMDhj(,hhubah}(h]h ]h"]h$]h&]uh1jhj*hhhj*hMTubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjC,jjC,jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Failed device ``unsigned int eflags`` mask of ATA_EFLAG_* flags ``unsigned int err_mask`` err_mask of the error Record error and examine error history to determine whether adjusting transmission speed is necessary. It also sets transmission limits appropriately if such adjustment is necessary. LOCKING: Kernel thread context (may sleep). **Return** Determined recovery action.h](h)}(h**Parameters**h]j)}(hjM,h]h Parameters}(hjO,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK,ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMHhjG,ubjQ)}(hhh](jV)}(h)``struct ata_device *dev`` Failed device h](j\)}(h``struct ata_device *dev``h]jH)}(hjl,h]hstruct ata_device *dev}(hjn,hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjj,ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMEhjf,ubjl)}(hhh]h)}(h Failed deviceh]h Failed device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMEhj,ubah}(h]h ]h"]h$]h&]uh1jkhjf,ubeh}(h]h ]h"]h$]h&]uh1jUhj,hMEhjc,ubjV)}(h2``unsigned int eflags`` mask of ATA_EFLAG_* flags h](j\)}(h``unsigned int eflags``h]jH)}(hj,h]hunsigned int eflags}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj,ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMFhj,ubjl)}(hhh]h)}(hmask of ATA_EFLAG_* flagsh]hmask of ATA_EFLAG_* flags}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMFhj,ubah}(h]h ]h"]h$]h&]uh1jkhj,ubeh}(h]h ]h"]h$]h&]uh1jUhj,hMFhjc,ubjV)}(hX``unsigned int err_mask`` err_mask of the error Record error and examine error history to determine whether adjusting transmission speed is necessary. It also sets transmission limits appropriately if such adjustment is necessary. LOCKING: Kernel thread context (may sleep). h](j\)}(h``unsigned int err_mask``h]jH)}(hj,h]hunsigned int err_mask}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj,ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMOhj,ubjl)}(hhh](h)}(herr_mask of the errorh]herr_mask of the error}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMGhj,ubh)}(hRecord error and examine error history to determine whether adjusting transmission speed is necessary. It also sets transmission limits appropriately if such adjustment is necessary.h]hRecord error and examine error history to determine whether adjusting transmission speed is necessary. It also sets transmission limits appropriately if such adjustment is necessary.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMIhj,ubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMNhj,ubeh}(h]h ]h"]h$]h&]uh1jkhj,ubeh}(h]h ]h"]h$]h&]uh1jUhj,hMOhjc,ubeh}(h]h ]h"]h$]h&]uh1jPhjG,ubh)}(h **Return**h]j)}(hj8-h]hReturn}(hj:-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6-ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMQhjG,ubj)}(hDetermined recovery action.h]h)}(hjP-h]hDetermined recovery action.}(hjR-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMQhjN-ubah}(h]h ]h"]h$]h&]uh1jhj_-hMQhjG,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_worth_retry (C function)c.ata_eh_worth_retryhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h2int ata_eh_worth_retry (struct ata_queued_cmd *qc)h]j)}(h1int ata_eh_worth_retry(struct ata_queued_cmd *qc)h](j=)}(hinth]hint}(hj-hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj-hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhj-hMubjJ)}(hata_eh_worth_retryh]j)}(hata_eh_worth_retryh]hata_eh_worth_retry}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj-hhhj-hMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj-modnameN classnameNj.j1)}j4]j$)}j*j-sbc.ata_eh_worth_retryasbuh1hhj-ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj9)}(hj<h]h*}(hj.hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj-ubj)}(hqch]hqc}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj-ubah}(h]h ]h"]h$]h&]jjuh1jdhj-hhhj-hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj~-hhhj-hMubah}(h]jy-ah ](jYjeh"]h$]h&]jj)jhuh1jhj-hMhj{-hhubj)}(hhh]h)}(h)analyze error and decide whether to retryh]h)analyze error and decide whether to retry}(hjF.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjC.hhubah}(h]h ]h"]h$]h&]uh1jhj{-hhhj-hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj^.jj^.jjjuh1jhhhjxhNhNubj)}(hX>**Parameters** ``struct ata_queued_cmd *qc`` qc to possibly retry Look at the cause of the error and decide if a retry might be useful or not. We don't want to retry media errors because the drive itself has probably already taken 10-30 seconds doing its own internal retries before reporting the failure.h](h)}(h**Parameters**h]j)}(hjh.h]h Parameters}(hjj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf.ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjb.ubjQ)}(hhh]jV)}(hX$``struct ata_queued_cmd *qc`` qc to possibly retry Look at the cause of the error and decide if a retry might be useful or not. We don't want to retry media errors because the drive itself has probably already taken 10-30 seconds doing its own internal retries before reporting the failure.h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hj.h]hstruct ata_queued_cmd *qc}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj.ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj.ubjl)}(hhh](h)}(hqc to possibly retryh]hqc to possibly retry}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj.ubh)}(hLook at the cause of the error and decide if a retry might be useful or not. We don't want to retry media errors because the drive itself has probably already taken 10-30 seconds doing its own internal retries before reporting the failure.h]hLook at the cause of the error and decide if a retry might be useful or not. We don’t want to retry media errors because the drive itself has probably already taken 10-30 seconds doing its own internal retries before reporting the failure.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj.ubeh}(h]h ]h"]h$]h&]uh1jkhj.ubeh}(h]h ]h"]h$]h&]uh1jUhj.hMhj~.ubah}(h]h ]h"]h$]h&]uh1jPhjb.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_quiet (C function)c.ata_eh_quiethNtauh1jhjxhhhNhNubj)}(hhh](j)}(h-bool ata_eh_quiet (struct ata_queued_cmd *qc)h]j)}(h,bool ata_eh_quiet(struct ata_queued_cmd *qc)h](j=)}(hj+Sh]hbool}(hj.hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj.hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhj.hMubjJ)}(h ata_eh_quieth]j)}(h ata_eh_quieth]h ata_eh_quiet}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj /ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj.hhhj.hMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj,/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(/ubj)}(h h]h }(hj9/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(/ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjJ/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG/ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjL/modnameN classnameNj.j1)}j4]j$)}j*j/sbc.ata_eh_quietasbuh1hhj(/ubj)}(h h]h }(hjj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(/ubj9)}(hj<h]h*}(hjx/hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj(/ubj)}(hqch]hqc}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj$/ubah}(h]h ]h"]h$]h&]jjuh1jdhj.hhhj.hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj.hhhj.hMubah}(h]j.ah ](jYjeh"]h$]h&]jj)jhuh1jhj.hMhj.hhubj)}(hhh]h)}(h2check if we need to be quiet about a command errorh]h2check if we need to be quiet about a command error}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jhj.hhhj.hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj/jj/jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_queued_cmd *qc`` qc to check Look at the qc flags anbd its scsi command request flags to determine if we need to be quiet about the command failure.h](h)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/ubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` qc to check Look at the qc flags anbd its scsi command request flags to determine if we need to be quiet about the command failure.h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hj/h]hstruct ata_queued_cmd *qc}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj/ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/ubjl)}(hhh](h)}(h qc to checkh]h qc to check}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj0ubh)}(hwLook at the qc flags anbd its scsi command request flags to determine if we need to be quiet about the command failure.h]hwLook at the qc flags anbd its scsi command request flags to determine if we need to be quiet about the command failure.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubeh}(h]h ]h"]h$]h&]uh1jkhj/ubeh}(h]h ]h"]h$]h&]uh1jUhj0hMhj/ubah}(h]h ]h"]h$]h&]uh1jPhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_eh_link_autopsy (C function)c.ata_eh_link_autopsyhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h0void ata_eh_link_autopsy (struct ata_link *link)h]j)}(h/void ata_eh_link_autopsy(struct ata_link *link)h](j=)}(hvoidh]hvoid}(hjX0hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjT0hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM'ubj)}(h h]h }(hjg0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT0hhhjf0hM'ubjJ)}(hata_eh_link_autopsyh]j)}(hata_eh_link_autopsyh]hata_eh_link_autopsy}(hjy0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju0ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjT0hhhjf0hM'ubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubh)}(hhh]j)}(hata_linkh]hata_link}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj0modnameN classnameNj.j1)}j4]j$)}j*j{0sbc.ata_eh_link_autopsyasbuh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj9)}(hj<h]h*}(hj0hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj0ubj)}(hlinkh]hlink}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj0ubah}(h]h ]h"]h$]h&]jjuh1jdhjT0hhhjf0hM'ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjP0hhhjf0hM'ubah}(h]jK0ah ](jYjeh"]h$]h&]jj)jhuh1jhjf0hM'hjM0hhubj)}(hhh]h)}(h+analyze error and determine recovery actionh]h+analyze error and determine recovery action}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jhjM0hhhjf0hM'ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj01jj01jjjuh1jhhhjxhNhNubj)}(hX3**Parameters** ``struct ata_link *link`` host link to perform autopsy on Analyze why **link** failed and determine which recovery actions are needed. This function also sets more detailed AC_ERR_* values and fills sense data for ATAPI CHECK SENSE. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hj:1h]h Parameters}(hj<1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj81ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM!hj41ubjQ)}(hhh]jV)}(hX``struct ata_link *link`` host link to perform autopsy on Analyze why **link** failed and determine which recovery actions are needed. This function also sets more detailed AC_ERR_* values and fills sense data for ATAPI CHECK SENSE. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_link *link``h]jH)}(hjY1h]hstruct ata_link *link}(hj[1hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjW1ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM$hjS1ubjl)}(hhh](h)}(hhost link to perform autopsy onh]hhost link to perform autopsy on}(hjr1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjo1ubh)}(hAnalyze why **link** failed and determine which recovery actions are needed. This function also sets more detailed AC_ERR_* values and fills sense data for ATAPI CHECK SENSE.h](h Analyze why }(hj1hhhNhNubj)}(h**link**h]hlink}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh failed and determine which recovery actions are needed. This function also sets more detailed AC_ERR_* values and fills sense data for ATAPI CHECK SENSE.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjo1ubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn1hM$hjo1ubeh}(h]h ]h"]h$]h&]uh1jkhjS1ubeh}(h]h ]h"]h$]h&]uh1jUhjn1hM$hjP1ubah}(h]h ]h"]h$]h&]uh1jPhj41ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_autopsy (C function)c.ata_eh_autopsyhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h)void ata_eh_autopsy (struct ata_port *ap)h]j)}(h(void ata_eh_autopsy(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj1hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhj1hMubjJ)}(hata_eh_autopsyh]j)}(hata_eh_autopsyh]hata_eh_autopsy}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj1hhhj1hMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj,2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubh)}(hhh]j)}(hata_porth]hata_port}(hj=2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:2ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj?2modnameN classnameNj.j1)}j4]j$)}j*j2sbc.ata_eh_autopsyasbuh1hhj2ubj)}(h h]h }(hj]2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj9)}(hj<h]h*}(hjk2hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj2ubj)}(haph]hap}(hjx2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj2ubah}(h]h ]h"]h$]h&]jjuh1jdhj1hhhj1hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj1hhhj1hMubah}(h]j1ah ](jYjeh"]h$]h&]jj)jhuh1jhj1hMhj1hhubj)}(hhh]h)}(h+analyze error and determine recovery actionh]h+analyze error and determine recovery action}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jhj1hhhj1hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj2jj2jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct ata_port *ap`` host port to perform autopsy on Analyze all links of **ap** and determine why they failed and which recovery actions are needed. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj2ubjQ)}(hhh]jV)}(h``struct ata_port *ap`` host port to perform autopsy on Analyze all links of **ap** and determine why they failed and which recovery actions are needed. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_port *ap``h]jH)}(hj2h]hstruct ata_port *ap}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj2ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj2ubjl)}(hhh](h)}(hhost port to perform autopsy onh]hhost port to perform autopsy on}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj2ubh)}(h`Analyze all links of **ap** and determine why they failed and which recovery actions are needed.h](hAnalyze all links of }(hj 3hhhNhNubj)}(h**ap**h]hap}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 3ubhE and determine why they failed and which recovery actions are needed.}(hj 3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj2ubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj,3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj2ubeh}(h]h ]h"]h$]h&]uh1jkhj2ubeh}(h]h ]h"]h$]h&]uh1jUhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jPhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_get_cmd_name (C function)c.ata_get_cmd_namehNtauh1jhjxhhhNhNubj)}(hhh](j)}(h*const char * ata_get_cmd_name (u8 command)h]j)}(h(const char *ata_get_cmd_name(u8 command)h](j)}(hj'h]hconst}(hjl3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh3hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hjz3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh3hhhjy3hMubj=)}(hcharh]hchar}(hj3hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjh3hhhjy3hMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh3hhhjy3hMubj9)}(hj<h]h*}(hj3hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjh3hhhjy3hMubjJ)}(hata_get_cmd_nameh]j)}(hata_get_cmd_nameh]hata_get_cmd_name}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjh3hhhjy3hMubje)}(h (u8 command)h]jk)}(h u8 commandh](h)}(hhh]j)}(hu8h]hu8}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj3modnameN classnameNj.j1)}j4]j$)}j*j3sbc.ata_get_cmd_nameasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(hcommandh]hcommand}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj3ubah}(h]h ]h"]h$]h&]jjuh1jdhjh3hhhjy3hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjd3hhhjy3hMubah}(h]j_3ah ](jYjeh"]h$]h&]jj)jhuh1jhjy3hMhja3hhubj)}(hhh]h)}(hget name for ATA commandh]hget name for ATA command}(hj,4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj)4hhubah}(h]h ]h"]h$]h&]uh1jhja3hhhjy3hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjD4jjD4jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``u8 command`` ATA command code to get name for Return a textual name of the given command or "unknown" LOCKING: Noneh](h)}(h**Parameters**h]j)}(hjN4h]h Parameters}(hjP4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjH4ubjQ)}(hhh]jV)}(hw``u8 command`` ATA command code to get name for Return a textual name of the given command or "unknown" LOCKING: Noneh](j\)}(h``u8 command``h]jH)}(hjm4h]h u8 command}(hjo4hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjk4ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjg4ubjl)}(hhh](h)}(h ATA command code to get name forh]h ATA command code to get name for}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj4ubh)}(h7Return a textual name of the given command or "unknown"h]h;Return a textual name of the given command or “unknown”}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj4ubh)}(h LOCKING: Noneh]h LOCKING: None}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj4ubeh}(h]h ]h"]h$]h&]uh1jkhjg4ubeh}(h]h ]h"]h$]h&]uh1jUhj4hMhjd4ubah}(h]h ]h"]h$]h&]uh1jPhjH4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_link_report (C function)c.ata_eh_link_reporthNtauh1jhjxhhhNhNubj)}(hhh](j)}(h/void ata_eh_link_report (struct ata_link *link)h]j)}(h.void ata_eh_link_report(struct ata_link *link)h](j=)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj4hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMY ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhj4hMY ubjJ)}(hata_eh_link_reporth]j)}(hata_eh_link_reporth]hata_eh_link_report}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj4hhhj4hMY ubje)}(h(struct ata_link *link)h]jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hj!5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj.5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubh)}(hhh]j)}(hata_linkh]hata_link}(hj?5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<5ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjA5modnameN classnameNj.j1)}j4]j$)}j*j5sbc.ata_eh_link_reportasbuh1hhj5ubj)}(h h]h }(hj_5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj9)}(hj<h]h*}(hjm5hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj5ubj)}(hlinkh]hlink}(hjz5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj5ubah}(h]h ]h"]h$]h&]jjuh1jdhj4hhhj4hMY ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj4hhhj4hMY ubah}(h]j4ah ](jYjeh"]h$]h&]jj)jhuh1jhj4hMY hj4hhubj)}(hhh]h)}(hreport error handling to userh]hreport error handling to user}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMQ hj5hhubah}(h]h ]h"]h$]h&]uh1jhj4hhhj4hMY ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj5jj5jjjuh1jhhhjxhNhNubj)}(hm**Parameters** ``struct ata_link *link`` ATA link EH is going on Report EH to user. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMU hj5ubjQ)}(hhh]jV)}(hU``struct ata_link *link`` ATA link EH is going on Report EH to user. LOCKING: None.h](j\)}(h``struct ata_link *link``h]jH)}(hj5h]hstruct ata_link *link}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj5ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMV hj5ubjl)}(hhh](h)}(hATA link EH is going onh]hATA link EH is going on}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMR hj5ubh)}(hReport EH to user.h]hReport EH to user.}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMT hj5ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMV hj5ubeh}(h]h ]h"]h$]h&]uh1jkhj5ubeh}(h]h ]h"]h$]h&]uh1jUhj5hMV hj5ubah}(h]h ]h"]h$]h&]uh1jPhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_report (C function)c.ata_eh_reporthNtauh1jhjxhhhNhNubj)}(hhh](j)}(h(void ata_eh_report (struct ata_port *ap)h]j)}(h'void ata_eh_report(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hj\6hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjX6hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM ubj)}(h h]h }(hjk6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX6hhhjj6hM ubjJ)}(h ata_eh_reporth]j)}(h ata_eh_reporth]h ata_eh_report}(hj}6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy6ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjX6hhhjj6hM ubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubh)}(hhh]j)}(hata_porth]hata_port}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj6modnameN classnameNj.j1)}j4]j$)}j*j6sbc.ata_eh_reportasbuh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj9)}(hj<h]h*}(hj6hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj6ubj)}(haph]hap}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubah}(h]h ]h"]h$]h&]jjuh1jdhjX6hhhjj6hM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjT6hhhjj6hM ubah}(h]jO6ah ](jYjeh"]h$]h&]jj)jhuh1jhjj6hM hjQ6hhubj)}(hhh]h)}(hreport error handling to userh]hreport error handling to user}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj7hhubah}(h]h ]h"]h$]h&]uh1jhjQ6hhhjj6hM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj47jj47jjjuh1jhhhjxhNhNubj)}(ho**Parameters** ``struct ata_port *ap`` ATA port to report EH about Report EH to user. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj>7h]h Parameters}(hj@7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj87ubjQ)}(hhh]jV)}(hW``struct ata_port *ap`` ATA port to report EH about Report EH to user. LOCKING: None.h](j\)}(h``struct ata_port *ap``h]jH)}(hj]7h]hstruct ata_port *ap}(hj_7hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj[7ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjW7ubjl)}(hhh](h)}(hATA port to report EH abouth]hATA port to report EH about}(hjv7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjs7ubh)}(hReport EH to user.h]hReport EH to user.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjs7ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr7hM hjs7ubeh}(h]h ]h"]h$]h&]uh1jkhjW7ubeh}(h]h ]h"]h$]h&]uh1jUhjr7hM hjT7ubah}(h]h ]h"]h$]h&]uh1jPhj87ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_set_mode (C function)c.ata_set_modehNtauh1jhjxhhhNhNubj)}(hhh](j)}(hJint ata_set_mode (struct ata_link *link, struct ata_device **r_failed_dev)h]j)}(hIint ata_set_mode(struct ata_link *link, struct ata_device **r_failed_dev)h](j=)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj7hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhj7hM ubjJ)}(h ata_set_modeh]j)}(h ata_set_modeh]h ata_set_mode}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj7hhhj7hM ubje)}(h9(struct ata_link *link, struct ata_device **r_failed_dev)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 8ubh)}(hhh]j)}(hata_linkh]hata_link}(hj/8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,8ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj18modnameN classnameNj.j1)}j4]j$)}j*j7sbc.ata_set_modeasbuh1hhj 8ubj)}(h h]h }(hjO8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 8ubj9)}(hj<h]h*}(hj]8hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj 8ubj)}(hlinkh]hlink}(hjj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj 8ubjk)}(h struct ata_device **r_failed_devh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj8modnameN classnameNj.j1)}j4]jK8c.ata_set_modeasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj9)}(hj<h]h*}(hj8hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj8ubj9)}(hj<h]h*}(hj8hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj8ubj)}(h r_failed_devh]h r_failed_dev}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj 8ubeh}(h]h ]h"]h$]h&]jjuh1jdhj7hhhj7hM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj7hhhj7hM ubah}(h]j7ah ](jYjeh"]h$]h&]jj)jhuh1jhj7hM hj7hhubj)}(hhh]h)}(h-Program timings and issue SET FEATURES - XFERh]h-Program timings and issue SET FEATURES - XFER}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj9hhubah}(h]h ]h"]h$]h&]uh1jhj7hhhj7hM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj)9jj)9jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_link *link`` link on which timings will be programmed ``struct ata_device **r_failed_dev`` out parameter for failed device Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_set_mode() fails, pointer to the failing device is returned in **r_failed_dev**. LOCKING: PCI/etc. bus probe sem. **Return** 0 on success, negative errno otherwiseh](h)}(h**Parameters**h]j)}(hj39h]h Parameters}(hj59hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj19ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj-9ubjQ)}(hhh](jV)}(hC``struct ata_link *link`` link on which timings will be programmed h](j\)}(h``struct ata_link *link``h]jH)}(hjR9h]hstruct ata_link *link}(hjT9hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjP9ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hjL9ubjl)}(hhh]h)}(h(link on which timings will be programmedh]h(link on which timings will be programmed}(hjk9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjg9hM hjh9ubah}(h]h ]h"]h$]h&]uh1jkhjL9ubeh}(h]h ]h"]h$]h&]uh1jUhjg9hM hjI9ubjV)}(h``struct ata_device **r_failed_dev`` out parameter for failed device Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_set_mode() fails, pointer to the failing device is returned in **r_failed_dev**. LOCKING: PCI/etc. bus probe sem. h](j\)}(h$``struct ata_device **r_failed_dev``h]jH)}(hj9h]h struct ata_device **r_failed_dev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj9ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj9ubjl)}(hhh](h)}(hout parameter for failed deviceh]hout parameter for failed device}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj9ubh)}(hSet ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_set_mode() fails, pointer to the failing device is returned in **r_failed_dev**.h](h~Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If ata_set_mode() fails, pointer to the failing device is returned in }(hj9hhhNhNubj)}(h**r_failed_dev**h]h r_failed_dev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj9ubh)}(h LOCKING: PCI/etc. bus probe sem.h]h LOCKING: PCI/etc. bus probe sem.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj9ubeh}(h]h ]h"]h$]h&]uh1jkhj9ubeh}(h]h ]h"]h$]h&]uh1jUhj9hM hjI9ubeh}(h]h ]h"]h$]h&]uh1jPhj-9ubh)}(h **Return**h]j)}(hj9h]hReturn}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj-9ubj)}(h&0 on success, negative errno otherwiseh]h)}(hj:h]h&0 on success, negative errno otherwise}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj :ubah}(h]h ]h"]h$]h&]uh1jhj:hM hj-9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jatapi_eh_clear_ua (C function)c.atapi_eh_clear_uahNtauh1jhjxhhhNhNubj)}(hhh](j)}(h.int atapi_eh_clear_ua (struct ata_device *dev)h]j)}(h-int atapi_eh_clear_ua(struct ata_device *dev)h](j=)}(hinth]hint}(hjE:hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjA:hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM ubj)}(h h]h }(hjT:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA:hhhjS:hM ubjJ)}(hatapi_eh_clear_uah]j)}(hatapi_eh_clear_uah]hatapi_eh_clear_ua}(hjf:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb:ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjA:hhhjS:hM ubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~:ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj:modnameN classnameNj.j1)}j4]j$)}j*jh:sbc.atapi_eh_clear_uaasbuh1hhj~:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~:ubj9)}(hj<h]h*}(hj:hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj~:ubj)}(hdevh]hdev}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjz:ubah}(h]h ]h"]h$]h&]jjuh1jdhjA:hhhjS:hM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj=:hhhjS:hM ubah}(h]j8:ah ](jYjeh"]h$]h&]jj)jhuh1jhjS:hM hj::hhubj)}(hhh]h)}(h&Clear ATAPI UNIT ATTENTION after reseth]h&Clear ATAPI UNIT ATTENTION after reset}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj;hhubah}(h]h ]h"]h$]h&]uh1jhj::hhhjS:hM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj;jj;jjjuh1jhhhjxhNhNubj)}(hX6**Parameters** ``struct ata_device *dev`` ATAPI device to clear UA for Resets and other operations can make an ATAPI device raise UNIT ATTENTION which causes the next operation to fail. This function clears UA. LOCKING: EH context (may sleep). **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj';h]h Parameters}(hj);hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%;ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj!;ubjQ)}(hhh]jV)}(h``struct ata_device *dev`` ATAPI device to clear UA for Resets and other operations can make an ATAPI device raise UNIT ATTENTION which causes the next operation to fail. This function clears UA. LOCKING: EH context (may sleep). h](j\)}(h``struct ata_device *dev``h]jH)}(hjF;h]hstruct ata_device *dev}(hjH;hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjD;ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj@;ubjl)}(hhh](h)}(hATAPI device to clear UA forh]hATAPI device to clear UA for}(hj_;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj\;ubh)}(hResets and other operations can make an ATAPI device raise UNIT ATTENTION which causes the next operation to fail. This function clears UA.h]hResets and other operations can make an ATAPI device raise UNIT ATTENTION which causes the next operation to fail. This function clears UA.}(hjn;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj\;ubh)}(h LOCKING: EH context (may sleep).h]h LOCKING: EH context (may sleep).}(hj};hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj\;ubeh}(h]h ]h"]h$]h&]uh1jkhj@;ubeh}(h]h ]h"]h$]h&]uh1jUhj[;hM hj=;ubah}(h]h ]h"]h$]h&]uh1jPhj!;ubh)}(h **Return**h]j)}(hj;h]hReturn}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj!;ubj)}(h 0 on success, -errno on failure.h]h)}(hj;h]h 0 on success, -errno on failure.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj;ubah}(h]h ]h"]h$]h&]uh1jhj;hM hj!;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%ata_eh_maybe_retry_flush (C function)c.ata_eh_maybe_retry_flushhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h5int ata_eh_maybe_retry_flush (struct ata_device *dev)h]j)}(h4int ata_eh_maybe_retry_flush(struct ata_device *dev)h](j=)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj;hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhj;hM ubjJ)}(hata_eh_maybe_retry_flushh]j)}(hata_eh_maybe_retry_flushh]hata_eh_maybe_retry_flush}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj <ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj;hhhj;hM ubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj+<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'<ubj)}(h h]h }(hj8<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'<ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjI<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF<ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjK<modnameN classnameNj.j1)}j4]j$)}j*j<sbc.ata_eh_maybe_retry_flushasbuh1hhj'<ubj)}(h h]h }(hji<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'<ubj9)}(hj<h]h*}(hjw<hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj'<ubj)}(hdevh]hdev}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj#<ubah}(h]h ]h"]h$]h&]jjuh1jdhj;hhhj;hM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj;hhhj;hM ubah}(h]j;ah ](jYjeh"]h$]h&]jj)jhuh1jhj;hM hj;hhubj)}(hhh]h)}(hRetry FLUSH if necessaryh]hRetry FLUSH if necessary}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj<hhubah}(h]h ]h"]h$]h&]uh1jhj;hhhj;hM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj<jj<jjjuh1jhhhjxhNhNubj)}(hXN**Parameters** ``struct ata_device *dev`` ATA device which may need FLUSH retry If **dev** failed FLUSH, it needs to be reported upper layer immediately as it means that **dev** failed to remap and already lost at least a sector and further FLUSH retrials won't make any difference to the lost sector. However, if FLUSH failed for other reasons, for example transmission error, FLUSH needs to be retried. This function determines whether FLUSH failure retry is necessary and performs it if so. **Return** 0 if EH can continue, -errno if EH needs to be repeated.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj<ubjQ)}(hhh]jV)}(hX``struct ata_device *dev`` ATA device which may need FLUSH retry If **dev** failed FLUSH, it needs to be reported upper layer immediately as it means that **dev** failed to remap and already lost at least a sector and further FLUSH retrials won't make any difference to the lost sector. However, if FLUSH failed for other reasons, for example transmission error, FLUSH needs to be retried. This function determines whether FLUSH failure retry is necessary and performs it if so. h](j\)}(h``struct ata_device *dev``h]jH)}(hj<h]hstruct ata_device *dev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj<ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj<ubjl)}(hhh](h)}(h%ATA device which may need FLUSH retryh]h%ATA device which may need FLUSH retry}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj=ubh)}(hXEIf **dev** failed FLUSH, it needs to be reported upper layer immediately as it means that **dev** failed to remap and already lost at least a sector and further FLUSH retrials won't make any difference to the lost sector. However, if FLUSH failed for other reasons, for example transmission error, FLUSH needs to be retried.h](hIf }(hj=hhhNhNubj)}(h**dev**h]hdev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubhP failed FLUSH, it needs to be reported upper layer immediately as it means that }(hj=hhhNhNubj)}(h**dev**h]hdev}(hj1=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh failed to remap and already lost at least a sector and further FLUSH retrials won’t make any difference to the lost sector. However, if FLUSH failed for other reasons, for example transmission error, FLUSH needs to be retried.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj=ubh)}(hXThis function determines whether FLUSH failure retry is necessary and performs it if so.h]hXThis function determines whether FLUSH failure retry is necessary and performs it if so.}(hjJ=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj=ubeh}(h]h ]h"]h$]h&]uh1jkhj<ubeh}(h]h ]h"]h$]h&]uh1jUhj=hM hj<ubah}(h]h ]h"]h$]h&]uh1jPhj<ubh)}(h **Return**h]j)}(hjm=h]hReturn}(hjo=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk=ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj<ubj)}(h80 if EH can continue, -errno if EH needs to be repeated.h]h)}(hj=h]h80 if EH can continue, -errno if EH needs to be repeated.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM hj=ubah}(h]h ]h"]h$]h&]uh1jhj=hM hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_set_lpm (C function)c.ata_eh_set_lpmhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hhint ata_eh_set_lpm (struct ata_link *link, enum ata_lpm_policy policy, struct ata_device **r_failed_dev)h]j)}(hgint ata_eh_set_lpm(struct ata_link *link, enum ata_lpm_policy policy, struct ata_device **r_failed_dev)h](j=)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj=hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMd ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhj=hMd ubjJ)}(hata_eh_set_lpmh]j)}(hata_eh_set_lpmh]hata_eh_set_lpm}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj=hhhj=hMd ubje)}(hU(struct ata_link *link, enum ata_lpm_policy policy, struct ata_device **r_failed_dev)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubh)}(hhh]j)}(hata_linkh]hata_link}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj>modnameN classnameNj.j1)}j4]j$)}j*j=sbc.ata_eh_set_lpmasbuh1hhj=ubj)}(h h]h }(hj6>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj9)}(hj<h]h*}(hjD>hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj=ubj)}(hlinkh]hlink}(hjQ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj=ubjk)}(henum ata_lpm_policy policyh](j)}(hjRh]henum}(hjj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf>ubj)}(h h]h }(hjw>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf>ubh)}(hhh]j)}(hata_lpm_policyh]hata_lpm_policy}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj>modnameN classnameNj.j1)}j4]j2>c.ata_eh_set_lpmasbuh1hhjf>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf>ubj)}(hpolicyh]hpolicy}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj=ubjk)}(h struct ata_device **r_failed_devh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj>modnameN classnameNj.j1)}j4]j2>c.ata_eh_set_lpmasbuh1hhj>ubj)}(h h]h }(hj ?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj9)}(hj<h]h*}(hj?hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj>ubj9)}(hj<h]h*}(hj$?hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj>ubj)}(h r_failed_devh]h r_failed_dev}(hj1?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj=ubeh}(h]h ]h"]h$]h&]jjuh1jdhj=hhhj=hMd ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj=hhhj=hMd ubah}(h]j=ah ](jYjeh"]h$]h&]jj)jhuh1jhj=hMd hj=hhubj)}(hhh]h)}(h)configure SATA interface power managementh]h)configure SATA interface power management}(hj[?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMT hjX?hhubah}(h]h ]h"]h$]h&]uh1jhj=hhhj=hMd ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjs?jjs?jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct ata_link *link`` link to configure power management ``enum ata_lpm_policy policy`` the link power management policy ``struct ata_device **r_failed_dev`` out parameter for failed device Enable SATA Interface power management. This will enable Device Interface Power Management (DIPM) for min_power and medium_power_with_dipm policies, and then call driver specific callbacks for enabling Host Initiated Power management. LOCKING: EH context. **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj}?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMX hjw?ubjQ)}(hhh](jV)}(h=``struct ata_link *link`` link to configure power management h](j\)}(h``struct ata_link *link``h]jH)}(hj?h]hstruct ata_link *link}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj?ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMU hj?ubjl)}(hhh]h)}(h"link to configure power managementh]h"link to configure power management}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMU hj?ubah}(h]h ]h"]h$]h&]uh1jkhj?ubeh}(h]h ]h"]h$]h&]uh1jUhj?hMU hj?ubjV)}(h@``enum ata_lpm_policy policy`` the link power management policy h](j\)}(h``enum ata_lpm_policy policy``h]jH)}(hj?h]henum ata_lpm_policy policy}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj?ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMV hj?ubjl)}(hhh]h)}(h the link power management policyh]h the link power management policy}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMV hj?ubah}(h]h ]h"]h$]h&]uh1jkhj?ubeh}(h]h ]h"]h$]h&]uh1jUhj?hMV hj?ubjV)}(hXH``struct ata_device **r_failed_dev`` out parameter for failed device Enable SATA Interface power management. This will enable Device Interface Power Management (DIPM) for min_power and medium_power_with_dipm policies, and then call driver specific callbacks for enabling Host Initiated Power management. LOCKING: EH context. h](j\)}(h$``struct ata_device **r_failed_dev``h]jH)}(hj@h]h struct ata_device **r_failed_dev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj @ubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM_ hj@ubjl)}(hhh](h)}(hout parameter for failed deviceh]hout parameter for failed device}(hj'@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMW hj$@ubh)}(hEnable SATA Interface power management. This will enable Device Interface Power Management (DIPM) for min_power and medium_power_with_dipm policies, and then call driver specific callbacks for enabling Host Initiated Power management.h]hEnable SATA Interface power management. This will enable Device Interface Power Management (DIPM) for min_power and medium_power_with_dipm policies, and then call driver specific callbacks for enabling Host Initiated Power management.}(hj6@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMY hj$@ubh)}(hLOCKING: EH context.h]hLOCKING: EH context.}(hjE@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chM^ hj$@ubeh}(h]h ]h"]h$]h&]uh1jkhj@ubeh}(h]h ]h"]h$]h&]uh1jUhj#@hM_ hj?ubeh}(h]h ]h"]h$]h&]uh1jPhjw?ubh)}(h **Return**h]j)}(hjh@h]hReturn}(hjj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf@ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMa hjw?ubj)}(h 0 on success, -errno on failure.h]h)}(hj@h]h 0 on success, -errno on failure.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMa hj~@ubah}(h]h ]h"]h$]h&]uh1jhj@hMa hjw?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_recover (C function)c.ata_eh_recoverhNtauh1jhjxhhhNhNubj)}(hhh](j)}(hint ata_eh_recover (struct ata_port *ap, ata_prereset_fn_t prereset, ata_reset_fn_t softreset, ata_reset_fn_t hardreset, ata_postreset_fn_t postreset, struct ata_link **r_failed_link)h]j)}(hint ata_eh_recover(struct ata_port *ap, ata_prereset_fn_t prereset, ata_reset_fn_t softreset, ata_reset_fn_t hardreset, ata_postreset_fn_t postreset, struct ata_link **r_failed_link)h](j=)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj@hhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhj@hMubjJ)}(hata_eh_recoverh]j)}(hata_eh_recoverh]hata_eh_recover}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj@hhhj@hMubje)}(h(struct ata_port *ap, ata_prereset_fn_t prereset, ata_reset_fn_t softreset, ata_reset_fn_t hardreset, ata_postreset_fn_t postreset, struct ata_link **r_failed_link)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubh)}(hhh]j)}(hata_porth]hata_port}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjAmodnameN classnameNj.j1)}j4]j$)}j*j@sbc.ata_eh_recoverasbuh1hhj@ubj)}(h h]h }(hj1AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj9)}(hj<h]h*}(hj?AhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj@ubj)}(haph]hap}(hjLAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj@ubjk)}(hata_prereset_fn_t prereseth](h)}(hhh]j)}(hata_prereset_fn_th]hata_prereset_fn_t}(hjhAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeAubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjjAmodnameN classnameNj.j1)}j4]j-Ac.ata_eh_recoverasbuh1hhjaAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaAubj)}(hprereseth]hprereset}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaAubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj@ubjk)}(hata_reset_fn_t softreseth](h)}(hhh]j)}(hata_reset_fn_th]hata_reset_fn_t}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjAmodnameN classnameNj.j1)}j4]j-Ac.ata_eh_recoverasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h softreseth]h softreset}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj@ubjk)}(hata_reset_fn_t hardreseth](h)}(hhh]j)}(hata_reset_fn_th]hata_reset_fn_t}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjAmodnameN classnameNj.j1)}j4]j-Ac.ata_eh_recoverasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h hardreseth]h hardreset}(hj$BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj@ubjk)}(hata_postreset_fn_t postreseth](h)}(hhh]j)}(hata_postreset_fn_th]hata_postreset_fn_t}(hj@BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=Bubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjBBmodnameN classnameNj.j1)}j4]j-Ac.ata_eh_recoverasbuh1hhj9Bubj)}(h h]h }(hj^BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9Bubj)}(h postreseth]h postreset}(hjlBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9Bubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj@ubjk)}(hstruct ata_link **r_failed_linkh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubh)}(hhh]j)}(hata_linkh]hata_link}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjBmodnameN classnameNj.j1)}j4]j-Ac.ata_eh_recoverasbuh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj9)}(hj<h]h*}(hjBhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjBubj9)}(hj<h]h*}(hjBhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjBubj)}(h r_failed_linkh]h r_failed_link}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj@ubeh}(h]h ]h"]h$]h&]jjuh1jdhj@hhhj@hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj@hhhj@hMubah}(h]j@ah ](jYjeh"]h$]h&]jj)jhuh1jhj@hMhj@hhubj)}(hhh]h)}(hrecover host port after errorh]hrecover host port after error}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjChhubah}(h]h ]h"]h$]h&]uh1jhj@hhhj@hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj+Cjj+Cjjjuh1jhhhjxhNhNubj)}(hXM**Parameters** ``struct ata_port *ap`` host port to recover ``ata_prereset_fn_t prereset`` prereset method (can be NULL) ``ata_reset_fn_t softreset`` softreset method (can be NULL) ``ata_reset_fn_t hardreset`` hardreset method (can be NULL) ``ata_postreset_fn_t postreset`` postreset method (can be NULL) ``struct ata_link **r_failed_link`` out parameter for failed link This is the alpha and omega, eum and yang, heart and soul of libata exception handling. On entry, actions required to recover each link and hotplug requests are recorded in the link's eh_context. This function executes all the operations with appropriate retrials and fallbacks to resurrect failed devices, detach goners and greet newcomers. LOCKING: Kernel thread context (may sleep). **Return** 0 on success, -errno on failure.h](h)}(h**Parameters**h]j)}(hj5Ch]h Parameters}(hj7ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Cubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/CubjQ)}(hhh](jV)}(h-``struct ata_port *ap`` host port to recover h](j\)}(h``struct ata_port *ap``h]jH)}(hjTCh]hstruct ata_port *ap}(hjVChhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjRCubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjNCubjl)}(hhh]h)}(hhost port to recoverh]hhost port to recover}(hjmChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiChMhjjCubah}(h]h ]h"]h$]h&]uh1jkhjNCubeh}(h]h ]h"]h$]h&]uh1jUhjiChMhjKCubjV)}(h=``ata_prereset_fn_t prereset`` prereset method (can be NULL) h](j\)}(h``ata_prereset_fn_t prereset``h]jH)}(hjCh]hata_prereset_fn_t prereset}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjCubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjCubjl)}(hhh]h)}(hprereset method (can be NULL)h]hprereset method (can be NULL)}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jkhjCubeh}(h]h ]h"]h$]h&]uh1jUhjChMhjKCubjV)}(h<``ata_reset_fn_t softreset`` softreset method (can be NULL) h](j\)}(h``ata_reset_fn_t softreset``h]jH)}(hjCh]hata_reset_fn_t softreset}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjCubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjCubjl)}(hhh]h)}(hsoftreset method (can be NULL)h]hsoftreset method (can be NULL)}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jkhjCubeh}(h]h ]h"]h$]h&]uh1jUhjChMhjKCubjV)}(h<``ata_reset_fn_t hardreset`` hardreset method (can be NULL) h](j\)}(h``ata_reset_fn_t hardreset``h]jH)}(hjCh]hata_reset_fn_t hardreset}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjCubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjCubjl)}(hhh]h)}(hhardreset method (can be NULL)h]hhardreset method (can be NULL)}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jkhjCubeh}(h]h ]h"]h$]h&]uh1jUhjDhMhjKCubjV)}(h@``ata_postreset_fn_t postreset`` postreset method (can be NULL) h](j\)}(h ``ata_postreset_fn_t postreset``h]jH)}(hj8Dh]hata_postreset_fn_t postreset}(hj:DhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj6Dubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj2Dubjl)}(hhh]h)}(hpostreset method (can be NULL)h]hpostreset method (can be NULL)}(hjQDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMDhMhjNDubah}(h]h ]h"]h$]h&]uh1jkhj2Dubeh}(h]h ]h"]h$]h&]uh1jUhjMDhMhjKCubjV)}(hX``struct ata_link **r_failed_link`` out parameter for failed link This is the alpha and omega, eum and yang, heart and soul of libata exception handling. On entry, actions required to recover each link and hotplug requests are recorded in the link's eh_context. This function executes all the operations with appropriate retrials and fallbacks to resurrect failed devices, detach goners and greet newcomers. LOCKING: Kernel thread context (may sleep). h](j\)}(h#``struct ata_link **r_failed_link``h]jH)}(hjqDh]hstruct ata_link **r_failed_link}(hjsDhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjoDubah}(h]h ]h"]h$]h&]uh1j[hZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjkDubjl)}(hhh](h)}(hout parameter for failed linkh]hout parameter for failed link}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjDubh)}(hXWThis is the alpha and omega, eum and yang, heart and soul of libata exception handling. On entry, actions required to recover each link and hotplug requests are recorded in the link's eh_context. This function executes all the operations with appropriate retrials and fallbacks to resurrect failed devices, detach goners and greet newcomers.h]hXYThis is the alpha and omega, eum and yang, heart and soul of libata exception handling. On entry, actions required to recover each link and hotplug requests are recorded in the link’s eh_context. This function executes all the operations with appropriate retrials and fallbacks to resurrect failed devices, detach goners and greet newcomers.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjDubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjDubeh}(h]h ]h"]h$]h&]uh1jkhjkDubeh}(h]h ]h"]h$]h&]uh1jUhjDhMhjKCubeh}(h]h ]h"]h$]h&]uh1jPhj/Cubh)}(h **Return**h]j)}(hjDh]hReturn}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhj/Cubj)}(h 0 on success, -errno on failure.h]h)}(hjDh]h 0 on success, -errno on failure.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMhjDubah}(h]h ]h"]h$]h&]uh1jhjDhMhj/Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_eh_finish (C function)c.ata_eh_finishhNtauh1jhjxhhhNhNubj)}(hhh](j)}(h(void ata_eh_finish (struct ata_port *ap)h]j)}(h'void ata_eh_finish(struct ata_port *ap)h](j=)}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjEhhhZ/var/lib/git/docbuild/linux/Documentation/driver-api/libata:589: ./drivers/ata/libata-eh.chMubj)}(h h]h }(hj(EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhj'EhMubjJ)}(h ata_eh_finishh]j)}(h ata_eh_finishh]h ata_eh_finish}(hj:EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6Eubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjEhhhj'EhMubje)}(h(struct ata_port *ap)h]jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjVEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjREubj)}(h h]h }(hjcEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjREubh)}(hhh]j)}(hata_porth]hata_port}(hjtEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqEubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjvEmodnameN classnameNj.j1)}j4]j$)}j*jQhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj:Qubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chM_hj6Qubjl)}(hhh]h)}(hcapacity of SCSI deviceh]hcapacity of SCSI device}(hjUQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQQhM_hjRQubah}(h]h ]h"]h$]h&]uh1jkhj6Qubeh}(h]h ]h"]h$]h&]uh1jUhjQQhM_hjPubjV)}(hX6``int geom[]`` location to which geometry will be output Generic bios head/sector/cylinder calculator used by sd. Most BIOSes nowadays expect a XXX/255/16 (CHS) mapping. Some situations may arise where the disk is not bootable if this is not used. LOCKING: Defined by the SCSI layer. We don't really care. h](j\)}(h``int geom[]``h]jH)}(hjuQh]h int geom[]}(hjwQhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjsQubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhhjoQubjl)}(hhh](h)}(h)location to which geometry will be outputh]h)location to which geometry will be output}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chM`hjQubh)}(hGeneric bios head/sector/cylinder calculator used by sd. Most BIOSes nowadays expect a XXX/255/16 (CHS) mapping. Some situations may arise where the disk is not bootable if this is not used.h]hGeneric bios head/sector/cylinder calculator used by sd. Most BIOSes nowadays expect a XXX/255/16 (CHS) mapping. Some situations may arise where the disk is not bootable if this is not used.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMbhjQubh)}(h:LOCKING: Defined by the SCSI layer. We don't really care.h]hvoid ata_scsi_unlock_native_capacity(struct scsi_device *sdev)h](j=)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjRhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hj,RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhj+RhMubjJ)}(hata_scsi_unlock_native_capacityh]j)}(hata_scsi_unlock_native_capacityh]hata_scsi_unlock_native_capacity}(hj>RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:Rubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjRhhhj+RhMubje)}(h(struct scsi_device *sdev)h]jk)}(hstruct scsi_device *sdevh](j)}(hjh]hstruct}(hjZRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVRubj)}(h h]h }(hjgRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVRubh)}(hhh]j)}(h scsi_deviceh]h scsi_device}(hjxRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuRubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjzRmodnameN classnameNj.j1)}j4]j$)}j*j@Rsb!c.ata_scsi_unlock_native_capacityasbuh1hhjVRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVRubj9)}(hj<h]h*}(hjRhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjVRubj)}(hsdevh]hsdev}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVRubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjRRubah}(h]h ]h"]h$]h&]jjuh1jdhjRhhhj+RhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjRhhhj+RhMubah}(h]jRah ](jYjeh"]h$]h&]jj)jhuh1jhj+RhMhjRhhubj)}(hhh]h)}(hunlock native capacityh]hunlock native capacity}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMzhjRhhubah}(h]h ]h"]h$]h&]uh1jhjRhhhj+RhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjRjjRjjjuh1jhhhjNhNhNubj)}(hX **Parameters** ``struct scsi_device *sdev`` SCSI device to adjust device capacity for This function is called if a partition on **sdev** extends beyond the end of the device. It requests EH to unlock HPA. LOCKING: Defined by the SCSI layer. Might sleep.h](h)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chM~hjRubjQ)}(hhh]jV)}(h``struct scsi_device *sdev`` SCSI device to adjust device capacity for This function is called if a partition on **sdev** extends beyond the end of the device. It requests EH to unlock HPA. LOCKING: Defined by the SCSI layer. Might sleep.h](j\)}(h``struct scsi_device *sdev``h]jH)}(hjSh]hstruct scsi_device *sdev}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjSubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhjSubjl)}(hhh](h)}(h)SCSI device to adjust device capacity forh]h)SCSI device to adjust device capacity for}(hj7ShhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chM{hj4Subh)}(hwThis function is called if a partition on **sdev** extends beyond the end of the device. It requests EH to unlock HPA.h](h*This function is called if a partition on }(hjFShhhNhNubj)}(h**sdev**h]hsdev}(hjNShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFSubhE extends beyond the end of the device. It requests EH to unlock HPA.}(hjFShhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chM}hj4Subh)}(h1LOCKING: Defined by the SCSI layer. Might sleep.h]h1LOCKING: Defined by the SCSI layer. Might sleep.}(hjgShhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ShMhj4Subeh}(h]h ]h"]h$]h&]uh1jkhjSubeh}(h]h ]h"]h$]h&]uh1jUhj3ShMhjSubah}(h]h ]h"]h$]h&]uh1jPhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$ata_scsi_dma_need_drain (C function)c.ata_scsi_dma_need_drainhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h1bool ata_scsi_dma_need_drain (struct request *rq)h]j)}(h0bool ata_scsi_dma_need_drain(struct request *rq)h](j=)}(hj+Sh]hbool}(hjShhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjShhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhjShMubjJ)}(hata_scsi_dma_need_drainh]j)}(hata_scsi_dma_need_drainh]hata_scsi_dma_need_drain}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjShhhjShMubje)}(h(struct request *rq)h]jk)}(hstruct request *rqh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubh)}(hhh]j)}(hrequesth]hrequest}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjTmodnameN classnameNj.j1)}j4]j$)}j*jSsbc.ata_scsi_dma_need_drainasbuh1hhjSubj)}(h h]h }(hj!ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj9)}(hj<h]h*}(hj/ThhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjSubj)}(hrqh]hrq}(hjsdev, this function doesn't have to do anything. Otherwise, SCSI layer initiated warm-unplug is in progress. Clear dev->sdev, schedule the device for ATA detach and invoke EH. LOCKING: Defined by SCSI layer. We don't really care.h](h)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhjYubjQ)}(hhh]jV)}(hX``struct scsi_device *sdev`` SCSI device to be destroyed **sdev** is about to be destroyed for hot/warm unplugging. If this unplugging was initiated by libata as indicated by NULL dev->sdev, this function doesn't have to do anything. Otherwise, SCSI layer initiated warm-unplug is in progress. Clear dev->sdev, schedule the device for ATA detach and invoke EH. LOCKING: Defined by SCSI layer. We don't really care.h](j\)}(h``struct scsi_device *sdev``h]jH)}(hjYh]hstruct scsi_device *sdev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjYubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhjYubjl)}(hhh](h)}(hSCSI device to be destroyedh]hSCSI device to be destroyed}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhjZubh)}(hX0**sdev** is about to be destroyed for hot/warm unplugging. If this unplugging was initiated by libata as indicated by NULL dev->sdev, this function doesn't have to do anything. Otherwise, SCSI layer initiated warm-unplug is in progress. Clear dev->sdev, schedule the device for ATA detach and invoke EH.h](j)}(h**sdev**h]hsdev}(hj'ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ZubhX* is about to be destroyed for hot/warm unplugging. If this unplugging was initiated by libata as indicated by NULL dev->sdev, this function doesn’t have to do anything. Otherwise, SCSI layer initiated warm-unplug is in progress. Clear dev->sdev, schedule the device for ATA detach and invoke EH.}(hj#ZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhjZubh)}(h6LOCKING: Defined by SCSI layer. We don't really care.h]h8LOCKING: Defined by SCSI layer. We don’t really care.}(hj@ZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubeh}(h]h ]h"]h$]h&]uh1jkhjYubeh}(h]h ]h"]h$]h&]uh1jUhjZhMhjYubah}(h]h ]h"]h$]h&]uh1jPhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsi_queuecmd (C function)c.ata_scsi_queuecmdhNtauh1jhjNhhhNhNubj)}(hhh](j)}(hFint ata_scsi_queuecmd (struct Scsi_Host *shost, struct scsi_cmnd *cmd)h]j)}(hEint ata_scsi_queuecmd(struct Scsi_Host *shost, struct scsi_cmnd *cmd)h](j=)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj|Zhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chM"ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ZhhhjZhM"ubjJ)}(hata_scsi_queuecmdh]j)}(hata_scsi_queuecmdh]hata_scsi_queuecmd}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj|ZhhhjZhM"ubje)}(h0(struct Scsi_Host *shost, struct scsi_cmnd *cmd)h](jk)}(hstruct Scsi_Host *shosth](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubh)}(hhh]j)}(h Scsi_Hosth]h Scsi_Host}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjZmodnameN classnameNj.j1)}j4]j$)}j*jZsbc.ata_scsi_queuecmdasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj9)}(hj<h]h*}(hj [hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjZubj)}(hshosth]hshost}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjZubjk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hj/[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+[ubj)}(h h]h }(hj<[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+[ubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hjM[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ[ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjO[modnameN classnameNj.j1)}j4]jZc.ata_scsi_queuecmdasbuh1hhj+[ubj)}(h h]h }(hjk[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+[ubj9)}(hj<h]h*}(hjy[hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj+[ubj)}(hcmdh]hcmd}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+[ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjZubeh}(h]h ]h"]h$]h&]jjuh1jdhj|ZhhhjZhM"ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjxZhhhjZhM"ubah}(h]jsZah ](jYjeh"]h$]h&]jj)jhuh1jhjZhM"hjuZhhubj)}(hhh]h)}(h'Issue SCSI cdb to libata-managed deviceh]h'Issue SCSI cdb to libata-managed device}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jhjuZhhhjZhM"ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj[jj[jjjuh1jhhhjNhNhNubj)}(hXO**Parameters** ``struct Scsi_Host *shost`` SCSI host of command to be sent ``struct scsi_cmnd *cmd`` SCSI command to be sent In some cases, this function translates SCSI commands into ATA taskfiles, and queues the taskfiles to be sent to hardware. In other cases, this function simulates a SCSI device by evaluating and responding to certain SCSI commands. This creates the overall effect of ATA and ATAPI devices appearing as SCSI devices. LOCKING: ATA host lock **Return** Return value from __ata_scsi_queuecmd() if **cmd** can be queued, 0 otherwise.h](h)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj[ubjQ)}(hhh](jV)}(h<``struct Scsi_Host *shost`` SCSI host of command to be sent h](j\)}(h``struct Scsi_Host *shost``h]jH)}(hj[h]hstruct Scsi_Host *shost}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj[ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj[ubjl)}(hhh]h)}(hSCSI host of command to be senth]hSCSI host of command to be sent}(hj \hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jkhj[ubeh}(h]h ]h"]h$]h&]uh1jUhj\hMhj[ubjV)}(hX``struct scsi_cmnd *cmd`` SCSI command to be sent In some cases, this function translates SCSI commands into ATA taskfiles, and queues the taskfiles to be sent to hardware. In other cases, this function simulates a SCSI device by evaluating and responding to certain SCSI commands. This creates the overall effect of ATA and ATAPI devices appearing as SCSI devices. LOCKING: ATA host lock h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hj*\h]hstruct scsi_cmnd *cmd}(hj,\hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj(\ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj$\ubjl)}(hhh](h)}(hSCSI command to be senth]hSCSI command to be sent}(hjC\hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj@\ubh)}(hX=In some cases, this function translates SCSI commands into ATA taskfiles, and queues the taskfiles to be sent to hardware. In other cases, this function simulates a SCSI device by evaluating and responding to certain SCSI commands. This creates the overall effect of ATA and ATAPI devices appearing as SCSI devices.h]hX=In some cases, this function translates SCSI commands into ATA taskfiles, and queues the taskfiles to be sent to hardware. In other cases, this function simulates a SCSI device by evaluating and responding to certain SCSI commands. This creates the overall effect of ATA and ATAPI devices appearing as SCSI devices.}(hjR\hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj@\ubh)}(hLOCKING: ATA host lockh]hLOCKING: ATA host lock}(hja\hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj@\ubeh}(h]h ]h"]h$]h&]uh1jkhj$\ubeh}(h]h ]h"]h$]h&]uh1jUhj?\hMhj[ubeh}(h]h ]h"]h$]h&]uh1jPhj[ubh)}(h **Return**h]j)}(hj\h]hReturn}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj[ubj)}(hNReturn value from __ata_scsi_queuecmd() if **cmd** can be queued, 0 otherwise.h]h)}(hNReturn value from __ata_scsi_queuecmd() if **cmd** can be queued, 0 otherwise.h](h+Return value from __ata_scsi_queuecmd() if }(hj\hhhNhNubj)}(h**cmd**h]hcmd}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh can be queued, 0 otherwise.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:594: ./drivers/ata/libata-scsi.chMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\hMhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j/ata_scsi_set_passthru_sense_fields (C function)$c.ata_scsi_set_passthru_sense_fieldshNtauh1jhjNhhhNhNubj)}(hhh](j)}(hCvoid ata_scsi_set_passthru_sense_fields (struct ata_queued_cmd *qc)h]j)}(hBvoid ata_scsi_set_passthru_sense_fields(struct ata_queued_cmd *qc)h](j=)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj\hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhj\hKubjJ)}(h"ata_scsi_set_passthru_sense_fieldsh]j)}(h"ata_scsi_set_passthru_sense_fieldsh]h"ata_scsi_set_passthru_sense_fields}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj\hhhj\hKubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj"]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(h h]h }(hj/]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hj@]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=]ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjB]modnameN classnameNj.j1)}j4]j$)}j*j]sb$c.ata_scsi_set_passthru_sense_fieldsasbuh1hhj]ubj)}(h h]h }(hj`]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj9)}(hj<h]h*}(hjn]hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj]ubj)}(hqch]hqc}(hj{]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj]ubah}(h]h ]h"]h$]h&]jjuh1jdhj\hhhj\hKubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj\hhhj\hKubah}(h]j\ah ](jYjeh"]h$]h&]jj)jhuh1jhj\hKhj\hhubj)}(hhh]h)}(hSet ATA fields in sense bufferh]hSet ATA fields in sense buffer}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chKhj]hhubah}(h]h ]h"]h$]h&]uh1jhj\hhhj\hKubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj]jj]jjjuh1jhhhjNhNhNubj)}(h**Parameters** ``struct ata_queued_cmd *qc`` ATA PASS-THROUGH command. Populates "ATA Status Return sense data descriptor" / "Fixed format sense data" with ATA taskfile fields. LOCKING: None.(h](h)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chKhj]ubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` ATA PASS-THROUGH command. Populates "ATA Status Return sense data descriptor" / "Fixed format sense data" with ATA taskfile fields. LOCKING: None.h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hj]h]hstruct ata_queued_cmd *qc}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj]ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chKhj]ubjl)}(hhh](h)}(hATA PASS-THROUGH command.h]hATA PASS-THROUGH command.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chKhj]ubh)}(hiPopulates "ATA Status Return sense data descriptor" / "Fixed format sense data" with ATA taskfile fields.h]hqPopulates “ATA Status Return sense data descriptor” / “Fixed format sense data” with ATA taskfile fields.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chKhj]ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hKhj]ubeh}(h]h ]h"]h$]h&]uh1jkhj]ubeh}(h]h ]h"]h$]h&]uh1jUhj]hKhj]ubah}(h]h ]h"]h$]h&]uh1jPhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_get_identity (C function)c.ata_get_identityhNtauh1jhjNhhhNhNubj)}(hhh](j)}(hVint ata_get_identity (struct ata_port *ap, struct scsi_device *sdev, void __user *arg)h]j)}(hUint ata_get_identity(struct ata_port *ap, struct scsi_device *sdev, void __user *arg)h](j=)}(hinth]hint}(hj]^hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjY^hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjl^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY^hhhjk^hMubjJ)}(hata_get_identityh]j)}(hata_get_identityh]hata_get_identity}(hj~^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz^ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjY^hhhjk^hMubje)}(hA(struct ata_port *ap, struct scsi_device *sdev, void __user *arg)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubh)}(hhh]j)}(hata_porth]hata_port}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj^modnameN classnameNj.j1)}j4]j$)}j*j^sbc.ata_get_identityasbuh1hhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj9)}(hj<h]h*}(hj^hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj^ubj)}(haph]hap}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubjk)}(hstruct scsi_device *sdevh](j)}(hjh]hstruct}(hj _hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubh)}(hhh]j)}(h scsi_deviceh]h scsi_device}(hj*_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'_ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj,_modnameN classnameNj.j1)}j4]j^c.ata_get_identityasbuh1hhj_ubj)}(h h]h }(hjH_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj9)}(hj<h]h*}(hjV_hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj_ubj)}(hsdevh]hsdev}(hjc_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubjk)}(hvoid __user *argh](j=)}(hvoidh]hvoid}(hj|_hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjx_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx_ubh__user}(hjx_hhhNhNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx_ubj9)}(hj<h]h*}(hj_hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjx_ubj)}(hargh]harg}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx_ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubeh}(h]h ]h"]h$]h&]jjuh1jdhjY^hhhjk^hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjU^hhhjk^hMubah}(h]jP^ah ](jYjeh"]h$]h&]jj)jhuh1jhjk^hMhjR^hhubj)}(hhh]h)}(h#Handler for HDIO_GET_IDENTITY ioctlh]h#Handler for HDIO_GET_IDENTITY ioctl}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj_hhubah}(h]h ]h"]h$]h&]uh1jhjR^hhhjk^hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj_jj_jjjuh1jhhhjNhNhNubj)}(hX1**Parameters** ``struct ata_port *ap`` target port ``struct scsi_device *sdev`` SCSI device to get identify data for ``void __user *arg`` User buffer area for identify data LOCKING: Defined by the SCSI layer. We don't really care. **Return** Zero on success, negative errno on error.h](h)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj_ubjQ)}(hhh](jV)}(h$``struct ata_port *ap`` target port h](j\)}(h``struct ata_port *ap``h]jH)}(hj"`h]hstruct ata_port *ap}(hj$`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj `ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj`ubjl)}(hhh]h)}(h target porth]h target port}(hj;`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7`hMhj8`ubah}(h]h ]h"]h$]h&]uh1jkhj`ubeh}(h]h ]h"]h$]h&]uh1jUhj7`hMhj`ubjV)}(hB``struct scsi_device *sdev`` SCSI device to get identify data for h](j\)}(h``struct scsi_device *sdev``h]jH)}(hj[`h]hstruct scsi_device *sdev}(hj]`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjY`ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjU`ubjl)}(hhh]h)}(h$SCSI device to get identify data forh]h$SCSI device to get identify data for}(hjt`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp`hMhjq`ubah}(h]h ]h"]h$]h&]uh1jkhjU`ubeh}(h]h ]h"]h$]h&]uh1jUhjp`hMhj`ubjV)}(ht``void __user *arg`` User buffer area for identify data LOCKING: Defined by the SCSI layer. We don't really care. h](j\)}(h``void __user *arg``h]jH)}(hj`h]hvoid __user *arg}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj`ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj`ubjl)}(hhh](h)}(h"User buffer area for identify datah]h"User buffer area for identify data}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj`ubh)}(h:LOCKING: Defined by the SCSI layer. We don't really care.h]hbhhubah}(h]h ]h"]h$]h&]uh1jhj"ahhhj;ahMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjYbjjYbjjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct scsi_device *scsidev`` Device to which we are issuing command ``void __user *arg`` User provided data for issuing command LOCKING: Defined by the SCSI layer. We don't really care. **Return** Zero on success, negative errno on error.h](h)}(h**Parameters**h]j)}(hjcbh]h Parameters}(hjebhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjabubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj]bubjQ)}(hhh](jV)}(hG``struct scsi_device *scsidev`` Device to which we are issuing command h](j\)}(h``struct scsi_device *scsidev``h]jH)}(hjbh]hstruct scsi_device *scsidev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjbubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj|bubjl)}(hhh]h)}(h&Device to which we are issuing commandh]h&Device to which we are issuing command}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jkhj|bubeh}(h]h ]h"]h$]h&]uh1jUhjbhMhjybubjV)}(hx``void __user *arg`` User provided data for issuing command LOCKING: Defined by the SCSI layer. We don't really care. h](j\)}(h``void __user *arg``h]jH)}(hjbh]hvoid __user *arg}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjbubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjbubjl)}(hhh](h)}(h&User provided data for issuing commandh]h&User provided data for issuing command}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjbubh)}(h:LOCKING: Defined by the SCSI layer. We don't really care.h]hdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjcubeh}(h]h ]h"]h$]h&]jjuh1jdhjPchhhjbchM6ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjLchhhjbchM6ubah}(h]jGcah ](jYjeh"]h$]h&]jj)jhuh1jhjbchM6hjIchhubj)}(hhh]h)}(h!Handler for HDIO_DRIVE_TASK ioctlh]h!Handler for HDIO_DRIVE_TASK ioctl}(hjhdhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM,hjedhhubah}(h]h ]h"]h$]h&]uh1jhjIchhhjbchM6ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjdjjdjjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct scsi_device *scsidev`` Device to which we are issuing command ``void __user *arg`` User provided data for issuing command LOCKING: Defined by the SCSI layer. We don't really care. **Return** Zero on success, negative errno on error.h](h)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM0hjdubjQ)}(hhh](jV)}(hG``struct scsi_device *scsidev`` Device to which we are issuing command h](j\)}(h``struct scsi_device *scsidev``h]jH)}(hjdh]hstruct scsi_device *scsidev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjdubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM-hjdubjl)}(hhh]h)}(h&Device to which we are issuing commandh]h&Device to which we are issuing command}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM-hjdubah}(h]h ]h"]h$]h&]uh1jkhjdubeh}(h]h ]h"]h$]h&]uh1jUhjdhM-hjdubjV)}(hx``void __user *arg`` User provided data for issuing command LOCKING: Defined by the SCSI layer. We don't really care. h](j\)}(h``void __user *arg``h]jH)}(hjdh]hvoid __user *arg}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjdubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM1hjdubjl)}(hhh](h)}(h&User provided data for issuing commandh]h&User provided data for issuing command}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM.hjdubh)}(h:LOCKING: Defined by the SCSI layer. We don't really care.h]hrubjQ)}(hhh](jV)}(hd``const u8 *cdb`` SCSI command to translate Calculate LBA and transfer length for 6-byte commands. h](j\)}(h``const u8 *cdb``h]jH)}(hjcrh]h const u8 *cdb}(hjerhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjarubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM0hj]rubjl)}(hhh](h)}(hSCSI command to translateh]hSCSI command to translate}(hj|rhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM.hjyrubh)}(h6Calculate LBA and transfer length for 6-byte commands.h]h6Calculate LBA and transfer length for 6-byte commands.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxrhM0hjyrubeh}(h]h ]h"]h$]h&]uh1jkhj]rubeh}(h]h ]h"]h$]h&]uh1jUhjxrhM0hjZrubjV)}(h``u64 *plba`` the LBA h](j\)}(h ``u64 *plba``h]jH)}(hjrh]h u64 *plba}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjrubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM3hjrubjl)}(hhh]h)}(hthe LBAh]hthe LBA}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM3hjrubah}(h]h ]h"]h$]h&]uh1jkhjrubeh}(h]h ]h"]h$]h&]uh1jUhjrhM3hjZrubjV)}(h"``u32 *plen`` the transfer length h](j\)}(h ``u32 *plen``h]jH)}(hjrh]h u32 *plen}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjrubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM4hjrubjl)}(hhh]h)}(hthe transfer lengthh]hthe transfer length}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM4hjrubah}(h]h ]h"]h$]h&]uh1jkhjrubeh}(h]h ]h"]h$]h&]uh1jUhjrhM4hjZrubeh}(h]h ]h"]h$]h&]uh1jPhj>rubh)}(h **Return**h]j)}(hjsh]hReturn}(hj!shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM6hj>rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jscsi_10_lba_len (C function)c.scsi_10_lba_lenhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h:void scsi_10_lba_len (const u8 *cdb, u64 *plba, u32 *plen)h]j)}(h9void scsi_10_lba_len(const u8 *cdb, u64 *plba, u32 *plen)h](j=)}(hvoidh]hvoid}(hjUshhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjQshhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMFubj)}(h h]h }(hjdshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQshhhjcshMFubjJ)}(hscsi_10_lba_lenh]j)}(hscsi_10_lba_lenh]hscsi_10_lba_len}(hjvshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrsubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjQshhhjcshMFubje)}(h%(const u8 *cdb, u64 *plba, u32 *plen)h](jk)}(h const u8 *cdbh](j)}(hj'h]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubh)}(hhh]j)}(hu8h]hu8}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjsmodnameN classnameNj.j1)}j4]j$)}j*jxssbc.scsi_10_lba_lenasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj9)}(hj<h]h*}(hjshhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjsubj)}(hcdbh]hcdb}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubjk)}(h u64 *plbah](h)}(hhh]j)}(hu64h]hu64}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj tmodnameN classnameNj.j1)}j4]jsc.scsi_10_lba_lenasbuh1hhjtubj)}(h h]h }(hj%thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj9)}(hj<h]h*}(hj3thhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjtubj)}(hplbah]hplba}(hj@thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubjk)}(h u32 *plenh](h)}(hhh]j)}(hu32h]hu32}(hj\thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYtubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj^tmodnameN classnameNj.j1)}j4]jsc.scsi_10_lba_lenasbuh1hhjUtubj)}(h h]h }(hjzthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUtubj9)}(hj<h]h*}(hjthhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjUtubj)}(hplenh]hplen}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUtubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjsubeh}(h]h ]h"]h$]h&]jjuh1jdhjQshhhjcshMFubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjMshhhjcshMFubah}(h]jHsah ](jYjeh"]h$]h&]jj)jhuh1jhjcshMFhjJshhubj)}(hhh]h)}(hGet LBA and transfer lengthh]hGet LBA and transfer length}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM=hjthhubah}(h]h ]h"]h$]h&]uh1jhjJshhhjcshMFubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjtjjtjjjuh1jhhhjNhNhNubj)}(h**Parameters** ``const u8 *cdb`` SCSI command to translate Calculate LBA and transfer length for 10-byte commands. ``u64 *plba`` the LBA ``u32 *plen`` the transfer length **Return**h](h)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMAhjtubjQ)}(hhh](jV)}(he``const u8 *cdb`` SCSI command to translate Calculate LBA and transfer length for 10-byte commands. h](j\)}(h``const u8 *cdb``h]jH)}(hjuh]h const u8 *cdb}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjtubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM@hjtubjl)}(hhh](h)}(hSCSI command to translateh]hSCSI command to translate}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM>hjuubh)}(h7Calculate LBA and transfer length for 10-byte commands.h]h7Calculate LBA and transfer length for 10-byte commands.}(hj(uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM@hjuubeh}(h]h ]h"]h$]h&]uh1jkhjtubeh}(h]h ]h"]h$]h&]uh1jUhjuhM@hjtubjV)}(h``u64 *plba`` the LBA h](j\)}(h ``u64 *plba``h]jH)}(hjHuh]h u64 *plba}(hjJuhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjFuubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMChjBuubjl)}(hhh]h)}(hthe LBAh]hthe LBA}(hjauhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]uhMChj^uubah}(h]h ]h"]h$]h&]uh1jkhjBuubeh}(h]h ]h"]h$]h&]uh1jUhj]uhMChjtubjV)}(h"``u32 *plen`` the transfer length h](j\)}(h ``u32 *plen``h]jH)}(hjuh]h u32 *plen}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjuubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMDhj{uubjl)}(hhh]h)}(hthe transfer lengthh]hthe transfer length}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMDhjuubah}(h]h ]h"]h$]h&]uh1jkhj{uubeh}(h]h ]h"]h$]h&]uh1jUhjuhMDhjtubeh}(h]h ]h"]h$]h&]uh1jPhjtubh)}(h **Return**h]j)}(hjuh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMFhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jscsi_16_lba_len (C function)c.scsi_16_lba_lenhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h:void scsi_16_lba_len (const u8 *cdb, u64 *plba, u32 *plen)h]j)}(h9void scsi_16_lba_len(const u8 *cdb, u64 *plba, u32 *plen)h](j=)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjuhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMVubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhjvhMVubjJ)}(hscsi_16_lba_lenh]j)}(hscsi_16_lba_lenh]hscsi_16_lba_len}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjuhhhjvhMVubje)}(h%(const u8 *cdb, u64 *plba, u32 *plen)h](jk)}(h const u8 *cdbh](j)}(hj'h]hconst}(hj/vhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+vubj)}(h h]h }(hjqueuecommand() function has decided that the SCSI command issued can be directly translated into an ATA command, rather than handled internally. This function sets up an ata_queued_cmd structure for the SCSI command, and sends that ata_queued_cmd to the hardware. The xlat_func argument (actor) returns 0 if ready to execute ATA command, else 1 to finish translation. If 1 is returned then cmd->result (and possibly cmd->sense_buffer) are assumed to be set reflecting an error condition or clean (early) termination. LOCKING: spin_lock_irqsave(host lock) **Return** 0 on success, SCSI_ML_QUEUE_DEVICE_BUSY if the command needs to be deferred.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjQ)}(hhh](jV)}(hH``struct ata_device *dev`` ATA device to which the command is addressed h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(h,ATA device to which the command is addressedh]h,ATA device to which the command is addressed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h2``struct scsi_cmnd *cmd`` SCSI command to execute h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hSCSI command to executeh]hSCSI command to execute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(hX``ata_xlat_func_t xlat_func`` Actor which translates **cmd** to an ATA taskfile Our ->queuecommand() function has decided that the SCSI command issued can be directly translated into an ATA command, rather than handled internally. This function sets up an ata_queued_cmd structure for the SCSI command, and sends that ata_queued_cmd to the hardware. The xlat_func argument (actor) returns 0 if ready to execute ATA command, else 1 to finish translation. If 1 is returned then cmd->result (and possibly cmd->sense_buffer) are assumed to be set reflecting an error condition or clean (early) termination. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``ata_xlat_func_t xlat_func``h]jH)}(hj(h]hata_xlat_func_t xlat_func}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj&ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj"ubjl)}(hhh](h)}(h1Actor which translates **cmd** to an ATA taskfileh](hActor which translates }(hjAhhhNhNubj)}(h**cmd**h]hcmd}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh to an ATA taskfile}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj>ubh)}(hOur ->queuecommand() function has decided that the SCSI command issued can be directly translated into an ATA command, rather than handled internally.h]hOur ->queuecommand() function has decided that the SCSI command issued can be directly translated into an ATA command, rather than handled internally.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj>ubh)}(hvThis function sets up an ata_queued_cmd structure for the SCSI command, and sends that ata_queued_cmd to the hardware.h]hvThis function sets up an ata_queued_cmd structure for the SCSI command, and sends that ata_queued_cmd to the hardware.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj>ubh)}(hThe xlat_func argument (actor) returns 0 if ready to execute ATA command, else 1 to finish translation. If 1 is returned then cmd->result (and possibly cmd->sense_buffer) are assumed to be set reflecting an error condition or clean (early) termination.h]hThe xlat_func argument (actor) returns 0 if ready to execute ATA command, else 1 to finish translation. If 1 is returned then cmd->result (and possibly cmd->sense_buffer) are assumed to be set reflecting an error condition or clean (early) termination.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj>ubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj>ubeh}(h]h ]h"]h$]h&]uh1jkhj"ubeh}(h]h ]h"]h$]h&]uh1jUhj=hMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubj)}(hL0 on success, SCSI_ML_QUEUE_DEVICE_BUSY if the command needs to be deferred.h]h)}(hL0 on success, SCSI_ML_QUEUE_DEVICE_BUSY if the command needs to be deferred.h]hL0 on success, SCSI_ML_QUEUE_DEVICE_BUSY if the command needs to be deferred.}(hj̀hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjȀubah}(h]h ]h"]h$]h&]uh1jhjڀhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsi_rbuf_fill (C function)c.ata_scsi_rbuf_fillhNtauh1jhjNhhhNhNubj)}(hhh](j)}(hvoid ata_scsi_rbuf_fill (struct ata_device *dev, struct scsi_cmnd *cmd, unsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf))h]j)}(hvoid ata_scsi_rbuf_fill(struct ata_device *dev, struct scsi_cmnd *cmd, unsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf))h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_scsi_rbuf_fillh]j)}(hata_scsi_rbuf_fillh]hata_scsi_rbuf_fill}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_device *dev, struct scsi_cmnd *cmd, unsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf))h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj^modnameN classnameNj.j1)}j4]j$)}j*j$sbc.ata_scsi_rbuf_fillasbuh1hhj:ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj:ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hj΁hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjˁubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjЁmodnameN classnameNj.j1)}j4]jxc.ata_scsi_rbuf_fillasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hNunsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h](j=)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hjDh]h(}(hjXhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj9)}(hj<h]h*}(hjehhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hactorh]hactor}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hjDh]h)}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj9)}(hjDh]h(}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jxc.ata_scsi_rbuf_fillasbuh1hhjubj)}(h h]h }(hjւhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(h,h]h,}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj;modnameN classnameNj.j1)}j4]jxc.ata_scsi_rbuf_fillasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjehhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hcmdh]hcmd}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hjh]h,}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jxc.ata_scsi_rbuf_fillasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjʃhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hrbufh]hrbuf}(hj׃hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hjDh]h)}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h#wrapper for SCSI command simulatorsh]h#wrapper for SCSI command simulators}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj&jj&jjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Target device. ``struct scsi_cmnd *cmd`` SCSI command of interest. ``unsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)`` Callback hook for desired SCSI command simulator Takes care of the hard work of simulating a SCSI command... Mapping the response buffer, calling the command's handler, and handling the handler's return value. This return value indicates whether the handler wishes the SCSI command to be completed successfully (0), or not (in which case cmd->result and sense buffer are assumed to be set). LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj*ubjQ)}(hhh](jV)}(h*``struct ata_device *dev`` Target device. h](j\)}(h``struct ata_device *dev``h]jH)}(hjOh]hstruct ata_device *dev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjMubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjIubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jkhjIubeh}(h]h ]h"]h$]h&]uh1jUhjdhMhjFubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjFubjV)}(hX``unsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)`` Callback hook for desired SCSI command simulator Takes care of the hard work of simulating a SCSI command... Mapping the response buffer, calling the command's handler, and handling the handler's return value. This return value indicates whether the handler wishes the SCSI command to be completed successfully (0), or not (in which case cmd->result and sense buffer are assumed to be set). LOCKING: spin_lock_irqsave(host lock)h](j\)}(hR``unsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)``h]jH)}(hjh]hNunsigned int (*actor)(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)}(hjÄhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(h0Callback hook for desired SCSI command simulatorh]h0Callback hook for desired SCSI command simulator}(hjڄhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjׄubh)}(hXVTakes care of the hard work of simulating a SCSI command... Mapping the response buffer, calling the command's handler, and handling the handler's return value. This return value indicates whether the handler wishes the SCSI command to be completed successfully (0), or not (in which case cmd->result and sense buffer are assumed to be set).h]hXZTakes care of the hard work of simulating a SCSI command... Mapping the response buffer, calling the command’s handler, and handling the handler’s return value. This return value indicates whether the handler wishes the SCSI command to be completed successfully (0), or not (in which case cmd->result and sense buffer are assumed to be set).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjׄubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjքhMhjׄubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjքhMhjFubeh}(h]h ]h"]h$]h&]uh1jPhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsiop_inq_std (C function)c.ata_scsiop_inq_stdhNtauh1jhjNhhhNhNubj)}(hhh](j)}(hYunsigned int ata_scsiop_inq_std (struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h]j)}(hXunsigned int ata_scsiop_inq_std(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h](j=)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj4hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhjFhM ubj=)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj4hhhjFhM ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhjFhM ubjJ)}(hata_scsiop_inq_stdh]j)}(hata_scsiop_inq_stdh]hata_scsiop_inq_std}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj4hhhjFhM ubje)}(h9(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jwsbc.ata_scsiop_inq_stdasbuh1hhjubj)}(h h]h }(hjυhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj݅hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj#modnameN classnameNj.j1)}j4]j˅c.ata_scsiop_inq_stdasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjMhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hcmdh]hcmd}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu8 *rbufh](h)}(hhh]j)}(hu8h]hu8}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjxmodnameN classnameNj.j1)}j4]j˅c.ata_scsiop_inq_stdasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjoubj)}(hrbufh]hrbuf}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj4hhhjFhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj0hhhjFhM ubah}(h]j+ah ](jYjeh"]h$]h&]jj)jhuh1jhjFhM hj-hhubj)}(hhh]h)}(h!Simulate standard INQUIRY commandh]h!Simulate standard INQUIRY command}(hjنhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjֆhhubah}(h]h ]h"]h$]h&]uh1jhj-hhhjFhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hXK**Parameters** ``struct ata_device *dev`` Target device. ``struct scsi_cmnd *cmd`` SCSI command of interest. ``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Returns standard device identification data associated with non-VPD INQUIRY command output. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjQ)}(hhh](jV)}(h*``struct ata_device *dev`` Target device. h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj/hMhjubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjSh]hstruct scsi_cmnd *cmd}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjQubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjMubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jkhjMubeh}(h]h ]h"]h$]h&]uh1jUhjhhMhjubjV)}(h``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Returns standard device identification data associated with non-VPD INQUIRY command output. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h ``u8 *rbuf``h]jH)}(hjh]hu8 *rbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(hubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjCmodnameN classnameNj.j1)}j4]jc.ata_scsiop_inq_00asbuh1hhj:ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj9)}(hj<h]h*}(hjmhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj:ubj)}(hrbufh]hrbuf}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjTubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMxubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMxubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMxhjhhubj)}(hhh]h)}(h*Simulate INQUIRY VPD page 0, list of pagesh]h*Simulate INQUIRY VPD page 0, list of pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMxubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Target device. ``struct scsi_cmnd *cmd`` SCSI command of interest. ``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Returns list of inquiry VPD pages available. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjƉh]h Parameters}(hjȉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĉubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMrhjubjQ)}(hhh](jV)}(h*``struct ata_device *dev`` Target device. h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMohj߉ubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMohjubah}(h]h ]h"]h$]h&]uh1jkhj߉ubeh}(h]h ]h"]h$]h&]uh1jUhjhMohj܉ubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMphjubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMphj4ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj3hMphj܉ubjV)}(h``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Returns list of inquiry VPD pages available. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h ``u8 *rbuf``h]jH)}(hjWh]hu8 *rbuf}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjUubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMuhjQubjl)}(hhh](h)}(hhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j,c.ata_scsiop_inq_83asbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj`ubj)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu8 *rbufh](h)}(hhh]j)}(hu8h]hu8}(hj׎hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԎubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjَmodnameN classnameNj.j1)}j4]j,c.ata_scsiop_inq_83asbuh1hhjЎubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЎubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjЎubj)}(hrbufh]hrbuf}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЎubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h-Simulate INQUIRY VPD page 83, device identityh]h-Simulate INQUIRY VPD page 83, device identity}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjRjjRjjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Target device. ``struct scsi_cmnd *cmd`` SCSI command of interest. ``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Yields two logical unit device identification designators: - vendor specific ASCII containing the ATA serial number - SAT defined "t10 vendor id based" containing ASCII vendor name ("ATA "), model and serial numbers. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjVubjQ)}(hhh](jV)}(h*``struct ata_device *dev`` Target device. h](j\)}(h``struct ata_device *dev``h]jH)}(hj{h]hstruct ata_device *dev}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjyubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjuubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjuubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjrubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hj͏hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjɏhMhjʏubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjɏhMhjrubjV)}(hXS``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Yields two logical unit device identification designators: - vendor specific ASCII containing the ATA serial number - SAT defined "t10 vendor id based" containing ASCII vendor name ("ATA "), model and serial numbers. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h ``u8 *rbuf``h]jH)}(hjh]hu8 *rbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(hjj>jjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Target device. ``struct scsi_cmnd *cmd`` SCSI command of interest. ``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Return data for the VPD page B0h (Block Limits). LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjBubjQ)}(hhh](jV)}(h*``struct ata_device *dev`` Target device. h](j\)}(h``struct ata_device *dev``h]jH)}(hjgh]hstruct ata_device *dev}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjeubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjaubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jkhjaubeh}(h]h ]h"]h$]h&]uh1jUhj|hMhj^ubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhj^ubjV)}(h``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Return data for the VPD page B0h (Block Limits). LOCKING: spin_lock_irqsave(host lock)h](j\)}(h ``u8 *rbuf``h]jH)}(hjٕh]hu8 *rbuf}(hjەhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjוubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjӕubjl)}(hhh](h)}(hReturn data for the VPD page B2h (Logical Block Provisioning).h]h>Return data for the VPD page B2h (Logical Block Provisioning).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMlhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubeh}(h]h ]h"]h$]h&]uh1jkhjiubeh}(h]h ]h"]h$]h&]uh1jUhjhMnhjubeh}(h]h ]h"]h$]h&]uh1jPhjؚubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsiop_inq_b6 (C function)c.ata_scsiop_inq_b6hNtauh1jhjNhhhNhNubj)}(hhh](j)}(hXunsigned int ata_scsiop_inq_b6 (struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h]j)}(hWunsigned int ata_scsiop_inq_b6(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_scsiop_inq_b6h]j)}(hata_scsiop_inq_b6h]hata_scsiop_inq_b6}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h9(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj_modnameN classnameNj.j1)}j4]j$)}j*j%sbc.ata_scsiop_inq_b6asbuh1hhj;ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj;ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj7ubjk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hjϜhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̜ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjќmodnameN classnameNj.j1)}j4]jyc.ata_scsiop_inq_b6asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj7ubjk)}(hu8 *rbufh](h)}(hhh]j)}(hu8h]hu8}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj&modnameN classnameNj.j1)}j4]jyc.ata_scsiop_inq_b6asbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjPhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hrbufh]hrbuf}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj7ubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjޛhhhjhMubah}(h]jٛah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjۛhhubj)}(hhh]h)}(h@Simulate INQUIRY VPD page B6, Zoned Block Device Characteristicsh]h@Simulate INQUIRY VPD page B6, Zoned Block Device Characteristics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jhjۛhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hX4**Parameters** ``struct ata_device *dev`` Target device. ``struct scsi_cmnd *cmd`` SCSI command of interest. ``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Return data for the VPD page B2h (Zoned Block Device Characteristics). LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjQ)}(hhh](jV)}(h*``struct ata_device *dev`` Target device. h](j\)}(h``struct ata_device *dev``h]jH)}(hjȝh]hstruct ata_device *dev}(hjʝhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjƝubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjݝhMhjޝubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjݝhMhjubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Return data for the VPD page B2h (Zoned Block Device Characteristics). LOCKING: spin_lock_irqsave(host lock)h](j\)}(h ``u8 *rbuf``h]jH)}(hj:h]hu8 *rbuf}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj8ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj4ubjl)}(hhh](h)}(hvoid modecpy (u8 *dest, const u8 *src, int n, bool changeable)h]j)}(h=void modecpy(u8 *dest, const u8 *src, int n, bool changeable)h](j=)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjChhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhjUhM ubjJ)}(hmodecpyh]j)}(hmodecpyh]hmodecpy}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjChhhjUhM ubje)}(h1(u8 *dest, const u8 *src, int n, bool changeable)h](jk)}(hu8 *desth](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jjsb c.modecpyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdesth]hdest}(hj¤hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj|ubjk)}(h const u8 *srch](j)}(hj'h]hconst}(hjۤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjפubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjפubh)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j c.modecpyasbuh1hhjפubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjפubj9)}(hj<h]h*}(hj%hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjפubj)}(hsrch]hsrc}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjפubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj|ubjk)}(hint nh](j=)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjGubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(hjh]hn}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj|ubjk)}(hbool changeableh](j=)}(hj+Sh]hbool}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h changeableh]h changeable}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj|ubeh}(h]h ]h"]h$]h&]jjuh1jdhjChhhjUhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj?hhhjUhM ubah}(h]j:ah ](jYjeh"]h$]h&]jj)jhuh1jhjUhM hj<hhubj)}(hhh]h)}(hPrepare response for MODE SENSEh]hPrepare response for MODE SENSE}(hjĥhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj<hhhjUhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjܥjjܥjjjuh1jhhhjNhNhNubj)}(hX **Parameters** ``u8 *dest`` output buffer ``const u8 *src`` data being copied ``int n`` length of mode page ``bool changeable`` whether changeable parameters are requested Generate a generic MODE SENSE page for either current or changeable parameters. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjQ)}(hhh](jV)}(h``u8 *dest`` output buffer h](j\)}(h ``u8 *dest``h]jH)}(hjh]hu8 *dest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(h output bufferh]h output buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h$``const u8 *src`` data being copied h](j\)}(h``const u8 *src``h]jH)}(hj>h]h const u8 *src}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj<ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj8ubjl)}(hhh]h)}(hdata being copiedh]hdata being copied}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jkhj8ubeh}(h]h ]h"]h$]h&]uh1jUhjShMhjubjV)}(h``int n`` length of mode page h](j\)}(h ``int n``h]jH)}(hjwh]hint n}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjuubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjqubjl)}(hhh]h)}(hlength of mode pageh]hlength of mode page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjqubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``bool changeable`` whether changeable parameters are requested Generate a generic MODE SENSE page for either current or changeable parameters. LOCKING: None.h](j\)}(h``bool changeable``h]jH)}(hjh]hbool changeable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh](h)}(h+whether changeable parameters are requestedh]h+whether changeable parameters are requested}(hjɦhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjƦubh)}(hOGenerate a generic MODE SENSE page for either current or changeable parameters.h]hOGenerate a generic MODE SENSE page for either current or changeable parameters.}(hjئhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjƦubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjŦhM hjƦubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjŦhM hjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_msense_caching (C function)c.ata_msense_cachinghNtauh1jhjNhhhNhNubj)}(hhh](j)}(hCunsigned int ata_msense_caching (u16 *id, u8 *buf, bool changeable)h]j)}(hBunsigned int ata_msense_caching(u16 *id, u8 *buf, bool changeable)h](j=)}(hunsignedh]hunsigned}(hj'hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj#hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhj5hM ubj=)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj#hhhj5hM ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhj5hM ubjJ)}(hata_msense_cachingh]j)}(hata_msense_cachingh]hata_msense_caching}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj#hhhj5hM ubje)}(h#(u16 *id, u8 *buf, bool changeable)h](jk)}(hu16 *idh](h)}(hhh]j)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jfsbc.ata_msense_cachingasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj|ubj)}(hidh]hid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjxubjk)}(hu8 *bufh](h)}(hhh]j)}(hu8h]hu8}(hjڧhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjקubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjܧmodnameN classnameNj.j1)}j4]jc.ata_msense_cachingasbuh1hhjӧubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjӧubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjӧubj)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjӧubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjxubjk)}(hbool changeableh](j=)}(hj+Sh]hbool}(hj,hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj)}(h changeableh]h changeable}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjxubeh}(h]h ]h"]h$]h&]jjuh1jdhj#hhhj5hM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj5hM ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj5hM hjhhubj)}(hhh]h)}(h%Simulate MODE SENSE caching info pageh]h%Simulate MODE SENSE caching info page}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjnhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj5hM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hX,**Parameters** ``u16 *id`` device IDENTIFY data ``u8 *buf`` output buffer ``bool changeable`` whether changeable parameters are requested Generate a caching info page, which conditionally indicates write caching to the SCSI layer, depending on device capabilities. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjQ)}(hhh](jV)}(h!``u16 *id`` device IDENTIFY data h](j\)}(h ``u16 *id``h]jH)}(hjh]hu16 *id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(hdevice IDENTIFY datah]hdevice IDENTIFY data}(hj˨hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjǨhM hjȨubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjǨhM hjubjV)}(h``u8 *buf`` output buffer h](j\)}(h ``u8 *buf``h]jH)}(hjh]hu8 *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(h output bufferh]h output buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjubjV)}(h``bool changeable`` whether changeable parameters are requested Generate a caching info page, which conditionally indicates write caching to the SCSI layer, depending on device capabilities. LOCKING: None.h](j\)}(h``bool changeable``h]jH)}(hj$h]hbool changeable}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj"ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh](h)}(h+whether changeable parameters are requestedh]h+whether changeable parameters are requested}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj:ubh)}(h~Generate a caching info page, which conditionally indicates write caching to the SCSI layer, depending on device capabilities.h]h~Generate a caching info page, which conditionally indicates write caching to the SCSI layer, depending on device capabilities.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj:ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj:ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj9hM hjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_msense_control (C function)c.ata_msense_controlhNtauh1jhjNhhhNhNubj)}(hhh](j)}(hZunsigned int ata_msense_control (struct ata_device *dev, u8 *buf, u8 spg, bool changeable)h]j)}(hYunsigned int ata_msense_control(struct ata_device *dev, u8 *buf, u8 spg, bool changeable)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhM ubj)}(h h]h }(hjƩhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjJ)}(hata_msense_controlh]j)}(hata_msense_controlh]hata_msense_control}(hjةhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԩubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM ubje)}(h:(struct ata_device *dev, u8 *buf, u8 spg, bool changeable)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jکsbc.ata_msense_controlasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj@hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu8 *bufh](h)}(hhh]j)}(hu8h]hu8}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjkmodnameN classnameNj.j1)}j4]j.c.ata_msense_controlasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjbubj)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu8 spgh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j.c.ata_msense_controlasbuh1hhjubj)}(h h]h }(hjܪhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hspgh]hspg}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hbool changeableh](j=)}(hj+Sh]hbool}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h changeableh]h changeable}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(h%Simulate MODE SENSE control mode pageh]h%Simulate MODE SENSE control mode page}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjEhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj`jj`jjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` ATA device of interest ``u8 *buf`` output buffer ``u8 spg`` sub-page code ``bool changeable`` whether changeable parameters are requested Generate a generic MODE SENSE control mode page. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjdubjQ)}(hhh](jV)}(h2``struct ata_device *dev`` ATA device of interest h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(hATA device of interesth]hATA device of interest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjubjV)}(h``u8 *buf`` output buffer h](j\)}(h ``u8 *buf``h]jH)}(hj«h]hu8 *buf}(hjīhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(h output bufferh]h output buffer}(hj۫hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj׫hM hjثubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj׫hM hjubjV)}(h``u8 spg`` sub-page code h](j\)}(h ``u8 spg``h]jH)}(hjh]hu8 spg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(h sub-page codeh]h sub-page code}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjubjV)}(h``bool changeable`` whether changeable parameters are requested Generate a generic MODE SENSE control mode page. LOCKING: None.h](j\)}(h``bool changeable``h]jH)}(hj4h]hbool changeable}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj2ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj.ubjl)}(hhh](h)}(h+whether changeable parameters are requestedh]h+whether changeable parameters are requested}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjJubh)}(h0Generate a generic MODE SENSE control mode page.h]h0Generate a generic MODE SENSE control mode page.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjJubh)}(hLOCKING: None.h]hLOCKING: None.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhM hjJubeh}(h]h ]h"]h$]h&]uh1jkhj.ubeh}(h]h ]h"]h$]h&]uh1jUhjIhM hjubeh}(h]h ]h"]h$]h&]uh1jPhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#ata_msense_rw_recovery (C function)c.ata_msense_rw_recoveryhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h>unsigned int ata_msense_rw_recovery (u8 *buf, bool changeable)h]j)}(h=unsigned int ata_msense_rw_recovery(u8 *buf, bool changeable)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubj=)}(hinth]hint}(hjȬhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhM ubj)}(h h]h }(hj֬hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjJ)}(hata_msense_rw_recoveryh]j)}(hata_msense_rw_recoveryh]hata_msense_rw_recovery}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM ubje)}(h(u8 *buf, bool changeable)h](jk)}(hu8 *bufh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj modnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_msense_rw_recoveryasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj5hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hbufh]hbuf}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hbool changeableh](j=)}(hj+Sh]hbool}(hj[hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h changeableh]h changeable}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(h+Simulate MODE SENSE r/w error recovery pageh]h+Simulate MODE SENSE r/w error recovery page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(h**Parameters** ``u8 *buf`` output buffer ``bool changeable`` whether changeable parameters are requested Generate a generic MODE SENSE r/w error recovery page. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj­h]h Parameters}(hjĭhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjQ)}(hhh](jV)}(h``u8 *buf`` output buffer h](j\)}(h ``u8 *buf``h]jH)}(hjh]hu8 *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj߭ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjۭubjl)}(hhh]h)}(h output bufferh]h output buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjۭubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjحubjV)}(h``bool changeable`` whether changeable parameters are requested Generate a generic MODE SENSE r/w error recovery page. LOCKING: None.h](j\)}(h``bool changeable``h]jH)}(hjh]hbool changeable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh](h)}(h+whether changeable parameters are requestedh]h+whether changeable parameters are requested}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj0ubh)}(h6Generate a generic MODE SENSE r/w error recovery page.h]h6Generate a generic MODE SENSE r/w error recovery page.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj0ubh)}(hLOCKING: None.h]hLOCKING: None.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM hj0ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj/hM hjحubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ata_scsiop_mode_sense (C function)c.ata_scsiop_mode_sensehNtauh1jhjNhhhNhNubj)}(hhh](j)}(h\unsigned int ata_scsiop_mode_sense (struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h]j)}(h[unsigned int ata_scsiop_mode_sense(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjJ)}(hata_scsiop_mode_senseh]j)}(hata_scsiop_mode_senseh]hata_scsiop_mode_sense}(hjήhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʮubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM ubje)}(h9(struct ata_device *dev, struct scsi_cmnd *cmd, u8 *rbuf)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj modnameN classnameNj.j1)}j4]j$)}j*jЮsbc.ata_scsiop_mode_senseasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj6hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj|modnameN classnameNj.j1)}j4]j$c.ata_scsiop_mode_senseasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjXubj)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu8 *rbufh](h)}(hhh]j)}(hu8h]hu8}(hjϯhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̯ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjѯmodnameN classnameNj.j1)}j4]j$c.ata_scsiop_mode_senseasbuh1hhjȯubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȯubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjȯubj)}(hrbufh]hrbuf}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȯubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(h"Simulate MODE SENSE 6, 10 commandsh]h"Simulate MODE SENSE 6, 10 commands}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj/hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjJjjJjjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` Target device. ``struct scsi_cmnd *cmd`` SCSI command of interest. ``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Simulate MODE SENSE commands. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjNubjQ)}(hhh](jV)}(h*``struct ata_device *dev`` Target device. h](j\)}(h``struct ata_device *dev``h]jH)}(hjsh]hstruct ata_device *dev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjqubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjmubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjmubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjjubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hjŰhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hj°ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjjubjV)}(hX``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Simulate MODE SENSE commands. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h ``u8 *rbuf``h]jH)}(hjh]hu8 *rbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj߰ubjl)}(hhh](h)}(hh]hstruct ata_device *dev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj<ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM[ hj8ubjl)}(hhh]h)}(hTarget device.h]hTarget device.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShM[ hjTubah}(h]h ]h"]h$]h&]uh1jkhj8ubeh}(h]h ]h"]h$]h&]uh1jUhjShM[ hj5ubjV)}(h4``struct scsi_cmnd *cmd`` SCSI command of interest. h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjwh]hstruct scsi_cmnd *cmd}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjuubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM\ hjqubjl)}(hhh]h)}(hSCSI command of interest.h]hSCSI command of interest.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\ hjubah}(h]h ]h"]h$]h&]uh1jkhjqubeh}(h]h ]h"]h$]h&]uh1jUhjhM\ hj5ubjV)}(h{``u8 *rbuf`` Response buffer, to which simulated SCSI cmd output is sent. Simulate READ CAPACITY commands. LOCKING: None.h](j\)}(h ``u8 *rbuf``h]jH)}(hjh]hu8 *rbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMa hjubjl)}(hhh](h)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj;hhubah}(h]h ]h"]h$]h&]uh1jhjWhhhjphM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjVjjVjjjuh1jhhhjNhNhNubj)}(h**Parameters** ``struct ata_queued_cmd *qc`` command structure to be initialized Handles either 12, 16, or 32-byte versions of the CDB. **Return** Zero on success, non-zero on failure.h](h)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjZubjQ)}(hhh]jV)}(hz``struct ata_queued_cmd *qc`` command structure to be initialized Handles either 12, 16, or 32-byte versions of the CDB. h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj}ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjyubjl)}(hhh](h)}(h#command structure to be initializedh]h#command structure to be initialized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubh)}(h6Handles either 12, 16, or 32-byte versions of the CDB.h]h6Handles either 12, 16, or 32-byte versions of the CDB.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubeh}(h]h ]h"]h$]h&]uh1jkhjyubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjvubah}(h]h ]h"]h$]h&]uh1jPhjZubh)}(h **Return**h]j)}(hjɼh]hReturn}(hj˼hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǼubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjZubj)}(h%Zero on success, non-zero on failure.h]h)}(hjh]h%Zero on success, non-zero on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj߼ubah}(h]h ]h"]h$]h&]uh1jhjhM hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&ata_format_dsm_trim_descr (C function)c.ata_format_dsm_trim_descrhNtauh1jhjNhhhNhNubj)}(hhh](j)}(hZsize_t ata_format_dsm_trim_descr (struct scsi_cmnd *cmd, u32 trmax, u64 sector, u32 count)h]j)}(hYsize_t ata_format_dsm_trim_descr(struct scsi_cmnd *cmd, u32 trmax, u64 sector, u32 count)h](h)}(hhh]j)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*ata_format_dsm_trim_descrsbc.ata_format_dsm_trim_descrasbuh1hhjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj;hM ubjJ)}(hata_format_dsm_trim_descrh]j)}(hj8h]hata_format_dsm_trim_descr}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj;hM ubje)}(h9(struct scsi_cmnd *cmd, u32 trmax, u64 sector, u32 count)h](jk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j6c.ata_format_dsm_trim_descrasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjeubj)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjaubjk)}(h u32 trmaxh](h)}(hhh]j)}(hu32h]hu32}(hjܽhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjٽubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj޽modnameN classnameNj.j1)}j4]j6c.ata_format_dsm_trim_descrasbuh1hhjսubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjսubj)}(htrmaxh]htrmax}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjսubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjaubjk)}(h u64 sectorh](h)}(hhh]j)}(hu64h]hu64}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj&modnameN classnameNj.j1)}j4]j6c.ata_format_dsm_trim_descrasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hsectorh]hsector}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjaubjk)}(h u32 counth](h)}(hhh]j)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjnmodnameN classnameNj.j1)}j4]j6c.ata_format_dsm_trim_descrasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(hcounth]hcount}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjaubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhj;hM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj;hM ubah}(h]j ah ](jYjeh"]h$]h&]jj)jhuh1jhj;hM hj hhubj)}(hhh]h)}(hSATL Write Same to DSM Trimh]hSATL Write Same to DSM Trim}(hj¾hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj;hM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjھjjھjjjuh1jhhhjNhNhNubj)}(hXg**Parameters** ``struct scsi_cmnd *cmd`` SCSI command being translated ``u32 trmax`` Maximum number of entries that will fit in sector_size bytes. ``u64 sector`` Starting sector ``u32 count`` Total Range of request in logical sectors **Description** Rewrite the WRITE SAME descriptor to be a DSM TRIM little-endian formatted descriptor. Upto 64 entries of the format: 63:48 Range Length 47:0 LBA Range Length of 0 is ignored. LBA's should be sorted order and not overlap. **NOTE** this is the same format as ADD LBA(S) TO NV CACHE PINNED SET **Return** Number of bytes copied into sglist.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj޾ubjQ)}(hhh](jV)}(h8``struct scsi_cmnd *cmd`` SCSI command being translated h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(hSCSI command being translatedh]hSCSI command being translated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjubjV)}(hL``u32 trmax`` Maximum number of entries that will fit in sector_size bytes. h](j\)}(h ``u32 trmax``h]jH)}(hj<h]h u32 trmax}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj:ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj6ubjl)}(hhh]h)}(h=Maximum number of entries that will fit in sector_size bytes.h]h=Maximum number of entries that will fit in sector_size bytes.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jkhj6ubeh}(h]h ]h"]h$]h&]uh1jUhjQhM hjubjV)}(h``u64 sector`` Starting sector h](j\)}(h``u64 sector``h]jH)}(hjuh]h u64 sector}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjsubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjoubjl)}(hhh]h)}(hStarting sectorh]hStarting sector}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jkhjoubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjubjV)}(h8``u32 count`` Total Range of request in logical sectors h](j\)}(h ``u32 count``h]jH)}(hjh]h u32 count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh]h)}(h)Total Range of request in logical sectorsh]h)Total Range of request in logical sectors}(hjǿhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjÿhM hjĿubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjÿhM hjubeh}(h]h ]h"]h$]h&]uh1jPhj޾ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj޾ubh)}(hVRewrite the WRITE SAME descriptor to be a DSM TRIM little-endian formatted descriptor.h]hVRewrite the WRITE SAME descriptor to be a DSM TRIM little-endian formatted descriptor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj޾ubjQ)}(hhh]jV)}(hUpto 64 entries of the format: 63:48 Range Length 47:0 LBA Range Length of 0 is ignored. LBA's should be sorted order and not overlap. h](j\)}(hUpto 64 entries of the format:h]hUpto 64 entries of the format:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubjl)}(hhh](j)}(h63:48 Range Length 47:0 LBA h]h)}(h63:48 Range Length 47:0 LBAh]h63:48 Range Length 47:0 LBA}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj'ubah}(h]h ]h"]h$]h&]uh1jhj9hM hj$ubh)}(hKRange Length of 0 is ignored. LBA's should be sorted order and not overlap.h]hMRange Length of 0 is ignored. LBA’s should be sorted order and not overlap.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj$ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj#hM hjubah}(h]h ]h"]h$]h&]uh1jPhj޾ubh)}(h**NOTE**h]j)}(hjch]hNOTE}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj޾ubh)}(hvoid ata_scsi_report_zones_complete(struct ata_queued_cmd *qc)h](j=)}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjvhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhjhM ubjJ)}(hata_scsi_report_zones_completeh]j)}(hata_scsi_report_zones_completeh]hata_scsi_report_zones_complete}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjvhhhjhM ubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsb c.ata_scsi_report_zones_completeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjvhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjrhhhjhM ubah}(h]jmah ](jYjeh"]h$]h&]jj)jhuh1jhjhM hjohhubj)}(hhh]h)}(hconvert ATA outputh]hconvert ATA output}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hj7hhubah}(h]h ]h"]h$]h&]uh1jhjohhhjhM ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjRjjRjjjuh1jhhhjNhNhNubj)}(h**Parameters** ``struct ata_queued_cmd *qc`` command structure returning the data Convert T-13 little-endian field representation into T-10 big-endian field representation. What a mess.h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjVubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` command structure returning the data Convert T-13 little-endian field representation into T-10 big-endian field representation. What a mess.h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hj{h]hstruct ata_queued_cmd *qc}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjyubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjuubjl)}(hhh](h)}(h$command structure returning the datah]h$command structure returning the data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubh)}(hgConvert T-13 little-endian field representation into T-10 big-endian field representation. What a mess.h]hgConvert T-13 little-endian field representation into T-10 big-endian field representation. What a mess.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjubeh}(h]h ]h"]h$]h&]uh1jkhjuubeh}(h]h ]h"]h$]h&]uh1jUhjhM hjrubah}(h]h ]h"]h$]h&]uh1jPhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_mselect_caching (C function)c.ata_mselect_cachinghNtauh1jhjNhhhNhNubj)}(hhh](j)}(hTint ata_mselect_caching (struct ata_queued_cmd *qc, const u8 *buf, int len, u16 *fp)h]j)}(hSint ata_mselect_caching(struct ata_queued_cmd *qc, const u8 *buf, int len, u16 *fp)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_mselect_cachingh]j)}(hata_mselect_cachingh]hata_mselect_caching}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h<(struct ata_queued_cmd *qc, const u8 *buf, int len, u16 *fp)h](jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjAmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_mselect_cachingasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjmhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h const u8 *bufh](j)}(hj'h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j[c.ata_mselect_cachingasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hint lenh](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu16 *fph](h)}(hhh]j)}(hu16h]hu16}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj=modnameN classnameNj.j1)}j4]j[c.ata_mselect_cachingasbuh1hhj4ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj9)}(hj<h]h*}(hjghhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj4ubj)}(hfph]hfp}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h*Simulate MODE SELECT for caching info pageh]h*Simulate MODE SELECT for caching info page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hXA**Parameters** ``struct ata_queued_cmd *qc`` Storage for translated ATA taskfile ``const u8 *buf`` input buffer ``int len`` number of valid bytes in the input buffer ``u16 *fp`` out parameter for the failed field on error Prepare a taskfile to modify caching information for the device. LOCKING: None.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjQ)}(hhh](jV)}(hB``struct ata_queued_cmd *qc`` Storage for translated ATA taskfile h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(h#Storage for translated ATA taskfileh]h#Storage for translated ATA taskfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``const u8 *buf`` input buffer h](j\)}(h``const u8 *buf``h]jH)}(hjh]h const u8 *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(h input bufferh]h input buffer}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj-hMhjubjV)}(h6``int len`` number of valid bytes in the input buffer h](j\)}(h ``int len``h]jH)}(hjQh]hint len}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjOubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjKubjl)}(hhh]h)}(h)number of valid bytes in the input bufferh]h)number of valid bytes in the input buffer}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jkhjKubeh}(h]h ]h"]h$]h&]uh1jUhjfhMhjubjV)}(h``u16 *fp`` out parameter for the failed field on error Prepare a taskfile to modify caching information for the device. LOCKING: None.h](j\)}(h ``u16 *fp``h]jH)}(hjh]hu16 *fp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(h+out parameter for the failed field on errorh]h+out parameter for the failed field on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(h@Prepare a taskfile to modify caching information for the device.h]h@Prepare a taskfile to modify caching information for the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(hLOCKING: None.h]hLOCKING: None.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_mselect_control (C function)c.ata_mselect_controlhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h\int ata_mselect_control (struct ata_queued_cmd *qc, u8 spg, const u8 *buf, int len, u16 *fp)h]j)}(h[int ata_mselect_control(struct ata_queued_cmd *qc, u8 spg, const u8 *buf, int len, u16 *fp)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMzubjJ)}(hata_mselect_controlh]j)}(hata_mselect_controlh]hata_mselect_control}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMzubje)}(hD(struct ata_queued_cmd *qc, u8 spg, const u8 *buf, int len, u16 *fp)h](jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj^modnameN classnameNj.j1)}j4]j$)}j*j$sbc.ata_mselect_controlasbuh1hhj:ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj:ubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hu8 spgh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jxc.ata_mselect_controlasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hspgh]hspg}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(h const u8 *bufh](j)}(hj'h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jxc.ata_mselect_controlasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjBhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hbufh]hbuf}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hint lenh](j=)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjdubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubjk)}(hu16 *fph](h)}(hhh]j)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jxc.ata_mselect_controlasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hfph]hfp}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj6ubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMzubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMzubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMzhjhhubj)}(hhh]h)}(h%Simulate MODE SELECT for control pageh]h%Simulate MODE SELECT for control page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMzubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hXs**Parameters** ``struct ata_queued_cmd *qc`` Storage for translated ATA taskfile ``u8 spg`` target sub-page of the control page ``const u8 *buf`` input buffer ``int len`` number of valid bytes in the input buffer ``u16 *fp`` out parameter for the failed field on error Prepare a taskfile to modify caching information for the device. LOCKING: None.h](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMrhjubjQ)}(hhh](jV)}(hB``struct ata_queued_cmd *qc`` Storage for translated ATA taskfile h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjDh]hstruct ata_queued_cmd *qc}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjBubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMohj>ubjl)}(hhh]h)}(h#Storage for translated ATA taskfileh]h#Storage for translated ATA taskfile}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMohjZubah}(h]h ]h"]h$]h&]uh1jkhj>ubeh}(h]h ]h"]h$]h&]uh1jUhjYhMohj;ubjV)}(h/``u8 spg`` target sub-page of the control page h](j\)}(h ``u8 spg``h]jH)}(hj}h]hu8 spg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj{ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMphjwubjl)}(hhh]h)}(h#target sub-page of the control pageh]h#target sub-page of the control page}(hjhhhNhNubah"}(h]h ]h"]h$]h&]uh1hhjhMphjubah}(h]h ]h"]h$]h&]uh1jkhjwubeh}(h]h ]h"]h$]h&]uh1jUhjhMphj;ubjV)}(h``const u8 *buf`` input buffer h](j\)}(h``const u8 *buf``h]jH)}(hjh]h const u8 *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMqhjubjl)}(hhh]h)}(h input bufferh]h input buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMqhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMqhj;ubjV)}(h6``int len`` number of valid bytes in the input buffer h](j\)}(h ``int len``h]jH)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMrhjubjl)}(hhh]h)}(h)number of valid bytes in the input bufferh]h)number of valid bytes in the input buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMrhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMrhj;ubjV)}(h``u16 *fp`` out parameter for the failed field on error Prepare a taskfile to modify caching information for the device. LOCKING: None.h](j\)}(h ``u16 *fp``h]jH)}(hj(h]hu16 *fp}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj&ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMwhj"ubjl)}(hhh](h)}(h+out parameter for the failed field on errorh]h+out parameter for the failed field on error}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMshj>ubh)}(h@Prepare a taskfile to modify caching information for the device.h]h@Prepare a taskfile to modify caching information for the device.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMuhj>ubh)}(hLOCKING: None.h]hLOCKING: None.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMwhj>ubeh}(h]h ]h"]h$]h&]uh1jkhj"ubeh}(h]h ]h"]h$]h&]uh1jUhj=hMwhj;ubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&ata_scsi_mode_select_xlat (C function)c.ata_scsi_mode_select_xlathNtauh1jhjNhhhNhNubj)}(hhh](j)}(hBunsigned int ata_scsi_mode_select_xlat (struct ata_queued_cmd *qc)h]j)}(hAunsigned int ata_scsi_mode_select_xlat(struct ata_queued_cmd *qc)h](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_scsi_mode_select_xlath]j)}(hata_scsi_mode_select_xlath]hata_scsi_mode_select_xlat}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_scsi_mode_select_xlatasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjDhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h#Simulate MODE SELECT 6, 10 commandsh]h#Simulate MODE SELECT 6, 10 commands}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hXE**Parameters** ``struct ata_queued_cmd *qc`` Storage for translated ATA taskfile Converts a MODE SELECT command to an ATA SET FEATURES taskfile. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjQ)}(hhh]jV)}(hX)``struct ata_queued_cmd *qc`` Storage for translated ATA taskfile Converts a MODE SELECT command to an ATA SET FEATURES taskfile. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjh]hstruct ata_queued_cmd *qc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(h#Storage for translated ATA taskfileh]h#Storage for translated ATA taskfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(hConverts a MODE SELECT command to an ATA SET FEATURES taskfile. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types.h]hConverts a MODE SELECT command to an ATA SET FEATURES taskfile. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&ata_scsi_var_len_cdb_xlat (C function)c.ata_scsi_var_len_cdb_xlathNtauh1jhjNhhhNhNubj)}(hhh](j)}(hBunsigned int ata_scsi_var_len_cdb_xlat (struct ata_queued_cmd *qc)h]j)}(hAunsigned int ata_scsi_var_len_cdb_xlat(struct ata_queued_cmd *qc)h](j=)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj/hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhjAhMubj=)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj/hhhjAhMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhjAhMubjJ)}(hata_scsi_var_len_cdb_xlath]j)}(hata_scsi_var_len_cdb_xlath]hata_scsi_var_len_cdb_xlat}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj/hhhjAhMubje)}(h(struct ata_queued_cmd *qc)h]jk)}(hstruct ata_queued_cmd *qch](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_queued_cmdh]hata_queued_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jrsbc.ata_scsi_var_len_cdb_xlatasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hqch]hqc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhj/hhhjAhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj+hhhjAhMubah}(h]j&ah ](jYjeh"]h$]h&]jj)jhuh1jhjAhMhj(hhubj)}(hhh]h)}(h#SATL variable length CDB to Handlerh]h#SATL variable length CDB to Handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM{hj hhubah}(h]h ]h"]h$]h&]uh1jhj(hhhjAhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj'jj'jjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_queued_cmd *qc`` Command to be translated Translate a SCSI variable length CDB to specified commands. It checks a service action value in CDB to call corresponding handler. **Return** Zero on success, non-zero on failureh](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj+ubjQ)}(hhh]jV)}(h``struct ata_queued_cmd *qc`` Command to be translated Translate a SCSI variable length CDB to specified commands. It checks a service action value in CDB to call corresponding handler. h](j\)}(h``struct ata_queued_cmd *qc``h]jH)}(hjPh]hstruct ata_queued_cmd *qc}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjNubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjJubjl)}(hhh](h)}(hCommand to be translatedh]hCommand to be translated}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM|hjfubh)}(hTranslate a SCSI variable length CDB to specified commands. It checks a service action value in CDB to call corresponding handler.h]hTranslate a SCSI variable length CDB to specified commands. It checks a service action value in CDB to call corresponding handler.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM~hjfubeh}(h]h ]h"]h$]h&]uh1jkhjJubeh}(h]h ]h"]h$]h&]uh1jUhjehMhjGubah}(h]h ]h"]h$]h&]uh1jPhj+ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj+ubj)}(h$Zero on success, non-zero on failureh]h)}(hjh]h$Zero on success, non-zero on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_get_xlat_func (C function)c.ata_get_xlat_funchNtauh1jhjNhhhNhNubj)}(hhh](j)}(hBata_xlat_func_t ata_get_xlat_func (struct ata_device *dev, u8 cmd)h]j)}(hAata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)h](h)}(hhh]j)}(hata_xlat_func_th]hata_xlat_func_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*ata_get_xlat_funcsbc.ata_get_xlat_funcasbuh1hhjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hMubjJ)}(hata_get_xlat_funch]j)}(hj h]hata_get_xlat_func}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhj hMubje)}(h (struct ata_device *dev, u8 cmd)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj[modnameN classnameNj.j1)}j4]jc.ata_get_xlat_funcasbuh1hhj7ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj7ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj3ubjk)}(hu8 cmdh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_get_xlat_funcasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj3ubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhj hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhj hMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj hMhjhhubj)}(hhh]h)}(h,check if SCSI to ATA translation is possibleh]h,check if SCSI to ATA translation is possible}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hX#**Parameters** ``struct ata_device *dev`` ATA device ``u8 cmd`` SCSI command opcode to consider Look up the SCSI command given, and determine whether the SCSI command is to be translated or simulated. **Return** Pointer to translation function if possible, ``NULL`` if not.h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj ubjQ)}(hhh](jV)}(h&``struct ata_device *dev`` ATA device h](j\)}(h``struct ata_device *dev``h]jH)}(hjEh]hstruct ata_device *dev}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjCubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj?ubjl)}(hhh]h)}(h ATA deviceh]h ATA device}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jkhj?ubeh}(h]h ]h"]h$]h&]uh1jUhjZhMhj<ubjV)}(h``u8 cmd`` SCSI command opcode to consider Look up the SCSI command given, and determine whether the SCSI command is to be translated or simulated. h](j\)}(h ``u8 cmd``h]jH)}(hj~h]hu8 cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj|ubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjxubjl)}(hhh](h)}(hSCSI command opcode to considerh]hSCSI command opcode to consider}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(hhLook up the SCSI command given, and determine whether the SCSI command is to be translated or simulated.h]hhLook up the SCSI command given, and determine whether the SCSI command is to be translated or simulated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubeh}(h]h ]h"]h$]h&]uh1jkhjxubeh}(h]h ]h"]h$]h&]uh1jUhjhMhj<ubeh}(h]h ]h"]h$]h&]uh1jPhj ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj ubj)}(h=Pointer to translation function if possible, ``NULL`` if not.h]h)}(hjh](h-Pointer to translation function if possible, }(hjhhhNhNubjH)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubh if not.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsi_simulate (C function)c.ata_scsi_simulatehNtauh1jhjNhhhNhNubj)}(hhh](j)}(hFvoid ata_scsi_simulate (struct ata_device *dev, struct scsi_cmnd *cmd)h]j)}(hEvoid ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd)h](j=)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj%hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMGubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhj7hMGubjJ)}(hata_scsi_simulateh]j)}(hata_scsi_simulateh]hata_scsi_simulate}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj%hhhj7hMGubje)}(h/(struct ata_device *dev, struct scsi_cmnd *cmd)h](jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jLsbc.ata_scsi_simulateasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjbubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubjk)}(hstruct scsi_cmnd *cmdh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h scsi_cmndh]h scsi_cmnd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_scsi_simulateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj"hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hcmdh]hcmd}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj^ubeh}(h]h ]h"]h$]h&]jjuh1jdhj%hhhj7hMGubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj!hhhj7hMGubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhj7hMGhjhhubj)}(hhh]h)}(h#simulate SCSI command on ATA deviceh]h#simulate SCSI command on ATA device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM=hjVhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj7hMGubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjqjjqjjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` the target device ``struct scsi_cmnd *cmd`` SCSI command being sent to device. Interprets and directly executes a select list of SCSI commands that can be handled internally. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMAhjuubjQ)}(hhh](jV)}(h-``struct ata_device *dev`` the target device h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM>hjubjl)}(hhh]h)}(hthe target deviceh]hthe target device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM>hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM>hjubjV)}(h``struct scsi_cmnd *cmd`` SCSI command being sent to device. Interprets and directly executes a select list of SCSI commands that can be handled internally. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct scsi_cmnd *cmd``h]jH)}(hjh]hstruct scsi_cmnd *cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMDhjubjl)}(hhh](h)}(h"SCSI command being sent to device.h]h"SCSI command being sent to device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM?hjubh)}(h_Interprets and directly executes a select list of SCSI commands that can be handled internally.h]h_Interprets and directly executes a select list of SCSI commands that can be handled internally.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMAhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMDhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMDhjubeh}(h]h ]h"]h$]h&]uh1jPhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ata_scsi_offline_dev (C function)c.ata_scsi_offline_devhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h1int ata_scsi_offline_dev (struct ata_device *dev)h]j)}(h0int ata_scsi_offline_dev(struct ata_device *dev)h](j=)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjFhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM+ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhjXhM+ubjJ)}(hata_scsi_offline_devh]j)}(hata_scsi_offline_devh]hata_scsi_offline_dev}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjFhhhjXhM+ubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jmsbc.ata_scsi_offline_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjFhhhjXhM+ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjBhhhjXhM+ubah}(h]j=ah ](jYjeh"]h$]h&]jj)jhuh1jhjXhM+hj?hhubj)}(hhh]h)}(hoffline attached SCSI deviceh]hoffline attached SCSI device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj?hhhjXhM+ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj"jj"jjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` ATA device to offline attached SCSI device for This function is called from ata_eh_hotplug() and responsible for taking the SCSI device attached to **dev** offline. This function is called with host lock which protects dev->sdev against clearing. LOCKING: spin_lock_irqsave(host lock) **Return** 1 if attached SCSI device exists, 0 otherwise.h](h)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM!hj&ubjQ)}(hhh]jV)}(hX;``struct ata_device *dev`` ATA device to offline attached SCSI device for This function is called from ata_eh_hotplug() and responsible for taking the SCSI device attached to **dev** offline. This function is called with host lock which protects dev->sdev against clearing. LOCKING: spin_lock_irqsave(host lock) h](j\)}(h``struct ata_device *dev``h]jH)}(hjKh]hstruct ata_device *dev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjIubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM&hjEubjl)}(hhh](h)}(h.ATA device to offline attached SCSI device forh]h.ATA device to offline attached SCSI device for}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjaubh)}(hThis function is called from ata_eh_hotplug() and responsible for taking the SCSI device attached to **dev** offline. This function is called with host lock which protects dev->sdev against clearing.h](heThis function is called from ata_eh_hotplug() and responsible for taking the SCSI device attached to }(hjshhhNhNubj)}(h**dev**h]hdev}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh\ offline. This function is called with host lock which protects dev->sdev against clearing.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM hjaubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM%hjaubeh}(h]h ]h"]h$]h&]uh1jkhjEubeh}(h]h ]h"]h$]h&]uh1jUhj`hM&hjBubah}(h]h ]h"]h$]h&]uh1jPhj&ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM(hj&ubj)}(h.1 if attached SCSI device exists, 0 otherwise.h]h)}(hjh]h.1 if attached SCSI device exists, 0 otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM(hjubah}(h]h ]h"]h$]h&]uh1jhjhM(hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_scsi_remove_dev (C function)c.ata_scsi_remove_devhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h1void ata_scsi_remove_dev (struct ata_device *dev)h]j)}(h0void ata_scsi_remove_dev(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM>ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM>ubjJ)}(hata_scsi_remove_devh]j)}(hata_scsi_remove_devh]hata_scsi_remove_dev}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhM>ubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjbmodnameN classnameNj.j1)}j4]j$)}j*j(sbc.ata_scsi_remove_devasbuh1hhj>ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj>ubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj:ubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhM>ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhM>ubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhM>hjhhubj)}(hhh]h)}(hremove attached SCSI deviceh]hremove attached SCSI device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM5hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM>ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hX**Parameters** ``struct ata_device *dev`` ATA device to remove attached SCSI device for This function is called from ata_eh_scsi_hotplug() and responsible for removing the SCSI device attached to **dev**. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM9hjubjQ)}(hhh]jV)}(h``struct ata_device *dev`` ATA device to remove attached SCSI device for This function is called from ata_eh_scsi_hotplug() and responsible for removing the SCSI device attached to **dev**. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM;hjubjl)}(hhh](h)}(h-ATA device to remove attached SCSI device forh]h-ATA device to remove attached SCSI device for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM6hjubh)}(htThis function is called from ata_eh_scsi_hotplug() and responsible for removing the SCSI device attached to **dev**.h](hlThis function is called from ata_eh_scsi_hotplug() and responsible for removing the SCSI device attached to }(hj.hhhNhNubj)}(h**dev**h]hdev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chM8hjubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM;hjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j)ata_scsi_media_change_notify (C function)c.ata_scsi_media_change_notifyhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h:void ata_scsi_media_change_notify (struct ata_device *dev)h]j)}(h9void ata_scsi_media_change_notify(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_scsi_media_change_notifyh]j)}(hata_scsi_media_change_notifyh]hata_scsi_media_change_notify}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_scsi_media_change_notifyasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hsend media change eventh]hsend media change event}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjgjjgjjjuh1jhhhjNhNhNubj)}(h**Parameters** ``struct ata_device *dev`` Pointer to the disk device with media change event Tell the block layer to send a media change notification event. LOCKING: spin_lock_irqsave(host lock)h](h)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjkubjQ)}(hhh]jV)}(h``struct ata_device *dev`` Pointer to the disk device with media change event Tell the block layer to send a media change notification event. LOCKING: spin_lock_irqsave(host lock)h](j\)}(h``struct ata_device *dev``h]jH)}(hjh]hstruct ata_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(h2Pointer to the disk device with media change eventh]h2Pointer to the disk device with media change event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(h?Tell the block layer to send a media change notification event.h]h?Tell the block layer to send a media change notification event.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(h%LOCKING: spin_lock_irqsave(host lock)h]h%LOCKING: spin_lock_irqsave(host lock)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsi_hotplug (C function)c.ata_scsi_hotplughNtauh1jhjNhhhNhNubj)}(hhh](j)}(h0void ata_scsi_hotplug (struct work_struct *work)h]j)}(h/void ata_scsi_hotplug(struct work_struct *work)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_scsi_hotplugh]j)}(hata_scsi_hotplugh]hata_scsi_hotplug}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct work_struct *work)h]jk)}(hstruct work_struct *workh](j)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubh)}(hhh]j)}(h work_structh]h work_struct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjdmodnameN classnameNj.j1)}j4]j$)}j*j*sbc.ata_scsi_hotplugasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj@ubj)}(hworkh]hwork}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj<ubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hSCSI part of hotplugh]hSCSI part of hotplug}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hXv**Parameters** ``struct work_struct *work`` Pointer to ATA port to perform SCSI hotplug on Perform SCSI part of hotplug. It's executed from a separate workqueue after EH completes. This is necessary because SCSI hot plugging requires working EH and hot unplugging is synchronized with hot plugging with a mutex. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjQ)}(hhh]jV)}(hXX``struct work_struct *work`` Pointer to ATA port to perform SCSI hotplug on Perform SCSI part of hotplug. It's executed from a separate workqueue after EH completes. This is necessary because SCSI hot plugging requires working EH and hot unplugging is synchronized with hot plugging with a mutex. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct work_struct *work``h]jH)}(hjh]hstruct work_struct *work}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(h.Pointer to ATA port to perform SCSI hotplug onh]h.Pointer to ATA port to perform SCSI hotplug on}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(hPerform SCSI part of hotplug. It's executed from a separate workqueue after EH completes. This is necessary because SCSI hot plugging requires working EH and hot unplugging is synchronized with hot plugging with a mutex.h]hPerform SCSI part of hotplug. It’s executed from a separate workqueue after EH completes. This is necessary because SCSI hot plugging requires working EH and hot unplugging is synchronized with hot plugging with a mutex.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jata_scsi_user_scan (C function)c.ata_scsi_user_scanhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h`int ata_scsi_user_scan (struct Scsi_Host *shost, unsigned int channel, unsigned int id, u64 lun)h]j)}(h_int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel, unsigned int id, u64 lun)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj{hhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhjhMubjJ)}(hata_scsi_user_scanh]j)}(hata_scsi_user_scanh]hata_scsi_user_scan}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj{hhhjhMubje)}(hI(struct Scsi_Host *shost, unsigned int channel, unsigned int id, u64 lun)h](jk)}(hstruct Scsi_Host *shosth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h Scsi_Hosth]h Scsi_Host}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_scsi_user_scanasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hshosth]hshost}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int channelh](j=)}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj*ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj=)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj*ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(hchannelh]hchannel}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned int idh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(hidh]hid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hu64 lunh](h)}(hhh]j)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ata_scsi_user_scanasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hlunh]hlun}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj{hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjwhhhjhMubah}(h]jrah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjthhubj)}(hhh]h)}(h&indication for user-initiated bus scanh]h&indication for user-initiated bus scan}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jhjthhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjAjjAjjjuh1jhhhjNhNhNubj)}(hXU**Parameters** ``struct Scsi_Host *shost`` SCSI host to scan ``unsigned int channel`` Channel to scan ``unsigned int id`` ID to scan ``u64 lun`` LUN to scan This function is called when user explicitly requests bus scan. Set probe pending flag and invoke EH. LOCKING: SCSI layer (we don't care) **Return** Zero.h](h)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjEubjQ)}(hhh](jV)}(h.``struct Scsi_Host *shost`` SCSI host to scan h](j\)}(h``struct Scsi_Host *shost``h]jH)}(hjjh]hstruct Scsi_Host *shost}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjhubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjdubjl)}(hhh]h)}(hSCSI host to scanh]hSCSI host to scan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjdubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjaubjV)}(h)``unsigned int channel`` Channel to scan h](j\)}(h``unsigned int channel``h]jH)}(hjh]hunsigned int channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(hChannel to scanh]hChannel to scan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjaubjV)}(h``unsigned int id`` ID to scan h](j\)}(h``unsigned int id``h]jH)}(hjh]hunsigned int id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh]h)}(h ID to scanh]h ID to scan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjaubjV)}(h``u64 lun`` LUN to scan This function is called when user explicitly requests bus scan. Set probe pending flag and invoke EH. LOCKING: SCSI layer (we don't care) h](j\)}(h ``u64 lun``h]jH)}(hjh]hu64 lun}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(h LUN to scanh]h LUN to scan}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj+ubh)}(hfThis function is called when user explicitly requests bus scan. Set probe pending flag and invoke EH.h]hfThis function is called when user explicitly requests bus scan. Set probe pending flag and invoke EH.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj+ubh)}(h#LOCKING: SCSI layer (we don't care)h]h%LOCKING: SCSI layer (we don’t care)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhj+ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj*hMhjaubeh}(h]h ]h"]h$]h&]uh1jPhjEubh)}(h **Return**h]j)}(hjoh]hReturn}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjEubj)}(hZero.h]h)}(hjh]hZero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ata_scsi_dev_rescan (C function)c.ata_scsi_dev_rescanhNtauh1jhjNhhhNhNubj)}(hhh](j)}(h3void ata_scsi_dev_rescan (struct work_struct *work)h]j)}(h2void ata_scsi_dev_rescan(struct work_struct *work)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjJ)}(hata_scsi_dev_rescanh]j)}(hata_scsi_dev_rescanh]hata_scsi_dev_rescan}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMubje)}(h(struct work_struct *work)h]jk)}(hstruct work_struct *workh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h work_structh]h work_struct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ata_scsi_dev_rescanasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjFhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hworkh]hwork}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hinitiate scsi_rescan_device()h]hinitiate scsi_rescan_device()}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjNhNhNubj)}(hX **Parameters** ``struct work_struct *work`` Pointer to ATA port to perform scsi_rescan_device() After ATA pass thru (SAT) commands are executed successfully, libata need to propagate the changes to SCSI layer. LOCKING: Kernel thread context (may sleep).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjQ)}(hhh]jV)}(h``struct work_struct *work`` Pointer to ATA port to perform scsi_rescan_device() After ATA pass thru (SAT) commands are executed successfully, libata need to propagate the changes to SCSI layer. LOCKING: Kernel thread context (may sleep).h](j\)}(h``struct work_struct *work``h]jH)}(hjh]hstruct work_struct *work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[h\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubjl)}(hhh](h)}(h3Pointer to ATA port to perform scsi_rescan_device()h]h3Pointer to ATA port to perform scsi_rescan_device()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(hqAfter ATA pass thru (SAT) commands are executed successfully, libata need to propagate the changes to SCSI layer.h]hqAfter ATA pass thru (SAT) commands are executed successfully, libata need to propagate the changes to SCSI layer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh\/var/lib/git/docbuild/linux/Documentation/driver-api/libata:597: ./drivers/ata/libata-scsi.chMhjubh)}(h+LOCKING: Kernel thread context (may sleep).h]h+LOCKING: Kernel thread context (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubeh}(h]!libata-scsi-translation-emulationah ]h"]!libata scsi translation/emulationah$]h&]uh1hhhhhhhhMPubh)}(hhh](h)}(hATA errors and exceptionsh]hATA errors and exceptions}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hhhhhMYubh)}(hThis chapter tries to identify what error/exception conditions exist for ATA/ATAPI devices and describe how they should be handled in implementation-neutral way.h]hThis chapter tries to identify what error/exception conditions exist for ATA/ATAPI devices and describe how they should be handled in implementation-neutral way.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM[hj$hhubh)}(hThe term 'error' is used to describe conditions where either an explicit error condition is reported from device or a command has timed out.h]hThe term ‘error’ is used to describe conditions where either an explicit error condition is reported from device or a command has timed out.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM_hj$hhubh)}(hX)The term 'exception' is either used to describe exceptional conditions which are not errors (say, power or hotplug events), or to describe both errors and non-error exceptional conditions. Where explicit distinction between error and exception is necessary, the term 'non-error exception' is used.h]hX1The term ‘exception’ is either used to describe exceptional conditions which are not errors (say, power or hotplug events), or to describe both errors and non-error exceptional conditions. Where explicit distinction between error and exception is necessary, the term ‘non-error exception’ is used.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMbhj$hhubh)}(hhh](h)}(hException categoriesh]hException categories}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hhhhhMiubh)}(hExceptions are described primarily with respect to legacy taskfile + bus master IDE interface. If a controller provides other better mechanism for error reporting, mapping those into categories described below shouldn't be difficult.h]hExceptions are described primarily with respect to legacy taskfile + bus master IDE interface. If a controller provides other better mechanism for error reporting, mapping those into categories described below shouldn’t be difficult.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMkhj_hhubh)}(hIn the following sections, two recovery actions - reset and reconfiguring transport - are mentioned. These are described further in `EH recovery actions <#exrec>`__.h](hIn the following sections, two recovery actions - reset and reconfiguring transport - are mentioned. These are described further in }(hj~hhhNhNubh reference)}(h `EH recovery actions <#exrec>`__h]hEH recovery actions}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameEH recovery actionsrefuri#exrecuh1jhj~ubh.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMphj_hhubh)}(hhh](h)}(h HSM violationh]h HSM violation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMuubh)}(hzThis error is indicated when STATUS value doesn't match HSM requirement during issuing or execution any ATA/ATAPI command.h]h|This error is indicated when STATUS value doesn’t match HSM requirement during issuing or execution any ATA/ATAPI command.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMwhjhhubj)}(hhh](j)}(hQATA_STATUS doesn't contain !BSY && DRDY && !DRQ while trying to issue a command. h]h)}(hPATA_STATUS doesn't contain !BSY && DRDY && !DRQ while trying to issue a command.h]hRATA_STATUS doesn’t contain !BSY && DRDY && !DRQ while trying to issue a command.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMzhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h'!BSY && !DRQ during PIO data transfer. h]h)}(h&!BSY && !DRQ during PIO data transfer.h]h&!BSY && !DRQ during PIO data transfer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM}hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hDRQ on command completion. h]h)}(hDRQ on command completion.h]hDRQ on command completion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hX^!BSY && ERR after CDB transfer starts but before the last byte of CDB is transferred. ATA/ATAPI standard states that "The device shall not terminate the PACKET command with an error before the last byte of the command packet has been written" in the error outputs description of PACKET command and the state diagram doesn't include such transitions. h]h)}(hX]!BSY && ERR after CDB transfer starts but before the last byte of CDB is transferred. ATA/ATAPI standard states that "The device shall not terminate the PACKET command with an error before the last byte of the command packet has been written" in the error outputs description of PACKET command and the state diagram doesn't include such transitions.h]hXc!BSY && ERR after CDB transfer starts but before the last byte of CDB is transferred. ATA/ATAPI standard states that “The device shall not terminate the PACKET command with an error before the last byte of the command packet has been written” in the error outputs description of PACKET command and the state diagram doesn’t include such transitions.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMzhjhhubh)}(hIn these cases, HSM is violated and not much information regarding the error can be acquired from STATUS or ERROR register. IOW, this error can be anything - driver bug, faulty device, controller and/or cable.h]hIn these cases, HSM is violated and not much information regarding the error can be acquired from STATUS or ERROR register. IOW, this error can be anything - driver bug, faulty device, controller and/or cable.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hAs HSM is violated, reset is necessary to restore known state. Reconfiguring transport for lower speed might be helpful too as transmission errors sometimes cause this kind of errors.h]hAs HSM is violated, reset is necessary to restore known state. Reconfiguring transport for lower speed might be helpful too as transmission errors sometimes cause this kind of errors.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h] hsm-violationah ]h"] hsm violationah$]h&]uh1hhj_hhhhhMuubh)}(hhh](h)}(h6ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)h]h6ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhhhhhMubh)}(hXeThese are errors detected and reported by ATA/ATAPI devices indicating device problems. For this type of errors, STATUS and ERROR register values are valid and describe error condition. Note that some of ATA bus errors are detected by ATA/ATAPI devices and reported using the same mechanism as device errors. Those cases are described later in this section.h]hXeThese are errors detected and reported by ATA/ATAPI devices indicating device problems. For this type of errors, STATUS and ERROR register values are valid and describe error condition. Note that some of ATA bus errors are detected by ATA/ATAPI devices and reported using the same mechanism as device errors. Those cases are described later in this section.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjPhhubh)}(hnFor ATA commands, this type of errors are indicated by !BSY && ERR during command execution and on completion.h]hnFor ATA commands, this type of errors are indicated by !BSY && ERR during command execution and on completion.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjPhhubh)}(hFor ATAPI commands,h]hFor ATAPI commands,}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjPhhubj)}(hhh](j)}(hz!BSY && ERR && ABRT right after issuing PACKET indicates that PACKET command is not supported and falls in this category. h]h)}(hy!BSY && ERR && ABRT right after issuing PACKET indicates that PACKET command is not supported and falls in this category.h]hy!BSY && ERR && ABRT right after issuing PACKET indicates that PACKET command is not supported and falls in this category.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h!BSY && ERR(==CHK) && !ABRT after the last byte of CDB is transferred indicates CHECK CONDITION and doesn't fall in this category. h]h)}(h!BSY && ERR(==CHK) && !ABRT after the last byte of CDB is transferred indicates CHECK CONDITION and doesn't fall in this category.h]h!BSY && ERR(==CHK) && !ABRT after the last byte of CDB is transferred indicates CHECK CONDITION and doesn’t fall in this category.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h!BSY && ERR(==CHK) && ABRT after the last byte of CDB is transferred \*probably\* indicates CHECK CONDITION and doesn't fall in this category. h]h)}(h!BSY && ERR(==CHK) && ABRT after the last byte of CDB is transferred \*probably\* indicates CHECK CONDITION and doesn't fall in this category.h]h!BSY && ERR(==CHK) && ABRT after the last byte of CDB is transferred *probably* indicates CHECK CONDITION and doesn’t fall in this category.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhjPhhubh)}(hOf errors detected as above, the following are not ATA/ATAPI device errors but ATA bus errors and should be handled according to `ATA bus error <#excatATAbusErr>`__.h](hOf errors detected as above, the following are not ATA/ATAPI device errors but ATA bus errors and should be handled according to }(hjhhhNhNubj)}(h#`ATA bus error <#excatATAbusErr>`__h]h ATA bus error}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ATA bus errorj#excatATAbusErruh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjPhhubjQ)}(hhh](jV)}(hXICRC error during data transfer This is indicated by ICRC bit in the ERROR register and means that corruption occurred during data transfer. Up to ATA/ATAPI-7, the standard specifies that this bit is only applicable to UDMA transfers but ATA/ATAPI-8 draft revision 1f says that the bit may be applicable to multiword DMA and PIO. h](j\)}(hCRC error during data transferh]hCRC error during data transfer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjubjl)}(hhh]h)}(hX)This is indicated by ICRC bit in the ERROR register and means that corruption occurred during data transfer. Up to ATA/ATAPI-7, the standard specifies that this bit is only applicable to UDMA transfers but ATA/ATAPI-8 draft revision 1f says that the bit may be applicable to multiword DMA and PIO.h]hX)This is indicated by ICRC bit in the ERROR register and means that corruption occurred during data transfer. Up to ATA/ATAPI-7, the standard specifies that this bit is only applicable to UDMA transfers but ATA/ATAPI-8 draft revision 1f says that the bit may be applicable to multiword DMA and PIO.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjubjV)}(hXABRT error during data transfer or on completion Up to ATA/ATAPI-7, the standard specifies that ABRT could be set on ICRC errors and on cases where a device is not able to complete a command. Combined with the fact that MWDMA and PIO transfer errors aren't allowed to use ICRC bit up to ATA/ATAPI-7, it seems to imply that ABRT bit alone could indicate transfer errors. However, ATA/ATAPI-8 draft revision 1f removes the part that ICRC errors can turn on ABRT. So, this is kind of gray area. Some heuristics are needed here. h](j\)}(h0ABRT error during data transfer or on completionh]h0ABRT error during data transfer or on completion}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhj1ubjl)}(hhh](h)}(hX@Up to ATA/ATAPI-7, the standard specifies that ABRT could be set on ICRC errors and on cases where a device is not able to complete a command. Combined with the fact that MWDMA and PIO transfer errors aren't allowed to use ICRC bit up to ATA/ATAPI-7, it seems to imply that ABRT bit alone could indicate transfer errors.h]hXBUp to ATA/ATAPI-7, the standard specifies that ABRT could be set on ICRC errors and on cases where a device is not able to complete a command. Combined with the fact that MWDMA and PIO transfer errors aren’t allowed to use ICRC bit up to ATA/ATAPI-7, it seems to imply that ABRT bit alone could indicate transfer errors.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjCubh)}(hHowever, ATA/ATAPI-8 draft revision 1f removes the part that ICRC errors can turn on ABRT. So, this is kind of gray area. Some heuristics are needed here.h]hHowever, ATA/ATAPI-8 draft revision 1f removes the part that ICRC errors can turn on ABRT. So, this is kind of gray area. Some heuristics are needed here.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjCubeh}(h]h ]h"]h$]h&]uh1jkhj1ubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjhhubeh}(h]h ]h"]h$]h&]uh1jPhjPhhhhhNubh)}(h>ATA/ATAPI device errors can be further categorized as follows.h]h>ATA/ATAPI device errors can be further categorized as follows.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjPhhubjQ)}(hhh](jV)}(hX(Media errors This is indicated by UNC bit in the ERROR register. ATA devices reports UNC error only after certain number of retries cannot recover the data, so there's nothing much else to do other than notifying upper layer. READ and WRITE commands report CHS or LBA of the first failed sector but ATA/ATAPI standard specifies that the amount of transferred data on error completion is indeterminate, so we cannot assume that sectors preceding the failed sector have been transferred and thus cannot complete those sectors successfully as SCSI does. h](j\)}(h Media errorsh]h Media errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjubjl)}(hhh](h)}(hThis is indicated by UNC bit in the ERROR register. ATA devices reports UNC error only after certain number of retries cannot recover the data, so there's nothing much else to do other than notifying upper layer.h]hThis is indicated by UNC bit in the ERROR register. ATA devices reports UNC error only after certain number of retries cannot recover the data, so there’s nothing much else to do other than notifying upper layer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hXDREAD and WRITE commands report CHS or LBA of the first failed sector but ATA/ATAPI standard specifies that the amount of transferred data on error completion is indeterminate, so we cannot assume that sectors preceding the failed sector have been transferred and thus cannot complete those sectors successfully as SCSI does.h]hXDREAD and WRITE commands report CHS or LBA of the first failed sector but ATA/ATAPI standard specifies that the amount of transferred data on error completion is indeterminate, so we cannot assume that sectors preceding the failed sector have been transferred and thus cannot complete those sectors successfully as SCSI does.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjubjV)}(hAMedia changed / media change requested error <> h](j\)}(h,Media changed / media change requested errorh]h,Media changed / media change requested error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjubjl)}(hhh]h)}(h<>h]h<>}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjhhubjV)}(hZAddress error This is indicated by IDNF bit in the ERROR register. Report to upper layer. h](j\)}(h Address errorh]h Address error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjubjl)}(hhh]h)}(hKThis is indicated by IDNF bit in the ERROR register. Report to upper layer.h]hKThis is indicated by IDNF bit in the ERROR register. Report to upper layer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjhhubjV)}(hOther errors This can be invalid command or parameter indicated by ABRT ERROR bit or some other error condition. Note that ABRT bit can indicate a lot of things including ICRC and Address errors. Heuristics needed. h](j\)}(h Other errorsh]h Other errors}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhj ubjl)}(hhh]h)}(hThis can be invalid command or parameter indicated by ABRT ERROR bit or some other error condition. Note that ABRT bit can indicate a lot of things including ICRC and Address errors. Heuristics needed.h]hThis can be invalid command or parameter indicated by ABRT ERROR bit or some other error condition. Note that ABRT bit can indicate a lot of things including ICRC and Address errors. Heuristics needed.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj2ubah}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjhhubeh}(h]h ]h"]h$]h&]uh1jPhjPhhhhhNubh)}(hXDepending on commands, not all STATUS/ERROR bits are applicable. These non-applicable bits are marked with "na" in the output descriptions but up to ATA/ATAPI-7 no definition of "na" can be found. However, ATA/ATAPI-8 draft revision 1f describes "N/A" as follows.h]hXDepending on commands, not all STATUS/ERROR bits are applicable. These non-applicable bits are marked with “na” in the output descriptions but up to ATA/ATAPI-7 no definition of “na” can be found. However, ATA/ATAPI-8 draft revision 1f describes “N/A” as follows.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjPhhubj)}(h3.2.3.3a N/A A keyword the indicates a field has no defined value in this standard and should not be checked by the host or device. N/A fields should be cleared to zero. h]jQ)}(hhh]jV)}(h3.2.3.3a N/A A keyword the indicates a field has no defined value in this standard and should not be checked by the host or device. N/A fields should be cleared to zero. h](j\)}(h 3.2.3.3a N/Ah]h 3.2.3.3a N/A}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1j[hhhMhjjubjl)}(hhh]h)}(hA keyword the indicates a field has no defined value in this standard and should not be checked by the host or device. N/A fields should be cleared to zero.h]hA keyword the indicates a field has no defined value in this standard and should not be checked by the host or device. N/A fields should be cleared to zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj|ubah}(h]h ]h"]h$]h&]uh1jkhjjubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjgubah}(h]h ]h"]h$]h&]uh1jPhjcubah}(h]h ]h"]h$]h&]uh1jhhhMhjPhhubh)}(hrSo, it seems reasonable to assume that "na" bits are cleared to zero by devices and thus need no explicit masking.h]hvSo, it seems reasonable to assume that “na” bits are cleared to zero by devices and thus need no explicit masking.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjPhhubeh}(h]2ata-atapi-device-error-non-ncq-non-check-conditionah ]h"]6ata/atapi device error (non-ncq / non-check condition)ah$]h&]uh1hhj_hhhhhMubh)}(hhh](h)}(hATAPI device CHECK CONDITIONh]hATAPI device CHECK CONDITION}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hXEATAPI device CHECK CONDITION error is indicated by set CHK bit (ERR bit) in the STATUS register after the last byte of CDB is transferred for a PACKET command. For this kind of errors, sense data should be acquired to gather information regarding the errors. REQUEST SENSE packet command should be used to acquire sense data.h]hXEATAPI device CHECK CONDITION error is indicated by set CHK bit (ERR bit) in the STATUS register after the last byte of CDB is transferred for a PACKET command. For this kind of errors, sense data should be acquired to gather information regarding the errors. REQUEST SENSE packet command should be used to acquire sense data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXZOnce sense data is acquired, this type of errors can be handled similarly to other SCSI errors. Note that sense data may indicate ATA bus error (e.g. Sense Key 04h HARDWARE ERROR && ASC/ASCQ 47h/00h SCSI PARITY ERROR). In such cases, the error should be considered as an ATA bus error and handled according to `ATA bus error <#excatATAbusErr>`__.h](hX6Once sense data is acquired, this type of errors can be handled similarly to other SCSI errors. Note that sense data may indicate ATA bus error (e.g. Sense Key 04h HARDWARE ERROR && ASC/ASCQ 47h/00h SCSI PARITY ERROR). In such cases, the error should be considered as an ATA bus error and handled according to }(hjhhhNhNubj)}(h#`ATA bus error <#excatATAbusErr>`__h]h ATA bus error}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ATA bus errorj#excatATAbusErruh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]atapi-device-check-conditionah ]h"]atapi device check conditionah$]h&]uh1hhj_hhhhhMubh)}(hhh](h)}(hATA device error (NCQ)h]hATA device error (NCQ)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hXJNCQ command error is indicated by cleared BSY and set ERR bit during NCQ command phase (one or more NCQ commands outstanding). Although STATUS and ERROR registers will contain valid values describing the error, READ LOG EXT is required to clear the error condition, determine which command has failed and acquire more information.h]hXJNCQ command error is indicated by cleared BSY and set ERR bit during NCQ command phase (one or more NCQ commands outstanding). Although STATUS and ERROR registers will contain valid values describing the error, READ LOG EXT is required to clear the error condition, determine which command has failed and acquire more information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXREAD LOG EXT Log Page 10h reports which tag has failed and taskfile register values describing the error. With this information the failed command can be handled as a normal ATA command error as in `ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION) <#excatDevErr>`__ and all other in-flight commands must be retried. Note that this retry should not be counted - it's likely that commands retried this way would have completed normally if it were not for the failed command.h](hREAD LOG EXT Log Page 10h reports which tag has failed and taskfile register values describing the error. With this information the failed command can be handled as a normal ATA command error as in }(hj$hhhNhNubj)}(hI`ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION) <#excatDevErr>`__h]h6ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)}(hj,hhhNhNubah}(h]h ]h"]h$]h&]name6ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)j #excatDevErruh1jhj$ubh and all other in-flight commands must be retried. Note that this retry should not be counted - it’s likely that commands retried this way would have completed normally if it were not for the failed command.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hNote that ATA bus errors can be reported as ATA device NCQ errors. This should be handled as described in `ATA bus error <#excatATAbusErr>`__.h](hjNote that ATA bus errors can be reported as ATA device NCQ errors. This should be handled as described in }(hjGhhhNhNubj)}(h#`ATA bus error <#excatATAbusErr>`__h]h ATA bus error}(hjOhhhNhNubah}(h]h ]h"]h$]h&]name ATA bus errorj#excatATAbusErruh1jhjGubh.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hIf READ LOG EXT Log Page 10h fails or reports NQ, we're thoroughly screwed. This condition should be treated according to `HSM violation <#excatHSMviolation>`__.h](h|If READ LOG EXT Log Page 10h fails or reports NQ, we’re thoroughly screwed. This condition should be treated according to }(hjjhhhNhNubj)}(h&`HSM violation <#excatHSMviolation>`__h]h HSM violation}(hjrhhhNhNubah}(h]h ]h"]h$]h&]name HSM violationj#excatHSMviolationuh1jhjjubh.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hjhhubeh}(h]ata-device-error-ncqah ]h"]ata device error (ncq)ah$]h&]uh1hhj_hhhhhMubh)}(hhh](h)}(h ATA bus errorh]h ATA bus error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated byh]hATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubj)}(hhh](j)}(hnICRC or ABRT error as described in `ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION) <#excatDevErr>`__. h]h)}(hmICRC or ABRT error as described in `ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION) <#excatDevErr>`__.h](h#ICRC or ABRT error as described in }(hjhhhNhNubj)}(hI`ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION) <#excatDevErr>`__h]h6ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)}(hjhhhNhNubah}(h]h ]h"]h$]h&]name6ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)j #excatDevErruh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h[Controller-specific error completion with error information indicating transmission error. h]h)}(hZController-specific error completion with error information indicating transmission error.h]hZController-specific error completion with error information indicating transmission error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hOn some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error. h]h)}(hOn some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.h]hOn some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h=Unknown/random errors, timeouts and all sorts of weirdities. h]h)}(h`__ for more information.h](hOnce it’s determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem. See }(hj@hhhNhNubj)}(h(`Reconfigure transport <#exrecReconf>`__h]hReconfigure transport}(hjHhhhNhNubah}(h]h ]h"]h$]h&]nameReconfigure transportj #exrecReconfuh1jhj@ubh for more information.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM&hjhhubeh}(h] ata-bus-errorah ]h"] ata bus errorah$]h&]uh1hhj_hhhhhMubh)}(hhh](h)}(h PCI bus errorh]h PCI bus error}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhhhhhM,ubh)}(hX,Data corruption or other failures during transmission over PCI (or other system bus). For standard BMDMA, this is indicated by Error bit in the BMDMA Status register. This type of errors must be logged as it indicates something is very wrong with the system. Resetting host controller is recommended.h]hX,Data corruption or other failures during transmission over PCI (or other system bus). For standard BMDMA, this is indicated by Error bit in the BMDMA Status register. This type of errors must be logged as it indicates something is very wrong with the system. Resetting host controller is recommended.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM.hjkhhubeh}(h] pci-bus-errorah ]h"] pci bus errorah$]h&]uh1hhj_hhhhhM,ubh)}(hhh](h)}(hLate completionh]hLate completion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM5ubh)}(hThis occurs when timeout occurs and the timeout handler finds out that the timed out command has completed successfully or with error. This is usually caused by lost interrupts. This type of errors must be logged. Resetting host controller is recommended.h]hThis occurs when timeout occurs and the timeout handler finds out that the timed out command has completed successfully or with error. This is usually caused by lost interrupts. This type of errors must be logged. Resetting host controller is recommended.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM7hjhhubeh}(h]late-completionah ]h"]late completionah$]h&]uh1hhj_hhhhhM5ubh)}(hhh](h)}(hUnknown error (timeout)h]hUnknown error (timeout)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM=ubh)}(hX;This is when timeout occurs and the command is still processing or the host and device are in unknown state. When this occurs, HSM could be in any valid or invalid state. To bring the device to known state and make it forget about the timed out command, resetting is necessary. The timed out command may be retried.h]hX;This is when timeout occurs and the command is still processing or the host and device are in unknown state. When this occurs, HSM could be in any valid or invalid state. To bring the device to known state and make it forget about the timed out command, resetting is necessary. The timed out command may be retried.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM?hjhhubh)}(hrTimeouts can also be caused by transmission errors. Refer to `ATA bus error <#excatATAbusErr>`__ for more details.h](h=Timeouts can also be caused by transmission errors. Refer to }(hjhhhNhNubj)}(h#`ATA bus error <#excatATAbusErr>`__h]h ATA bus error}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ATA bus errorj#excatATAbusErruh1jhjubh for more details.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMEhjhhubeh}(h]unknown-error-timeoutah ]h"]unknown error (timeout)ah$]h&]uh1hhj_hhhhhM=ubh)}(hhh](h)}(h'Hotplug and power management exceptionsh]h'Hotplug and power management exceptions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMIubh)}(h<>h]h<>}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMKhjhhubeh}(h]'hotplug-and-power-management-exceptionsah ]h"]'hotplug and power management exceptionsah$]h&]uh1hhj_hhhhhMIubeh}(h]exception-categoriesah ]h"]exception categoriesah$]h&]uh1hhj$hhhhhMiubh)}(hhh](h)}(hEH recovery actionsh]hEH recovery actions}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hhhhhMNubh)}(h:This section discusses several important recovery actions.h]h:This section discusses several important recovery actions.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMPhj2hhubh)}(hhh](h)}(hClearing error conditionh]hClearing error condition}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhhhhhMSubh)}(hMany controllers require its error registers to be cleared by error handler. Different controllers may have different requirements.h]hMany controllers require its error registers to be cleared by error handler. Different controllers may have different requirements.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMUhjQhhubh)}(h\For SATA, it's strongly recommended to clear at least SError register during error handling.h]h^For SATA, it’s strongly recommended to clear at least SError register during error handling.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMXhjQhhubeh}(h]clearing-error-conditionah ]h"]clearing error conditionah$]h&]uh1hhj2hhhhhMSubh)}(hhh](h)}(hReseth]hReset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM\ubh)}(h9During EH, resetting is necessary in the following cases.h]h9During EH, resetting is necessary in the following cases.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM^hjhhubj)}(hhh](j)}(h#HSM is in unknown or invalid state h]h)}(h"HSM is in unknown or invalid stateh]h"HSM is in unknown or invalid state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM`hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h#HBA is in unknown or invalid state h]h)}(h"HBA is in unknown or invalid stateh]h"HBA is in unknown or invalid state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMbhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hubjl)}(hhh]h)}(hThis is the preferred way of resetting a SATA device. In effect, it's identical to PATA hardware reset. Note that this can be done with the standard SCR Control register. As such, it's usually easier to implement than software reset.h]hThis is the preferred way of resetting a SATA device. In effect, it’s identical to PATA hardware reset. Note that this can be done with the standard SCR Control register. As such, it’s usually easier to implement than software reset.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjPubah}(h]h ]h"]h$]h&]uh1jkhj>ubeh}(h]h ]h"]h$]h&]uh1jUhhhMhjqhhubeh}(h]h ]h"]h$]h&]uh1jPhjhhhhhNubh)}(hOne more thing to consider when resetting devices is that resetting clears certain configuration parameters and they need to be set to their previous or newly adjusted values after reset.h]hOne more thing to consider when resetting devices is that resetting clears certain configuration parameters and they need to be set to their previous or newly adjusted values after reset.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hParameters affected are.h]hParameters affected are.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubj)}(hhh](j)}(h;CHS set up with INITIALIZE DEVICE PARAMETERS (seldom used) h]h)}(h:CHS set up with INITIALIZE DEVICE PARAMETERS (seldom used)h]h:CHS set up with INITIALIZE DEVICE PARAMETERS (seldom used)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hAParameters set with SET FEATURES including transfer mode setting h]h)}(h@Parameters set with SET FEATURES including transfer mode settingh]h@Parameters set with SET FEATURES including transfer mode setting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h'Block count set with SET MULTIPLE MODE h]h)}(h&Block count set with SET MULTIPLE MODEh]h&Block count set with SET MULTIPLE MODE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h*Other parameters (SET MAX, MEDIA LOCK...) h]h)}(h)Other parameters (SET MAX, MEDIA LOCK...)h]h)Other parameters (SET MAX, MEDIA LOCK...)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhjhhubh)}(hX'ATA/ATAPI standard specifies that some parameters must be maintained across hardware or software reset, but doesn't strictly specify all of them. Always reconfiguring needed parameters after reset is required for robustness. Note that this also applies when resuming from deep sleep (power-off).h]hX)ATA/ATAPI standard specifies that some parameters must be maintained across hardware or software reset, but doesn’t strictly specify all of them. Always reconfiguring needed parameters after reset is required for robustness. Note that this also applies when resuming from deep sleep (power-off).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hXAlso, ATA/ATAPI standard requires that IDENTIFY DEVICE / IDENTIFY PACKET DEVICE is issued after any configuration parameter is updated or a hardware reset and the result used for further operation. OS driver is required to implement revalidation mechanism to support this.h]hXAlso, ATA/ATAPI standard requires that IDENTIFY DEVICE / IDENTIFY PACKET DEVICE is issued after any configuration parameter is updated or a hardware reset and the result used for further operation. OS driver is required to implement revalidation mechanism to support this.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]resetah ]h"]resetah$]h&]uh1hhj2hhhhhM\ubh)}(hhh](h)}(hReconfigure transporth]hReconfigure transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hFor both PATA and SATA, a lot of corners are cut for cheap connectors, cables or controllers and it's quite common to see high transmission error rate. This can be mitigated by lowering transmission speed.h]hFor both PATA and SATA, a lot of corners are cut for cheap connectors, cables or controllers and it’s quite common to see high transmission error rate. This can be mitigated by lowering transmission speed.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(h9The following is a possible scheme Jeff Garzik suggested.h]h9The following is a possible scheme Jeff Garzik suggested.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubj)}(hIf more than $N (3?) transmission errors happen in 15 minutes, - if SATA, decrease SATA PHY speed. if speed cannot be decreased, - decrease UDMA xfer speed. if at UDMA0, switch to PIO4, - decrease PIO xfer speed. if at PIO3, complain, but continue h](h)}(h>If more than $N (3?) transmission errors happen in 15 minutes,h]h>If more than $N (3?) transmission errors happen in 15 minutes,}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjIubj)}(hhh](j)}(h@if SATA, decrease SATA PHY speed. if speed cannot be decreased, h]h)}(h?if SATA, decrease SATA PHY speed. if speed cannot be decreased,h]h?if SATA, decrease SATA PHY speed. if speed cannot be decreased,}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj^ubah}(h]h ]h"]h$]h&]uh1jhj[ubj)}(h7decrease UDMA xfer speed. if at UDMA0, switch to PIO4, h]h)}(h6decrease UDMA xfer speed. if at UDMA0, switch to PIO4,h]h6decrease UDMA xfer speed. if at UDMA0, switch to PIO4,}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjvubah}(h]h ]h"]h$]h&]uh1jhj[ubj)}(hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubh)}(hhh]j)}(hata_porth]hata_port}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjQmodnameN classnameNj.j1)}j4]j$)}j*jsbc.ich_pata_cable_detectasbuh1hhj-ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj9)}(hj<h]h*}(hj}hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj-ubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhj)ubah}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h'Probe host controller cable detect infoh]h'Probe host controller cable detect info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_port *ap`` Port for which cable detect info is desired Read 80c cable indicator from ATA PCI device's PCI config register. This register is normally set by firmware (BIOS). LOCKING: None (inherited from caller).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjQ)}(hhh]jV)}(h``struct ata_port *ap`` Port for which cable detect info is desired Read 80c cable indicator from ATA PCI device's PCI config register. This register is normally set by firmware (BIOS). LOCKING: None (inherited from caller).h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh](h)}(h+Port for which cable detect info is desiredh]h+Port for which cable detect info is desired}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj ubh)}(hvRead 80c cable indicator from ATA PCI device's PCI config register. This register is normally set by firmware (BIOS).h]hxRead 80c cable indicator from ATA PCI device’s PCI config register. This register is normally set by firmware (BIOS).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj ubh)}(h&LOCKING: None (inherited from caller).h]h&LOCKING: None (inherited from caller).}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj hMhjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jpiix_pata_prereset (C function)c.piix_pata_preresethNtauh1jhjhhhNhNubj)}(hhh](j)}(hFint piix_pata_prereset (struct ata_link *link, unsigned long deadline)h]j)}(hEint piix_pata_prereset(struct ata_link *link, unsigned long deadline)h](j=)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhjzhMubjJ)}(hpiix_pata_prereseth]j)}(hpiix_pata_prereseth]hpiix_pata_prereset}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhhjzhMubje)}(h/(struct ata_link *link, unsigned long deadline)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.piix_pata_preresetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hunsigned long deadlineh](j=)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj=)}(hlongh]hlong}(hj7hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hdeadlineh]hdeadline}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhhjzhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjdhhhjzhMubah}(h]j_ah ](jYjeh"]h$]h&]jj)jhuh1jhjzhMhjahhubj)}(hhh]h)}(h!prereset for PATA host controllerh]h!prereset for PATA host controller}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jhjahhhjzhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_link *link`` Target link ``unsigned long deadline`` deadline jiffies for the operation LOCKING: None (inherited from caller).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjQ)}(hhh](jV)}(h&``struct ata_link *link`` Target link h](j\)}(h``struct ata_link *link``h]jH)}(hjh]hstruct ata_link *link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh]h)}(h Target linkh]h Target link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(he``unsigned long deadline`` deadline jiffies for the operation LOCKING: None (inherited from caller).h](j\)}(h``unsigned long deadline``h]jH)}(hjh]hunsigned long deadline}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh](h)}(h"deadline jiffies for the operationh]h"deadline jiffies for the operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj ubh)}(h&LOCKING: None (inherited from caller).h]h&LOCKING: None (inherited from caller).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhj hMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jpiix_set_piomode (C function)c.piix_set_piomodehNtauh1jhjhhhNhNubj)}(hhh](j)}(hDvoid piix_set_piomode (struct ata_port *ap, struct ata_device *adev)h]j)}(hCvoid piix_set_piomode(struct ata_port *ap, struct ata_device *adev)h](j=)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj[hhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhjmhMubjJ)}(hpiix_set_piomodeh]j)}(hpiix_set_piomodeh]hpiix_set_piomode}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj[hhhjmhMubje)}(h.(struct ata_port *ap, struct ata_device *adev)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.piix_set_piomodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_device *adevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetj.modnameN classnameNj.j1)}j4]jc.piix_set_piomodeasbuh1hhj ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj9)}(hj<h]h*}(hjXhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj ubj)}(hadevh]hadev}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj[hhhjmhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjWhhhjmhMubah}(h]jRah ](jYjeh"]h$]h&]jj)jhuh1jhjmhMhjThhubj)}(hhh]h)}(h+Initialize host controller PATA PIO timingsh]h+Initialize host controller PATA PIO timings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jhjThhhjmhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_port *ap`` Port whose timings we are configuring ``struct ata_device *adev`` Drive in question Set PIO mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjQ)}(hhh](jV)}(h>``struct ata_port *ap`` Port whose timings we are configuring h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM~hjubjl)}(hhh]h)}(h%Port whose timings we are configuringh]h%Port whose timings we are configuring}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM~hjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhM~hjubjV)}(h``struct ata_device *adev`` Drive in question Set PIO mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](j\)}(h``struct ata_device *adev``+h]jH)}(hj h]hstruct ata_device *adev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh](h)}(hDrive in questionh]hDrive in question}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(h=Set PIO mode for device, in host controller PCI config space.h]h=Set PIO mode for device, in host controller PCI config space.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(h&LOCKING: None (inherited from caller).h]h&LOCKING: None (inherited from caller).}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j do_pata_set_dmamode (C function)c.do_pata_set_dmamodehNtauh1jhjhhhNhNubj)}(hhh](j)}(hRvoid do_pata_set_dmamode (struct ata_port *ap, struct ata_device *adev, int isich)h]j)}(hQvoid do_pata_set_dmamode(struct ata_port *ap, struct ata_device *adev, int isich)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj|hhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhjhMubjJ)}(hdo_pata_set_dmamodeh]j)}(hdo_pata_set_dmamodeh]hdo_pata_set_dmamode}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj|hhhjhMubje)}(h9(struct ata_port *ap, struct ata_device *adev, int isich)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.do_pata_set_dmamodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_device *adevh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjOmodnameN classnameNj.j1)}j4]jc.do_pata_set_dmamodeasbuh1hhj+ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj9)}(hj<h]h*}(hjyhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hj+ubj)}(hadevh]hadev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(h int isichh](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hisichh]hisich}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhj|hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjxhhhjhMubah}(h]jsah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjuhhubj)}(hhh]h)}(h+Initialize host controller PATA PIO timingsh]h+Initialize host controller PATA PIO timings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjuhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjhNhNubj)}(hX **Parameters** ``struct ata_port *ap`` Port whose timings we are configuring ``struct ata_device *adev`` Drive in question ``int isich`` set if the chip is an ICH device Set UDMA mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjQ)}(hhh](jV)}(h>``struct ata_port *ap`` Port whose timings we are configuring h](j\)}(h``struct ata_port *ap``h]jH)}(hj&h]hstruct ata_port *ap}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj$ubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj ubjl)}(hhh]h)}(h%Port whose timings we are configuringh]h%Port whose timings we are configuring}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jkhj ubeh}(h]h ]h"]h$]h&]uh1jUhj;hMhjubjV)}(h.``struct ata_device *adev`` Drive in question h](j\)}(h``struct ata_device *adev``h]jH)}(hj_h]hstruct ata_device *adev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj]ubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjYubjl)}(hhh]h)}(hDrive in questionh]hDrive in question}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jkhjYubeh}(h]h ]h"]h$]h&]uh1jUhjthMhjubjV)}(h``int isich`` set if the chip is an ICH device Set UDMA mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](j\)}(h ``int isich``h]jH)}(hjh]h int isich}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh](h)}(h set if the chip is an ICH deviceh]h set if the chip is an ICH device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(h>Set UDMA mode for device, in host controller PCI config space.h]h>Set UDMA mode for device, in host controller PCI config space.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(h&LOCKING: None (inherited from caller).h]h&LOCKING: None (inherited from caller).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jpiix_set_dmamode (C function)c.piix_set_dmamodehNtauh1jhjhhhNhNubj)}(hhh](j)}(hDvoid piix_set_dmamode (struct ata_port *ap, struct ata_device *adev)h]j)}(hCvoid piix_set_dmamode(struct ata_port *ap, struct ata_device *adev)h](j=)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj hhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhjhMubjJ)}(hpiix_set_dmamodeh]j)}(hpiix_set_dmamodeh]hpiix_set_dmamode}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj hhhjhMubje)}(h.(struct ata_port *ap, struct ata_device *adev)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubh)}(hhh]j)}(hata_porth]hata_port}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjlmodnameN classnameNj.j1)}j4]j$)}j*j2sbc.piix_set_dmamodeasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjHubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjDubjk)}(hstruct ata_device *adevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.piix_set_dmamodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hadevh]hadev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjDubeh}(h]h ]h"]h$]h&]jjuh1jdhj hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h+Initialize host controller PATA DMA timingsh]h+Initialize host controller PATA DMA timings}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj<hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjWjjWjjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_port *ap`` Port whose timings we are configuring ``struct ata_device *adev`` um Set MW/UDMA mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](h)}(h**Parameters**h]j)}(hjah]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj[ubjQ)}(hhh](jV)}(h>``struct ata_port *ap`` Port whose timings we are configuring h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj~ubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjzubjl)}(hhh]h)}(h%Port whose timings we are configuringh]h%Port whose timings we are configuring}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjzubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjwubjV)}(h``struct ata_device *adev`` um Set MW/UDMA mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](j\)}(h``struct ata_device *adev``h]jH)}(hjh]hstruct ata_device *adev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh](h)}(humh]hum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(hASet MW/UDMA mode for device, in host controller PCI config space.h]hASet MW/UDMA mode for device, in host controller PCI config space.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(h&LOCKING: None (inherited from caller).h]h&LOCKING: None (inherited from caller).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjwubeh}(h]h ]h"]h$]h&]uh1jPhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jich_set_dmamode (C function)c.ich_set_dmamodehNtauh1jhjhhhNhNubj)}(hhh](j)}(hCvoid ich_set_dmamode (struct ata_port *ap, struct ata_device *adev)h]j)}(hBvoid ich_set_dmamode(struct ata_port *ap, struct ata_device *adev)h](j=)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hj,hhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhj>hMubjJ)}(hich_set_dmamodeh]j)}(hich_set_dmamodeh]hich_set_dmamode}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhj,hhhj>hMubje)}(h.(struct ata_port *ap, struct ata_device *adev)h](jk)}(hstruct ata_port *aph](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubh)}(hhh]j)}(hata_porth]hata_port}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jSsbc.ich_set_dmamodeasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjiubj)}(haph]hap}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjeubjk)}(hstruct ata_device *adevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.ich_set_dmamodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hj)hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hadevh]hadev}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjeubeh}(h]h ]h"]h$]h&]jjuh1jdhj,hhhj>hMubeh}(h]h ]h"]h$]h&]jjjuh1jjjhj(hhhj>hMubah}(h]j#ah ](jYjeh"]h$]h&]jj)jhuh1jhj>hMhj%hhubj)}(hhh]h)}(h+Initialize host controller PATA DMA timingsh]h+Initialize host controller PATA DMA timings}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jhj%hhhj>hMubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjxjjxjjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct ata_port *ap`` Port whose timings we are configuring ``struct ata_device *adev`` um Set MW/UDMA mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj|ubjQ)}(hhh](jV)}(h>``struct ata_port *ap`` Port whose timings we are configuring h](j\)}(h``struct ata_port *ap``h]jH)}(hjh]hstruct ata_port *ap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh]h)}(h%Port whose timings we are configuringh]h%Port whose timings we are configuring}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubjV)}(h``struct ata_device *adev`` um Set MW/UDMA mode for device, in host controller PCI config space. LOCKING: None (inherited from caller).h](j\)}(h``struct ata_device *adev``h]jH)}(hjh]hstruct ata_device *adev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubjl)}(hhh](h)}(humh]hum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(hASet MW/UDMA mode for device, in host controller PCI config space.h]hASet MW/UDMA mode for device, in host controller PCI config space.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjubh)}(h&LOCKING: None (inherited from caller).h]h&LOCKING: None (inherited from caller).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMhjubeh}(h]h ]h"]h$]h&]uh1jPhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$piix_check_450nx_errata (C function)c.piix_check_450nx_erratahNtauh1jhjhhhNhNubj)}(hhh](j)}(h5int piix_check_450nx_errata (struct pci_dev *ata_dev)h]j)}(h4int piix_check_450nx_errata(struct pci_dev *ata_dev)h](j=)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjMhhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM!ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhj_hM!ubjJ)}(hpiix_check_450nx_erratah]j)}(hpiix_check_450nx_erratah]hpiix_check_450nx_errata}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjMhhhj_hM!ubje)}(h(struct pci_dev *ata_dev)h]jk)}(hstruct pci_dev *ata_devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hpci_devh]hpci_dev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jtsbc.piix_check_450nx_errataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hata_devh]hata_dev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjMhhhj_hM!ubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjIhhhj_hM!ubah}(h]jDah ](jYjeh"]h$]h&]jj)jhuh1jhj_hM!hjFhhubj)}(hhh]h)}(hCheck for problem 450NX setuph]hCheck for problem 450NX setup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjFhhhj_hM!ubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjj)jj)jjjuh1jhhhjhNhNubj)}(h**Parameters** ``struct pci_dev *ata_dev`` the PCI device to check Check for the present of 450NX errata #19 and errata #25. If they are found return an error code so we can turn off DMAh](h)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhj-ubjQ)}(hhh]jV)}(h``struct pci_dev *ata_dev`` the PCI device to check Check for the present of 450NX errata #19 and errata #25. If they are found return an error code so we can turn off DMAh](j\)}(h``struct pci_dev *ata_dev``h]jH)}(hjRh]hstruct pci_dev *ata_dev}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjPubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjLubjl)}(hhh](h)}(hthe PCI device to checkh]hthe PCI device to check}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMhjhubh)}(hwCheck for the present of 450NX errata #19 and errata #25. If they are found return an error code so we can turn off DMAh]hwCheck for the present of 450NX errata #19 and errata #25. If they are found return an error code so we can turn off DMA}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMhjhubeh}(h]h ]h"]h$]h&]uh1jkhjLubeh}(h]h ]h"]h$]h&]uh1jUhjghMhjIubah}(h]h ]h"]h$]h&]uh1jPhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jpiix_init_one (C function)c.piix_init_onehNtauh1jhjhhhNhNubj)}(hhh](j)}(hIint piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)h]j)}(hHint piix_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)h](j=)}(hinth]hint}(hjhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjhhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMiubjJ)}(h piix_init_oneh]j)}(h piix_init_oneh]h piix_init_one}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjhhhjhMiubje)}(h7(struct pci_dev *pdev, const struct pci_device_id *ent)h](jk)}(hstruct pci_dev *pdevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hpci_devh]hpci_dev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.piix_init_oneasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjChhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hpdevh]hpdev}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hconst struct pci_device_id *enth](j)}(hj'h]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubh)}(hhh]j)}(h pci_device_idh]h pci_device_id}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j1c.piix_init_oneasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjeubj)}(henth]hent}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjhhhjhMiubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjhhhjhMiubah}(h]jah ](jYjeh"]h$]h&]jj)jhuh1jhjhMihjhhubj)}(hhh]h)}(h1Register PIIX ATA PCI device with kernel servicesh]h1Register PIIX ATA PCI device with kernel services}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM\hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMiubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhjhNhNubj)}(hX**Parameters** ``struct pci_dev *pdev`` PCI device to register ``const struct pci_device_id *ent`` Entry in piix_pci_tbl matching with **pdev** Called from kernel PCI layer. We probe for combined mode (sigh), and then hand over control to libata, for it to do the rest. LOCKING: Inherited from PCI layer (may sleep). **Return** Zero on success, or -ERRNO value.h](h)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM`hj!ubjQ)}(hhh](jV)}(h0``struct pci_dev *pdev`` PCI device to register h](j\)}(h``struct pci_dev *pdev``h]jH)}(hjFh]hstruct pci_dev *pdev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjDubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM]hj@ubjl)}(hhh]h)}(hPCI device to registerh]hPCI device to register}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hM]hj\ubah}(h]h ]h"]h$]h&]uh1jkhj@ubeh}(h]h ]h"]h$]h&]uh1jUhj[hM]hj=ubjV)}(hX``const struct pci_device_id *ent`` Entry in piix_pci_tbl matching with **pdev** Called from kernel PCI layer. We probe for combined mode (sigh), and then hand over control to libata, for it to do the rest. LOCKING: Inherited from PCI layer (may sleep). h](j\)}(h#``const struct pci_device_id *ent``h]jH)}(hjh]hconst struct pci_device_id *ent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhj}ubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMdhjyubjl)}(hhh](h)}(h,Entry in piix_pci_tbl matching with **pdev**h](h$Entry in piix_pci_tbl matching with }(hjhhhNhNubj)}(h**pdev**h]hpdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM^hjubh)}(h~Called from kernel PCI layer. We probe for combined mode (sigh), and then hand over control to libata, for it to do the rest.h]h~Called from kernel PCI layer. We probe for combined mode (sigh), and then hand over control to libata, for it to do the rest.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chM`hjubh)}(h.LOCKING: Inherited from PCI layer (may sleep).h]h.LOCKING: Inherited from PCI layer (may sleep).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMchjubeh}(h]h ]h"]h$]h&]uh1jkhjyubeh}(h]h ]h"]h$]h&]uh1jUhjhMdhj=ubeh}(h]h ]h"]h$]h&]uh1jPhj!ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMfhj!ubj)}(h!Zero on success, or -ERRNO value.h]h)}(hjh]h!Zero on success, or -ERRNO value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:972: ./drivers/ata/ata_piix.chMfhjubah}(h]h ]h"]h$]h&]uh1jhjhMfhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]ata-piix-internalsah ]h"]ata_piix internalsah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hsata_sil Internalsh]hsata_sil Internals}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hhhhhMubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsil_set_mode (C function)c.sil_set_modehNtauh1jhj$hhhNhNubj)}(hhh](j)}(hFint sil_set_mode (struct ata_link *link, struct ata_device **r_failed)h]j)}(hEint sil_set_mode(struct ata_link *link, struct ata_device **r_failed)h](j=)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjJhhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMXubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhj\hMXubjJ)}(h sil_set_modeh]j)}(h sil_set_modeh]h sil_set_mode}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjJhhhj\hMXubje)}(h5(struct ata_link *link, struct ata_device **r_failed)h](jk)}(hstruct ata_link *linkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hata_linkh]hata_link}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jqsbc.sil_set_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hlinkh]hlink}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubjk)}(hstruct ata_device **r_failedh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]jc.sil_set_modeasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjGhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj9)}(hj<h]h*}(hjThhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hr_failedh]hr_failed}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubeh}(h]h ]h"]h$]h&]jjuh1jdhjJhhhj\hMXubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjFhhhj\hMXubah}(h]jAah ](jYjeh"]h$]h&]jj)jhuh1jhj\hMXhjChhubj)}(hhh]h)}(hwrap set_mode functionsh]hwrap set_mode functions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jhjChhhj\hMXubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjjjjjjuh1jhhhj$hNhNubj)}(h**Parameters** ``struct ata_link *link`` link to set up ``struct ata_device **r_failed`` returned device when we fail Wrap the libata method for device setup as after the setup we need to inspect the results and do some configuration workh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMUhjubjQ)}(hhh](jV)}(h)``struct ata_link *link`` link to set up h](j\)}(h``struct ata_link *link``h]jH)}(hjh]hstruct ata_link *link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMRhjubjl)}(hhh]h)}(hlink to set uph]hlink to set up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMRhjubjV)}(h``struct ata_device **r_failed`` returned device when we fail Wrap the libata method for device setup as after the setup we need to inspect the results and do some configuration workh](j\)}(h ``struct ata_device **r_failed``h]jH)}(hjh]hstruct ata_device **r_failed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMUhjubjl)}(hhh](h)}(hreturned device when we failh]hreturned device when we fail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMShjubh)}(hxWrap the libata method for device setup as after the setup we need to inspect the results and do some configuration workh]hxWrap the libata method for device setup as after the setup we need to inspect the results and do some configuration work}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubeh}(h]h ]h"]h$]h&]uh1jkhjubeh}(h]h ]h"]h$]h&]uh1jUhjhMUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj$hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsil_dev_config (C function)c.sil_dev_confighNtauh1jhj$hhhNhNubj)}(hhh](j)}(h,void sil_dev_config (struct ata_device *dev)h]j)}(h+void sil_dev_config(struct ata_device *dev)h](j=)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jIah"]h$]h&]uh1j<hjihhhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMcubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhj{hMcubjJ)}(hsil_dev_configh]j)}(hsil_dev_configh]hsil_dev_config}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](j_j`eh"]h$]h&]jjuh1jIhjihhhj{hMcubje)}(h(struct ata_device *dev)h]jk)}(hstruct ata_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h ata_deviceh]h ata_device}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjTreftypej* reftargetjmodnameN classnameNj.j1)}j4]j$)}j*jsbc.sil_dev_configasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj9)}(hj<h]h*}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j8hjubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jjhjubah}(h]h ]h"]h$]h&]jjuh1jdhjihhhj{hMcubeh}(h]h ]h"]h$]h&]jjjuh1jjjhjehhhj{hMcubah}(h]j`ah ](jYjeh"]h$]h&]jj)jhuh1jhj{hMchjbhhubj)}(hhh]h)}(h(Apply device/host-specific errata fixupsh]h(Apply device/host-specific errata fixups}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMHhj*hhubah}(h]h ]h"]h$]h&]uh1jhjbhhhj{hMcubeh}(h]h ](jTfunctioneh"]h$]h&]jjTjjEjjEjjjuh1jhhhj$hNhNubj)}(hX***Parameters** ``struct ata_device *dev`` Device to be examined After the IDENTIFY [PACKET] DEVICE step is complete, and a device is known to be present, this function is called. We apply two errata fixups which are specific to Silicon Image, a Seagate and a Maxtor fixup. For certain Seagate devices, we must limit the maximum sectors to under 8K. For certain Maxtor devices, we must not program the drive beyond udma5. Both fixups are unfairly pessimistic. As soon as I get more information on these errata, I will create a more exhaustive list, and apply the fixups to only the specific devices/hosts/firmwares that need it. 20040111 - Seagate drives affected by the Mod15Write bug are quirked The Maxtor quirk is in sil_quirks, but I'm keeping the original pessimistic fix for the following reasons... - There seems to be less info on it, only one device gleaned off the Windows driver, maybe only one is affected. More info would be greatly appreciated. - But then again UDMA5 is hardly anything to complain abouth](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMLhjIubjQ)}(hhh]jV)}(hX``struct ata_device *dev`` Device to be examined After the IDENTIFY [PACKET] DEVICE step is complete, and a device is known to be present, this function is called. We apply two errata fixups which are specific to Silicon Image, a Seagate and a Maxtor fixup. For certain Seagate devices, we must limit the maximum sectors to under 8K. For certain Maxtor devices, we must not program the drive beyond udma5. Both fixups are unfairly pessimistic. As soon as I get more information on these errata, I will create a more exhaustive list, and apply the fixups to only the specific devices/hosts/firmwares that need it. 20040111 - Seagate drives affected by the Mod15Write bug are quirked The Maxtor quirk is in sil_quirks, but I'm keeping the original pessimistic fix for the following reasons... - There seems to be less info on it, only one device gleaned off the Windows driver, maybe only one is affected. More info would be greatly appreciated. - But then again UDMA5 is hardly anything to complain abouth](j\)}(h``struct ata_device *dev``h]jH)}(hjnh]hstruct ata_device *dev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjlubah}(h]h ]h"]h$]h&]uh1j[hY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chM`hjhubjl)}(hhh](h)}(hDevice to be examinedh]hDevice to be examined}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMIhjubh)}(hAfter the IDENTIFY [PACKET] DEVICE step is complete, and a device is known to be present, this function is called. We apply two errata fixups which are specific to Silicon Image, a Seagate and a Maxtor fixup.h]hAfter the IDENTIFY [PACKET] DEVICE step is complete, and a device is known to be present, this function is called. We apply two errata fixups which are specific to Silicon Image, a Seagate and a Maxtor fixup.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMKhjubh)}(hKFor certain Seagate devices, we must limit the maximum sectors to under 8K.h]hKFor certain Seagate devices, we must limit the maximum sectors to under 8K.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMPhjubh)}(hGFor certain Maxtor devices, we must not program the drive beyond udma5.h]hGFor certain Maxtor devices, we must not program the drive beyond udma5.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMShjubh)}(hBoth fixups are unfairly pessimistic. As soon as I get more information on these errata, I will create a more exhaustive list, and apply the fixups to only the specific devices/hosts/firmwares that need it.h]hBoth fixups are unfairly pessimistic. As soon as I get more information on these errata, I will create a more exhaustive list, and apply the fixups to only the specific devices/hosts/firmwares that need it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chMVhjubh)}(hX20040111 - Seagate drives affected by the Mod15Write bug are quirked The Maxtor quirk is in sil_quirks, but I'm keeping the original pessimistic fix for the following reasons... - There seems to be less info on it, only one device gleaned off the Windows driver, maybe only one is affected. More info would be greatly appreciated. - But then again UDMA5 is hardly anything to complain abouth]hX20040111 - Seagate drives affected by the Mod15Write bug are quirked The Maxtor quirk is in sil_quirks, but I’m keeping the original pessimistic fix for the following reasons... - There seems to be less info on it, only one device gleaned off the Windows driver, maybe only one is affected. More info would be greatly appreciated. - But then again UDMA5 is hardly anything to complain about}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/driver-api/libata:978: ./drivers/ata/sata_sil.chM[hjubeh}(h]h ]h"]h$]h&]uh1jkhjhubeh}(h]h ]h"]h$]h&]uh1jUhjhM`hjeubah}(h]h ]h"]h$]h&]uh1jPhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj$hhhNhNubeh}(h]sata-sil-internalsah ]h"]sata_sil internalsah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hThanksh]hThanks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hThe bulk of the ATA knowledge comes thanks to long conversations with Andre Hedrick (www.linux-ide.org), and long hours pondering the ATA and SCSI specifications.h]hThe bulk of the ATA knowledge comes thanks to long conversations with Andre Hedrick (www.linux-ide.org), and long hours pondering the ATA and SCSI specifications.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hxThanks to Alan Cox for pointing out similarities between SATA and SCSI, and in general for motivation to hack on libata.h]hxThanks to Alan Cox for pointing out similarities between SATA and SCSI, and in general for motivation to hack on libata.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubh)}(hlibata's device detection method, ata_pio_devchk, and in general all the early probing was based on extensive study of Hale Landis's probe/reset code in his ATADRVR driver (www.ata-atapi.com).h]hlibata’s device detection method, ata_pio_devchk, and in general all the early probing was based on extensive study of Hale Landis’s probe/reset code in his ATADRVR driver (www.ata-atapi.com).}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]thanksah ]h"]thanksah$]h&]uh1hhhhhhhhMubeh}(h]libata-developer-s-guideah ]h"]libata developer's guideah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjperror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jJjGj+j(j j j j jjjjjjjjjjjjj#j jXjUjjj&j#jjj j jM jJ jX jU j j j j jjj<j9jjjjjjjjjjjxjxjNjNj!jjjj/j,jMjJjjjjjjjhjejjjjjjj'j$jjjjjjjjj!jjjjBj?u nametypes}(jJj+j j jjjjjjj#jXjj&jj jM jX j j jj<jjjjjjxjNj!jj/jMjjjjhjjjj'jjjjj!jjBuh}(jGhj(hj j.j jjjjjjj jjjj!jjj jjUj&jj[j#jjj)j jjJ j jU jP j j[ j j jj j9j jj?jjjjjjjjjxjjjjjj/j4jjj"j"jt$jy$j#&j(&j'j'j)j)j+j+j.j.j2j#2j3j3j5j5jO8jT8j9j9j!;j&;j<j<j=j=j^?jc?jAjAjsCjxCjFjFj3Ij8IjBKjGKj-Nj2NjOjOjoQjtQjSj!SjTjTjVjVjXjXj ZjZj[j[jA^jF^jajajqcjvcjfj#fjhjhjljlj@njEnjojoj0qj5qjhsjmsjNjxj4xj9xj`zjezj{j{jP}jU}j~j~j@jEjjjjjjjj#jsjxjjjےjjujzjjjjjjjjj`jejأjݣjjjqjvjjjNjSjjjCjHjjƶjj jջjڻj>jCjjjAjFj*j/jjjjjjjj jjjjj j%jjjdjij0j5jjj[j`jjjjj$j)jjjFjKjjjgjljjjjjejjjjj jjjj?jDjjjNjSjjjjjHjMjjjKjPjjjjjKjPjjj j j j j j j jjjj jjjjTjYjjjjj4j9j8j=j j j#j#j,%j1%j'j'j*j*jy-j~-j.j.jK0jP0j1j1j_3jd3j4j4jO6jT6j7j7j8:j=:j;j;j=j=j@j@j EjEjFjFjJjJjxKj}KjMjMjjNjNjNjRjRjSjSjTUjYUjVjVjXjXjsZjxZj\j\jP^jU^j aj%ajGcjLcjnejsejhj!hjkjkj!mj&mjnjnjpjpjHsjMsjujujxjxjyjyj{j{j}j}jjj+j0jjjjƊjjjjjxj}jCjHjjjٛjޛjjjojtj:j?jjjjjjjjjOjTjjjjjjjUjZj jjjjjjmjrjjjjjjj&j+jjjj!j=jBjjjjjjjrjwjjjj$j,j_jJjjjPjjjjjejjjkjjjjj$jjj2jjQjjjjjjjjj_jdjRjWjsjxjjj#j(jDjIjjjj$jAjFj`jej?ju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.