/linux/drivers/ata/ |
A D | libata-sff.c | 665 struct ata_port *ap = qc->ap; in ata_pio_sector() local 793 struct ata_port *ap = qc->ap; in __atapi_pio_bytes() local 861 struct ata_port *ap = qc->ap; in atapi_pio_bytes() local 947 struct ata_port *ap = qc->ap; in ata_hsm_qc_complete() local 1289 struct ata_port *ap = in ata_sff_pio_task() local 1361 struct ata_port *ap = qc->ap; in ata_sff_qc_issue() local 2114 struct ata_port *ap; in ata_sff_drain_fifo() local 2592 struct ata_port *ap = qc->ap; in ata_bmdma_fill_sg() local 2643 struct ata_port *ap = qc->ap; in ata_bmdma_fill_sg_dumb() local 2744 struct ata_port *ap = qc->ap; in ata_bmdma_qc_issue() local [all …]
|
A D | pata_amd.c | 139 struct ata_port *ap = link->ap; in amd_pre_reset() local 155 static int amd_cable_detect(struct ata_port *ap) in amd_cable_detect() 177 static void amd_fifo_setup(struct ata_port *ap) in amd_fifo_setup() 208 static void amd33_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd33_set_piomode() 214 static void amd66_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd66_set_piomode() 220 static void amd100_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd100_set_piomode() 226 static void amd133_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd133_set_piomode() 241 static void amd33_set_dmamode(struct ata_port *ap, struct ata_device *adev) in amd33_set_dmamode() 246 static void amd66_set_dmamode(struct ata_port *ap, struct ata_device *adev) in amd66_set_dmamode() 273 struct ata_port *ap = dev->link->ap; in nv_mode_filter() local [all …]
|
A D | pata_atp867x.c | 74 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument 77 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument 79 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument 85 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument 87 #define ATP867X_IO_SLAVPIOSPD(ap, port) (0x09 + \ argument 89 #define ATP867X_IO_8BPIOSPD(ap, port) (0x0A + \ argument 91 #define ATP867X_IO_DMAMODE(ap, port) (0x0B + \ argument 94 #define ATP867X_IO_PORTSPD(ap, port) (0x4A + \ argument 96 #define ATP867X_IO_PREREAD(ap, port) (0x4C + \ argument 362 struct ata_port *ap = host->ports[0]; in atp867x_fixup() local [all …]
|
A D | libata-sata.c | 41 struct ata_port *ap = link->ap; in sata_scr_valid() local 723 int ata_slave_link_init(struct ata_port *ap) in ata_slave_link_init() 887 struct ata_port *ap; in ata_ncq_prio_enable_store() local 1107 struct ata_port *ap; in ata_sas_port_alloc() local 1138 int ata_sas_port_start(struct ata_port *ap) in ata_sas_port_start() 1160 void ata_sas_port_stop(struct ata_port *ap) in ata_sas_port_stop() 1172 void ata_sas_async_probe(struct ata_port *ap) in ata_sas_async_probe() 1178 int ata_sas_sync_probe(struct ata_port *ap) in ata_sas_sync_probe() 1196 int ata_sas_port_init(struct ata_port *ap) in ata_sas_port_init() 1276 int ata_sas_allocate_tag(struct ata_port *ap) in ata_sas_allocate_tag() [all …]
|
A D | libahci.c | 771 struct ata_port *ap = link->ap; in ahci_set_lpm() local 984 struct ata_port *ap = link->ap; in ahci_sw_activity() local 1000 struct ata_port *ap = link->ap; in ahci_sw_activity_blink() local 1042 struct ata_port *ap = link->ap; in ahci_init_sw_activity() local 1180 struct ata_port *ap = link->ap; in ahci_activity_store() local 1211 struct ata_port *ap = link->ap; in ahci_activity_show() local 1642 struct ata_port *ap = qc->ap; in ahci_pmp_qc_defer() local 1653 struct ata_port *ap = qc->ap; in ahci_qc_prep() local 1946 struct ata_port *ap; in ahci_handle_port_intr() local 2013 struct ata_port *ap = qc->ap; in ahci_qc_issue() local [all …]
|
A D | sata_promise.c | 416 static void pdc_reset_port(struct ata_port *ap) in pdc_reset_port() 481 struct ata_port *ap = qc->ap; in pdc_atapi_pkt() local 569 struct ata_port *ap = qc->ap; in pdc_fill_sg() local 696 static void pdc_freeze(struct ata_port *ap) in pdc_freeze() 731 static void pdc_thaw(struct ata_port *ap) in pdc_thaw() 746 static void pdc_sata_thaw(struct ata_port *ap) in pdc_sata_thaw() 830 struct ata_port *ap = qc->ap; in pdc_post_internal_cmd() local 906 static void pdc_irq_clear(struct ata_port *ap) in pdc_irq_clear() 916 struct ata_port *ap; in pdc_interrupt() local 1001 struct ata_port *ap = qc->ap; in pdc_packet_start() local [all …]
|
A D | libata-acpi.c | 45 struct ata_port *ap; member 179 void ata_acpi_bind_port(struct ata_port *ap) in ata_acpi_bind_port() 208 struct ata_port *ap = dev->link->ap; in ata_acpi_bind_dev() local 266 struct ata_port *ap = host->ports[i]; in ata_acpi_dissociate() local 287 int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *gtm) in ata_acpi_gtm() 405 struct ata_port *ap = dev->link->ap; in ata_dev_get_GTF() local 774 struct ata_port *ap = dev->link->ap; in ata_acpi_push_id() local 824 int ata_acpi_on_suspend(struct ata_port *ap) in ata_acpi_on_suspend() 840 void ata_acpi_on_resume(struct ata_port *ap) in ata_acpi_on_resume() 957 void ata_acpi_set_state(struct ata_port *ap, pm_message_t state) in ata_acpi_set_state() [all …]
|
A D | libata-eh.c | 911 struct ata_port *ap = qc->ap; in ata_qc_schedule_eh() local 1160 struct ata_port *ap = qc->ap; in __ata_eh_qc_complete() local 1245 struct ata_port *ap = link->ap; in ata_eh_detach_dev() local 1285 struct ata_port *ap = link->ap; in ata_eh_about_to_do() local 1922 struct ata_port *ap = link->ap; in ata_eh_link_autopsy() local 2221 struct ata_port *ap = link->ap; in ata_eh_link_report() local 2453 struct ata_port *ap = link->ap; in ata_eh_reset() local 2917 struct ata_port *ap = link->ap; in ata_eh_revalidate_and_attach() local 3060 struct ata_port *ap = link->ap; in ata_set_mode() local 3163 struct ata_port *ap = link->ap; in ata_eh_maybe_retry_flush() local [all …]
|
A D | libata-core.c | 4453 struct ata_port *ap = qc->ap; in atapi_check_dma() local 4539 struct ata_port *ap = qc->ap; in ata_sg_clean() local 4569 struct ata_port *ap = qc->ap; in ata_sg_setup() local 4663 struct ata_port *ap; in ata_qc_free() local 4680 struct ata_port *ap; in __ata_qc_complete() local 4719 struct ata_port *ap = qc->ap; in fill_result_tf() local 4755 struct ata_port *ap = qc->ap; in ata_qc_complete() local 4887 struct ata_port *ap = qc->ap; in ata_qc_issue() local 5376 struct ata_port *ap; in ata_port_alloc() local 5522 struct ata_port *ap; in ata_host_alloc() local [all …]
|
A D | pata_octeon_cf.c | 52 struct ata_port *ap; member 298 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer8() local 337 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer16() local 426 static u8 octeon_cf_check_status16(struct ata_port *ap) in octeon_cf_check_status16() 438 struct ata_port *ap = link->ap; in octeon_cf_softreset16() local 466 static void octeon_cf_tf_load16(struct ata_port *ap, in octeon_cf_tf_load16() 542 struct ata_port *ap = qc->ap; in octeon_cf_dma_setup() local 684 struct ata_port *ap; in octeon_cf_interrupt() local 744 struct ata_port *ap = cf_port->ap; in octeon_cf_delayed_finish() local 797 struct ata_port *ap = qc->ap; in octeon_cf_qc_issue() local [all …]
|
A D | pata_optidma.c | 57 struct ata_port *ap = link->ap; in optidma_pre_reset() local 77 static void optidma_unlock(struct ata_port *ap) in optidma_unlock() 94 static void optidma_lock(struct ata_port *ap) in optidma_lock() 116 static void optidma_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) in optidma_mode_setup() 201 static void optiplus_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) in optiplus_mode_setup() 239 static void optidma_set_pio_mode(struct ata_port *ap, struct ata_device *adev) in optidma_set_pio_mode() 254 static void optidma_set_dma_mode(struct ata_port *ap, struct ata_device *adev) in optidma_set_dma_mode() 269 static void optiplus_set_pio_mode(struct ata_port *ap, struct ata_device *adev) in optiplus_set_pio_mode() 284 static void optiplus_set_dma_mode(struct ata_port *ap, struct ata_device *adev) in optiplus_set_dma_mode() 321 struct ata_port *ap = link->ap; in optidma_set_mode() local
|
A D | pata_pdc202xx_old.c | 27 static int pdc2026x_cable_detect(struct ata_port *ap) in pdc2026x_cable_detect() 38 static void pdc202xx_exec_command(struct ata_port *ap, in pdc202xx_exec_command() 47 static bool pdc202xx_irq_check(struct ata_port *ap) in pdc202xx_irq_check() 79 static void pdc202xx_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) in pdc202xx_configure_piomode() 112 static void pdc202xx_set_piomode(struct ata_port *ap, struct ata_device *adev) in pdc202xx_set_piomode() 126 static void pdc202xx_set_dmamode(struct ata_port *ap, struct ata_device *adev) in pdc202xx_set_dmamode() 179 struct ata_port *ap = qc->ap; in pdc2026x_bmdma_start() local 229 struct ata_port *ap = qc->ap; in pdc2026x_bmdma_stop() local 265 static int pdc2026x_port_start(struct ata_port *ap) in pdc2026x_port_start()
|
A D | sata_rcar.c | 232 static void sata_rcar_thaw(struct ata_port *ap) in sata_rcar_thaw() 315 struct ata_port *ap = link->ap; in sata_rcar_wait_after_reset() local 343 struct ata_port *ap = link->ap; in sata_rcar_softreset() local 453 struct ata_port *ap = qc->dev->link->ap; in sata_rcar_data_xfer() local 490 struct ata_port *ap; in sata_rcar_drain_fifo() local 529 struct ata_port *ap = qc->ap; in sata_rcar_bmdma_fill_sg() local 565 struct ata_port *ap = qc->ap; in sata_rcar_bmdma_setup() local 592 struct ata_port *ap = qc->ap; in sata_rcar_bmdma_start() local 606 struct ata_port *ap = qc->ap; in sata_rcar_bmdma_stop() local 728 struct ata_port *ap; in sata_rcar_interrupt() local [all …]
|
A D | libata-pmp.c | 40 struct ata_port *ap = link->ap; in sata_pmp_read() local 77 struct ata_port *ap = link->ap; in sata_pmp_write() local 112 struct ata_port *ap = link->ap; in sata_pmp_qc_defer_cmd_switch() local 260 struct ata_port *ap = dev->link->ap; in sata_pmp_configure() local 378 static void sata_pmp_quirks(struct ata_port *ap) in sata_pmp_quirks() 488 struct ata_port *ap = link->ap; in sata_pmp_attach() local 562 struct ata_port *ap = link->ap; in sata_pmp_detach() local 651 struct ata_port *ap = link->ap; in sata_pmp_revalidate() local 885 struct ata_port *ap = link->ap; in sata_pmp_handle_link_fail() local 923 static int sata_pmp_eh_recover(struct ata_port *ap) in sata_pmp_eh_recover() [all …]
|
A D | libata.h | 43 static inline void ata_force_cbl(struct ata_port *ap) { } in ata_force_cbl() 99 static inline int ata_sas_allocate_tag(struct ata_port *ap) in ata_sas_allocate_tag() 103 static inline void ata_sas_free_tag(unsigned int tag, struct ata_port *ap) { } in ata_sas_free_tag() 120 static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; } in ata_acpi_on_suspend() 121 static inline void ata_acpi_on_resume(struct ata_port *ap) { } in ata_acpi_on_resume() 124 static inline void ata_acpi_set_state(struct ata_port *ap, in ata_acpi_set_state() 126 static inline void ata_acpi_bind_port(struct ata_port *ap) {} in ata_acpi_bind_port() 224 static inline void ata_sff_flush_pio_task(struct ata_port *ap) in ata_sff_flush_pio_task() 226 static inline void ata_sff_port_init(struct ata_port *ap) in ata_sff_port_init()
|
A D | pdc_adma.c | 40 #define ADMA_PORT_REGS(ap) \ argument 224 static void adma_freeze(struct ata_port *ap) in adma_freeze() 239 static void adma_thaw(struct ata_port *ap) in adma_thaw() 246 struct ata_port *ap = link->ap; in adma_prereset() local 259 struct ata_port *ap = qc->ap; in adma_fill_sg() local 379 struct ata_port *ap = qc->ap; in adma_packet_start() local 415 struct ata_port *ap = host->ports[port_no]; in adma_intr_pkt() local 465 struct ata_port *ap = host->ports[port_no]; in adma_intr_mmio() local 535 static int adma_port_start(struct ata_port *ap) in adma_port_start() 559 static void adma_port_stop(struct ata_port *ap) in adma_port_stop() [all …]
|
A D | pata_hpt3x2n.c | 104 static u32 hpt3x2n_find_mode(struct ata_port *ap, int speed) in hpt3x2n_find_mode() 140 static int hpt3x2n_cable_detect(struct ata_port *ap) in hpt3x2n_cable_detect() 172 struct ata_port *ap = link->ap; in hpt3x2n_pre_reset() local 182 static void hpt3x2n_set_mode(struct ata_port *ap, struct ata_device *adev, in hpt3x2n_set_mode() 221 static void hpt3x2n_set_piomode(struct ata_port *ap, struct ata_device *adev) in hpt3x2n_set_piomode() 234 static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev) in hpt3x2n_set_dmamode() 248 struct ata_port *ap = qc->ap; in hpt3x2n_bmdma_stop() local 276 static void hpt3x2n_set_clock(struct ata_port *ap, int source) in hpt3x2n_set_clock() 300 static int hpt3x2n_use_dpll(struct ata_port *ap, int writing) in hpt3x2n_use_dpll() 314 struct ata_port *ap = qc->ap; in hpt3x2n_qc_defer() local [all …]
|
A D | sata_nv.c | 633 static void nv_adma_mode(struct ata_port *ap) in nv_adma_mode() 884 struct ata_port *ap = host->ports[i]; in nv_adma_interrupt() local 1033 static void nv_adma_thaw(struct ata_port *ap) in nv_adma_thaw() 1456 struct ata_port *ap = host->ports[i]; in nv_generic_interrupt() local 1566 static void nv_nf2_freeze(struct ata_port *ap) in nv_nf2_freeze() 1577 static void nv_nf2_thaw(struct ata_port *ap) in nv_nf2_thaw() 1601 static void nv_ck804_thaw(struct ata_port *ap) in nv_ck804_thaw() 1627 static void nv_mcp55_thaw(struct ata_port *ap) in nv_mcp55_thaw() 1978 struct ata_port *ap = qc->ap; in nv_swncq_fill_sg() local 2038 struct ata_port *ap = qc->ap; in nv_swncq_qc_issue() local [all …]
|
A D | pata_acpi.c | 39 struct ata_port *ap = link->ap; in pacpi_pre_reset() local 54 static int pacpi_cable_detect(struct ata_port *ap) in pacpi_cable_detect() 73 static unsigned long pacpi_discover_modes(struct ata_port *ap, struct ata_device *adev) in pacpi_discover_modes() 112 static void pacpi_set_piomode(struct ata_port *ap, struct ata_device *adev) in pacpi_set_piomode() 135 static void pacpi_set_dmamode(struct ata_port *ap, struct ata_device *adev) in pacpi_set_dmamode() 169 struct ata_port *ap = qc->ap; in pacpi_qc_issue() local 192 static int pacpi_port_start(struct ata_port *ap) in pacpi_port_start()
|
/linux/tools/lib/traceevent/ |
A D | parse-utils.c | 14 void __vwarning(const char *fmt, va_list ap) in __vwarning() 28 va_list ap; in __warning() local 37 va_list ap; in warning() local 44 void __vpr_stat(const char *fmt, va_list ap) in __vpr_stat() 52 va_list ap; in __pr_stat() local 59 void __weak vpr_stat(const char *fmt, va_list ap) in vpr_stat() 66 va_list ap; in pr_stat() local
|
/linux/drivers/net/ethernet/alteon/ |
A D | acenic.c | 87 #define ACE_IS_TIGON_I(ap) 0 argument 90 #define ACE_IS_TIGON_I(ap) (ap->version == 1) argument 458 struct ace_private *ap; in acenic_probe_one() local 610 struct ace_private *ap = netdev_priv(dev); in acenic_remove_one() local 706 struct ace_private *ap = netdev_priv(dev); in ace_free_descriptors() local 755 struct ace_private *ap = netdev_priv(dev); in ace_allocate_descriptors() local 825 struct ace_private *ap; in ace_init_cleanup() local 862 struct ace_private *ap; in ace_init() local 1507 struct ace_private *ap = netdev_priv(dev); in ace_set_rxtx_parms() local 1546 struct ace_private *ap = netdev_priv(dev); in ace_watchdog() local [all …]
|
/linux/drivers/net/wireless/intersil/hostap/ |
A D | hostap_ap.c | 179 struct ap_data *ap; in ap_handle_timer() local 606 struct ap_data *ap = data; in hostap_ap_tx_cb() local 634 struct ap_data *ap = data; in hostap_ap_tx_cb_auth() local 702 struct ap_data *ap = data; in hostap_ap_tx_cb_assoc() local 767 struct ap_data *ap = data; in hostap_ap_tx_cb_poll() local 794 struct ap_data *ap = local->ap; in hostap_init_data() local 844 struct ap_data *ap = local->ap; in hostap_init_ap_proc() local 1289 struct ap_data *ap = local->ap; in handle_authen() local 2329 struct ap_data *ap = local->ap; in prism2_ap_get_sta_qual() local 2372 struct ap_data *ap; in prism2_ap_translate_scan() local [all …]
|
/linux/drivers/scsi/libsas/ |
A D | sas_ata.c | 85 struct ata_port *ap; in sas_ata_task_done() local 164 struct ata_port *ap = qc->ap; in sas_ata_qc_issue() local 301 struct ata_port *ap = link->ap; in smp_ata_check_ready() local 332 struct ata_port *ap = link->ap; in local_ata_check_ready() local 350 struct ata_port *ap = ddev->sata_dev.ap; in sas_ata_printk() local 374 struct ata_port *ap = link->ap; in sas_ata_hard_reset() local 495 void sas_ata_end_eh(struct ata_port *ap) in sas_ata_end_eh() 509 struct ata_port *ap = link->ap; in sas_ata_prereset() local 551 struct ata_port *ap; in sas_ata_init() local 832 struct ata_port *ap; in sas_ata_schedule_reset() local [all …]
|
/linux/drivers/net/ppp/ |
A D | ppp_synctty.c | 136 struct syncppp *ap; in sp_get() local 146 static void sp_put(struct syncppp *ap) in sp_put() 158 struct syncppp *ap; in ppp_sync_open() local 216 struct syncppp *ap; in ppp_sync_close() local 280 struct syncppp *ap = sp_get(tty); in ppp_synctty_ioctl() local 337 struct syncppp *ap = sp_get(tty); in ppp_sync_receive() local 354 struct syncppp *ap = sp_get(tty); in ppp_sync_wakeup() local 398 struct syncppp *ap = chan->private; in ppp_sync_ioctl() local 568 struct syncppp *ap = chan->private; in ppp_sync_send() local 588 ppp_sync_push(struct syncppp *ap) in ppp_sync_push() [all …]
|
A D | ppp_async.c | 134 struct asyncppp *ap; in ap_get() local 144 static void ap_put(struct asyncppp *ap) in ap_put() 157 struct asyncppp *ap; in ppp_asynctty_open() local 217 struct asyncppp *ap; in ppp_asynctty_close() local 287 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_ioctl() local 344 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_receive() local 361 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_wakeup() local 405 struct asyncppp *ap = chan->private; in ppp_async_ioctl() local 529 ppp_async_encode(struct asyncppp *ap) in ppp_async_encode() 630 struct asyncppp *ap = chan->private; in ppp_async_send() local [all …]
|