Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/serio/
Dhil_mlc.c820 mlc->serio_opacket[map->didx] |= in hil_mlc_serio_write()
821 ((hil_packet)c) << (8 * (3 - mlc->serio_oidx[map->didx])); in hil_mlc_serio_write()
823 if (mlc->serio_oidx[map->didx] >= 3) { in hil_mlc_serio_write()
825 if (!(mlc->serio_opacket[map->didx] & HIL_PKT_CMD)) in hil_mlc_serio_write()
827 switch (mlc->serio_opacket[map->didx] & HIL_PKT_DATA_MASK) { 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()
[all …]
/kernel/linux/linux-5.10/drivers/clk/baikal-t1/
Dccu-div.c422 int didx, bidx, num = 2; in ccu_div_var_debug_init() local
432 for (didx = 0, bidx = 0; bidx < CCU_DIV_DBGFS_BIT_NUM; ++bidx) { in ccu_div_var_debug_init()
444 bits[didx] = ccu_div_bits[bidx]; in ccu_div_var_debug_init()
445 bits[didx].div = div; in ccu_div_var_debug_init()
449 bits[didx].mask = CCU_DIV_CTL_LOCK_SHIFTED; in ccu_div_var_debug_init()
452 debugfs_create_file_unsafe(bits[didx].name, ccu_div_dbgfs_mode, in ccu_div_var_debug_init()
453 dentry, &bits[didx], in ccu_div_var_debug_init()
455 ++didx; in ccu_div_var_debug_init()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-cdev.c979 unsigned int i, didx, num_get; in linereq_get_values() local
1001 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1003 descs[didx] = lr->lines[i].desc; in linereq_get_values()
1004 didx++; in linereq_get_values()
1017 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1022 val = test_bit(didx, vals); in linereq_get_values()
1025 didx++; in linereq_get_values()
1040 unsigned int i, didx, num_set; in linereq_set_values_unlocked() local
1062 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values_unlocked()
1064 descs[didx] = lr->lines[i].desc; in linereq_set_values_unlocked()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dhil_mlc.h119 int didx; member
/kernel/linux/linux-5.10/drivers/fsi/
Dfsi-scom.c575 int rc, didx; in scom_probe() local
597 rc = fsi_get_new_minor(fsi_dev, fsi_dev_scom, &scom->dev.devt, &didx); in scom_probe()
601 dev_set_name(&scom->dev, "scom%d", didx); in scom_probe()
Dfsi-sbefifo.c939 int rc, didx, child_idx = 0; in sbefifo_probe() local
973 rc = fsi_get_new_minor(fsi_dev, fsi_dev_sbefifo, &sbefifo->dev.devt, &didx); in sbefifo_probe()
977 dev_set_name(&sbefifo->dev, "sbefifo%d", didx); in sbefifo_probe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c1092 int didx; /* "destination" */ in qib_sd_setvals() local
1096 didx = idx + min_idx; in qib_sd_setvals()
1098 writeq(rxeq_init_vals[idx].rdesc, iaddr + didx); in qib_sd_setvals()