Home
last modified time | relevance | path

Searched refs:readq (Results 1 – 25 of 194) sorted by relevance

12345678

/linux/sound/core/seq/oss/
A Dseq_oss_rw.c33 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read() local
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()
64 snd_seq_oss_readq_free(readq); in snd_seq_oss_read()
[all …]
A Dseq_oss_readq.h31 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);
A Dseq_oss_init.c232 dp->readq = snd_seq_oss_readq_new(dp, maxqlen); in snd_seq_oss_open()
233 if (!dp->readq) { in snd_seq_oss_open()
396 snd_seq_oss_readq_delete(dp->readq); in free_devinfo()
445 if (dp->readq) in snd_seq_oss_reset()
446 snd_seq_oss_readq_clear(dp->readq); in snd_seq_oss_reset()
502 if (is_read_mode(dp->file_mode) && dp->readq) in snd_seq_oss_system_info_read()
503 snd_seq_oss_readq_info_read(dp->readq, buf); in snd_seq_oss_system_info_read()
A Dseq_oss_ioctl.c102 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/drivers/fpga/
A Ddfl-fme-main.c35 v = readq(base + FME_HDR_CAP); in ports_num_show()
54 v = readq(base + FME_HDR_BITSTREAM_ID); in bitstream_id_show()
72 v = readq(base + FME_HDR_BITSTREAM_MD); in bitstream_metadata_show()
86 v = readq(base + FME_HDR_CAP); in cache_size_show()
101 v = readq(base + FME_HDR_CAP); in fabric_version_show()
116 v = readq(base + FME_HDR_CAP); in socket_id_show()
207 u64 v = readq(base + FME_THERM_CAP); in fme_thermal_throttle_support()
384 v = readq(feature->ioaddr + FME_PWR_STATUS); in power_hwmon_read()
388 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_read()
392 v = readq(feature->ioaddr + FME_PWR_THRESHOLD); in power_hwmon_read()
[all …]
A Ddfl-fme-mgr.c97 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 …]
A Ddfl-fme-error.c52 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()
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()
258 value = readq(base + FME_FIRST_ERROR); in first_error_show()
[all …]
A Ddfl-afu-error.c76 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()
A Ddfl-afu-main.c52 v = readq(base + PORT_HDR_CTRL); in __afu_port_enable()
90 v = readq(base + PORT_HDR_CTRL); in __afu_port_disable()
172 v = readq(base + PORT_HDR_CTRL); in ltr_show()
193 v = readq(base + PORT_HDR_CTRL); in ltr_store()
213 v = readq(base + PORT_HDR_STS); in ap1_event_show()
251 v = readq(base + PORT_HDR_STS); in ap2_event_show()
288 v = readq(base + PORT_HDR_STS); in power_state_show()
348 userclk_freqsts = readq(base + PORT_HDR_USRCLK_STS0); in userclk_freqsts_show()
366 userclk_freqcntrsts = readq(base + PORT_HDR_USRCLK_STS1); in userclk_freqcntrsts_show()
471 guidl = readq(base + GUID_L); in afu_id_show()
[all …]
/linux/drivers/gpio/
A Dgpio-mlxbf.c95 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/drivers/net/ethernet/mellanox/mlxbf_gige/
A Dmlxbf_gige_rx.c25 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()
148 data = readq(priv->base + MLXBF_GIGE_INT_MASK); in mlxbf_gige_rx_init()
153 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()
281 rx_ci = readq(priv->base + MLXBF_GIGE_RX_CQE_PACKET_CI); in mlxbf_gige_rx_packet()
[all …]
A Dmlxbf_gige_main.c97 p->rx_din_dropped_pkts += readq(priv->base + in mlxbf_gige_cache_stats()
99 p->rx_filter_passed_pkts += readq(priv->base + in mlxbf_gige_cache_stats()
101 p->rx_filter_discard_pkts += readq(priv->base + in mlxbf_gige_cache_stats()
112 control = readq(priv->base + MLXBF_GIGE_CONTROL); in mlxbf_gige_clean_port()
124 control = readq(priv->base + MLXBF_GIGE_CONTROL); in mlxbf_gige_clean_port()
247 readq(priv->base + MLXBF_GIGE_RX_DIN_DROP_COUNTER); in mlxbf_gige_get_stats64()
300 control = readq(base + MLXBF_GIGE_CONTROL); in mlxbf_gige_probe()
/linux/drivers/net/ethernet/neterion/vxge/
A Dvxge-config.c38 val64 = readq(&vp_reg->rxmac_vcfg0); in vxge_hw_vpath_set_zero_rx_frm_len()
41 val64 = readq(&vp_reg->rxmac_vcfg0); in vxge_hw_vpath_set_zero_rx_frm_len()
64 val64 = readq(&vp_reg->prc_cfg6); in vxge_hw_vpath_wait_receive_idle()
127 val64 = readq(reg); in __vxge_hw_device_register_poll()
135 val64 = readq(reg); in __vxge_hw_device_register_poll()
1615 val64 = readq(&vp_reg->rxd_returned); in __vxge_hw_vpath_stats_get()
3966 val64 = readq(&vpath->vpmgmt_reg-> in __vxge_hw_vpath_mgmt_read()
4075 val64 = readq(&vp_reg->prc_cfg1); in __vxge_hw_vpath_prc_configure()
4083 val64 = readq(&vp_reg->prc_cfg7); in __vxge_hw_vpath_prc_configure()
4112 val64 = readq(&vp_reg->prc_cfg4); in __vxge_hw_vpath_prc_configure()
[all …]
A Dvxge-traffic.c85 readq(&vp_reg->vpath_general_int_status); in vxge_hw_vpath_intr_enable()
635 val64 = readq(&vp_reg->xgmac_vp_int_status); in __vxge_hw_vpath_alarm_process()
701 val64 = readq(&vp_reg->general_errors_reg); in __vxge_hw_vpath_alarm_process()
795 val64 = readq(&vp_reg->wrdma_alarm_status); in __vxge_hw_vpath_alarm_process()
799 val64 = readq(&vp_reg->prc_alarm_reg); in __vxge_hw_vpath_alarm_process()
800 mask64 = readq(&vp_reg->prc_alarm_mask); in __vxge_hw_vpath_alarm_process()
1983 val64 = readq(&vpath->vp_reg->rxmac_vcfg0); in vxge_hw_vpath_promisc_enable()
2020 val64 = readq(&vpath->vp_reg->rxmac_vcfg0); in vxge_hw_vpath_promisc_disable()
2054 val64 = readq(&vpath->vp_reg->rxmac_vcfg0); in vxge_hw_vpath_bcast_enable()
2086 val64 = readq(&vpath->vp_reg->rxmac_vcfg0); in vxge_hw_vpath_mcast_enable()
[all …]
/linux/drivers/bluetooth/
A Dhci_vhci.c37 struct sk_buff_head readq; member
55 skb_queue_purge(&data->readq); in vhci_close_dev()
64 skb_queue_purge(&data->readq); in vhci_flush()
74 skb_queue_tail(&data->readq, skb); in vhci_send_frame()
259 skb_queue_tail(&data->readq, skb); in __vhci_create_device()
378 skb = skb_dequeue(&data->readq); in vhci_read()
382 skb_queue_head(&data->readq, skb); in vhci_read()
394 !skb_queue_empty(&data->readq)); in vhci_read()
416 if (!skb_queue_empty(&data->readq)) in vhci_poll()
438 skb_queue_head_init(&data->readq); in vhci_open()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_repr.c65 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()
85 stats->rx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_TX_OCTETS); in nfp_repr_vnic_get_stats64()
[all …]
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_main.c352 vqx_ctl.u = readq(cptvf->reg_base + OTX_CPT_VQX_CTL(0)); in cptvf_write_vq_ctl()
361 vqx_dbell.u = readq(cptvf->reg_base + OTX_CPT_VQX_DOORBELL(0)); in otx_cptvf_write_vq_doorbell()
370 vqx_inprg.u = readq(cptvf->reg_base + OTX_CPT_VQX_INPROG(0)); in cptvf_write_vq_inprog()
379 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_write_vq_done_numwait()
388 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_read_vq_done_numwait()
396 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_write_vq_done_timewait()
406 vqx_dwait.u = readq(cptvf->reg_base + OTX_CPT_VQX_DONE_WAIT(0)); in cptvf_read_vq_done_timewait()
444 vqx_misc_int.u = readq(cptvf->reg_base + OTX_CPT_VQX_MISC_INT(0)); in cptvf_clear_dovf_intr()
454 vqx_misc_int.u = readq(cptvf->reg_base + OTX_CPT_VQX_MISC_INT(0)); in cptvf_clear_irde_intr()
492 return readq(cptvf->reg_base + OTX_CPT_VQX_MISC_INT(0)); in cptvf_read_vf_misc_intr_status()
[all …]
A Dotx_cptpf_mbox.c117 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/drivers/edac/
A Dthunderx_edac.c328 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()
702 lmc_config = readq(lmc->regs + LMC_CONFIG); in thunderx_lmc_probe()
777 lmc_int = readq(lmc->regs + LMC_INT); in thunderx_lmc_probe()
1090 readq(ocx->regs + OCX_LNE_INT(lane)); in thunderx_ocx_com_isr()
1448 reg = readq(ocx->regs + OCX_LNE_INT(i)); in thunderx_ocx_probe()
[all …]
/linux/net/qrtr/
A Dtun.c16 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/drivers/char/
A Dhpet.c57 #define read_counter(MC) readq(MC)
124 #ifndef readq
438 v = readq(&timer->hpet_config); in hpet_release()
520 v = readq(&timer->hpet_config); in hpet_ioctl_ieon()
603 v = readq(&timer->hpet_config); in hpet_ioctl_common()
625 v = readq(&timer->hpet_config); in hpet_ioctl_common()
633 v = readq(&timer->hpet_config); in hpet_ioctl_common()
639 readq(&timer->hpet_config) & Tn_TYPE_CNF_MASK) { in hpet_ioctl_common()
640 v = readq(&timer->hpet_config); in hpet_ioctl_common()
875 cap = readq(&hpet->hpet_cap); in hpet_alloc()
[all …]
/linux/drivers/net/ethernet/neterion/
A Ds2io.c1013 val64 = readq(&bar0->pci_mode); in s2io_verify_pci_mode()
1049 val64 = readq(&bar0->pci_mode); in s2io_print_pci_mode()
1239 val64 = readq(&bar0->mac_cfg); in init_nic()
1732 val64 = readq(&bar0->mac_cfg); in init_nic()
1738 val64 = readq(&bar0->mac_cfg); in init_nic()
1742 val64 = readq(&bar0->mac_cfg); in init_nic()
1841 temp64 = readq(addr); in do_s2io_write_bits()
3347 val64 = readq(addr); in wait_for_cmd_complete()
3780 readq(&bar0->rx_mat); in s2io_enable_msi_x()
4342 val64 = readq(addr); in do_s2io_chk_alarm_bit()
[all …]
/linux/drivers/spi/
A Dspi-altera-dfl.c59 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_master()
/linux/drivers/mmc/host/
A Dcavium.c169 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()
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()
428 emm_dma = readq(host->base + MIO_EMM_DMA(host)); in cleanup_dma()
448 emm_int = readq(host->base + MIO_EMM_INT(host)); in cvm_mmc_interrupt()
458 rsp_sts = readq(host->base + MIO_EMM_RSP_STS(host)); in cvm_mmc_interrupt()
[all …]
/linux/drivers/net/ethernet/cavium/common/
A Dcavium_ptp.c48 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()

Completed in 57 milliseconds

12345678