Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v6.1/drivers/ata/
Dlibata-sff.c64 u8 ata_sff_check_status(struct ata_port *ap) in ata_sff_check_status()
84 static bool ata_sff_altstatus(struct ata_port *ap, u8 *status) in ata_sff_altstatus()
116 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status()
140 static void ata_sff_sync(struct ata_port *ap) in ata_sff_sync()
157 void ata_sff_pause(struct ata_port *ap) in ata_sff_pause()
172 void ata_sff_dma_pause(struct ata_port *ap) in ata_sff_dma_pause()
202 int ata_sff_busy_sleep(struct ata_port *ap, in ata_sff_busy_sleep()
283 static bool ata_sff_set_devctl(struct ata_port *ap, u8 ctl) in ata_sff_set_devctl()
311 void ata_sff_dev_select(struct ata_port *ap, unsigned int device) in ata_sff_dev_select()
343 static void ata_dev_select(struct ata_port *ap, unsigned int device, in ata_dev_select()
[all …]
Dpata_atp867x.c69 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) argument
70 #define ATP867X_SYS_INFO(ap) (0x3F + ATP867X_IOBASE(ap)) argument
72 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument
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
[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()
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()
[all …]
Dlibahci.c241 static int ahci_rpm_get_port(struct ata_port *ap) in ahci_rpm_get_port()
253 static void ahci_rpm_put_port(struct ata_port *ap) in ahci_rpm_put_port()
262 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps() local
272 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2() local
282 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version() local
292 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd() local
307 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer() local
367 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer() local
410 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported() local
637 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
[all …]
Dlibata-sata.c41 struct ata_port *ap = link->ap; in sata_scr_valid() local
635 int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active) in ata_qc_complete_multiple()
720 int ata_slave_link_init(struct ata_port *ap) in ata_slave_link_init()
783 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_store() local
822 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_show() local
839 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_ncq_prio_supported_show() local
863 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_ncq_prio_enable_show() local
884 struct ata_port *ap; in ata_ncq_prio_enable_store() local
944 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_store() local
955 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_show() local
[all …]
Dsata_promise.c314 static int pdc_common_port_start(struct ata_port *ap) in pdc_common_port_start()
338 static int pdc_sata_port_start(struct ata_port *ap) in pdc_sata_port_start()
359 static void pdc_fpdma_clear_interrupt_flag(struct ata_port *ap) in pdc_fpdma_clear_interrupt_flag()
374 static void pdc_fpdma_reset(struct ata_port *ap) in pdc_fpdma_reset()
392 static void pdc_not_at_command_packet_phase(struct ata_port *ap) in pdc_not_at_command_packet_phase()
408 static void pdc_clear_internal_debug_record_error_register(struct ata_port *ap) in pdc_clear_internal_debug_record_error_register()
416 static void pdc_reset_port(struct ata_port *ap) in pdc_reset_port()
450 static int pdc_pata_cable_detect(struct ata_port *ap) in pdc_pata_cable_detect()
481 struct ata_port *ap = qc->ap; in pdc_atapi_pkt() local
569 struct ata_port *ap = qc->ap; in pdc_fill_sg() local
[all …]
Dlibata-eh.c160 static void ata_eh_handle_port_suspend(struct ata_port *ap) in ata_eh_handle_port_suspend()
163 static void ata_eh_handle_port_resume(struct ata_port *ap) in ata_eh_handle_port_resume()
248 void ata_port_desc(struct ata_port *ap, const char *fmt, ...) in ata_port_desc()
279 void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, in ata_port_pbar_desc()
471 void ata_eh_acquire(struct ata_port *ap) in ata_eh_acquire()
488 void ata_eh_release(struct ata_port *ap) in ata_eh_release()
495 static void ata_eh_unload(struct ata_port *ap) in ata_eh_unload()
534 struct ata_port *ap = ata_shost_to_port(host); in ata_scsi_error() local
563 void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap, in ata_scsi_cmd_error_handler()
656 void ata_scsi_port_error_handler(struct Scsi_Host *host, struct ata_port *ap) in ata_scsi_port_error_handler()
[all …]
Dpata_octeon_cf.c52 struct ata_port *ap; member
125 static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_piomode()
210 static void octeon_cf_set_dmamode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_dmamode()
294 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer8() local
333 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer16() local
378 static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf) in octeon_cf_tf_read16()
422 static u8 octeon_cf_check_status16(struct ata_port *ap) in octeon_cf_check_status16()
434 struct ata_port *ap = link->ap; in octeon_cf_softreset16() local
460 static void octeon_cf_tf_load16(struct ata_port *ap, in octeon_cf_tf_load16()
486 static void octeon_cf_dev_select(struct ata_port *ap, unsigned int device) in octeon_cf_dev_select()
[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()
321 struct ata_port *ap = link->ap; in optidma_set_mode() local
Dlibata-acpi.c45 struct ata_port *ap; member
67 static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev) in ata_acpi_detach_device()
100 static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev, in ata_acpi_handle_hotplug()
148 static void ata_acpi_uevent(struct ata_port *ap, struct ata_device *dev, in ata_acpi_uevent()
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()
347 int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm) in ata_acpi_stm()
523 int ata_acpi_cbl_80wire(struct ata_port *ap, const struct ata_acpi_gtm *gtm) in ata_acpi_cbl_80wire()
[all …]
Dsata_rcar.c218 static void sata_rcar_freeze(struct ata_port *ap) in sata_rcar_freeze()
228 static void sata_rcar_thaw(struct ata_port *ap) in sata_rcar_thaw()
261 static u8 sata_rcar_check_status(struct ata_port *ap) in sata_rcar_check_status()
266 static u8 sata_rcar_check_altstatus(struct ata_port *ap) in sata_rcar_check_altstatus()
271 static void sata_rcar_set_devctl(struct ata_port *ap, u8 ctl) in sata_rcar_set_devctl()
276 static void sata_rcar_dev_select(struct ata_port *ap, unsigned int device) in sata_rcar_dev_select()
282 static bool sata_rcar_ata_devchk(struct ata_port *ap, unsigned int device) in sata_rcar_ata_devchk()
310 struct ata_port *ap = link->ap; in sata_rcar_wait_after_reset() local
317 static int sata_rcar_bus_softreset(struct ata_port *ap, unsigned long deadline) in sata_rcar_bus_softreset()
336 struct ata_port *ap = link->ap; in sata_rcar_softreset() local
[all …]
Dlibata-core.c187 struct ata_link *ata_link_next(struct ata_link *link, struct ata_port *ap, in ata_link_next()
305 struct ata_port *ap = dev->link->ap; in ata_dev_phys_link() local
328 void ata_force_cbl(struct ata_port *ap) in ata_force_cbl()
1476 struct ata_port *ap = link->ap; in ata_exec_internal_sg() local
1763 struct ata_port *ap = dev->link->ap; in ata_dev_read_id() local
2015 struct ata_port *ap = dev->link->ap; in ata_log_supported() local
2027 struct ata_port *ap = dev->link->ap; in ata_identify_page_supported() local
2098 struct ata_port *ap = dev->link->ap; in ata_dev_knobble() local
2108 struct ata_port *ap = dev->link->ap; in ata_dev_config_ncq_send_recv() local
2133 struct ata_port *ap = dev->link->ap; in ata_dev_config_ncq_non_data() local
[all …]
Dpata_pdc202xx_old.c27 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()
45 static bool pdc202xx_irq_check(struct ata_port *ap) in pdc202xx_irq_check()
77 static void pdc202xx_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) in pdc202xx_configure_piomode()
110 static void pdc202xx_set_piomode(struct ata_port *ap, struct ata_device *adev) in pdc202xx_set_piomode()
124 static void pdc202xx_set_dmamode(struct ata_port *ap, struct ata_device *adev) in pdc202xx_set_dmamode()
177 struct ata_port *ap = qc->ap; in pdc2026x_bmdma_start() local
227 struct ata_port *ap = qc->ap; in pdc2026x_bmdma_stop() local
263 static int pdc2026x_port_start(struct ata_port *ap) in pdc2026x_port_start()
Dlibata-pmp.c40 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
336 static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) in sata_pmp_init_links()
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
747 static int sata_pmp_eh_recover_pmp(struct ata_port *ap, in sata_pmp_eh_recover_pmp()
[all …]
Dpata_hpt3x2n.c95 static u32 hpt3x2n_find_mode(struct ata_port *ap, int speed) in hpt3x2n_find_mode()
131 static int hpt3x2n_cable_detect(struct ata_port *ap) in hpt3x2n_cable_detect()
163 struct ata_port *ap = link->ap; in hpt3x2n_pre_reset() local
186 static void hpt3x2n_set_mode(struct ata_port *ap, struct ata_device *adev, in hpt3x2n_set_mode()
216 static void hpt3x2n_set_piomode(struct ata_port *ap, struct ata_device *adev) in hpt3x2n_set_piomode()
229 static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev) in hpt3x2n_set_dmamode()
243 struct ata_port *ap = qc->ap; in hpt3x2n_bmdma_stop() local
271 static void hpt3x2n_set_clock(struct ata_port *ap, int source) in hpt3x2n_set_clock()
295 static int hpt3x2n_use_dpll(struct ata_port *ap, int writing) in hpt3x2n_use_dpll()
309 struct ata_port *ap = qc->ap; in hpt3x2n_qc_defer() 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()
579 struct ata_port *ap = qc->ap; in it821x_check_atapi_dma() local
606 static void it821x_display_disk(struct ata_port *ap, int n, u8 *buf) in it821x_display_disk()
[all …]
Dpdc_adma.c40 #define ADMA_PORT_REGS(ap) \ argument
177 static void adma_reset_engine(struct ata_port *ap) in adma_reset_engine()
188 static void adma_reinit_engine(struct ata_port *ap) in adma_reinit_engine()
216 static inline void adma_enter_reg_mode(struct ata_port *ap) in adma_enter_reg_mode()
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
358 struct ata_port *ap = qc->ap; in adma_packet_start() local
392 struct ata_port *ap = host->ports[port_no]; in adma_intr_pkt() local
[all …]
Dsata_nv.c596 static void nv_adma_register_mode(struct ata_port *ap) in nv_adma_register_mode()
634 static void nv_adma_mode(struct ata_port *ap) in nv_adma_mode()
666 struct ata_port *ap = ata_shost_to_port(sdev->host); in nv_adma_slave_config() local
761 static void nv_adma_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in nv_adma_tf_read()
807 static int nv_adma_check_cpb(struct ata_port *ap, int cpb_num, int force_err) in nv_adma_check_cpb()
852 static int nv_host_intr(struct ata_port *ap, u8 irq_stat) in nv_host_intr()
885 struct ata_port *ap = host->ports[i]; in nv_adma_interrupt() local
1012 static void nv_adma_freeze(struct ata_port *ap) in nv_adma_freeze()
1034 static void nv_adma_thaw(struct ata_port *ap) in nv_adma_thaw()
1052 static void nv_adma_irq_clear(struct ata_port *ap) in nv_adma_irq_clear()
[all …]
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()
/Linux-v6.1/drivers/net/ethernet/alteon/
Dacenic.c87 #define ACE_IS_TIGON_I(ap) 0 argument
88 #define ACE_TX_RING_ENTRIES(ap) MAX_TX_RING_ENTRIES argument
90 #define ACE_IS_TIGON_I(ap) (ap->version == 1) argument
91 #define ACE_TX_RING_ENTRIES(ap) ap->tx_ring_entries argument
458 struct ace_private *ap; in acenic_probe_one() local
609 struct ace_private *ap = netdev_priv(dev); in acenic_remove_one() local
705 struct ace_private *ap = netdev_priv(dev); in ace_free_descriptors() local
754 struct ace_private *ap = netdev_priv(dev); in ace_allocate_descriptors() local
824 struct ace_private *ap; in ace_init_cleanup() local
861 struct ace_private *ap; in ace_init() local
[all …]
/Linux-v6.1/tools/lib/traceevent/
Dparse-utils.c14 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-v6.1/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c72 struct ap_data *ap = pde_data(file_inode(m->file)); in ap_debug_proc_show() local
86 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add()
92 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del()
112 static void ap_free_sta(struct ap_data *ap, struct sta_info *sta) in ap_free_sta()
179 struct ap_data *ap; in ap_handle_timer() local
292 void hostap_deauth_all_stas(struct net_device *dev, struct ap_data *ap, in hostap_deauth_all_stas()
323 struct ap_data *ap = pde_data(file_inode(m->file)); in ap_control_proc_show() local
355 struct ap_data *ap = pde_data(file_inode(m->file)); in ap_control_proc_start() local
362 struct ap_data *ap = pde_data(file_inode(m->file)); in ap_control_proc_next() local
368 struct ap_data *ap = pde_data(file_inode(m->file)); in ap_control_proc_stop() local
[all …]
/Linux-v6.1/drivers/net/ppp/
Dppp_synctty.c136 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
279 struct syncppp *ap = sp_get(tty); in ppp_synctty_ioctl() local
336 struct syncppp *ap = sp_get(tty); in ppp_sync_receive() local
353 struct syncppp *ap = sp_get(tty); in ppp_sync_wakeup() local
397 struct syncppp *ap = chan->private; in ppp_sync_ioctl() local
484 struct syncppp *ap = from_tasklet(ap, t, tsk); in ppp_sync_process() local
508 ppp_sync_txmunge(struct syncppp *ap, struct sk_buff *skb) in ppp_sync_txmunge()
[all …]
Dppp_async.c134 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
286 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_ioctl() local
343 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_receive() local
360 struct asyncppp *ap = ap_get(tty); in ppp_asynctty_wakeup() local
404 struct asyncppp *ap = chan->private; in ppp_async_ioctl() local
492 struct asyncppp *ap = from_tasklet(ap, t, tsk); in ppp_async_process() local
519 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument
[all …]
/Linux-v6.1/drivers/scsi/libsas/
Dsas_ata.c83 struct ata_port *ap; in sas_ata_task_done() local
162 struct ata_port *ap = qc->ap; in sas_ata_qc_issue() local
293 struct ata_port *ap = link->ap; in smp_ata_check_ready() local
324 struct ata_port *ap = link->ap; in local_ata_check_ready() local
342 struct ata_port *ap = ddev->sata_dev.ap; in sas_ata_printk() local
365 struct ata_port *ap = sata_dev->ap; in sas_ata_wait_after_reset() local
388 struct ata_port *ap = link->ap; in sas_ata_hard_reset() local
478 static void sas_ata_set_dmamode(struct ata_port *ap, struct ata_device *ata_dev) in sas_ata_set_dmamode()
487 static void sas_ata_sched_eh(struct ata_port *ap) in sas_ata_sched_eh()
500 void sas_ata_end_eh(struct ata_port *ap) in sas_ata_end_eh()
[all …]

12345678910>>...15