/linux-6.6.21/sound/core/seq/oss/ |
D | seq_oss_rw.c | 33 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read() local 39 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read() 43 snd_seq_oss_readq_lock(readq, flags); in snd_seq_oss_read() 44 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read() 47 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read() 48 snd_seq_oss_readq_wait(readq); in snd_seq_oss_read() 49 snd_seq_oss_readq_lock(readq, flags); in snd_seq_oss_read() 53 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read() 56 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read() 61 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read() [all …]
|
D | seq_oss_readq.h | 31 void snd_seq_oss_readq_clear(struct seq_oss_readq *readq); 32 unsigned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wai… 33 int snd_seq_oss_readq_puts(struct seq_oss_readq *readq, int dev, unsigned char *data, int len); 36 int snd_seq_oss_readq_put_event(struct seq_oss_readq *readq, union evrec *ev); 37 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
|
D | seq_oss_init.c | 231 dp->readq = snd_seq_oss_readq_new(dp, maxqlen); in snd_seq_oss_open() 232 if (!dp->readq) { in snd_seq_oss_open() 395 snd_seq_oss_readq_delete(dp->readq); in free_devinfo() 444 if (dp->readq) in snd_seq_oss_reset() 445 snd_seq_oss_readq_clear(dp->readq); in snd_seq_oss_reset() 501 if (is_read_mode(dp->file_mode) && dp->readq) in snd_seq_oss_system_info_read() 502 snd_seq_oss_readq_info_read(dp->readq, buf); in snd_seq_oss_system_info_read()
|
D | seq_oss_ioctl.c | 102 if (dp->readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl() 104 return put_user(dp->readq->qlen, p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 160 if (dp->readq == NULL || !is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl() 168 dp->readq->pre_event_timeout = val; in snd_seq_oss_ioctl()
|
/linux-6.6.21/drivers/fpga/ |
D | dfl-fme-main.c | 36 v = readq(base + FME_HDR_CAP); in ports_num_show() 55 v = readq(base + FME_HDR_BITSTREAM_ID); in bitstream_id_show() 73 v = readq(base + FME_HDR_BITSTREAM_MD); in bitstream_metadata_show() 87 v = readq(base + FME_HDR_CAP); in cache_size_show() 102 v = readq(base + FME_HDR_CAP); in fabric_version_show() 117 v = readq(base + FME_HDR_CAP); in socket_id_show() 208 u64 v = readq(base + FME_THERM_CAP); in fme_thermal_throttle_support() 234 v = readq(feature->ioaddr + FME_THERM_RDSENSOR_FMT1); in thermal_hwmon_read() 238 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() 242 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read() [all …]
|
D | dfl-fme-mgr.c | 97 pr_status = readq(fme_pr + FME_PR_STS); in fme_mgr_pr_error_handle() 101 pr_error = readq(fme_pr + FME_PR_ERR); in fme_mgr_pr_error_handle() 123 pr_ctrl = readq(fme_pr + FME_PR_CTRL); in fme_mgr_write_init() 134 pr_ctrl = readq(fme_pr + FME_PR_CTRL); in fme_mgr_write_init() 157 pr_ctrl = readq(fme_pr + FME_PR_CTRL); in fme_mgr_write_init() 176 pr_ctrl = readq(fme_pr + FME_PR_CTRL); in fme_mgr_write() 188 pr_status = readq(fme_pr + FME_PR_STS); in fme_mgr_write() 199 pr_status = readq(fme_pr + FME_PR_STS); in fme_mgr_write() 228 pr_ctrl = readq(fme_pr + FME_PR_CTRL); in fme_mgr_write_complete() 272 id->id_l = readq(fme_pr + FME_PR_INTFC_ID_L); in fme_mgr_get_compat_id() [all …]
|
D | dfl-fme-error.c | 52 value = readq(base + PCIE0_ERROR); in pcie0_errors_show() 75 v = readq(base + PCIE0_ERROR); in pcie0_errors_store() 97 value = readq(base + PCIE1_ERROR); in pcie1_errors_show() 120 v = readq(base + PCIE1_ERROR); in pcie1_errors_store() 140 (unsigned long long)readq(base + RAS_NONFAT_ERROR)); in nonfatal_errors_show() 152 (unsigned long long)readq(base + RAS_CATFAT_ERROR)); in catfatal_errors_show() 166 v = readq(base + RAS_ERROR_INJECT); in inject_errors_show() 191 v = readq(base + RAS_ERROR_INJECT); in inject_errors_store() 211 value = readq(base + FME_ERROR); in fme_errors_show() 234 v = readq(base + FME_ERROR); in fme_errors_store() [all …]
|
D | dfl-afu-error.c | 76 v = readq(base_hdr + PORT_HDR_STS); in afu_port_err_clear() 91 v = readq(base_err + PORT_ERROR); in afu_port_err_clear() 96 v = readq(base_err + PORT_FIRST_ERROR); in afu_port_err_clear() 125 error = readq(base + PORT_ERROR); in errors_show() 156 error = readq(base + PORT_FIRST_ERROR); in first_error_show() 174 req0 = readq(base + PORT_MALFORMED_REQ0); in first_malformed_req_show() 175 req1 = readq(base + PORT_MALFORMED_REQ1); in first_malformed_req_show()
|
/linux-6.6.21/drivers/char/hw_random/ |
D | cn10k-rng.c | 87 status = readq(rng->reg_base + RNM_PF_EBG_HEALTH); in check_rng_health() 110 *value = readq(rng->reg_base + RNM_PF_TRNG_DAT); in cn10k_read_trng() 113 status = readq(rng->reg_base + RNM_PF_TRNG_RES); in cn10k_read_trng() 119 *value = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 125 upper = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 126 lower = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 128 upper = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 130 lower = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng()
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-mlxbf.c | 95 gs->csave_regs.scratchpad = readq(gs->base + MLXBF_GPIO_SCRATCHPAD); in mlxbf_gpio_suspend() 97 readq(gs->base + MLXBF_GPIO_PAD_CONTROL_FIRST_WORD); in mlxbf_gpio_suspend() 99 readq(gs->base + MLXBF_GPIO_PAD_CONTROL_1_FIRST_WORD); in mlxbf_gpio_suspend() 101 readq(gs->base + MLXBF_GPIO_PAD_CONTROL_2_FIRST_WORD); in mlxbf_gpio_suspend() 103 readq(gs->base + MLXBF_GPIO_PAD_CONTROL_3_FIRST_WORD); in mlxbf_gpio_suspend() 104 gs->csave_regs.pin_dir_i = readq(gs->base + MLXBF_GPIO_PIN_DIR_I); in mlxbf_gpio_suspend() 105 gs->csave_regs.pin_dir_o = readq(gs->base + MLXBF_GPIO_PIN_DIR_O); in mlxbf_gpio_suspend()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige_rx.c | 25 control = readq(base + MLXBF_GIGE_CONTROL); in mlxbf_gige_set_mac_rx_filter() 36 *dmac = readq(base + MLXBF_GIGE_RX_MAC_FILTER + in mlxbf_gige_get_mac_rx_filter() 47 control = readq(base + MLXBF_GIGE_CONTROL); in mlxbf_gige_enable_promisc() 65 control = readq(base + MLXBF_GIGE_CONTROL); in mlxbf_gige_disable_promisc() 135 data = readq(priv->base + MLXBF_GIGE_RX); in mlxbf_gige_rx_init() 151 data = readq(priv->base + MLXBF_GIGE_INT_MASK); in mlxbf_gige_rx_init() 156 data = readq(priv->base + MLXBF_GIGE_RX_DMA); in mlxbf_gige_rx_init() 187 data = readq(priv->base + MLXBF_GIGE_RX_DMA); in mlxbf_gige_rx_deinit() 230 rx_pi = readq(priv->base + MLXBF_GIGE_RX_WQE_PI); in mlxbf_gige_rx_packet() 274 rx_ci = readq(priv->base + MLXBF_GIGE_RX_CQE_PACKET_CI); in mlxbf_gige_rx_packet() [all …]
|
D | mlxbf_gige_main.c | 95 p->rx_din_dropped_pkts += readq(priv->base + in mlxbf_gige_cache_stats() 97 p->rx_filter_passed_pkts += readq(priv->base + in mlxbf_gige_cache_stats() 99 p->rx_filter_discard_pkts += readq(priv->base + in mlxbf_gige_cache_stats() 110 control = readq(priv->base + MLXBF_GIGE_CONTROL); in mlxbf_gige_clean_port() 122 control = readq(priv->base + MLXBF_GIGE_CONTROL); in mlxbf_gige_clean_port() 138 control = readq(priv->base + MLXBF_GIGE_CONTROL); in mlxbf_gige_open() 251 readq(priv->base + MLXBF_GIGE_RX_DIN_DROP_COUNTER); in mlxbf_gige_get_stats64() 404 priv->hw_version = readq(base + MLXBF_GIGE_VERSION); in mlxbf_gige_probe()
|
D | mlxbf_gige_ethtool.c | 111 readq(priv->base + MLXBF_GIGE_RX_DIN_DROP_COUNTER)); in mlxbf_gige_get_ethtool_stats() 114 readq(priv->base + MLXBF_GIGE_RX_PASS_COUNTER_ALL)); in mlxbf_gige_get_ethtool_stats() 116 readq(priv->base + MLXBF_GIGE_RX_DISC_COUNTER_ALL)); in mlxbf_gige_get_ethtool_stats()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.c | 129 ptp_clock_hi = readq(ptp->reg_base + PTP_CLOCK_HI); in ptp_reset_thresh() 158 sec = readq(ptp->reg_base + PTP_CLOCK_SEC) & 0xFFFFFFFFUL; in read_ptp_tstmp_sec_nsec() 159 nsec = readq(ptp->reg_base + PTP_CLOCK_HI); in read_ptp_tstmp_sec_nsec() 160 sec1 = readq(ptp->reg_base + PTP_CLOCK_SEC) & 0xFFFFFFFFUL; in read_ptp_tstmp_sec_nsec() 163 nsec = readq(ptp->reg_base + PTP_CLOCK_HI); in read_ptp_tstmp_sec_nsec() 173 return readq(ptp->reg_base + PTP_CLOCK_HI); in read_ptp_tstmp_nsec() 268 regval = readq(ptp->reg_base + PTP_CLOCK_CFG); in ptp_atomic_update() 289 ptp_clock_hi = readq(ptp->reg_base + PTP_CLOCK_HI); in ptp_atomic_adjtime() 304 regval = readq(ptp->reg_base + PTP_CLOCK_CFG); in ptp_atomic_adjtime() 397 clock_cfg = readq(ptp->reg_base + PTP_CLOCK_CFG); in ptp_start() [all …]
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 64 stats->tx_packets = readq(mem + NFP_MAC_STATS_TX_FRAMES_TRANSMITTED_OK); in nfp_repr_phy_port_get_stats64() 65 stats->tx_bytes = readq(mem + NFP_MAC_STATS_TX_OUT_OCTETS); in nfp_repr_phy_port_get_stats64() 66 stats->tx_dropped = readq(mem + NFP_MAC_STATS_TX_OUT_ERRORS); in nfp_repr_phy_port_get_stats64() 68 stats->rx_packets = readq(mem + NFP_MAC_STATS_RX_FRAMES_RECEIVED_OK); in nfp_repr_phy_port_get_stats64() 69 stats->rx_bytes = readq(mem + NFP_MAC_STATS_RX_IN_OCTETS); in nfp_repr_phy_port_get_stats64() 70 stats->rx_dropped = readq(mem + NFP_MAC_STATS_RX_IN_ERRORS); in nfp_repr_phy_port_get_stats64() 80 stats->tx_packets = readq(port->vnic + NFP_NET_CFG_STATS_RX_FRAMES); in nfp_repr_vnic_get_stats64() 81 stats->tx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_RX_OCTETS); in nfp_repr_vnic_get_stats64() 82 stats->tx_dropped = readq(port->vnic + NFP_NET_CFG_STATS_RX_DISCARDS); in nfp_repr_vnic_get_stats64() 84 stats->rx_packets = readq(port->vnic + NFP_NET_CFG_STATS_TX_FRAMES); in nfp_repr_vnic_get_stats64() [all …]
|
/linux-6.6.21/net/qrtr/ |
D | tun.c | 16 wait_queue_head_t readq; member 26 wake_up_interruptible(&tun->readq); in qrtr_tun_send() 41 init_waitqueue_head(&tun->readq); in qrtr_tun_open() 71 if (wait_event_interruptible(tun->readq, in qrtr_tun_read_iter() 119 poll_wait(filp, &tun->readq, wait); in qrtr_tun_poll()
|
/linux-6.6.21/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_main.c | 349 vqx_ctl.u = readq(cptvf->reg_base + OTX_CPT_VQX_CTL(0)); in cptvf_write_vq_ctl() 358 vqx_dbell.u = readq(cptvf->reg_base + OTX_CPT_VQX_DOORBELL(0)); in otx_cptvf_write_vq_doorbell() 367 vqx_inprg.u = readq(cptvf->reg_base + OTX_CPT_VQX_INPROG(0)); in cptvf_write_vq_inprog() 376 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_write_vq_done_numwait() 385 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_read_vq_done_numwait() 393 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_write_vq_done_timewait() 403 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_read_vq_done_timewait() 411 vqx_misc_ena.u = readq(cptvf->reg_base + OTX_CPT_VQX_MISC_ENA_W1S(0)); in cptvf_enable_swerr_interrupts() 421 vqx_misc_ena.u = readq(cptvf->reg_base + OTX_CPT_VQX_MISC_ENA_W1S(0)); in cptvf_enable_mbox_interrupts() 431 vqx_done_ena.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_ENA_W1S(0)); in cptvf_enable_done_interrupts() [all …]
|
D | otx_cptpf_mbox.c | 117 pf_qx_ctl.u = readq(cpt->reg_base + OTX_CPT_PF_QX_CTL(vf)); in otx_cpt_cfg_qlen_for_vf() 130 pf_qx_ctl.u = readq(cpt->reg_base + OTX_CPT_PF_QX_CTL(vf)); in otx_cpt_cfg_vq_priority() 160 pf_qx_ctl.u = readq(cpt->reg_base + OTX_CPT_PF_QX_CTL(q)); in otx_cpt_bind_vq_to_grp() 187 mbx.msg = readq(cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 0)); in otx_cpt_handle_mbox_intr() 188 mbx.data = readq(cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 1)); in otx_cpt_handle_mbox_intr() 245 intr = readq(cpt->reg_base + OTX_CPT_PF_MBOX_INTX(0)); in otx_cpt_mbox_intr_handler()
|
/linux-6.6.21/drivers/edac/ |
D | thunderx_edac.c | 265 sprintf(buf, "0x%016llx", readq(pdata->regs + _reg)); \ 328 u64 lmc_int = readq(lmc->regs + LMC_INT); in thunderx_lmc_int_read() 355 readq(lmc->regs + LMC_CHAR_MASK0); in inject_ecc_fn() 356 readq(lmc->regs + LMC_CHAR_MASK2); in inject_ecc_fn() 357 readq(lmc->regs + LMC_ECC_PARITY_TEST); in inject_ecc_fn() 557 ctx->reg_int = readq(lmc->regs + LMC_INT); in thunderx_lmc_err_isr() 558 ctx->reg_fadr = readq(lmc->regs + LMC_FADR); in thunderx_lmc_err_isr() 559 ctx->reg_nxm_fadr = readq(lmc->regs + LMC_NXM_FADR); in thunderx_lmc_err_isr() 560 ctx->reg_scram_fadr = readq(lmc->regs + LMC_SCRAM_FADR); in thunderx_lmc_err_isr() 561 ctx->reg_ecc_synd = readq(lmc->regs + LMC_ECC_SYND); in thunderx_lmc_err_isr() [all …]
|
/linux-6.6.21/drivers/bluetooth/ |
D | hci_vhci.c | 38 struct sk_buff_head readq; member 60 skb_queue_purge(&data->readq); in vhci_close_dev() 69 skb_queue_purge(&data->readq); in vhci_flush() 80 skb_queue_tail(&data->readq, skb); in vhci_send_frame() 468 skb_queue_head(&data->readq, skb); in __vhci_create_device() 588 skb = skb_dequeue(&data->readq); in vhci_read() 592 skb_queue_head(&data->readq, skb); in vhci_read() 604 !skb_queue_empty(&data->readq)); in vhci_read() 626 if (!skb_queue_empty(&data->readq)) in vhci_poll() 648 skb_queue_head_init(&data->readq); in vhci_open() [all …]
|
/linux-6.6.21/drivers/net/ethernet/neterion/ |
D | s2io.c | 1013 val64 = readq(&bar0->pci_mode); in s2io_verify_pci_mode() 1049 val64 = readq(&bar0->pci_mode); in s2io_print_pci_mode() 1214 val64 = readq(&bar0->sw_reset); in init_nic() 1221 val64 = readq(&bar0->sw_reset); in init_nic() 1228 val64 = readq(&bar0->adapter_status); in init_nic() 1239 val64 = readq(&bar0->mac_cfg); in init_nic() 1247 val64 = readq(&bar0->mac_int_mask); in init_nic() 1248 val64 = readq(&bar0->mc_int_mask); in init_nic() 1249 val64 = readq(&bar0->xgxs_int_mask); in init_nic() 1267 val64 = readq(&bar0->dtx_control); in init_nic() [all …]
|
/linux-6.6.21/drivers/char/ |
D | hpet.c | 58 #define read_counter(MC) readq(MC) 205 v = (readq(&timer->hpet_config) & Tn_INT_ROUTE_CAP_MASK) >> in hpet_timer_set_irq() 411 writeq((readq(&timer->hpet_config) & ~Tn_INT_ENB_CNF_MASK), in hpet_release() 420 && readq(&timer->hpet_config) & Tn_TYPE_CNF_MASK) { in hpet_release() 423 v = readq(&timer->hpet_config); in hpet_release() 505 v = readq(&timer->hpet_config); in hpet_ioctl_ieon() 588 v = readq(&timer->hpet_config); in hpet_ioctl_common() 604 readq(&timer->hpet_config) & Tn_PER_INT_CAP_MASK; in hpet_ioctl_common() 610 v = readq(&timer->hpet_config); in hpet_ioctl_common() 618 v = readq(&timer->hpet_config); in hpet_ioctl_common() [all …]
|
/linux-6.6.21/drivers/spi/ |
D | spi-altera-dfl.c | 59 while ((readq(base + INDIRECT_ADDR) & INDIRECT_RD) && in indirect_bus_reg_read() 68 v = readq(base + INDIRECT_RD_DATA); in indirect_bus_reg_read() 85 while ((readq(base + INDIRECT_ADDR) & INDIRECT_WR) && in indirect_bus_reg_write() 111 v = readq(base + SPI_CORE_PARAMETER); in config_spi_host()
|
/linux-6.6.21/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.c | 48 ret = CLOCK_BASE_RATE * ((readq(base + RST_BOOT) >> 33) & 0x3f); in ptp_cavium_clock_get() 217 return readq(clock->reg_base + PTP_CLOCK_HI); in cavium_ptp_cc_read() 275 clock_cfg = readq(clock->reg_base + PTP_CLOCK_CFG); in cavium_ptp_probe() 292 clock_cfg = readq(clock->reg_base + PTP_CLOCK_CFG); in cavium_ptp_probe() 321 clock_cfg = readq(clock->reg_base + PTP_CLOCK_CFG); in cavium_ptp_remove()
|
/linux-6.6.21/drivers/mmc/host/ |
D | cavium.c | 169 emm_switch = readq(host->base + MIO_EMM_SWITCH(host)); in check_switch_errors() 219 rsp_sts = readq(host->base + MIO_EMM_RSP_STS(host)); in do_switch() 255 emm_switch = readq(slot->host->base + MIO_EMM_SWITCH(host)); in cvm_mmc_reset_bus() 260 wdog = readq(slot->host->base + MIO_EMM_WDOG(host)); in cvm_mmc_reset_bus() 282 old_slot->cached_switch = readq(host->base + MIO_EMM_SWITCH(host)); in cvm_mmc_switch_to() 283 old_slot->cached_rca = readq(host->base + MIO_EMM_RCA(host)); in cvm_mmc_switch_to() 317 dat = readq(host->base + MIO_EMM_BUF_DAT(host)); in do_read() 348 rsp_lo = readq(host->base + MIO_EMM_RSP_LO(host)); in set_cmd_response() 361 rsp_hi = readq(host->base + MIO_EMM_RSP_HI(host)); in set_cmd_response() 387 fifo_cfg = readq(host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in finish_dma_sg() [all …]
|