| /linux/drivers/comedi/drivers/ |
| A D | ni_tiocmd.c | 42 unsigned int cidx = counter->counter_index; in ni_tio_configure_dma() local 140 NI_CtrArmStartTrigger(cidx), in ni_tio_input_cmd() 182 NI_CtrGate(cidx), in ni_tio_cmd_setup() 198 GI_GATE_INTERRUPT_ENABLE(cidx), in ni_tio_cmd_setup() 199 GI_GATE_INTERRUPT_ENABLE(cidx)); in ni_tio_cmd_setup() 391 NITIO_SHARED_STATUS_REG(cidx)); in ni_tio_acknowledge_and_confirm() 393 NITIO_STATUS_REG(cidx)); in ni_tio_acknowledge_and_confirm() 404 ack |= GI_GATE_ERROR_CONFIRM(cidx); in ni_tio_acknowledge_and_confirm() 416 if (gxx_status & GI_TC_ERROR(cidx)) { in ni_tio_acknowledge_and_confirm() 417 ack |= GI_TC_ERROR_CONFIRM(cidx); in ni_tio_acknowledge_and_confirm() [all …]
|
| A D | ni_tio.c | 174 ni_tio_write(counter, GI_RESET(cidx), NITIO_RESET_REG(cidx)); in ni_tio_reset_count_and_disarm() 315 NITIO_INPUT_SEL_REG(cidx))); in ni_m_series_clock_src_select() 379 NITIO_INPUT_SEL_REG(cidx))); in ni_660x_clock_src_select() 468 reg = NITIO_CNT_MODE_REG(cidx); in ni_tio_set_sync_mode() 1130 abz_reg = NITIO_ABZ_REG(cidx); in ni_tio_set_other_src() 1167 abz_reg = NITIO_ABZ_REG(cidx); in ni_tio_get_other_src() 1472 if (status & GI_ARMED(cidx)) { in ni_tio_insn_config() 1474 if (status & GI_COUNTING(cidx)) in ni_tio_insn_config() 1668 return (bits & GI_NEXT_LOAD_SRC(cidx)) in ni_tio_next_load_register() 1669 ? NITIO_LOADB_REG(cidx) in ni_tio_next_load_register() [all …]
|
| /linux/sound/pci/ac97/ |
| A D | ac97_pcm.c | 402 reg = get_slot_reg(pcm, cidx, i, dbl); in get_rates() 559 int i, cidx, r, ok_flag; in snd_ac97_pcm_open() local 567 for (cidx = 0; cidx < 4; cidx++) in snd_ac97_pcm_open() 568 if (bus->codec[cidx] && (bus->codec[cidx]->ext_id & AC97_EI_SPDIF)) { in snd_ac97_pcm_open() 579 for (cidx = 0; cidx < 4; cidx++) { in snd_ac97_pcm_open() 604 for (cidx = 0; cidx < 4; cidx++) { in snd_ac97_pcm_open() 606 reg = get_slot_reg(pcm, cidx, i, r); in snd_ac97_pcm_open() 621 cidx, reg, rate, err); in snd_ac97_pcm_open() 650 int i, cidx; in snd_ac97_pcm_close() local 657 for (cidx = 0; cidx < 4; cidx++) { in snd_ac97_pcm_close() [all …]
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| A D | t4.h | 52 __be16 cidx; member 185 u16 cidx; member 346 u16 cidx; member 376 u16 cidx; member 413 u16 cidx; member 465 srq->cidx++; in t4_srq_consume_ooo() 467 srq->cidx = 0; in t4_srq_consume_ooo() 476 srq->cidx = 0; in t4_srq_consume() 509 wq->rq.cidx = 0; in t4_rq_consume() 692 u16 cidx; member [all …]
|
| A D | cq.c | 270 int cidx; in flush_completed_wrs() local 274 cidx = wq->sq.flush_cidx; in flush_completed_wrs() 279 if (++cidx == wq->sq.size) in flush_completed_wrs() 280 cidx = 0; in flush_completed_wrs() 287 cidx, cq->sw_pidx); in flush_completed_wrs() 292 if (++cidx == wq->sq.size) in flush_completed_wrs() 293 cidx = 0; in flush_completed_wrs() 294 wq->sq.flush_cidx = cidx; in flush_completed_wrs() 499 if (rel_idx == srq->cidx) { in reap_srq_cqe() 710 if (idx < wq->sq.cidx) in poll_cq() [all …]
|
| A D | restrack.c | 48 if (rdma_nl_put_driver_u32(msg, "cidx", wq->sq.cidx)) in fill_sq() 74 if (rdma_nl_put_driver_u32(msg, "cidx", wq->rq.cidx)) in fill_rq() 159 if (wq.sq.cidx != wq.sq.pidx) { in c4iw_fill_res_qp_entry() 160 first_sq_idx = wq.sq.cidx; in c4iw_fill_res_qp_entry() 279 if (rdma_nl_put_driver_u32(msg, "cidx", cq->cidx)) in fill_cq() 338 idx = (cq->cidx > 0) ? cq->cidx - 1 : cq->size - 1; in fill_hwcqes() 341 idx = cq->cidx; in fill_hwcqes() 396 idx = (cq.cidx > 0) ? cq.cidx - 1 : cq.size - 1; in c4iw_fill_res_cq_entry() 399 idx = cq.cidx; in c4iw_fill_res_cq_entry()
|
| /linux/sound/core/ |
| A D | sound_oss.c | 91 int cidx = SNDRV_MINOR_OSS_CARD(minor); in snd_register_oss_device() local 114 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_AUDIO); in snd_register_oss_device() 117 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI); in snd_register_oss_device() 120 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI1); in snd_register_oss_device() 151 int cidx = SNDRV_MINOR_OSS_CARD(minor); in snd_unregister_oss_device() local 168 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_AUDIO); in snd_unregister_oss_device() 171 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI); in snd_unregister_oss_device() 174 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI1); in snd_unregister_oss_device()
|
| A D | pcm.c | 1044 int cidx, err; in snd_pcm_dev_register() local 1056 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register() 1058 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register() 1060 switch (cidx) { in snd_pcm_dev_register() 1070 &snd_pcm_f_ops[cidx], pcm, in snd_pcm_dev_register() 1071 &pcm->streams[cidx].dev); in snd_pcm_dev_register() 1092 int cidx; in snd_pcm_dev_disconnect() local 1099 for_each_pcm_substream(pcm, cidx, substream) { in snd_pcm_dev_disconnect() 1112 for_each_pcm_substream(pcm, cidx, substream) in snd_pcm_dev_disconnect() 1116 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| A D | sge.c | 510 unsigned int cidx = q->cidx; in free_freelQ_buffers() local 519 if (++cidx == q->size) in free_freelQ_buffers() 520 cidx = 0; in free_freelQ_buffers() 625 unsigned int cidx = q->cidx; in free_cmdQ_buffers() local 628 ce = &q->centries[cidx]; in free_cmdQ_buffers() 643 if (++cidx == q->size) { in free_cmdQ_buffers() 644 cidx = 0; in free_cmdQ_buffers() 648 q->cidx = cidx; in free_cmdQ_buffers() 1523 fl->cidx = 0; in process_responses() 1534 q->cidx = 0; in process_responses() [all …]
|
| /linux/drivers/scsi/csiostor/ |
| A D | csio_wr.c | 871 uint16_t cidx = q->cidx = ntohs(stp->cidx); in csio_wr_get() local 882 if (pidx > cidx) { in csio_wr_get() 884 } else if (cidx > pidx) { in csio_wr_get() 885 credits = cidx - pidx - 1; in csio_wr_get() 1002 if (q->pidx > q->cidx) in csio_wr_avail_qcredits() 1003 return q->pidx - q->cidx; in csio_wr_avail_qcredits() 1004 else if (q->cidx > q->pidx) in csio_wr_avail_qcredits() 1024 flq->cidx++; in csio_wr_inval_flq_buf() 1026 flq->cidx = 0; in csio_wr_inval_flq_buf() 1207 q->cidx = 0; in csio_wr_process_iq() [all …]
|
| A D | csio_wr.h | 275 __be16 cidx; member 396 uint16_t cidx; /* consumer index */ member 455 #define csio_q_cidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->cidx)
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| A D | sge.c | 290 unsigned int cidx = q->cidx; in free_tx_desc() local 295 d = &q->sdesc[cidx]; in free_tx_desc() 306 if (++cidx == q->size) { in free_tx_desc() 307 cidx = 0; in free_tx_desc() 311 q->cidx = cidx; in free_tx_desc() 381 unsigned int cidx = q->cidx; in free_rx_bufs() local 388 if (++cidx == q->size) in free_rx_bufs() 389 cidx = 0; in free_rx_bufs() 2405 fl->cidx = 0; in process_responses() 2416 q->cidx = 0; in process_responses() [all …]
|
| A D | adapter.h | 107 unsigned int cidx; /* consumer index */ member 133 unsigned int cidx; /* consumer index */ member 171 unsigned int cidx; /* consumer index */ member
|
| A D | common.h | 737 unsigned int cidx); 741 unsigned int cidx); 744 unsigned int fl_thres, int gen, unsigned int cidx);
|
| A D | t3_hw.c | 2179 unsigned int cidx) in t3_sge_init_ecntxt() argument 2189 t3_write_reg(adapter, A_SG_CONTEXT_DATA0, V_EC_INDEX(cidx) | in t3_sge_init_ecntxt() 2222 unsigned int cidx) in t3_sge_init_flcntxt() argument 2234 V_FL_INDEX_LO(cidx & M_FL_INDEX_LO)); in t3_sge_init_flcntxt() 2236 V_FL_GEN(gen) | V_FL_INDEX_HI(cidx >> 12) | in t3_sge_init_flcntxt() 2261 unsigned int fl_thres, int gen, unsigned int cidx) in t3_sge_init_rspcntxt() argument 2272 V_CQ_INDEX(cidx)); in t3_sge_init_rspcntxt()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| A D | sge.c | 381 unsigned int cidx = tq->cidx; in free_tx_desc() local 401 cidx = 0; in free_tx_desc() 405 tq->cidx = cidx; in free_tx_desc() 485 fl->cidx = 0; in free_rx_bufs() 513 fl->cidx = 0; in unmap_rx_buf() 1717 if (fl->cidx == 0) in restore_rx_bufs() 1720 fl->cidx--; in restore_rx_bufs() 1738 rspq->cidx = 0; in rspq_next() 2344 rspq->cidx = 0; in t4vf_sge_alloc_rxq() 2366 fl->cidx = 0; in t4vf_sge_alloc_rxq() [all …]
|
| A D | adapter.h | 129 unsigned int cidx; /* consumer index */ member 169 unsigned int cidx; /* consumer index */ member 236 unsigned int cidx; /* SW consumer index */ member
|
| A D | cxgb4vf_main.c | 2076 T("TxQ CIdx:", q.cidx); in sge_qinfo_show() 2083 R("RspQ CIdx:", rspq.cidx); in sge_qinfo_show() 2089 R("FL CIdx:", fl.cidx); in sge_qinfo_show() 2103 seq_printf(seq, "%-12s %16u\n", "RspQ Cidx:", evtq->cidx); in sge_qinfo_show() 2114 seq_printf(seq, "%-12s %16u\n", "RspQ Cidx:", intrq->cidx); in sge_qinfo_show() 2233 seq_printf(seq, "%-16s %8u\n", "RspQ CIdx:", evtq->cidx); in sge_qstats_show() 2241 seq_printf(seq, "%-16s %8u\n", "RspQ CIdx:", intrq->cidx); in sge_qstats_show()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| A D | sge.c | 316 unsigned int cidx = q->cidx; in free_tx_desc() local 319 d = &q->sdesc[cidx]; in free_tx_desc() 331 cidx = 0; in free_tx_desc() 335 q->cidx = cidx; in free_tx_desc() 344 hw_cidx -= q->cidx; in reclaimable() 450 q->cidx = 0; in free_rx_bufs() 475 q->cidx = 0; in unmap_rx_buf() 3634 WRITE_ONCE(txq->q.stat->cidx, egr->cidx); in t4_tx_completion_handler() 3836 q->cidx--; in restore_rx_bufs() 3868 q->cidx = 0; in rspq_next() [all …]
|
| A D | cxgb4_debugfs.c | 2697 T("TxQ CIDX:", q.cidx); in sge_qinfo_show() 2720 R("FL CIDX:", fl.cidx); in sge_qinfo_show() 2779 R("FL CIDX:", fl.cidx); in sge_qinfo_show() 2820 T("TxQ CIDX:", q.cidx); in sge_qinfo_show() 2834 R("FL CIDX:", fl.cidx); in sge_qinfo_show() 2889 T("CIDX:", cidx); in sge_qinfo_show() 2928 T("TxQ CIDX:", q.cidx); in sge_qinfo_show() 2957 R("FL CIDX:", fl.cidx); in sge_qinfo_show() 3007 R("FL CIDX:", fl.cidx); in sge_qinfo_show() 3033 R("FL CIDX:", fl.cidx); in sge_qinfo_show() [all …]
|
| A D | t4_hw.h | 151 __be16 cidx; member
|
| A D | cxgb4.h | 736 unsigned int cidx; /* consumer index */ member 777 unsigned int cidx; /* consumer index */ member 847 unsigned int cidx; /* SW consumer index */ member 935 u32 cidx; /* Current Consumer Index */ member
|
| /linux/drivers/hwtracing/stm/ |
| A D | core.c | 285 unsigned int midx, cidx, mend, cend; in stm_output_assign() local 299 stp_policy_node_get_ranges(policy_node, &midx, &mend, &cidx, &cend); in stm_output_assign() 307 ret = stm_find_master_chan(stm, width, &midx, mend, &cidx, cend); in stm_output_assign() 312 output->channel = cidx; in stm_output_assign() 327 dev_dbg(&stm->dev, "assigned %u:%u (+%u)\n", midx, cidx, width); in stm_output_assign()
|
| /linux/sound/pci/hda/ |
| A D | hda_generic.c | 974 int cidx, unsigned long val) in add_control() argument 981 knew->index = cidx; in add_control() 992 const char *sfx, int cidx, unsigned long val) in add_control_with_pfx() argument 996 if (!add_control(spec, type, name, cidx, val)) in add_control_with_pfx() 1007 #define __add_pb_sw_ctrl(spec, type, pfx, cidx, val) \ argument 1040 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol() 1070 int cidx, struct nid_path *path) in add_stereo_sw() argument 1073 return add_sw_ctl(codec, pfx, cidx, chs, path); in add_stereo_sw() 2147 const char *pfx, int cidx) in create_extra_out() argument 2155 err = add_stereo_vol(codec, pfx, cidx, path); in create_extra_out() [all …]
|
| /linux/drivers/dma/ti/ |
| A D | edma.c | 961 int bcnt, ccnt, cidx; in edma_config_pset() local 997 cidx = acnt; in edma_config_pset() 1015 cidx = acnt * bcnt; in edma_config_pset() 1022 src_cidx = cidx; in edma_config_pset() 1030 dst_cidx = cidx; in edma_config_pset() 1034 src_cidx = cidx; in edma_config_pset() 1036 dst_cidx = cidx; in edma_config_pset()
|