Home
last modified time | relevance | path

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

12345678910>>...28

/kernel/linux/linux-5.10/drivers/ata/
Dlibata-sff.c64 u8 ata_sff_check_status(struct ata_port *ap) in ata_sff_check_status()
83 static u8 ata_sff_altstatus(struct ata_port *ap) in ata_sff_altstatus()
103 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status()
130 static void ata_sff_sync(struct ata_port *ap) in ata_sff_sync()
150 void ata_sff_pause(struct ata_port *ap) in ata_sff_pause()
165 void ata_sff_dma_pause(struct ata_port *ap) in ata_sff_dma_pause()
195 int ata_sff_busy_sleep(struct ata_port *ap, in ata_sff_busy_sleep()
276 static void ata_sff_set_devctl(struct ata_port *ap, u8 ctl) in ata_sff_set_devctl()
298 void ata_sff_dev_select(struct ata_port *ap, unsigned int device) in ata_sff_dev_select()
330 static void ata_dev_select(struct ata_port *ap, unsigned int device, in ata_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_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 …]
Dlibata-sata.c41 struct ata_port *ap = link->ap; in sata_scr_valid() local
638 int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active) in ata_qc_complete_multiple()
723 int ata_slave_link_init(struct ata_port *ap) in ata_slave_link_init()
786 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_store() local
825 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_show() local
842 struct ata_port *ap; in ata_ncq_prio_enable_show() local
869 struct ata_port *ap; in ata_ncq_prio_enable_store() local
926 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_store() local
937 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_show() local
952 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_type_show() local
[all …]
Dlibahci.c221 static int ahci_rpm_get_port(struct ata_port *ap) in ahci_rpm_get_port()
233 static void ahci_rpm_put_port(struct ata_port *ap) in ahci_rpm_put_port()
242 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps() local
252 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2() local
262 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version() local
272 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd() local
287 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer() local
347 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer() local
390 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported() local
581 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
[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-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()
405 struct ata_port *ap = dev->link->ap; in ata_dev_get_GTF() local
[all …]
Dlibata-eh.c150 static void ata_eh_handle_port_suspend(struct ata_port *ap) in ata_eh_handle_port_suspend()
153 static void ata_eh_handle_port_resume(struct ata_port *ap) in ata_eh_handle_port_resume()
238 void ata_port_desc(struct ata_port *ap, const char *fmt, ...) in ata_port_desc()
269 void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, in ata_port_pbar_desc()
461 void ata_eh_acquire(struct ata_port *ap) in ata_eh_acquire()
478 void ata_eh_release(struct ata_port *ap) in ata_eh_release()
485 static void ata_eh_unload(struct ata_port *ap) in ata_eh_unload()
524 struct ata_port *ap = ata_shost_to_port(host); in ata_scsi_error() local
556 void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap, in ata_scsi_cmd_error_handler()
649 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
129 static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_piomode()
214 static void octeon_cf_set_dmamode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_dmamode()
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
382 static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf) in octeon_cf_tf_read16()
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()
504 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()
320 struct ata_port *ap = link->ap; in optidma_set_mode() local
/kernel/linux/linux-4.19/drivers/ata/
Dlibata-sff.c84 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 …]
Dpata_amd.c42 static void timing_setup(struct ata_port *ap, struct ata_device *adev, int offset, int speed, int c… in timing_setup()
138 struct ata_port *ap = link->ap; in amd_pre_reset() local
154 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 …]
Dpata_atp867x.c83 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) argument
84 #define ATP867X_SYS_INFO(ap) (0x3F + ATP867X_IOBASE(ap)) argument
86 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument
88 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument
91 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument
93 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument
99 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument
101 #define ATP867X_IO_SLAVPIOSPD(ap, port) (0x09 + \ argument
103 #define ATP867X_IO_8BPIOSPD(ap, port) (0x0A + \ argument
105 #define ATP867X_IO_DMAMODE(ap, port) (0x0B + \ argument
[all …]
Dlibahci.c237 static int ahci_rpm_get_port(struct ata_port *ap) in ahci_rpm_get_port()
249 static void ahci_rpm_put_port(struct ata_port *ap) in ahci_rpm_put_port()
258 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps() local
268 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2() local
278 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version() local
288 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd() local
303 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer() local
363 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer() local
406 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported() local
592 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
[all …]
Dsata_promise.c331 static int pdc_common_port_start(struct ata_port *ap) in pdc_common_port_start()
355 static int pdc_sata_port_start(struct ata_port *ap) in pdc_sata_port_start()
376 static void pdc_fpdma_clear_interrupt_flag(struct ata_port *ap) in pdc_fpdma_clear_interrupt_flag()
391 static void pdc_fpdma_reset(struct ata_port *ap) in pdc_fpdma_reset()
409 static void pdc_not_at_command_packet_phase(struct ata_port *ap) in pdc_not_at_command_packet_phase()
425 static void pdc_clear_internal_debug_record_error_register(struct ata_port *ap) in pdc_clear_internal_debug_record_error_register()
433 static void pdc_reset_port(struct ata_port *ap) in pdc_reset_port()
467 static int pdc_pata_cable_detect(struct ata_port *ap) in pdc_pata_cable_detect()
478 static int pdc_sata_cable_detect(struct ata_port *ap) in pdc_sata_cable_detect()
503 struct ata_port *ap = qc->ap; in pdc_atapi_pkt() local
[all …]
Dlibata-acpi.c44 struct ata_port *ap; member
66 static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev) in ata_acpi_detach_device()
99 static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev, in ata_acpi_handle_hotplug()
147 static void ata_acpi_uevent(struct ata_port *ap, struct ata_device *dev, in ata_acpi_uevent()
178 void ata_acpi_bind_port(struct ata_port *ap) in ata_acpi_bind_port()
207 struct ata_port *ap = dev->link->ap; in ata_acpi_bind_dev() local
265 struct ata_port *ap = host->ports[i]; in ata_acpi_dissociate() local
286 int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *gtm) in ata_acpi_gtm()
346 int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm) in ata_acpi_stm()
404 struct ata_port *ap = dev->link->ap; in ata_dev_get_GTF() local
[all …]
Dlibata-eh.c171 static void ata_eh_handle_port_suspend(struct ata_port *ap) in ata_eh_handle_port_suspend()
174 static void ata_eh_handle_port_resume(struct ata_port *ap) in ata_eh_handle_port_resume()
256 void ata_port_desc(struct ata_port *ap, const char *fmt, ...) in ata_port_desc()
287 void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, in ata_port_pbar_desc()
479 void ata_eh_acquire(struct ata_port *ap) in ata_eh_acquire()
496 void ata_eh_release(struct ata_port *ap) in ata_eh_release()
503 static void ata_eh_unload(struct ata_port *ap) in ata_eh_unload()
542 struct ata_port *ap = ata_shost_to_port(host); in ata_scsi_error() local
574 void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap, in ata_scsi_cmd_error_handler()
667 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
129 static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_piomode()
214 static void octeon_cf_set_dmamode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_dmamode()
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
382 static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf) in octeon_cf_tf_read16()
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()
504 static void octeon_cf_dev_select(struct ata_port *ap, unsigned int device) in octeon_cf_dev_select()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-4.19/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
/kernel/liteos_a/kernel/common/
Dlos_printf.c137 VOID OsVprintf(const CHAR *fmt, va_list ap, OutputType type) in OsVprintf()
188 VOID UartVprintf(const CHAR *fmt, va_list ap) in UartVprintf()
195 va_list ap; in UartPrintf() local
203 va_list ap; in dprintf() local
214 VOID LkDprintf(const CHAR *fmt, va_list ap) in LkDprintf()
225 VOID DmesgPrintf(const CHAR *fmt, va_list ap) in DmesgPrintf()
234 va_list ap; in printf() local
244 va_list ap; in syslog() local
253 va_list ap; in ExcPrintf() local
262 va_list ap; in PrintExcInfo() local
[all …]
/kernel/linux/linux-5.10/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
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
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/alteon/
Dacenic.c91 #define ACE_IS_TIGON_I(ap) 0 argument
92 #define ACE_TX_RING_ENTRIES(ap) MAX_TX_RING_ENTRIES argument
94 #define ACE_IS_TIGON_I(ap) (ap->version == 1) argument
95 #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
711 struct ace_private *ap = netdev_priv(dev); in ace_free_descriptors() local
761 struct ace_private *ap = netdev_priv(dev); in ace_allocate_descriptors() local
830 struct ace_private *ap; in ace_init_cleanup() local
867 struct ace_private *ap; in ace_init() local
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]

12345678910>>...28