Home
last modified time | relevance | path

Searched refs:mlc (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/input/serio/
Dhil_mlc.c87 static void hil_mlc_clear_di_map(hil_mlc *mlc, int val) in hil_mlc_clear_di_map() argument
92 mlc->di_map[j] = -1; in hil_mlc_clear_di_map()
95 static void hil_mlc_clear_di_scratch(hil_mlc *mlc) in hil_mlc_clear_di_scratch() argument
97 memset(&mlc->di_scratch, 0, sizeof(mlc->di_scratch)); in hil_mlc_clear_di_scratch()
100 static void hil_mlc_copy_di_scratch(hil_mlc *mlc, int idx) in hil_mlc_copy_di_scratch() argument
102 memcpy(&mlc->di[idx], &mlc->di_scratch, sizeof(mlc->di_scratch)); in hil_mlc_copy_di_scratch()
105 static int hil_mlc_match_di_scratch(hil_mlc *mlc) in hil_mlc_match_di_scratch() argument
114 if (mlc->di_map[j] == idx) in hil_mlc_match_di_scratch()
120 if (!memcmp(mlc->di + idx, &mlc->di_scratch, in hil_mlc_match_di_scratch()
121 sizeof(mlc->di_scratch))) in hil_mlc_match_di_scratch()
[all …]
Dhp_sdc_mlc.c65 hil_mlc *mlc = &hp_sdc_mlc; in hp_sdc_mlc_isr() local
67 write_lock(&mlc->lock); in hp_sdc_mlc_isr()
68 if (mlc->icount < 0) { in hp_sdc_mlc_isr()
70 up(&mlc->isem); in hp_sdc_mlc_isr()
73 idx = 15 - mlc->icount; in hp_sdc_mlc_isr()
75 mlc->ipacket[idx] |= data | HIL_ERR_INT; in hp_sdc_mlc_isr()
76 mlc->icount--; in hp_sdc_mlc_isr()
79 if ((mlc->ipacket[idx - 1] & HIL_PKT_ADDR_MASK) != in hp_sdc_mlc_isr()
80 (mlc->ipacket[idx] & HIL_PKT_ADDR_MASK)) { in hp_sdc_mlc_isr()
81 mlc->ipacket[idx] &= ~HIL_PKT_ADDR_MASK; in hp_sdc_mlc_isr()
[all …]
/Linux-v5.4/include/linux/
Dhil_mlc.h91 typedef int (hilse_func) (hil_mlc *mlc, int arg);
105 typedef int (hil_mlc_cts) (hil_mlc *mlc);
106 typedef void (hil_mlc_out) (hil_mlc *mlc);
107 typedef int (hil_mlc_in) (hil_mlc *mlc, suseconds_t timeout);
117 hil_mlc *mlc; member
167 int hil_mlc_register(hil_mlc *mlc);
168 int hil_mlc_unregister(hil_mlc *mlc);
Dlightnvm.h187 struct nvm_id_lp_mlc mlc; member
/Linux-v5.4/Documentation/devicetree/bindings/mtd/
Dlpc32xx-mlc.txt4 - compatible: "nxp,lpc3220-mlc"
26 mlc: flash@200a8000 {
27 compatible = "nxp,lpc3220-mlc";
/Linux-v5.4/drivers/video/fbdev/
Dimsttfb.c311 __u8 mlc[3]; /* Memory Loop Config 0x39 */ member
585 __u8 mlc, lckl_p; in set_imstt_regvals_tvp() local
593 mlc = init->mlc[0]; in set_imstt_regvals_tvp()
600 mlc = init->mlc[1]; in set_imstt_regvals_tvp()
607 mlc = init->mlc[2]; in set_imstt_regvals_tvp()
614 mlc = init->mlc[2]; in set_imstt_regvals_tvp()
644 par->cmap_regs[TVPIDATA] = mlc; eieio(); in set_imstt_regvals_tvp()
/Linux-v5.4/arch/arm/boot/dts/
Dlpc32xx.dtsi72 mlc: flash@200a8000 { label
73 compatible = "nxp,lpc3220-mlc";
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-mtd107 absent, ram, rom, nor, nand, mlc-nand, dataflash, ubi, unknown