Searched refs:mlc (Results 1 – 5 of 5) sorted by relevance
/drivers/input/serio/ |
D | hil_mlc.c | 87 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 …]
|
D | hp_sdc_mlc.c | 65 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 …]
|
/drivers/nvme/host/ |
D | lightnvm.c | 165 struct nvme_nvm_lp_mlc mlc; member 292 dst->lptbl.mlc.num_pairs = in init_grps() 293 le16_to_cpu(src->lptbl.mlc.num_pairs); in init_grps() 295 if (dst->lptbl.mlc.num_pairs > NVME_NVM_LP_MLC_PAIRS) { in init_grps() 300 memcpy(dst->lptbl.mlc.pairs, src->lptbl.mlc.pairs, in init_grps() 301 dst->lptbl.mlc.num_pairs); in init_grps()
|
/drivers/video/fbdev/ |
D | imsttfb.c | 312 __u8 mlc[3]; /* Memory Loop Config 0x39 */ member 587 __u8 mlc, lckl_p; in set_imstt_regvals_tvp() local 595 mlc = init->mlc[0]; in set_imstt_regvals_tvp() 602 mlc = init->mlc[1]; in set_imstt_regvals_tvp() 609 mlc = init->mlc[2]; in set_imstt_regvals_tvp() 616 mlc = init->mlc[2]; in set_imstt_regvals_tvp() 646 par->cmap_regs[TVPIDATA] = mlc; eieio(); in set_imstt_regvals_tvp()
|
/drivers/lightnvm/ |
D | core.c | 492 struct nvm_id_lp_mlc *mlc = &grp->lptbl.mlc; in nvm_init_mlc_tbl() local 494 if (!mlc->num_pairs) in nvm_init_mlc_tbl() 497 dev->lps_per_blk = mlc->num_pairs; in nvm_init_mlc_tbl() 507 dev->lptbl[0] = mlc->pairs[0] & 0xF; in nvm_init_mlc_tbl() 509 p = mlc->pairs[i >> 1]; in nvm_init_mlc_tbl()
|