Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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 int (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);
/Linux-v6.6/Documentation/devicetree/bindings/mtd/
Dlpc32xx-mlc.txt4 - compatible: "nxp,lpc3220-mlc"
26 mlc: flash@200a8000 {
27 compatible = "nxp,lpc3220-mlc";
/Linux-v6.6/drivers/video/fbdev/
Dimsttfb.c312 __u8 mlc[3]; /* Memory Loop Config 0x39 */ member
586 __u8 mlc, lckl_p; in set_imstt_regvals_tvp() local
594 mlc = init->mlc[0]; in set_imstt_regvals_tvp()
601 mlc = init->mlc[1]; in set_imstt_regvals_tvp()
608 mlc = init->mlc[2]; in set_imstt_regvals_tvp()
615 mlc = init->mlc[2]; in set_imstt_regvals_tvp()
645 par->cmap_regs[TVPIDATA] = mlc; eieio(); in set_imstt_regvals_tvp()
/Linux-v6.6/arch/arm/boot/dts/nxp/lpc/
Dlpc32xx.dtsi72 mlc: flash@200a8000 { label
73 compatible = "nxp,lpc3220-mlc";
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-mtd107 absent, ram, rom, nor, nand, mlc-nand, dataflash, ubi, unknown