Home
last modified time | relevance | path

Searched refs:kpcr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/input/keyboard/
H A Dbcm-keypad.c74 u32 kpcr; member
122 int pull_mode = (kp->kpcr >> KPCR_MODE_SHIFT) & KPCR_MODE_MASK; in bcm_kp_isr_thread()
159 writel(kp->kpcr | KPCR_ENABLE, kp->base + KPCR_OFFSET); in bcm_kp_start()
203 kp->kpcr = KPCR_STATUSFILTERENABLE | KPCR_COLFILTERENABLE; in bcm_kp_matrix_key_parse_dt()
212 kp->kpcr |= (kp->n_rows - 1) << KPCR_ROWWIDTH_SHIFT; in bcm_kp_matrix_key_parse_dt()
215 kp->kpcr |= (kp->n_cols - 1) << KPCR_COLUMNWIDTH_SHIFT; in bcm_kp_matrix_key_parse_dt()
260 kp->kpcr |= dt_val << KPCR_STATUSFILTERTYPE_SHIFT; in bcm_kp_matrix_key_parse_dt()
274 kp->kpcr |= dt_val << KPCR_COLFILTERTYPE_SHIFT; in bcm_kp_matrix_key_parse_dt()
296 kp->kpcr |= KPCR_MODE; in bcm_kp_matrix_key_parse_dt()
300 kp->kpcr, kp->kpior, kp->kpemr); in bcm_kp_matrix_key_parse_dt()
/openbmc/qemu/hw/i386/
H A Dvapic.c350 struct kpcr { in get_kpcr_number() struct
355 } QEMU_PACKED kpcr; in get_kpcr_number() local
358 (void *)&kpcr, sizeof(kpcr), 0) < 0 || in get_kpcr_number()
359 kpcr.self != env->segs[R_FS].base) { in get_kpcr_number()
362 return kpcr.number; in get_kpcr_number()