/kernel/linux/linux-5.10/drivers/net/ppp/ |
D | ppp_async.c | 96 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 …]
|
D | ppp_synctty.c | 89 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/ |
D | libata-sff.c | 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() 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() 103 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status() argument 107 if (ap->ops->sff_check_altstatus || ap->ioaddr.altstatus_addr) { in ata_sff_irq_status() 108 status = ata_sff_altstatus(ap); in ata_sff_irq_status() 114 status = ap->ops->sff_check_status(ap); in ata_sff_irq_status() [all …]
|
D | pata_samsung_cf.c | 103 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 …]
|
D | libahci.c | 47 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 …]
|
D | libata-sata.c | 41 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() 67 return link->ap->ops->scr_read(link, reg, val); in sata_scr_read() 95 return link->ap->ops->scr_write(link, reg, val); in sata_scr_write() 124 rc = link->ap->ops->scr_write(link, reg, val); in sata_scr_write_flush() 126 rc = link->ap->ops->scr_read(link, reg, &val); in sata_scr_write_flush() 254 ata_msleep(link->ap, interval); in sata_link_debounce() 321 ata_msleep(link->ap, 200); in sata_link_resume() 426 struct ata_link *host_link = &link->ap->link; in __sata_set_spd_needed() 570 ata_msleep(link->ap, 1); in sata_link_hardreset() [all …]
|
D | sata_dwc_460ex.c | 165 #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 …]
|
D | libata-eh.c | 153 static void __ata_port_freeze(struct ata_port *ap); 155 static void ata_eh_handle_port_suspend(struct ata_port *ap); 156 static void ata_eh_handle_port_resume(struct ata_port *ap); 158 static void ata_eh_handle_port_suspend(struct ata_port *ap) in ata_eh_handle_port_suspend() argument 161 static void ata_eh_handle_port_resume(struct ata_port *ap) in ata_eh_handle_port_resume() argument 246 void ata_port_desc(struct ata_port *ap, const char *fmt, ...) in ata_port_desc() argument 250 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc() 252 if (ap->link.eh_info.desc_len) in ata_port_desc() 253 __ata_ehi_push_desc(&ap->link.eh_info, " "); in ata_port_desc() 256 __ata_ehi_pushv_desc(&ap->link.eh_info, fmt, args); in ata_port_desc() [all …]
|
D | pata_atp867x.c | 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))) 85 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument [all …]
|
D | sata_nv.c | 294 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 …]
|
D | libata-pmp.c | 40 struct ata_port *ap = link->ap; in sata_pmp_read() local 41 struct ata_device *pmp_dev = ap->link.device; in sata_pmp_read() 77 struct ata_port *ap = link->ap; in sata_pmp_write() local 78 struct ata_device *pmp_dev = ap->link.device; in sata_pmp_write() 112 struct ata_port *ap = link->ap; in sata_pmp_qc_defer_cmd_switch() local 114 if (ap->excl_link == NULL || ap->excl_link == link) { in sata_pmp_qc_defer_cmd_switch() 115 if (ap->nr_active_links == 0 || ata_link_active(link)) { in sata_pmp_qc_defer_cmd_switch() 120 ap->excl_link = link; in sata_pmp_qc_defer_cmd_switch() 260 struct ata_port *ap = dev->link->ap; in sata_pmp_configure() local 276 if ((ap->flags & ATA_FLAG_AN) && in sata_pmp_configure() [all …]
|
D | sata_promise.c | 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); 151 static void pdc_thaw(struct ata_port *ap); 152 static void pdc_sata_thaw(struct ata_port *ap); 157 static void pdc_error_handler(struct ata_port *ap); [all …]
|
D | sata_sil24.c | 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); 459 static unsigned long sil24_port_offset(struct ata_port *ap) in sil24_port_offset() argument 461 return ap->port_no * PORT_REGS_SIZE; in sil24_port_offset() 464 static void __iomem *sil24_port_base(struct ata_port *ap) in sil24_port_base() argument [all …]
|
D | pata_acpi.c | 39 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() 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() 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() 86 ap->cbl = ATA_CBL_PATA80; in pacpi_discover_modes() 102 struct pata_acpi *acpi = adev->link->ap->private_data; in pacpi_mode_filter() [all …]
|
D | pata_octeon_cf.c | 52 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() argument 131 struct octeon_cf_port *cf_port = ap->private_data; 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() argument 216 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_dmamode() 298 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer8() local 299 void __iomem *data_addr = ap->ioaddr.data_addr; in octeon_cf_data_xfer8() 314 ioread8(ap->ioaddr.altstatus_addr); in octeon_cf_data_xfer8() 337 struct ata_port *ap = qc->dev->link->ap; in octeon_cf_data_xfer16() local 338 void __iomem *data_addr = ap->ioaddr.data_addr; in octeon_cf_data_xfer16() [all …]
|
D | sata_sil.c | 110 static void sil_freeze(struct ata_port *ap); 111 static void sil_thaw(struct ata_port *ap); 253 struct ata_port *ap = qc->ap; in sil_bmdma_stop() local 254 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_stop() 255 void __iomem *bmdma2 = mmio_base + sil_port[ap->port_no].bmdma2; in sil_bmdma_stop() 261 ata_sff_dma_pause(ap); in sil_bmdma_stop() 266 struct ata_port *ap = qc->ap; in sil_bmdma_setup() local 267 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in sil_bmdma_setup() 270 iowrite32(ap->bmdma_prd_dma, bmdma + ATA_DMA_TABLE_OFS); in sil_bmdma_setup() 273 ap->ops->sff_exec_command(ap, &qc->tf); in sil_bmdma_setup() [all …]
|
D | pata_pxa.c | 49 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_qc_prep() 76 qc->ap->ops->sff_exec_command(qc->ap, &qc->tf); in pxa_bmdma_setup() 84 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_bmdma_start() 94 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_bmdma_stop() 109 static unsigned char pxa_bmdma_status(struct ata_port *ap) in pxa_bmdma_status() argument 111 struct pata_pxa_data *pd = ap->private_data; in pxa_bmdma_status() 126 static void pxa_irq_clear(struct ata_port *ap) in pxa_irq_clear() argument 162 struct ata_port *ap; in pxa_ata_probe() local 219 ap = host->ports[0]; in pxa_ata_probe() 220 ap->ops = &pxa_ata_port_ops; in pxa_ata_probe() [all …]
|
D | libata-core.c | 180 struct ata_link *ata_link_next(struct ata_link *link, struct ata_port *ap, in ata_link_next() argument 191 if (sata_pmp_attached(ap)) in ata_link_next() 192 return ap->pmp_link; in ata_link_next() 195 return &ap->link; in ata_link_next() 199 if (link == &ap->link) in ata_link_next() 202 if (sata_pmp_attached(ap)) in ata_link_next() 203 return ap->pmp_link; in ata_link_next() 206 if (unlikely(ap->slave_link)) in ata_link_next() 207 return ap->slave_link; in ata_link_next() 214 if (unlikely(link == ap->slave_link)) in ata_link_next() [all …]
|
D | pata_gayle.c | 48 struct ata_port *ap = dev->link->ap; in pata_gayle_data_xfer() local 49 void __iomem *data_addr = ap->ioaddr.data_addr; in pata_gayle_data_xfer() 97 static bool pata_gayle_irq_check(struct ata_port *ap) in pata_gayle_irq_check() argument 101 ch = z_readb((unsigned long)ap->private_data); in pata_gayle_irq_check() 106 static void pata_gayle_irq_clear(struct ata_port *ap) in pata_gayle_irq_clear() argument 108 (void)z_readb((unsigned long)ap->ioaddr.status_addr); in pata_gayle_irq_clear() 109 z_writeb(0x7c, (unsigned long)ap->private_data); in pata_gayle_irq_clear() 133 struct ata_port *ap; in pata_gayle_init_one() local 157 ap = host->ports[0]; in pata_gayle_init_one() 160 ap->ops = &pata_gayle_a1200_ops; in pata_gayle_init_one() [all …]
|
D | libata-acpi.c | 45 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() argument 75 ata_for_each_link(tlink, ap, EDGE) in ata_acpi_detach_device() 80 ata_port_schedule_eh(ap); 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() argument 103 struct ata_eh_info *ehi = &ap->link.eh_info; in ata_acpi_handle_hotplug() 107 spin_lock_irqsave(ap->lock, flags); in ata_acpi_handle_hotplug() 119 ata_port_freeze(ap); in ata_acpi_handle_hotplug() 124 ata_acpi_detach_device(ap, dev); in ata_acpi_handle_hotplug() 129 spin_unlock_irqrestore(ap->lock, flags); in ata_acpi_handle_hotplug() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alteon/ |
D | acenic.c | 87 #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-5.10/tools/lib/traceevent/ |
D | parse-utils.c | 14 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/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.c | 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() 77 seq_printf(m, "bridge_packets=%u\n", ap->bridge_packets); in ap_debug_proc_show() 78 seq_printf(m, "nullfunc_ack=%u\n", ap->nullfunc_ack); in ap_debug_proc_show() 79 seq_printf(m, "autom_ap_wds=%u\n", ap->autom_ap_wds); in ap_debug_proc_show() 80 seq_printf(m, "auth_algs=%u\n", ap->local->auth_algs); in ap_debug_proc_show() 81 seq_printf(m, "tx_drop_nonassoc=%u\n", ap->tx_drop_nonassoc); in ap_debug_proc_show() [all …]
|
/kernel/liteos_a/kernel/common/ |
D | los_printf.c | 137 VOID OsVprintf(const CHAR *fmt, va_list ap, OutputType type) in OsVprintf() argument 148 len = vsnprintf_s(bBuf, bufLen, bufLen - 1, fmt, ap); in OsVprintf() 169 len = vsnprintf_s(bBuf, bufLen, bufLen - 1, fmt, ap); in OsVprintf() 188 VOID UartVprintf(const CHAR *fmt, va_list ap) in UartVprintf() argument 190 OsVprintf(fmt, ap, UART_OUTPUT); in UartVprintf() 195 va_list ap; in UartPrintf() local 196 va_start(ap, fmt); in UartPrintf() 197 OsVprintf(fmt, ap, UART_OUTPUT); in UartPrintf() 198 va_end(ap); in UartPrintf() 204 va_list ap; in dprintf() local [all …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | omap5-l4-abe.dtsi | 5 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 …]
|