/linux-3.3/drivers/ata/ |
D | libata-sff.c | 84 u8 ata_sff_check_status(struct ata_port *ap) in ata_sff_check_status() 103 static u8 ata_sff_altstatus(struct ata_port *ap) in ata_sff_altstatus() 123 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status() 150 static void ata_sff_sync(struct ata_port *ap) in ata_sff_sync() 170 void ata_sff_pause(struct ata_port *ap) in ata_sff_pause() 185 void ata_sff_dma_pause(struct ata_port *ap) in ata_sff_dma_pause() 215 int ata_sff_busy_sleep(struct ata_port *ap, in ata_sff_busy_sleep() 296 static void ata_sff_set_devctl(struct ata_port *ap, u8 ctl) in ata_sff_set_devctl() 318 void ata_sff_dev_select(struct ata_port *ap, unsigned int device) in ata_sff_dev_select() 350 static void ata_dev_select(struct ata_port *ap, unsigned int device, in ata_dev_select() [all …]
|
D | pata_amd.c | 43 static void timing_setup(struct ata_port *ap, struct ata_device *adev, int offset, int speed, int c… in timing_setup() 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() 178 static void amd_fifo_setup(struct ata_port *ap) in amd_fifo_setup() 209 static void amd33_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd33_set_piomode() 215 static void amd66_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd66_set_piomode() 221 static void amd100_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd100_set_piomode() 227 static void amd133_set_piomode(struct ata_port *ap, struct ata_device *adev) in amd133_set_piomode() 242 static void amd33_set_dmamode(struct ata_port *ap, struct ata_device *adev) in amd33_set_dmamode() 247 static void amd66_set_dmamode(struct ata_port *ap, struct ata_device *adev) in amd66_set_dmamode() [all …]
|
D | pata_atp867x.c | 84 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) argument 85 #define ATP867X_SYS_INFO(ap) (0x3F + ATP867X_IOBASE(ap)) argument 87 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument 89 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument 92 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument 94 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument 100 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument 102 #define ATP867X_IO_SLAVPIOSPD(ap, port) (0x09 + \ argument 104 #define ATP867X_IO_8BPIOSPD(ap, port) (0x0A + \ argument 106 #define ATP867X_IO_DMAMODE(ap, port) (0x0B + \ argument [all …]
|
D | libahci.c | 225 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps() local 235 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2() local 245 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version() local 256 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd() local 266 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer() local 322 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer() local 362 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported() local 520 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset() 561 void ahci_start_engine(struct ata_port *ap) in ahci_start_engine() 574 int ahci_stop_engine(struct ata_port *ap) in ahci_stop_engine() [all …]
|
D | pata_octeon_cf.c | 43 struct ata_port *ap; member 93 static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_piomode() 175 static void octeon_cf_set_dmamode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_dmamode() 254 struct ata_port *ap = dev->link->ap; in octeon_cf_data_xfer8() local 293 struct ata_port *ap = dev->link->ap; in octeon_cf_data_xfer16() local 338 static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf) in octeon_cf_tf_read16() 382 static u8 octeon_cf_check_status16(struct ata_port *ap) in octeon_cf_check_status16() 394 struct ata_port *ap = link->ap; in octeon_cf_softreset16() local 422 static void octeon_cf_tf_load16(struct ata_port *ap, in octeon_cf_tf_load16() 460 static void octeon_cf_dev_select(struct ata_port *ap, unsigned int device) in octeon_cf_dev_select() [all …]
|
D | sata_promise.c | 328 static int pdc_common_port_start(struct ata_port *ap) in pdc_common_port_start() 352 static int pdc_sata_port_start(struct ata_port *ap) in pdc_sata_port_start() 373 static void pdc_fpdma_clear_interrupt_flag(struct ata_port *ap) in pdc_fpdma_clear_interrupt_flag() 388 static void pdc_fpdma_reset(struct ata_port *ap) in pdc_fpdma_reset() 406 static void pdc_not_at_command_packet_phase(struct ata_port *ap) in pdc_not_at_command_packet_phase() 422 static void pdc_clear_internal_debug_record_error_register(struct ata_port *ap) in pdc_clear_internal_debug_record_error_register() 430 static void pdc_reset_port(struct ata_port *ap) in pdc_reset_port() 464 static int pdc_pata_cable_detect(struct ata_port *ap) in pdc_pata_cable_detect() 475 static int pdc_sata_cable_detect(struct ata_port *ap) in pdc_sata_cable_detect() 500 struct ata_port *ap = qc->ap; in pdc_atapi_pkt() local [all …]
|
D | libata-acpi.c | 63 void ata_acpi_associate_sata_port(struct ata_port *ap) in ata_acpi_associate_sata_port() 86 static void ata_acpi_associate_ide_port(struct ata_port *ap) in ata_acpi_associate_ide_port() 109 static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev) in ata_acpi_detach_device() 142 static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev, in ata_acpi_handle_hotplug() 186 struct ata_port *ap = data; in ata_acpi_ap_notify_dock() local 191 static void ata_acpi_uevent(struct ata_port *ap, struct ata_device *dev, in ata_acpi_uevent() 256 struct ata_port *ap = host->ports[i]; in ata_acpi_associate() local 299 struct ata_port *ap = host->ports[i]; in ata_acpi_dissociate() local 320 int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *gtm) in ata_acpi_gtm() 376 int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm) in ata_acpi_stm() [all …]
|
D | pata_scc.c | 186 static void scc_set_piomode (struct ata_port *ap, struct ata_device *adev) in scc_set_piomode() 219 static void scc_set_dmamode (struct ata_port *ap, struct ata_device *adev) in scc_set_dmamode() 278 static void scc_tf_load (struct ata_port *ap, const struct ata_taskfile *tf) in scc_tf_load() 332 static u8 scc_check_status (struct ata_port *ap) in scc_check_status() 345 static void scc_tf_read (struct ata_port *ap, struct ata_taskfile *tf) in scc_tf_read() 377 static void scc_exec_command (struct ata_port *ap, in scc_exec_command() 391 static u8 scc_check_altstatus (struct ata_port *ap) in scc_check_altstatus() 404 static void scc_dev_select (struct ata_port *ap, unsigned int device) in scc_dev_select() 423 static void scc_set_devctl(struct ata_port *ap, u8 ctl) in scc_set_devctl() 437 struct ata_port *ap = qc->ap; in scc_bmdma_setup() local [all …]
|
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() 320 struct ata_port *ap = link->ap; in optidma_set_mode() local
|
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()
|
D | libata-eh.c | 169 static void ata_eh_handle_port_suspend(struct ata_port *ap) in ata_eh_handle_port_suspend() 172 static void ata_eh_handle_port_resume(struct ata_port *ap) in ata_eh_handle_port_resume() 254 void ata_port_desc(struct ata_port *ap, const char *fmt, ...) in ata_port_desc() 285 void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, in ata_port_pbar_desc() 477 void ata_eh_acquire(struct ata_port *ap) in ata_eh_acquire() 494 void ata_eh_release(struct ata_port *ap) in ata_eh_release() 523 struct ata_port *ap = ata_shost_to_port(host); in ata_scsi_timed_out() local 551 static void ata_eh_unload(struct ata_port *ap) in ata_eh_unload() 590 struct ata_port *ap = ata_shost_to_port(host); in ata_scsi_error() local 622 void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap, in ata_scsi_cmd_error_handler() [all …]
|
D | libata-pmp.c | 41 struct ata_port *ap = link->ap; in sata_pmp_read() local 78 struct ata_port *ap = link->ap; in sata_pmp_write() local 113 struct ata_port *ap = link->ap; in sata_pmp_qc_defer_cmd_switch() local 261 struct ata_port *ap = dev->link->ap; in sata_pmp_configure() local 337 static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) in sata_pmp_init_links() 379 static void sata_pmp_quirks(struct ata_port *ap) in sata_pmp_quirks() 478 struct ata_port *ap = link->ap; in sata_pmp_attach() local 554 struct ata_port *ap = link->ap; in sata_pmp_detach() local 645 struct ata_port *ap = link->ap; in sata_pmp_revalidate() local 745 static int sata_pmp_eh_recover_pmp(struct ata_port *ap, in sata_pmp_eh_recover_pmp() [all …]
|
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 …]
|
D | libata-scsi.c | 119 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_store() local 146 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_show() local 162 struct ata_port *ap; in ata_scsi_park_show() local 202 struct ata_port *ap; in ata_scsi_park_store() local 270 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_store() local 281 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_show() local 296 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_type_show() local 309 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_activity_show() local 322 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_activity_store() local 398 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_unlock_native_capacity() local [all …]
|
D | pata_acpi.c | 40 struct ata_port *ap = link->ap; in pacpi_pre_reset() local 55 static int pacpi_cable_detect(struct ata_port *ap) in pacpi_cable_detect() 74 static unsigned long pacpi_discover_modes(struct ata_port *ap, struct ata_device *adev) in pacpi_discover_modes() 113 static void pacpi_set_piomode(struct ata_port *ap, struct ata_device *adev) in pacpi_set_piomode() 136 static void pacpi_set_dmamode(struct ata_port *ap, struct ata_device *adev) in pacpi_set_dmamode() 170 struct ata_port *ap = qc->ap; in pacpi_qc_issue() local 193 static int pacpi_port_start(struct ata_port *ap) in pacpi_port_start()
|
D | pata_ns87415.c | 53 static void ns87415_set_mode(struct ata_port *ap, struct ata_device *adev, u8 mode) in ns87415_set_mode() 108 static void ns87415_set_piomode(struct ata_port *ap, struct ata_device *adev) in ns87415_set_piomode() 123 struct ata_port *ap = qc->ap; in ns87415_bmdma_setup() local 182 static void ns87415_irq_clear(struct ata_port *ap) in ns87415_irq_clear() 248 static u8 ns87560_check_status(struct ata_port *ap) in ns87560_check_status() 264 void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in ns87560_tf_read() 296 static u8 ns87560_bmdma_status(struct ata_port *ap) in ns87560_bmdma_status()
|
D | pata_samsung_cf.c | 83 static void pata_s3c_set_piomode(struct ata_port *ap, struct ata_device *adev) in pata_s3c_set_piomode() 155 static void pata_s3c_tf_load(struct ata_port *ap, in pata_s3c_tf_load() 192 static void pata_s3c_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in pata_s3c_tf_read() 218 static void pata_s3c_exec_command(struct ata_port *ap, in pata_s3c_exec_command() 228 static u8 pata_s3c_check_status(struct ata_port *ap) in pata_s3c_check_status() 236 static u8 pata_s3c_check_altstatus(struct ata_port *ap) in pata_s3c_check_altstatus() 247 struct ata_port *ap = dev->link->ap; in pata_s3c_data_xfer() local 277 static void pata_s3c_dev_select(struct ata_port *ap, unsigned int device) in pata_s3c_dev_select() 291 static unsigned int pata_s3c_devchk(struct ata_port *ap, in pata_s3c_devchk() 341 static unsigned int pata_s3c_bus_softreset(struct ata_port *ap, in pata_s3c_bus_softreset() [all …]
|
D | sata_nv.c | 606 static void nv_adma_register_mode(struct ata_port *ap) in nv_adma_register_mode() 644 static void nv_adma_mode(struct ata_port *ap) in nv_adma_mode() 676 struct ata_port *ap = ata_shost_to_port(sdev->host); in nv_adma_slave_config() local 790 static void nv_adma_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in nv_adma_tf_read() 836 static int nv_adma_check_cpb(struct ata_port *ap, int cpb_num, int force_err) in nv_adma_check_cpb() 881 static int nv_host_intr(struct ata_port *ap, u8 irq_stat) in nv_host_intr() 914 struct ata_port *ap = host->ports[i]; in nv_adma_interrupt() local 1041 static void nv_adma_freeze(struct ata_port *ap) in nv_adma_freeze() 1063 static void nv_adma_thaw(struct ata_port *ap) in nv_adma_thaw() 1081 static void nv_adma_irq_clear(struct ata_port *ap) in nv_adma_irq_clear() [all …]
|
D | pata_sl82c105.c | 58 struct ata_port *ap = link->ap; in sl82c105_pre_reset() local 78 static void sl82c105_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) in sl82c105_configure_piomode() 101 static void sl82c105_set_piomode(struct ata_port *ap, struct ata_device *adev) in sl82c105_set_piomode() 115 static void sl82c105_configure_dmamode(struct ata_port *ap, struct ata_device *adev) in sl82c105_configure_dmamode() 140 static void sl82c105_reset_engine(struct ata_port *ap) in sl82c105_reset_engine() 163 struct ata_port *ap = qc->ap; in sl82c105_bmdma_start() local 192 struct ata_port *ap = qc->ap; in sl82c105_bmdma_stop() local 231 static bool sl82c105_sff_irq_check(struct ata_port *ap) in sl82c105_sff_irq_check()
|
/linux-3.3/net/irda/irnet/ |
D | irnet_ppp.c | 45 irnet_ctrl_write(irnet_socket * ap, in irnet_ctrl_write() 185 irnet_get_discovery_log(irnet_socket * ap) in irnet_get_discovery_log() 217 irnet_read_discovery_log(irnet_socket * ap, in irnet_read_discovery_log() 279 irnet_ctrl_read(irnet_socket * ap, in irnet_ctrl_read() 423 irnet_ctrl_poll(irnet_socket * ap, in irnet_ctrl_poll() 470 struct irnet_socket * ap; in dev_irnet_open() local 533 irnet_socket * ap = file->private_data; in dev_irnet_close() local 570 irnet_socket * ap = file->private_data; in dev_irnet_write() local 594 irnet_socket * ap = file->private_data; in dev_irnet_read() local 615 irnet_socket * ap = file->private_data; in dev_irnet_poll() local [all …]
|
/linux-3.3/drivers/net/ethernet/alteon/ |
D | acenic.c | 93 #define ACE_IS_TIGON_I(ap) 0 argument 94 #define ACE_TX_RING_ENTRIES(ap) MAX_TX_RING_ENTRIES argument 96 #define ACE_IS_TIGON_I(ap) (ap->version == 1) argument 97 #define ACE_TX_RING_ENTRIES(ap) ap->tx_ring_entries argument 462 struct ace_private *ap; in acenic_probe_one() local 613 struct ace_private *ap = netdev_priv(dev); in acenic_remove_one() local 724 struct ace_private *ap = netdev_priv(dev); in ace_free_descriptors() local 774 struct ace_private *ap = netdev_priv(dev); in ace_allocate_descriptors() local 843 struct ace_private *ap; in ace_init_cleanup() local 880 struct ace_private *ap; in ace_init() local [all …]
|
/linux-3.3/drivers/net/wireless/hostap/ |
D | hostap_ap.c | 71 struct ap_data *ap = (struct ap_data *) data; in ap_debug_proc_read() local 92 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add() 98 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del() 119 static void ap_free_sta(struct ap_data *ap, struct sta_info *sta) in ap_free_sta() 186 struct ap_data *ap; in ap_handle_timer() local 299 void hostap_deauth_all_stas(struct net_device *dev, struct ap_data *ap, in hostap_deauth_all_stas() 332 struct ap_data *ap = (struct ap_data *) data; in ap_control_proc_read() local 461 int ap_control_kick_mac(struct ap_data *ap, struct net_device *dev, u8 *mac) in ap_control_kick_mac() 492 void ap_control_kickall(struct ap_data *ap) in ap_control_kickall() 519 struct ap_data *ap = (struct ap_data *) data; in prism2_ap_proc_read() local [all …]
|
/linux-3.3/drivers/net/ppp/ |
D | ppp_async.c | 138 struct asyncppp *ap; in ap_get() local 148 static void ap_put(struct asyncppp *ap) in ap_put() 161 struct asyncppp *ap; in ppp_asynctty_open() local 221 struct asyncppp *ap; in ppp_asynctty_close() local 291 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_ioctl() local 348 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_receive() local 365 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_wakeup() local 409 struct asyncppp *ap = chan->private; in ppp_async_ioctl() local 497 struct asyncppp *ap = (struct asyncppp *) arg; in ppp_async_process() local 524 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument [all …]
|
D | ppp_synctty.c | 188 struct syncppp *ap; in sp_get() local 198 static void sp_put(struct syncppp *ap) in sp_put() 210 struct syncppp *ap; in ppp_sync_open() local 268 struct syncppp *ap; in ppp_sync_close() local 332 struct syncppp *ap = sp_get(tty); in ppp_synctty_ioctl() local 389 struct syncppp *ap = sp_get(tty); in ppp_sync_receive() local 406 struct syncppp *ap = sp_get(tty); in ppp_sync_wakeup() local 450 struct syncppp *ap = chan->private; in ppp_sync_ioctl() local 537 struct syncppp *ap = (struct syncppp *) arg; in ppp_sync_process() local 561 ppp_sync_txmunge(struct syncppp *ap, struct sk_buff *skb) in ppp_sync_txmunge() [all …]
|
/linux-3.3/drivers/isdn/gigaset/ |
D | capi.c | 212 struct gigaset_capi_appl *ap; in get_appl() local 379 struct gigaset_capi_appl *ap = bcs->ap; in gigaset_skb_sent() local 424 struct gigaset_capi_appl *ap = bcs->ap; in gigaset_skb_rcvd() local 505 struct gigaset_capi_appl *ap; in gigaset_isdn_icall() local 683 struct gigaset_capi_appl *ap, u16 reason) in send_disconnect_ind() 712 struct gigaset_capi_appl *ap) in send_disconnect_b3_ind() 748 struct gigaset_capi_appl *ap; in gigaset_isdn_connD() local 811 struct gigaset_capi_appl *ap; in gigaset_isdn_hupD() local 843 struct gigaset_capi_appl *ap; in gigaset_isdn_connB() local 911 struct gigaset_capi_appl *ap = bcs->ap; in gigaset_isdn_hupB() local [all …]
|