Searched refs:ch_data (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/iio/proximity/ |
D | hx9023s.c | 150 struct hx9023s_ch_data ch_data[HX9023S_CH_NUM]; member 336 ch_pos[i] = data->ch_data[i].channel_positive == HX9023S_NOT_CONNECTED ? in hx9023s_ch_cfg() 337 HX9023S_NOT_CONNECTED : conn_cs[data->ch_data[i].channel_positive]; in hx9023s_ch_cfg() 338 ch_neg[i] = data->ch_data[i].channel_negative == HX9023S_NOT_CONNECTED ? in hx9023s_ch_cfg() 339 HX9023S_NOT_CONNECTED : conn_cs[data->ch_data[i].channel_negative]; in hx9023s_ch_cfg() 405 data->ch_data[ch].thres.near = tmp; in hx9023s_get_thres_near() 425 data->ch_data[ch].thres.far = tmp; in hx9023s_get_thres_far() 436 data->ch_data[ch].thres.near = ((val / 32) & GENMASK(9, 0)) * 32; in hx9023s_set_thres_near() 448 data->ch_data[ch].thres.far = ((val / 32) & GENMASK(9, 0)) * 32; in hx9023s_set_thres_far() 472 data->ch_data[i].sel_diff = test_bit(i, &tmp); in hx9023s_data_select() [all …]
|
/linux-6.12.1/drivers/iio/dac/ |
D | ad3552r.c | 282 struct ad3552r_ch_data ch_data[AD3552R_MAX_CH]; member 484 *val = dac->ch_data[ch].scale_int; in ad3552r_read_raw() 485 *val2 = dac->ch_data[ch].scale_dec; in ad3552r_read_raw() 488 *val = dac->ch_data[ch].offset_int; in ad3552r_read_raw() 489 *val2 = dac->ch_data[ch].offset_dec; in ad3552r_read_raw() 735 common = 2575 * dac->ch_data[i].rfb; in ad3552r_get_custom_range() 736 offset = dac->ch_data[i].gain_offset; in ad3552r_get_custom_range() 738 gn = gains_scaling_table[dac->ch_data[i].n]; in ad3552r_get_custom_range() 743 gp = gains_scaling_table[dac->ch_data[i].p]; in ad3552r_get_custom_range() 754 if (dac->ch_data[ch].range_override) { in ad3552r_calc_gain_and_offset() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_dp_aux.c | 248 i915_reg_t ch_ctl, ch_data[5]; in intel_dp_aux_xfer() local 259 for (i = 0; i < ARRAY_SIZE(ch_data); i++) in intel_dp_aux_xfer() 260 ch_data[i] = intel_dp->aux_ch_data_reg(intel_dp, i); in intel_dp_aux_xfer() 342 intel_de_write(display, ch_data[i >> 2], in intel_dp_aux_xfer() 425 intel_dp_aux_unpack(intel_de_read(display, ch_data[i >> 2]), in intel_dp_aux_xfer()
|
/linux-6.12.1/drivers/iio/adc/ |
D | spear_adc.c | 53 u32 ch_data[SPEAR_ADC_CHANNEL_NUM]; member 66 struct chan_data ch_data[SPEAR_ADC_CHANNEL_NUM]; member
|
/linux-6.12.1/drivers/gpu/drm/gma500/ |
D | cdv_intel_dp.c | 574 uint32_t ch_data = ch_ctl + 4; in cdv_intel_dp_aux_ch() local 603 REG_WRITE(ch_data + i, in cdv_intel_dp_aux_ch() 660 unpack_aux(REG_READ(ch_data + i), in cdv_intel_dp_aux_ch()
|