Home
last modified time | relevance | path

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

12345678910>>...90

/kernel/linux/linux-4.19/drivers/net/ppp/
Dppp_async.c100 static int ppp_async_encode(struct asyncppp *ap);
102 static int ppp_async_push(struct asyncppp *ap);
103 static void ppp_async_flush_output(struct asyncppp *ap);
104 static void ppp_async_input(struct asyncppp *ap, const unsigned char *buf,
110 static void async_lcp_peek(struct asyncppp *ap, unsigned char *data,
138 struct asyncppp *ap; in ap_get() local
141 ap = tty->disc_data; in ap_get()
142 if (ap != NULL) in ap_get()
143 refcount_inc(&ap->refcnt); in ap_get()
145 return ap; in ap_get()
[all …]
Dppp_synctty.c93 static struct sk_buff* ppp_sync_txmunge(struct syncppp *ap, struct sk_buff *);
98 static int ppp_sync_push(struct syncppp *ap);
99 static void ppp_sync_flush_output(struct syncppp *ap);
100 static void ppp_sync_input(struct syncppp *ap, const unsigned char *buf,
140 struct syncppp *ap; in sp_get() local
143 ap = tty->disc_data; in sp_get()
144 if (ap != NULL) in sp_get()
145 refcount_inc(&ap->refcnt); in sp_get()
147 return ap; in sp_get()
150 static void sp_put(struct syncppp *ap) in sp_put() argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
83 static u8 ata_sff_altstatus(struct ata_port *ap) in ata_sff_altstatus() argument
85 if (ap->ops->sff_check_altstatus) in ata_sff_altstatus()
86 return ap->ops->sff_check_altstatus(ap); in ata_sff_altstatus()
88 return ioread8(ap->ioaddr.altstatus_addr); in ata_sff_altstatus()
93 * @ap: port where the device is
103 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status() argument
[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.c47 static ssize_t ahci_led_show(struct ata_port *ap, char *buf);
48 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf,
50 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state,
58 static int ahci_port_start(struct ata_port *ap);
59 static void ahci_port_stop(struct ata_port *ap);
62 static void ahci_freeze(struct ata_port *ap);
63 static void ahci_thaw(struct ata_port *ap);
64 static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep);
65 static void ahci_enable_fbs(struct ata_port *ap);
66 static void ahci_disable_fbs(struct ata_port *ap);
[all …]
Dsata_dwc_460ex.c165 #define HSDEV_FROM_AP(ap) ((struct sata_dwc_device *)(ap)->host->private_data) argument
166 #define HSDEVP_FROM_AP(ap) ((struct sata_dwc_device_port *)(ap)->private_data) argument
167 #define HSDEV_FROM_QC(qc) ((struct sata_dwc_device *)(qc)->ap->host->private_data)
185 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc,
187 static void sata_dwc_dma_xfer_complete(struct ata_port *ap, u32 check_status);
188 static void sata_dwc_port_stop(struct ata_port *ap);
314 static void sata_dwc_tf_dump(struct ata_port *ap, struct ata_taskfile *tf) in sata_dwc_tf_dump() argument
316 dev_vdbg(ap->dev, in sata_dwc_tf_dump()
320 dev_vdbg(ap->dev, in sata_dwc_tf_dump()
323 dev_vdbg(ap->dev, in sata_dwc_tf_dump()
[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 …]
Dsata_nv.c294 static void nv_nf2_freeze(struct ata_port *ap);
295 static void nv_nf2_thaw(struct ata_port *ap);
296 static void nv_ck804_freeze(struct ata_port *ap);
297 static void nv_ck804_thaw(struct ata_port *ap);
303 static void nv_adma_irq_clear(struct ata_port *ap);
304 static int nv_adma_port_start(struct ata_port *ap);
305 static void nv_adma_port_stop(struct ata_port *ap);
307 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg);
308 static int nv_adma_port_resume(struct ata_port *ap);
310 static void nv_adma_freeze(struct ata_port *ap);
[all …]
/kernel/linux/linux-4.19/drivers/ata/
Dlibata-sff.c75 * @ap: port where the device is
84 u8 ata_sff_check_status(struct ata_port *ap) in ata_sff_check_status() argument
86 return ioread8(ap->ioaddr.status_addr); in ata_sff_check_status()
92 * @ap: port where the device is
103 static u8 ata_sff_altstatus(struct ata_port *ap) in ata_sff_altstatus() argument
105 if (ap->ops->sff_check_altstatus) in ata_sff_altstatus()
106 return ap->ops->sff_check_altstatus(ap); in ata_sff_altstatus()
108 return ioread8(ap->ioaddr.altstatus_addr); in ata_sff_altstatus()
113 * @ap: port where the device is
123 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status() argument
[all …]
Dpata_samsung_cf.c106 static void pata_s3c_set_piomode(struct ata_port *ap, struct ata_device *adev) in pata_s3c_set_piomode() argument
108 struct s3c_ide_info *info = ap->host->private_data; in pata_s3c_set_piomode()
178 static void pata_s3c_tf_load(struct ata_port *ap, in pata_s3c_tf_load() argument
181 struct ata_ioports *ioaddr = &ap->ioaddr; in pata_s3c_tf_load()
184 if (tf->ctl != ap->last_ctl) { in pata_s3c_tf_load()
185 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); in pata_s3c_tf_load()
186 ap->last_ctl = tf->ctl; in pata_s3c_tf_load()
187 ata_wait_idle(ap); in pata_s3c_tf_load()
191 ata_outb(ap->host, tf->hob_feature, ioaddr->feature_addr); in pata_s3c_tf_load()
192 ata_outb(ap->host, tf->hob_nsect, ioaddr->nsect_addr); in pata_s3c_tf_load()
[all …]
Dlibahci.c63 static ssize_t ahci_led_show(struct ata_port *ap, char *buf);
64 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf,
66 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state,
74 static int ahci_port_start(struct ata_port *ap);
75 static void ahci_port_stop(struct ata_port *ap);
78 static void ahci_freeze(struct ata_port *ap);
79 static void ahci_thaw(struct ata_port *ap);
80 static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep);
81 static void ahci_enable_fbs(struct ata_port *ap);
82 static void ahci_disable_fbs(struct ata_port *ap);
[all …]
Dsata_dwc_460ex.c169 #define HSDEV_FROM_AP(ap) ((struct sata_dwc_device *)(ap)->host->private_data) argument
170 #define HSDEVP_FROM_AP(ap) ((struct sata_dwc_device_port *)(ap)->private_data) argument
171 #define HSDEV_FROM_QC(qc) ((struct sata_dwc_device *)(qc)->ap->host->private_data)
189 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc,
191 static void sata_dwc_dma_xfer_complete(struct ata_port *ap, u32 check_status);
192 static void sata_dwc_port_stop(struct ata_port *ap);
318 static void sata_dwc_tf_dump(struct ata_port *ap, struct ata_taskfile *tf) in sata_dwc_tf_dump() argument
320 dev_vdbg(ap->dev, in sata_dwc_tf_dump()
324 dev_vdbg(ap->dev, in sata_dwc_tf_dump()
327 dev_vdbg(ap->dev, in sata_dwc_tf_dump()
[all …]
Dsata_nv.c310 static void nv_nf2_freeze(struct ata_port *ap);
311 static void nv_nf2_thaw(struct ata_port *ap);
312 static void nv_ck804_freeze(struct ata_port *ap);
313 static void nv_ck804_thaw(struct ata_port *ap);
319 static void nv_adma_irq_clear(struct ata_port *ap);
320 static int nv_adma_port_start(struct ata_port *ap);
321 static void nv_adma_port_stop(struct ata_port *ap);
323 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg);
324 static int nv_adma_port_resume(struct ata_port *ap);
326 static void nv_adma_freeze(struct ata_port *ap);
[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
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 …]
/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
471 ap = netdev_priv(dev); in acenic_probe_one()
472 ap->pdev = pdev; in acenic_probe_one()
473 ap->name = pci_name(pdev); in acenic_probe_one()
499 pci_read_config_word(pdev, PCI_COMMAND, &ap->pci_command); in acenic_probe_one()
502 if (!(ap->pci_command & PCI_COMMAND_MEMORY)) { in acenic_probe_one()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.dtsi7 reg-names = "ap", "la", "ia0", "ia1";
18 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */
19 <0x00000800 0x00000800 0x000800>, /* ap 1 */
20 <0x00001000 0x00001000 0x000400>, /* ap 2 */
21 <0x00001400 0x00001400 0x000400>; /* ap 3 */
28 ranges = <0x00000000 0x00100000 0x004000>, /* ap 4 */
29 <0x00004000 0x00104000 0x001000>, /* ap 5 */
30 <0x00080000 0x00180000 0x002000>, /* ap 6 */
31 <0x00082000 0x00182000 0x001000>; /* ap 7 */
33 target-module@0 { /* 0x44d00000, ap 4 28.0 */
[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 …]

12345678910>>...90