Home
last modified time | relevance | path

Searched refs:didx (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/input/serio/
H A Dhil_mlc.c820 mlc->serio_opacket[map->didx] |= in hil_mlc_serio_write()
829 idx = mlc->di[map->didx].idd; in hil_mlc_serio_write()
832 idx = mlc->di[map->didx].rsc; in hil_mlc_serio_write()
835 idx = mlc->di[map->didx].exd; in hil_mlc_serio_write()
838 idx = mlc->di[map->didx].rnm; in hil_mlc_serio_write()
843 mlc->serio_oidx[map->didx] = 0; in hil_mlc_serio_write()
844 mlc->serio_opacket[map->didx] = 0; in hil_mlc_serio_write()
847 mlc->serio_oidx[map->didx]++; in hil_mlc_serio_write()
869 mlc->serio_oidx[map->didx] = 0; in hil_mlc_serio_write()
870 mlc->serio_opacket[map->didx] = 0; in hil_mlc_serio_write()
[all …]
/openbmc/linux/drivers/fsi/
H A Di2cr-scom.c88 int didx; in i2cr_scom_probe() local
105 ret = fsi_get_new_minor(fsi_dev, fsi_dev_scom, &scom->dev.devt, &didx); in i2cr_scom_probe()
109 dev_set_name(&scom->dev, "scom%d", didx); in i2cr_scom_probe()
H A Dfsi-scom.c534 int rc, didx; in scom_probe() local
556 rc = fsi_get_new_minor(fsi_dev, fsi_dev_scom, &scom->dev.devt, &didx); in scom_probe()
560 dev_set_name(&scom->dev, "scom%d", didx); in scom_probe()
H A Dfsi-sbefifo.c1032 int rc, didx, child_idx = 0; in sbefifo_probe() local
1060 rc = fsi_get_new_minor(fsi_dev, fsi_dev_sbefifo, &sbefifo->dev.devt, &didx); in sbefifo_probe()
1064 dev_set_name(&sbefifo->dev, "sbefifo%d", didx); in sbefifo_probe()
/openbmc/linux/drivers/clk/baikal-t1/
H A Dccu-div.c439 int didx, bidx, num = 2; in ccu_div_var_debug_init() local
449 for (didx = 0, bidx = 0; bidx < CCU_DIV_DBGFS_BIT_NUM; ++bidx) { in ccu_div_var_debug_init()
464 bits[didx] = ccu_div_bits[bidx]; in ccu_div_var_debug_init()
465 bits[didx].div = div; in ccu_div_var_debug_init()
469 bits[didx].mask = CCU_DIV_CTL_LOCK_SHIFTED; in ccu_div_var_debug_init()
472 debugfs_create_file_unsafe(bits[didx].name, ccu_div_dbgfs_mode, in ccu_div_var_debug_init()
473 dentry, &bits[didx], in ccu_div_var_debug_init()
475 ++didx; in ccu_div_var_debug_init()
/openbmc/qemu/hw/ppc/
H A Dppc440_uc.c599 int width, i, sidx, didx; in dcr_write_dma() local
604 sidx = didx = 0; in dcr_write_dma()
617 sidx = didx = count * width; in dcr_write_dma()
620 for (sidx = didx = i = 0; i < count; i++) { in dcr_write_dma()
622 stn_le_p(wptr + didx, width, v); in dcr_write_dma()
627 didx += width; in dcr_write_dma()
633 cpu_physical_memory_unmap(wptr, wlen, 1, didx); in dcr_write_dma()
/openbmc/linux/include/linux/
H A Dhil_mlc.h119 int didx; member
/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c1440 unsigned int i, didx, num_get; in linereq_get_values() local
1462 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1464 descs[didx] = lr->lines[i].desc; in linereq_get_values()
1465 didx++; in linereq_get_values()
1478 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1483 val = test_bit(didx, vals); in linereq_get_values()
1486 didx++; in linereq_get_values()
1501 unsigned int i, didx, num_set; in linereq_set_values_unlocked() local
1523 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values_unlocked()
1525 descs[didx] = lr->lines[i].desc; in linereq_set_values_unlocked()
[all …]
/openbmc/qemu/hw/net/
H A Dvmxnet3.c689 struct Vmxnet3_RxDesc *dbuf, uint32_t *didx) in vmxnet3_read_next_rx_descr() argument
694 *didx = vmxnet3_ring_curr_cell_idx(ring); in vmxnet3_read_next_rx_descr()
779 uint32_t *didx, in vmxnet3_get_next_body_rx_descr() argument
782 vmxnet3_read_next_rx_descr(s, RXQ_IDX, RX_HEAD_BODY_RING, d, didx); in vmxnet3_get_next_body_rx_descr()
789 vmxnet3_read_next_rx_descr(s, RXQ_IDX, RX_HEAD_BODY_RING, d, didx); in vmxnet3_get_next_body_rx_descr()
801 vmxnet3_read_next_rx_descr(s, RXQ_IDX, RX_BODY_ONLY_RING, d, didx); in vmxnet3_get_next_body_rx_descr()
808 vmxnet3_read_next_rx_descr(s, RXQ_IDX, RX_BODY_ONLY_RING, d, didx); in vmxnet3_get_next_body_rx_descr()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c1091 int didx; /* "destination" */ in qib_sd_setvals() local
1095 didx = idx + min_idx; in qib_sd_setvals()
1097 writeq(rxeq_init_vals[idx].rdesc, iaddr + didx); in qib_sd_setvals()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-sve.c7148 TCGv_i64 tmp, didx, dbit; in TRANS_FEAT() local
7160 didx = tcg_temp_new_i64(); in TRANS_FEAT()
7174 tcg_gen_shri_i64(didx, tmp, 3); in TRANS_FEAT()
7176 tcg_gen_xori_i64(didx, didx, 7); in TRANS_FEAT()
7180 tcg_gen_trunc_i64_ptr(ptr, didx); in TRANS_FEAT()
H A Dtranslate-a64.c4880 unsigned didx, sidx; in trans_INS_element() local
4882 if (!decode_esz_idx(a->di, &esz, &didx)) { in trans_INS_element()
4890 write_vec_element(s, tmp, a->rd, didx, esz); in trans_INS_element()