Home
last modified time | relevance | path

Searched full:ap (Results 1 – 25 of 1268) sorted by relevance

12345678910>>...51

/Linux-v6.1/drivers/net/ppp/
Dppp_async.c96 static int ppp_async_encode(struct asyncppp *ap);
98 static int ppp_async_push(struct asyncppp *ap);
99 static void ppp_async_flush_output(struct asyncppp *ap);
100 static void ppp_async_input(struct asyncppp *ap, const unsigned char *buf,
106 static void async_lcp_peek(struct asyncppp *ap, unsigned char *data,
134 struct asyncppp *ap; in ap_get() local
137 ap = tty->disc_data; in ap_get()
138 if (ap != NULL) in ap_get()
139 refcount_inc(&ap->refcnt); in ap_get()
141 return ap; in ap_get()
[all …]
Dppp_synctty.c89 static struct sk_buff* ppp_sync_txmunge(struct syncppp *ap, struct sk_buff *);
94 static int ppp_sync_push(struct syncppp *ap);
95 static void ppp_sync_flush_output(struct syncppp *ap);
96 static void ppp_sync_input(struct syncppp *ap, const unsigned char *buf,
136 struct syncppp *ap; in sp_get() local
139 ap = tty->disc_data; in sp_get()
140 if (ap != NULL) in sp_get()
141 refcount_inc(&ap->refcnt); in sp_get()
143 return ap; in sp_get()
146 static void sp_put(struct syncppp *ap) in sp_put() argument
[all …]
/Linux-v6.1/drivers/ata/
Dlibata-sff.c55 * @ap: port where the device is
64 u8 ata_sff_check_status(struct ata_port *ap) in ata_sff_check_status() argument
66 return ioread8(ap->ioaddr.status_addr); in ata_sff_check_status()
72 * @ap: port where the device is
84 static bool ata_sff_altstatus(struct ata_port *ap, u8 *status) in ata_sff_altstatus() argument
88 if (ap->ops->sff_check_altstatus) { in ata_sff_altstatus()
89 tmp = ap->ops->sff_check_altstatus(ap); in ata_sff_altstatus()
92 if (ap->ioaddr.altstatus_addr) { in ata_sff_altstatus()
93 tmp = ioread8(ap->ioaddr.altstatus_addr); in ata_sff_altstatus()
106 * @ap: port where the device is
[all …]
Dpata_samsung_cf.c103 static void pata_s3c_set_piomode(struct ata_port *ap, struct ata_device *adev) in pata_s3c_set_piomode() argument
105 struct s3c_ide_info *info = ap->host->private_data; in pata_s3c_set_piomode()
175 static void pata_s3c_tf_load(struct ata_port *ap, in pata_s3c_tf_load() argument
178 struct ata_ioports *ioaddr = &ap->ioaddr; in pata_s3c_tf_load()
181 if (tf->ctl != ap->last_ctl) { in pata_s3c_tf_load()
182 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); in pata_s3c_tf_load()
183 ap->last_ctl = tf->ctl; in pata_s3c_tf_load()
184 ata_wait_idle(ap); in pata_s3c_tf_load()
188 ata_outb(ap->host, tf->hob_feature, ioaddr->feature_addr); in pata_s3c_tf_load()
189 ata_outb(ap->host, tf->hob_nsect, ioaddr->nsect_addr); in pata_s3c_tf_load()
[all …]
Dlibahci.c48 static ssize_t ahci_led_show(struct ata_port *ap, char *buf);
49 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf,
51 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state,
59 static int ahci_port_start(struct ata_port *ap);
60 static void ahci_port_stop(struct ata_port *ap);
63 static void ahci_freeze(struct ata_port *ap);
64 static void ahci_thaw(struct ata_port *ap);
65 static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep);
66 static void ahci_enable_fbs(struct ata_port *ap);
67 static void ahci_disable_fbs(struct ata_port *ap);
[all …]
Dpata_atp867x.c30 * Note that all runtime hot priv ports are cached in ap private_data
69 #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
75 ATP867X_IO_PORTBASE((ap), (port)))
77 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument
78 ATP867X_IO_PORTBASE((ap), (port)))
79 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument
80 ATP867X_IO_PORTBASE((ap), (port)))
[all …]
Dsata_nv.c295 static void nv_nf2_freeze(struct ata_port *ap);
296 static void nv_nf2_thaw(struct ata_port *ap);
297 static void nv_ck804_freeze(struct ata_port *ap);
298 static void nv_ck804_thaw(struct ata_port *ap);
304 static void nv_adma_irq_clear(struct ata_port *ap);
305 static int nv_adma_port_start(struct ata_port *ap);
306 static void nv_adma_port_stop(struct ata_port *ap);
308 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg);
309 static int nv_adma_port_resume(struct ata_port *ap);
311 static void nv_adma_freeze(struct ata_port *ap);
[all …]
Dsata_dwc_460ex.c161 #define HSDEV_FROM_AP(ap) ((struct sata_dwc_device *)(ap)->host->private_data) argument
162 #define HSDEVP_FROM_AP(ap) ((struct sata_dwc_device_port *)(ap)->private_data) argument
163 #define HSDEV_FROM_QC(qc) ((struct sata_dwc_device *)(qc)->ap->host->private_data)
181 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc);
182 static void sata_dwc_dma_xfer_complete(struct ata_port *ap);
298 struct ata_port *ap; in dma_dwc_xfer_done() local
304 ap = host->ports[port]; in dma_dwc_xfer_done()
305 hsdevp = HSDEVP_FROM_AP(ap); in dma_dwc_xfer_done()
306 tag = ap->link.active_tag; in dma_dwc_xfer_done()
317 dev_err(ap->dev, "DMA not pending tag=0x%02x pending=%d\n", in dma_dwc_xfer_done()
[all …]
Dsata_promise.c49 /* per-port ATA register offsets (from ap->ioaddr.cmd_addr) */
62 /* per-port SATA register offsets (from ap->ioaddr.scr_addr) */
122 /* ap->flags bits */
140 static int pdc_common_port_start(struct ata_port *ap);
141 static int pdc_sata_port_start(struct ata_port *ap);
143 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
144 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
147 static void pdc_irq_clear(struct ata_port *ap);
149 static void pdc_freeze(struct ata_port *ap);
150 static void pdc_sata_freeze(struct ata_port *ap);
[all …]
Dlibata-sata.c41 struct ata_port *ap = link->ap; in sata_scr_valid() local
43 return (ap->flags & ATA_FLAG_SATA) && ap->ops->scr_read; in sata_scr_valid()
54 * guaranteed to succeed if @link is ap->link, the cable type of
58 * None if @link is ap->link. Kernel thread context otherwise.
67 return link->ap->ops->scr_read(link, reg, val); in sata_scr_read()
82 * guaranteed to succeed if @link is ap->link, the cable type of
86 * None if @link is ap->link. Kernel thread context otherwise.
95 return link->ap->ops->scr_write(link, reg, val); in sata_scr_write()
113 * None if @link is ap->link. Kernel thread context otherwise.
124 rc = link->ap->ops->scr_write(link, reg, val); in sata_scr_write_flush()
[all …]
Dpata_acpi.c39 struct ata_port *ap = link->ap; in pacpi_pre_reset() local
40 struct pata_acpi *acpi = ap->private_data; in pacpi_pre_reset()
41 if (ACPI_HANDLE(&ap->tdev) == NULL || ata_acpi_gtm(ap, &acpi->gtm) < 0) in pacpi_pre_reset()
49 * @ap: port to detect
54 static int pacpi_cable_detect(struct ata_port *ap) in pacpi_cable_detect() argument
56 struct pata_acpi *acpi = ap->private_data; in pacpi_cable_detect()
66 * @ap: ATA port
73 static unsigned long pacpi_discover_modes(struct ata_port *ap, struct ata_device *adev) in pacpi_discover_modes() argument
75 struct pata_acpi *acpi = ap->private_data; in pacpi_discover_modes()
81 ata_acpi_gtm(ap, &probe); in pacpi_discover_modes()
[all …]
Dlibata-eh.c153 static void __ata_port_freeze(struct ata_port *ap);
157 static void ata_eh_handle_port_suspend(struct ata_port *ap);
158 static void ata_eh_handle_port_resume(struct ata_port *ap);
160 static void ata_eh_handle_port_suspend(struct ata_port *ap) in ata_eh_handle_port_suspend() argument
163 static void ata_eh_handle_port_resume(struct ata_port *ap) in ata_eh_handle_port_resume() argument
237 * @ap: target ATA port
248 void ata_port_desc(struct ata_port *ap, const char *fmt, ...) in ata_port_desc() argument
252 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
254 if (ap->link.eh_info.desc_len) in ata_port_desc()
255 __ata_ehi_push_desc(&ap->link.eh_info, " "); in ata_port_desc()
[all …]
Dpata_octeon_cf.c52 struct ata_port *ap; member
122 * @ap: ATA port information
125 static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev) in octeon_cf_set_piomode() argument
127 struct octeon_cf_port *cf_port = ap->private_data; 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() argument
212 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_dmamode()
294 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer8() local
295 void __iomem *data_addr = ap->ioaddr.data_addr; in octeon_cf_data_xfer8()
310 ioread8(ap->ioaddr.altstatus_addr); in octeon_cf_data_xfer8()
333 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer16() local
[all …]
Dsata_rcar.c218 static void sata_rcar_freeze(struct ata_port *ap) in sata_rcar_freeze() argument
220 struct sata_rcar_priv *priv = ap->host->private_data; in sata_rcar_freeze()
225 ata_sff_freeze(ap); in sata_rcar_freeze()
228 static void sata_rcar_thaw(struct ata_port *ap) in sata_rcar_thaw() argument
230 struct sata_rcar_priv *priv = ap->host->private_data; in sata_rcar_thaw()
236 ata_sff_thaw(ap); in sata_rcar_thaw()
261 static u8 sata_rcar_check_status(struct ata_port *ap) in sata_rcar_check_status() argument
263 return ioread32(ap->ioaddr.status_addr); in sata_rcar_check_status()
266 static u8 sata_rcar_check_altstatus(struct ata_port *ap) in sata_rcar_check_altstatus() argument
268 return ioread32(ap->ioaddr.altstatus_addr); in sata_rcar_check_altstatus()
[all …]
Dsata_sil24.c314 * ap->private_data
332 static void sil24_pmp_attach(struct ata_port *ap);
333 static void sil24_pmp_detach(struct ata_port *ap);
334 static void sil24_freeze(struct ata_port *ap);
335 static void sil24_thaw(struct ata_port *ap);
342 static void sil24_error_handler(struct ata_port *ap);
344 static int sil24_port_start(struct ata_port *ap);
350 static int sil24_port_resume(struct ata_port *ap);
462 static unsigned long sil24_port_offset(struct ata_port *ap) in sil24_port_offset() argument
464 return ap->port_no * PORT_REGS_SIZE; in sil24_port_offset()
[all …]
/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
467 ap = netdev_priv(dev); in acenic_probe_one()
468 ap->ndev = dev; in acenic_probe_one()
469 ap->pdev = pdev; in acenic_probe_one()
470 ap->name = pci_name(pdev); in acenic_probe_one()
496 pci_read_config_word(pdev, PCI_COMMAND, &ap->pci_command); in acenic_probe_one()
[all …]
/Linux-v6.1/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c3 * Intersil Prism2 driver with Host AP (software access point) support
8 * This file is to be included into hostap.c when S/W AP functionality is
11 * AP: FIX:
37 MODULE_PARM_DESC(other_ap_policy, "Other AP beacon monitoring policy (0-3)");
42 MODULE_PARM_DESC(ap_max_inactivity, "AP timeout (in seconds) for station "
56 static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta);
72 struct ap_data *ap = pde_data(file_inode(m->file)); in ap_debug_proc_show() local
74 seq_printf(m, "BridgedUnicastFrames=%u\n", ap->bridged_unicast); in ap_debug_proc_show()
75 seq_printf(m, "BridgedMulticastFrames=%u\n", ap->bridged_multicast); in ap_debug_proc_show()
76 seq_printf(m, "max_inactivity=%u\n", ap->max_inactivity / HZ); in ap_debug_proc_show()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Domap5-l4-abe.dtsi5 reg-names = "la", "ap";
18 <0x00000000 0x00000000 0x000400>, /* ap 0 */
19 <0x00000400 0x00000400 0x000400>, /* ap 1 */
20 <0x00022000 0x00022000 0x001000>, /* ap 2 */
21 <0x00023000 0x00023000 0x001000>, /* ap 3 */
22 <0x00024000 0x00024000 0x001000>, /* ap 4 */
23 <0x00025000 0x00025000 0x001000>, /* ap 5 */
24 <0x00026000 0x00026000 0x001000>, /* ap 6 */
25 <0x00027000 0x00027000 0x001000>, /* ap 7 */
26 <0x00028000 0x00028000 0x001000>, /* ap 8 */
[all …]
Dam33xx-l4.dtsi10 reg-names = "ap", "la", "ia0", "ia1";
21 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
22 <0x00000800 0x00000800 0x000800>, /* ap 1 */
23 <0x00001000 0x00001000 0x000400>, /* ap 2 */
24 <0x00001400 0x00001400 0x000400>; /* ap 3 */
31 ranges = <0x00000000 0x00100000 0x004000>, /* ap 4 */
32 <0x00004000 0x00104000 0x001000>, /* ap 5 */
33 <0x00080000 0x00180000 0x002000>, /* ap 6 */
34 <0x00082000 0x00182000 0x001000>; /* ap 7 */
36 target-module@0 { /* 0x44d00000, ap 4 28.0 */
[all …]
Domap5-l4.dtsi9 reg-names = "ap", "la", "ia0";
24 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
25 <0x00001000 0x00001000 0x001000>, /* ap 1 */
26 <0x00000800 0x00000800 0x000800>, /* ap 2 */
27 <0x00002000 0x00002000 0x001000>, /* ap 3 */
28 <0x00003000 0x00003000 0x001000>, /* ap 4 */
29 <0x00004000 0x00004000 0x001000>, /* ap 5 */
30 <0x00005000 0x00005000 0x001000>, /* ap 6 */
31 <0x00056000 0x00056000 0x001000>, /* ap 7 */
32 <0x00057000 0x00057000 0x001000>, /* ap 8 */
[all …]
Domap4-l4-abe.dtsi5 reg-names = "la", "ap";
18 <0x00000000 0x00000000 0x000400>, /* ap 0 */
19 <0x00000400 0x00000400 0x000400>, /* ap 1 */
20 <0x00022000 0x00022000 0x001000>, /* ap 2 */
21 <0x00023000 0x00023000 0x001000>, /* ap 3 */
22 <0x00024000 0x00024000 0x001000>, /* ap 4 */
23 <0x00025000 0x00025000 0x001000>, /* ap 5 */
24 <0x00026000 0x00026000 0x001000>, /* ap 6 */
25 <0x00027000 0x00027000 0x001000>, /* ap 7 */
26 <0x00028000 0x00028000 0x001000>, /* ap 8 */
[all …]
Ddra7-l4.dtsi9 reg-names = "ap", "la", "ia0";
20 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
21 <0x00000800 0x00000800 0x000800>, /* ap 1 */
22 <0x00001000 0x00001000 0x001000>, /* ap 2 */
23 <0x00002000 0x00002000 0x002000>, /* ap 3 */
24 <0x00004000 0x00004000 0x001000>, /* ap 4 */
25 <0x00005000 0x00005000 0x001000>, /* ap 5 */
26 <0x00006000 0x00006000 0x001000>, /* ap 6 */
27 <0x00008000 0x00008000 0x002000>, /* ap 7 */
28 <0x0000a000 0x0000a000 0x001000>, /* ap 8 */
[all …]
Domap4-l4.dtsi10 reg-names = "ap", "la", "ia0";
25 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
26 <0x00001000 0x00001000 0x001000>, /* ap 1 */
27 <0x00000800 0x00000800 0x000800>, /* ap 2 */
28 <0x00002000 0x00002000 0x001000>, /* ap 3 */
29 <0x00003000 0x00003000 0x001000>, /* ap 4 */
30 <0x00004000 0x00004000 0x001000>, /* ap 5 */
31 <0x00005000 0x00005000 0x001000>, /* ap 6 */
32 <0x00056000 0x00056000 0x001000>, /* ap 7 */
33 <0x00057000 0x00057000 0x001000>, /* ap 8 */
[all …]
/Linux-v6.1/tools/lib/traceevent/
Dparse-utils.c14 void __vwarning(const char *fmt, va_list ap) in __vwarning() argument
21 vfprintf(stderr, fmt, ap); in __vwarning()
28 va_list ap; in __warning() local
30 va_start(ap, fmt); in __warning()
31 __vwarning(fmt, ap); in __warning()
32 va_end(ap); in __warning()
37 va_list ap; in warning() local
39 va_start(ap, fmt); in warning()
40 __vwarning(fmt, ap); in warning()
41 va_end(ap); in warning()
[all …]
/Linux-v6.1/Documentation/s390/
Dvfio-ap.rst2 Adjunct Processor (AP) facility
8 The Adjunct Processor (AP) facility is an IBM Z cryptographic facility comprised
9 of three AP instructions and from 1 up to 256 PCIe cryptographic adapter cards.
10 The AP devices provide cryptographic functions to all CPUs assigned to a
13 The AP adapter cards are exposed via the AP bus. The motivation for vfio-ap
14 is to make AP cards available to KVM guests using the VFIO mediated device
16 facilities which do most of the hard work of providing direct access to AP
19 AP Architectural Overview
24 * AP adapter
26 An AP adapter is an IBM Z adapter card that can perform cryptographic
[all …]

12345678910>>...51