Home
last modified time | relevance | path

Searched defs:ap (Results 1 – 25 of 132) sorted by relevance

123456

/drivers/ata/
Dlibata-sff.c103 struct ata_port *ap = qc->ap; in ata_fill_sg() local
153 struct ata_port *ap = qc->ap; in ata_fill_sg_dumb() local
244 u8 ata_sff_check_status(struct ata_port *ap) in ata_sff_check_status()
263 static u8 ata_sff_altstatus(struct ata_port *ap) in ata_sff_altstatus()
283 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status()
310 static void ata_sff_sync(struct ata_port *ap) in ata_sff_sync()
330 void ata_sff_pause(struct ata_port *ap) in ata_sff_pause()
345 void ata_sff_dma_pause(struct ata_port *ap) in ata_sff_dma_pause()
375 int ata_sff_busy_sleep(struct ata_port *ap, in ata_sff_busy_sleep()
457 void ata_sff_dev_select(struct ata_port *ap, unsigned int device) in ata_sff_dev_select()
[all …]
Dpata_amd.c43 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 …]
Dpata_octeon_cf.c42 struct ata_port *ap; member
92 static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_piomode()
174 static void octeon_cf_set_dmamode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_dmamode()
253 struct ata_port *ap = dev->link->ap; in octeon_cf_data_xfer8() local
292 struct ata_port *ap = dev->link->ap; in octeon_cf_data_xfer16() local
337 static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf) in octeon_cf_tf_read16()
381 static u8 octeon_cf_check_status16(struct ata_port *ap) in octeon_cf_check_status16()
393 struct ata_port *ap = link->ap; in octeon_cf_softreset16() local
421 static void octeon_cf_tf_load16(struct ata_port *ap, in octeon_cf_tf_load16()
459 static void octeon_cf_dev_select(struct ata_port *ap, unsigned int device) in octeon_cf_dev_select()
[all …]
Dpata_scc.c187 static void scc_set_piomode (struct ata_port *ap, struct ata_device *adev) in scc_set_piomode()
220 static void scc_set_dmamode (struct ata_port *ap, struct ata_device *adev) in scc_set_dmamode()
279 static void scc_tf_load (struct ata_port *ap, const struct ata_taskfile *tf) in scc_tf_load()
333 static u8 scc_check_status (struct ata_port *ap) in scc_check_status()
346 static void scc_tf_read (struct ata_port *ap, struct ata_taskfile *tf) in scc_tf_read()
378 static void scc_exec_command (struct ata_port *ap, in scc_exec_command()
392 static u8 scc_check_altstatus (struct ata_port *ap) in scc_check_altstatus()
405 static void scc_dev_select (struct ata_port *ap, unsigned int device) in scc_dev_select()
427 struct ata_port *ap = qc->ap; in scc_bmdma_setup() local
455 struct ata_port *ap = qc->ap; in scc_bmdma_start() local
[all …]
Dsata_promise.c313 static int pdc_common_port_start(struct ata_port *ap) in pdc_common_port_start()
336 static int pdc_sata_port_start(struct ata_port *ap) in pdc_sata_port_start()
357 static void pdc_reset_port(struct ata_port *ap) in pdc_reset_port()
379 static int pdc_pata_cable_detect(struct ata_port *ap) in pdc_pata_cable_detect()
390 static int pdc_sata_cable_detect(struct ata_port *ap) in pdc_sata_cable_detect()
415 struct ata_port *ap = qc->ap; in pdc_atapi_pkt() local
503 struct ata_port *ap = qc->ap; in pdc_fill_sg() local
610 static unsigned int pdc_sata_nr_ports(const struct ata_port *ap) in pdc_sata_nr_ports()
615 static unsigned int pdc_sata_ata_port_to_ata_no(const struct ata_port *ap) in pdc_sata_ata_port_to_ata_no()
627 static unsigned int pdc_sata_hotplug_offset(const struct ata_port *ap) in pdc_sata_hotplug_offset()
[all …]
Dlibata-acpi.c72 void ata_acpi_associate_sata_port(struct ata_port *ap) in ata_acpi_associate_sata_port()
95 static void ata_acpi_associate_ide_port(struct ata_port *ap) in ata_acpi_associate_ide_port()
118 static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev) in ata_acpi_detach_device()
151 static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev, in ata_acpi_handle_hotplug()
201 struct ata_port *ap = data; in ata_acpi_ap_notify_dock() local
206 static void ata_acpi_uevent(struct ata_port *ap, struct ata_device *dev, in ata_acpi_uevent()
271 struct ata_port *ap = host->ports[i]; in ata_acpi_associate() local
314 struct ata_port *ap = host->ports[i]; in ata_acpi_dissociate() local
335 int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *gtm) in ata_acpi_gtm()
394 int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm) in ata_acpi_stm()
[all …]
Dlibata-eh.c157 static void ata_eh_handle_port_suspend(struct ata_port *ap) in ata_eh_handle_port_suspend()
160 static void ata_eh_handle_port_resume(struct ata_port *ap) in ata_eh_handle_port_resume()
242 void ata_port_desc(struct ata_port *ap, const char *fmt, ...) in ata_port_desc()
273 void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, in ata_port_pbar_desc()
470 struct ata_port *ap = ata_shost_to_port(host); in ata_scsi_timed_out() local
498 static void ata_eh_unload(struct ata_port *ap) in ata_eh_unload()
537 struct ata_port *ap = ata_shost_to_port(host); in ata_scsi_error() local
730 void ata_port_wait_eh(struct ata_port *ap) in ata_port_wait_eh()
755 static int ata_eh_nr_in_flight(struct ata_port *ap) in ata_eh_nr_in_flight()
770 struct ata_port *ap = (void *)arg; in ata_eh_fastdrain_timerfn() local
[all …]
Dlibata-pmp.c38 struct ata_port *ap = link->ap; in sata_pmp_read() local
75 struct ata_port *ap = link->ap; in sata_pmp_write() local
110 struct ata_port *ap = link->ap; in sata_pmp_qc_defer_cmd_switch() local
233 struct ata_port *ap = dev->link->ap; in sata_pmp_configure() local
286 static int sata_pmp_init_links(struct ata_port *ap, int nr_ports) in sata_pmp_init_links()
315 static void sata_pmp_quirks(struct ata_port *ap) in sata_pmp_quirks()
398 struct ata_port *ap = link->ap; in sata_pmp_attach() local
478 struct ata_port *ap = link->ap; in sata_pmp_detach() local
569 struct ata_port *ap = link->ap; in sata_pmp_revalidate() local
669 static int sata_pmp_eh_recover_pmp(struct ata_port *ap, in sata_pmp_eh_recover_pmp()
[all …]
Dahci.c657 static inline void __iomem *ahci_port_base(struct ata_port *ap) in ahci_port_base()
826 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
867 static void ahci_start_engine(struct ata_port *ap) in ahci_start_engine()
879 static int ahci_stop_engine(struct ata_port *ap) in ahci_stop_engine()
903 static void ahci_start_fis_rx(struct ata_port *ap) in ahci_start_fis_rx()
930 static int ahci_stop_fis_rx(struct ata_port *ap) in ahci_stop_fis_rx()
949 static void ahci_power_up(struct ata_port *ap) in ahci_power_up()
967 static void ahci_disable_alpm(struct ata_port *ap) in ahci_disable_alpm()
1016 static int ahci_enable_alpm(struct ata_port *ap, in ahci_enable_alpm()
1092 static void ahci_power_down(struct ata_port *ap) in ahci_power_down()
[all …]
Dpata_optidma.c57 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
Dsata_nv.c583 static void nv_adma_register_mode(struct ata_port *ap) in nv_adma_register_mode()
622 static void nv_adma_mode(struct ata_port *ap) in nv_adma_mode()
654 struct ata_port *ap = ata_shost_to_port(sdev->host); in nv_adma_slave_config() local
768 static void nv_adma_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in nv_adma_tf_read()
814 static int nv_adma_check_cpb(struct ata_port *ap, int cpb_num, int force_err) in nv_adma_check_cpb()
877 static int nv_host_intr(struct ata_port *ap, u8 irq_stat) in nv_host_intr()
910 struct ata_port *ap = host->ports[i]; in nv_adma_interrupt() local
1030 static void nv_adma_freeze(struct ata_port *ap) in nv_adma_freeze()
1052 static void nv_adma_thaw(struct ata_port *ap) in nv_adma_thaw()
1070 static void nv_adma_irq_clear(struct ata_port *ap) in nv_adma_irq_clear()
[all …]
Dpata_artop.c45 struct ata_port *ap = link->ap; in artop6210_pre_reset() local
74 struct ata_port *ap = link->ap; in artop6260_pre_reset() local
91 static int artop6260_cable_detect(struct ata_port *ap) in artop6260_cable_detect()
115 static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6210_load_piomode()
142 static void artop6210_set_piomode(struct ata_port *ap, struct ata_device *adev) in artop6210_set_piomode()
169 static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6260_load_piomode()
196 static void artop6260_set_piomode(struct ata_port *ap, struct ata_device *adev) in artop6260_set_piomode()
220 static void artop6210_set_dmamode (struct ata_port *ap, struct ata_device *adev) in artop6210_set_dmamode()
260 static void artop6260_set_dmamode (struct ata_port *ap, struct ata_device *adev) in artop6260_set_dmamode()
Dlibata-scsi.c144 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_put() local
174 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_show() local
191 struct ata_port *ap; in ata_scsi_park_show() local
231 struct ata_port *ap; in ata_scsi_park_store() local
299 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_store() local
310 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_show() local
325 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_type_show() local
338 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_activity_show() local
351 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_activity_store() local
428 static int ata_get_identity(struct ata_port *ap, struct scsi_device *sdev, in ata_get_identity()
[all …]
Dpata_hpt3x2n.c104 static u32 hpt3x2n_find_mode(struct ata_port *ap, int speed) in hpt3x2n_find_mode()
124 static int hpt3x2n_cable_detect(struct ata_port *ap) in hpt3x2n_cable_detect()
153 struct ata_port *ap = link->ap; in hpt3x2n_pre_reset() local
170 static void hpt3x2n_set_piomode(struct ata_port *ap, struct ata_device *adev) in hpt3x2n_set_piomode()
203 static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev) in hpt3x2n_set_dmamode()
236 struct ata_port *ap = qc->ap; in hpt3x2n_bmdma_stop() local
264 static void hpt3x2n_set_clock(struct ata_port *ap, int source) in hpt3x2n_set_clock()
290 static int hpt3x2n_pair_idle(struct ata_port *ap) in hpt3x2n_pair_idle()
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_issue() local
Dlibata-core.c184 struct ata_link *ata_link_next(struct ata_link *link, struct ata_port *ap, in ata_link_next()
300 struct ata_port *ap = dev->link->ap; in ata_dev_phys_link() local
322 void ata_force_cbl(struct ata_port *ap) in ata_force_cbl()
1026 struct ata_port *ap = link->ap; in ata_dev_set_dipm() local
1123 struct ata_port *ap = dev->link->ap; in ata_dev_enable_pm() local
1155 struct ata_port *ap = dev->link->ap; in ata_dev_disable_pm() local
1163 void ata_lpm_schedule(struct ata_port *ap, enum link_pm policy) in ata_lpm_schedule()
1175 struct ata_port *ap; in ata_lpm_enable() local
1193 struct ata_port *ap = host->ports[i]; in ata_lpm_disable() local
1693 void ata_pio_queue_task(struct ata_port *ap, void *data, unsigned long delay) in ata_pio_queue_task()
[all …]
Dpdc_adma.c56 #define ADMA_PORT_REGS(ap) \ argument
193 static void adma_reset_engine(struct ata_port *ap) in adma_reset_engine()
204 static void adma_reinit_engine(struct ata_port *ap) in adma_reinit_engine()
232 static inline void adma_enter_reg_mode(struct ata_port *ap) in adma_enter_reg_mode()
240 static void adma_freeze(struct ata_port *ap) in adma_freeze()
255 static void adma_thaw(struct ata_port *ap) in adma_thaw()
262 struct ata_port *ap = link->ap; in adma_prereset() local
275 struct ata_port *ap = qc->ap; in adma_fill_sg() local
396 struct ata_port *ap = qc->ap; in adma_packet_start() local
432 struct ata_port *ap = host->ports[port_no]; in adma_intr_pkt() local
[all …]
Dpata_ns87415.c53 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()
Dpata_acpi.c39 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()
Dsata_qstor.c197 static u8 qs_bmdma_status(struct ata_port *ap) in qs_bmdma_status()
202 static inline void qs_enter_reg_mode(struct ata_port *ap) in qs_enter_reg_mode()
212 static inline void qs_reset_channel_logic(struct ata_port *ap) in qs_reset_channel_logic()
221 static void qs_freeze(struct ata_port *ap) in qs_freeze()
229 static void qs_thaw(struct ata_port *ap) in qs_thaw()
239 struct ata_port *ap = link->ap; in qs_prereset() local
253 static void qs_error_handler(struct ata_port *ap) in qs_error_handler()
270 struct ata_port *ap = qc->ap; in qs_fill_sg() local
335 struct ata_port *ap = qc->ap; in qs_packet_start() local
375 struct ata_port *ap = qc->ap; in qs_do_or_die() local
[all …]
Dpata_it821x.c126 static void it821x_program(struct ata_port *ap, struct ata_device *adev, u16 timing) in it821x_program()
154 static void it821x_program_udma(struct ata_port *ap, struct ata_device *adev, u16 timing) in it821x_program_udma()
185 static void it821x_clock_strategy(struct ata_port *ap, struct ata_device *adev) in it821x_clock_strategy()
255 static void it821x_passthru_set_piomode(struct ata_port *ap, struct ata_device *adev) in it821x_passthru_set_piomode()
285 static void it821x_passthru_set_dmamode(struct ata_port *ap, struct ata_device *adev) in it821x_passthru_set_dmamode()
347 struct ata_port *ap = qc->ap; in it821x_passthru_bmdma_start() local
370 struct ata_port *ap = qc->ap; in it821x_passthru_bmdma_stop() local
389 static void it821x_passthru_dev_select(struct ata_port *ap, in it821x_passthru_dev_select()
577 struct ata_port *ap = qc->ap; in it821x_check_atapi_dma() local
656 static u8 *it821x_firmware_command(struct ata_port *ap, u8 cmd, int len) in it821x_firmware_command()
[all …]
Dpata_sis.c100 static int sis_133_cable_detect(struct ata_port *ap) in sis_133_cable_detect()
120 static int sis_66_cable_detect(struct ata_port *ap) in sis_66_cable_detect()
149 struct ata_port *ap = link->ap; in sis_pre_reset() local
172 static void sis_set_fifo(struct ata_port *ap, struct ata_device *adev) in sis_set_fifo()
204 static void sis_old_set_piomode (struct ata_port *ap, struct ata_device *adev) in sis_old_set_piomode()
241 static void sis_100_set_piomode (struct ata_port *ap, struct ata_device *adev) in sis_100_set_piomode()
266 static void sis_133_set_piomode (struct ata_port *ap, struct ata_device *adev) in sis_133_set_piomode()
320 static void sis_old_set_dmamode (struct ata_port *ap, struct ata_device *adev) in sis_old_set_dmamode()
359 static void sis_66_set_dmamode (struct ata_port *ap, struct ata_device *adev) in sis_66_set_dmamode()
398 static void sis_100_set_dmamode (struct ata_port *ap, struct ata_device *adev) in sis_100_set_dmamode()
[all …]
/drivers/net/
Dacenic.c94 #define ACE_IS_TIGON_I(ap) 0 argument
95 #define ACE_TX_RING_ENTRIES(ap) MAX_TX_RING_ENTRIES argument
97 #define ACE_IS_TIGON_I(ap) (ap->version == 1) argument
98 #define ACE_TX_RING_ENTRIES(ap) ap->tx_ring_entries argument
475 struct ace_private *ap; in acenic_probe_one() local
628 struct ace_private *ap = netdev_priv(dev); in acenic_remove_one() local
739 struct ace_private *ap = netdev_priv(dev); in ace_free_descriptors() local
789 struct ace_private *ap = netdev_priv(dev); in ace_allocate_descriptors() local
858 struct ace_private *ap; in ace_init_cleanup() local
895 struct ace_private *ap; in ace_init() local
[all …]
Dppp_async.c135 struct asyncppp *ap; in ap_get() local
145 static void ap_put(struct asyncppp *ap) in ap_put()
158 struct asyncppp *ap; in ppp_asynctty_open() local
215 struct asyncppp *ap; in ppp_asynctty_close() local
287 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_ioctl() local
347 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_receive() local
364 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_wakeup() local
408 struct asyncppp *ap = chan->private; in ppp_async_ioctl() local
496 struct asyncppp *ap = (struct asyncppp *) arg; in ppp_async_process() local
523 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument
[all …]
Dppp_synctty.c185 struct syncppp *ap; in sp_get() local
195 static void sp_put(struct syncppp *ap) in sp_put()
207 struct syncppp *ap; in ppp_sync_open() local
262 struct syncppp *ap; in ppp_sync_close() local
327 struct syncppp *ap = sp_get(tty); in ppp_synctty_ioctl() local
387 struct syncppp *ap = sp_get(tty); in ppp_sync_receive() local
404 struct syncppp *ap = sp_get(tty); in ppp_sync_wakeup() local
448 struct syncppp *ap = chan->private; in ppp_sync_ioctl() local
535 struct syncppp *ap = (struct syncppp *) arg; in ppp_sync_process() local
559 ppp_sync_txmunge(struct syncppp *ap, struct sk_buff *skb) in ppp_sync_txmunge()
[all …]
/drivers/net/wireless/hostap/
Dhostap_ap.c67 struct ap_data *ap = (struct ap_data *) data; in ap_debug_proc_read() local
88 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add()
94 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del()
115 static void ap_free_sta(struct ap_data *ap, struct sta_info *sta) in ap_free_sta()
182 struct ap_data *ap; in ap_handle_timer() local
295 void hostap_deauth_all_stas(struct net_device *dev, struct ap_data *ap, in hostap_deauth_all_stas()
328 struct ap_data *ap = (struct ap_data *) data; in ap_control_proc_read() local
457 int ap_control_kick_mac(struct ap_data *ap, struct net_device *dev, u8 *mac) in ap_control_kick_mac()
488 void ap_control_kickall(struct ap_data *ap) in ap_control_kickall()
515 struct ap_data *ap = (struct ap_data *) data; in prism2_ap_proc_read() local
[all …]

123456