Searched refs:center (Results 1 – 9 of 9) sorted by relevance
/drivers/hid/ |
D | hid-nintendo.c | 114 s32 center; member 325 ctlr->left_stick_cal_x.center = DFLT_STICK_CAL_CEN; in joycon_request_calibration() 329 ctlr->left_stick_cal_y.center = DFLT_STICK_CAL_CEN; in joycon_request_calibration() 333 ctlr->right_stick_cal_x.center = DFLT_STICK_CAL_CEN; in joycon_request_calibration() 337 ctlr->right_stick_cal_y.center = DFLT_STICK_CAL_CEN; in joycon_request_calibration() 353 cal_x->center = hid_field_extract(ctlr->hdev, (raw_cal + 3), 0, 12); in joycon_request_calibration() 354 cal_y->center = hid_field_extract(ctlr->hdev, (raw_cal + 4), 4, 12); in joycon_request_calibration() 357 cal_x->max = cal_x->center + x_max_above; in joycon_request_calibration() 358 cal_x->min = cal_x->center - x_min_below; in joycon_request_calibration() 359 cal_y->max = cal_y->center + y_max_above; in joycon_request_calibration() [all …]
|
/drivers/md/persistent-data/ |
D | dm-btree-remove.c | 271 struct btree_node *left, struct btree_node *center, struct btree_node *right, in delete_center_node() argument 278 node_copy(left, center, -shift); in delete_center_node() 285 node_copy(center, right, shift); in delete_center_node() 302 struct btree_node *left, struct btree_node *center, struct btree_node *right, in redistribute3() argument 320 shift(left, center, -nr_center); in redistribute3() 325 shift(left, center, s); in redistribute3() 327 shift(center, right, target_right - nr_right); in redistribute3() 333 shift(center, right, nr_center); in redistribute3() 338 shift(center, right, s); in redistribute3() 340 shift(left, center, nr_left - target_left); in redistribute3() [all …]
|
/drivers/input/joystick/iforce/ |
D | iforce-ff.c | 148 __u16 rsat, __u16 lsat, __s16 rk, __s16 lk, u16 db, __s16 center) in make_condition_modifier() argument 169 center = (500 * center) >> 15; in make_condition_modifier() 170 data[4] = LO(center); in make_condition_modifier() 171 data[5] = HI(center); in make_condition_modifier() 219 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier() 508 effect->u.condition[0].center); in iforce_upload_condition() 520 effect->u.condition[1].center); in iforce_upload_condition()
|
/drivers/media/platform/s5p-tv/ |
D | mixer_vp_layer.c | 131 static inline unsigned int do_center(unsigned int center, in do_center() argument 139 lower = center - min(center, size / 2); in do_center()
|
D | mixer_grp_layer.c | 136 static inline unsigned int do_center(unsigned int center, in do_center() argument 144 lower = center - min(center, size / 2); in do_center()
|
/drivers/media/tuners/ |
D | mt2063.c | 490 u32 center; in MT2063_ResetExclZones() local 498 center = in MT2063_ResetExclZones() 502 while (center < in MT2063_ResetExclZones() 507 center - pAS_Info->f_LO1_FracN_Avoid, in MT2063_ResetExclZones() 508 center - 1); in MT2063_ResetExclZones() 509 MT2063_AddExclZone(pAS_Info, center + 1, in MT2063_ResetExclZones() 510 center + pAS_Info->f_LO1_FracN_Avoid); in MT2063_ResetExclZones() 511 center += pAS_Info->f_ref; in MT2063_ResetExclZones() 514 center = in MT2063_ResetExclZones() 518 while (center < in MT2063_ResetExclZones() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 691 u32 center = hw->conf.chandef.center_freq1; in rtl_op_config() local 699 if (center > primary) { in rtl_op_config() 702 if (center - primary == 10) { in rtl_op_config() 707 } else if (center - primary == 30) { in rtl_op_config() 716 if (primary - center == 10) { in rtl_op_config() 721 } else if (primary - center == 30) { in rtl_op_config()
|
/drivers/hid/usbhid/ |
D | hid-pidff.c | 391 effect->u.condition[i].center); in pidff_set_condition_report() 420 ret |= cond->center != old_cond->center || in pidff_needs_set_condition()
|
/drivers/video/fbdev/ |
D | tridentfb.c | 67 static int center; variable 82 module_param(center, int, 0); 1189 if (center) in tridentfb_set_par() 1797 center = 1; in tridentfb_setup()
|