/kernel/linux/linux-5.10/drivers/video/fbdev/via/ |
D | dvi.c | 41 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_tmds_trasmitter_identify() 71 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name = VT1632_TMDS; in viafb_tmds_trasmitter_identify() 72 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify() 74 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_31; in viafb_tmds_trasmitter_identify() 83 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name); in viafb_tmds_trasmitter_identify() 85 viaparinfo->chip_info->tmds_chip_info.i2c_port); in viafb_tmds_trasmitter_identify() 88 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_2C; in viafb_tmds_trasmitter_identify() 93 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify() 96 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify() 102 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name = INTEGRATED_TMDS; in viafb_tmds_trasmitter_identify() [all …]
|
D | lcd.c | 91 if (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) { in lvds_identify_integratedlvds() 92 viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name = in lvds_identify_integratedlvds() 97 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds() 104 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds() 106 viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name = in lvds_identify_integratedlvds() 113 if (!viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) { in lvds_identify_integratedlvds() 114 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds() 119 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds() 131 viaparinfo->chip_info->lvds_chip_info.i2c_port = VIA_PORT_31; in viafb_lvds_trasmitter_identify() 136 viaparinfo->chip_info->lvds_chip_info.i2c_port = in viafb_lvds_trasmitter_identify() [all …]
|
D | hw.c | 490 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices() 496 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices() 502 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices() 566 (viaparinfo->chip_info->gfx_chip_name == in viafb_set_iga_path() 622 viaparinfo->chip_info-> in viafb_set_iga_path() 626 viaparinfo->chip_info-> in viafb_set_iga_path() 633 viaparinfo->chip_info-> in viafb_set_iga_path() 637 viaparinfo->chip_info-> in viafb_set_iga_path() 644 viaparinfo->chip_info-> in viafb_set_iga_path() 648 viaparinfo->chip_info-> in viafb_set_iga_path() [all …]
|
D | via_utility.c | 15 if (viaparinfo->chip_info->tmds_chip_info.tmds_chip_name == VT1632_TMDS) in viafb_get_device_support_state() 18 if (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name == VT1631_LVDS) in viafb_get_device_support_state() 135 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_set_gamma_table() 166 !((viaparinfo->chip_info->gfx_chip_name == in viafb_set_gamma_table() 168 (viaparinfo->chip_info->gfx_chip_revision < 15))) { in viafb_set_gamma_table() 190 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_get_gamma_table()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | bh1750.c | 41 const struct bh1750_chip_info *chip_info; member 75 const struct bh1750_chip_info *chip_info = data->chip_info; in bh1750_change_int_time() local 77 if ((usec % chip_info->mtreg_to_usec) != 0) in bh1750_change_int_time() 80 val = usec / chip_info->mtreg_to_usec; in bh1750_change_int_time() 81 if (val < chip_info->mtreg_min || val > chip_info->mtreg_max) in bh1750_change_int_time() 88 regval = (val & chip_info->int_time_high_mask) >> 5; in bh1750_change_int_time() 94 regval = val & chip_info->int_time_low_mask; in bh1750_change_int_time() 109 const struct bh1750_chip_info *chip_info = data->chip_info; in bh1750_read() local 110 unsigned long delay = chip_info->mtreg_to_usec * data->mtreg; in bh1750_read() 137 const struct bh1750_chip_info *chip_info = data->chip_info; in bh1750_read_raw() local [all …]
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | bq25980_charger.c | 102 const struct bq25980_chip_info *chip_info; member 307 busocp = min(busocp, bq->chip_info->busocp_sc_max); in bq25980_set_input_curr_lim() 309 busocp = min(busocp, bq->chip_info->busocp_byp_max); in bq25980_set_input_curr_lim() 329 busovp_step = bq->chip_info->busovp_byp_step; in bq25980_get_input_volt_lim() 330 busovp_offset = bq->chip_info->busovp_byp_offset; in bq25980_get_input_volt_lim() 332 busovp_step = bq->chip_info->busovp_sc_step; in bq25980_get_input_volt_lim() 333 busovp_offset = bq->chip_info->busovp_sc_offset; in bq25980_get_input_volt_lim() 351 busovp_step = bq->chip_info->busovp_byp_step; in bq25980_set_input_volt_lim() 352 busovp_offset = bq->chip_info->busovp_byp_offset; in bq25980_set_input_volt_lim() 353 if (busovp > bq->chip_info->busovp_byp_max) in bq25980_set_input_volt_lim() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ad7780.c | 60 const struct ad7780_chip_info *chip_info; member 146 const struct ad7780_chip_info *chip_info = st->chip_info; in ad7780_write_raw() local 150 if (!chip_info->is_ad778x) in ad7780_write_raw() 159 full_scale = 1 << (chip_info->channel.scan_type.realbits - 1); in ad7780_write_raw() 188 const struct ad7780_chip_info *chip_info = st->chip_info; in ad7780_postprocess_sample() local 191 ((raw_sample & chip_info->pattern_mask) != chip_info->pattern)) in ad7780_postprocess_sample() 194 if (chip_info->is_ad778x) { in ad7780_postprocess_sample() 278 if (!st->chip_info->is_ad778x) in ad7780_init_gpios() 318 st->chip_info = in ad7780_probe() 325 indio_dev->channels = &st->chip_info->channel; in ad7780_probe()
|
D | mcp320x.c | 93 const struct mcp320x_chip_info *chip_info; member 125 if (adc->chip_info->conv_time) { in mcp320x_adc_conversion() 130 usleep_range(adc->chip_info->conv_time, in mcp320x_adc_conversion() 131 adc->chip_info->conv_time + 100); in mcp320x_adc_conversion() 135 if (adc->chip_info->num_channels > 1) in mcp320x_adc_conversion() 223 *val2 = adc->chip_info->resolution; in mcp320x_read_raw() 378 const struct mcp320x_chip_info *chip_info; in mcp320x_probe() local 394 chip_info = &mcp320x_chip_infos[device_index]; in mcp320x_probe() 395 indio_dev->channels = chip_info->channels; in mcp320x_probe() 396 indio_dev->num_channels = chip_info->num_channels; in mcp320x_probe() [all …]
|
D | ad7476.c | 39 const struct ad7476_chip_info *chip_info; member 143 *val = (ret >> st->chip_info->channel[0].scan_type.shift) & in ad7476_read_raw() 144 GENMASK(st->chip_info->channel[0].scan_type.realbits - 1, 0); in ad7476_read_raw() 147 if (!st->chip_info->int_vref_uv) { in ad7476_read_raw() 152 scale_uv = st->chip_info->int_vref_uv; in ad7476_read_raw() 277 st->chip_info = in ad7476_probe() 305 indio_dev->channels = st->chip_info->channel; in ad7476_probe() 310 indio_dev->channels = st->chip_info->convst_channel; in ad7476_probe() 314 st->xfer.len = st->chip_info->channel[0].scan_type.storagebits / 8; in ad7476_probe() 324 if (st->chip_info->reset) in ad7476_probe() [all …]
|
D | ad7091r-base.c | 47 const struct ad7091r_chip_info *chip_info; member 154 *val = st->chip_info->vref_mV; in ad7091r_read_raw() 187 for (i = 0; i < st->chip_info->num_channels; i++) { in ad7091r_event_handler() 211 const struct ad7091r_chip_info *chip_info, in ad7091r_probe() argument 224 st->chip_info = chip_info; in ad7091r_probe() 231 iio_dev->num_channels = chip_info->num_channels; in ad7091r_probe() 232 iio_dev->channels = chip_info->channels; in ad7091r_probe()
|
D | ad7793.c | 154 const struct ad7793_chip_info *chip_info; member 236 if (!(st->chip_info->flags & AD7793_FLAG_HAS_CLKSEL) && in ad7793_check_platform_data() 240 if (!(st->chip_info->flags & AD7793_FLAG_HAS_REFSEL) && in ad7793_check_platform_data() 244 if (!(st->chip_info->flags & AD7793_FLAG_HAS_VBIAS) && in ad7793_check_platform_data() 248 if (!(st->chip_info->flags & AD7793_HAS_EXITATION_CURRENT) && in ad7793_check_platform_data() 281 if (id != st->chip_info->id) { in ad7793_setup() 290 if (st->chip_info->flags & AD7793_FLAG_HAS_CLKSEL) in ad7793_setup() 292 if (st->chip_info->flags & AD7793_FLAG_HAS_REFSEL) in ad7793_setup() 294 if (st->chip_info->flags & AD7793_FLAG_HAS_VBIAS) in ad7793_setup() 296 if (pdata->buffered || !(st->chip_info->flags & AD7793_FLAG_HAS_BUFFER)) in ad7793_setup() [all …]
|
D | ad7091r5.c | 75 const struct ad7091r_chip_info *chip_info; in ad7091r5_i2c_probe() local 82 chip_info = &ad7091r5_chip_info_irq; in ad7091r5_i2c_probe() 84 chip_info = &ad7091r5_chip_info_noirq; in ad7091r5_i2c_probe() 86 return ad7091r_probe(&i2c->dev, id->name, chip_info, map, i2c->irq); in ad7091r5_i2c_probe()
|
D | ad7887.c | 61 const struct ad7887_chip_info *chip_info; member 180 *val = st->chip_info->int_vref_mv; in ad7887_read_raw() 259 st->chip_info = in ad7887_probe() 308 indio_dev->channels = st->chip_info->dual_channels; in ad7887_probe() 309 indio_dev->num_channels = st->chip_info->num_dual_channels; in ad7887_probe() 311 indio_dev->channels = st->chip_info->channels; in ad7887_probe() 312 indio_dev->num_channels = st->chip_info->num_channels; in ad7887_probe()
|
/kernel/linux/linux-5.10/drivers/iio/amplifiers/ |
D | hmc425a.c | 39 struct hmc425a_chip_info *chip_info; member 94 struct hmc425a_chip_info *inf = st->chip_info; in hmc425a_write_raw() 197 st->chip_info = &hmc425a_chip_info_tbl[st->type]; in hmc425a_probe() 198 indio_dev->num_channels = st->chip_info->num_channels; in hmc425a_probe() 199 indio_dev->channels = st->chip_info->channels; in hmc425a_probe() 200 indio_dev->name = st->chip_info->name; in hmc425a_probe() 201 st->gain = st->chip_info->default_gain; in hmc425a_probe() 208 if (st->gpios->ndescs != st->chip_info->num_gpios) { in hmc425a_probe() 210 st->chip_info->num_gpios); in hmc425a_probe()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | st1232.c | 46 const struct st_chip_info *chip_info; member 54 u8 start_reg = ts->chip_info->start_reg; in st1232_ts_read_data() 86 for (i = 0; i < ts->chip_info->max_fingers; i++) { in st1232_ts_parse_and_report() 97 if (ts->chip_info->have_z) in st1232_ts_parse_and_report() 110 if (ts->chip_info->have_z) in st1232_ts_parse_and_report() 206 ts->chip_info = match; in st1232_ts_probe() 209 ts->read_buf_len = ts->chip_info->max_fingers * 4; in st1232_ts_probe() 242 if (ts->chip_info->have_z) in st1232_ts_probe() 244 ts->chip_info->max_area, 0, 0); in st1232_ts_probe() 247 0, ts->chip_info->max_x, 0, 0); in st1232_ts_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/dac/ |
D | ad5449.c | 63 const struct ad5449_chip_info *chip_info; member 260 if (st->chip_info->num_channels == 1) in ad5449_vref_name() 285 st->chip_info = &ad5449_chip_info[id->driver_data]; in ad5449_spi_probe() 288 for (i = 0; i < st->chip_info->num_channels; ++i) in ad5449_spi_probe() 291 ret = devm_regulator_bulk_get(&spi->dev, st->chip_info->num_channels, in ad5449_spi_probe() 296 ret = regulator_bulk_enable(st->chip_info->num_channels, st->vref_reg); in ad5449_spi_probe() 303 indio_dev->channels = st->chip_info->channels; in ad5449_spi_probe() 304 indio_dev->num_channels = st->chip_info->num_channels; in ad5449_spi_probe() 308 if (st->chip_info->has_ctrl) { in ad5449_spi_probe() 328 regulator_bulk_disable(st->chip_info->num_channels, st->vref_reg); in ad5449_spi_probe() [all …]
|
D | ad5360.c | 76 const struct ad5360_chip_info *chip_info; member 177 i = channel / st->chip_info->channels_per_group; in ad5360_get_channel_vref_index() 178 if (i >= st->chip_info->num_vrefs) in ad5360_get_channel_vref_index() 179 i = st->chip_info->num_vrefs - 1; in ad5360_get_channel_vref_index() 442 channels = kcalloc(st->chip_info->num_channels, in ad5360_alloc_channels() 448 for (i = 0; i < st->chip_info->num_channels; ++i) { in ad5360_alloc_channels() 449 channels[i] = st->chip_info->channel_template; in ad5360_alloc_channels() 476 st->chip_info = &ad5360_chip_info_tbl[type]; in ad5360_probe() 482 indio_dev->num_channels = st->chip_info->num_channels; in ad5360_probe() 492 for (i = 0; i < st->chip_info->num_vrefs; ++i) in ad5360_probe() [all …]
|
D | ad5764.c | 54 const struct ad5764_chip_info *chip_info; member 215 if (st->chip_info->int_vref) in ad5764_get_channel_vref() 216 return st->chip_info->int_vref; in ad5764_get_channel_vref() 290 st->chip_info = &ad5764_chip_infos[type]; in ad5764_probe() 296 indio_dev->channels = st->chip_info->channels; in ad5764_probe() 300 if (st->chip_info->int_vref == 0) { in ad5764_probe() 330 if (st->chip_info->int_vref == 0) in ad5764_probe() 342 if (st->chip_info->int_vref == 0) in ad5764_remove()
|
D | ad5446.c | 45 const struct ad5446_chip_info *chip_info; member 131 ret = st->chip_info->write(st, val); in ad5446_write_dac_powerdown() 209 ret = st->chip_info->write(st, val); in ad5446_write_raw() 225 const struct ad5446_chip_info *chip_info) in ad5446_probe() argument 251 st->chip_info = chip_info; in ad5446_probe() 260 indio_dev->channels = &st->chip_info->channel; in ad5446_probe() 267 if (st->chip_info->int_vref_mv) in ad5446_probe() 268 st->vref_mv = st->chip_info->int_vref_mv; in ad5446_probe()
|
/kernel/linux/linux-5.10/drivers/iio/proximity/ |
D | srf08.c | 76 const struct srf08_chip_info *chip_info; member 321 for (i = 0; i < data->chip_info->num_sensitivity_avail; i++) in srf08_show_sensitivity_available() 322 if (data->chip_info->sensitivity_avail[i]) in srf08_show_sensitivity_available() 324 data->chip_info->sensitivity_avail[i]); in srf08_show_sensitivity_available() 356 for (i = 0; i < data->chip_info->num_sensitivity_avail; i++) in srf08_write_sensitivity() 357 if (val && (val == data->chip_info->sensitivity_avail[i])) { in srf08_write_sensitivity() 362 if (i >= data->chip_info->num_sensitivity_avail) in srf08_write_sensitivity() 470 data->chip_info = &srf02_chip_info; in srf08_probe() 474 data->chip_info = &srf08_chip_info; in srf08_probe() 478 data->chip_info = &srf10_chip_info; in srf08_probe() [all …]
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
D | sof-pci-dev.c | 93 .chip_info = &apl_chip_info, 111 .chip_info = &apl_chip_info, 138 .chip_info = &tng_chip_info, 157 .chip_info = &cnl_chip_info, 176 .chip_info = &cnl_chip_info, 195 .chip_info = &cnl_chip_info, 214 .chip_info = &icl_chip_info, 233 .chip_info = &tgl_chip_info, 249 .chip_info = &tglh_chip_info, 267 .chip_info = &ehl_chip_info, [all …]
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-pl022.c | 1624 struct pl022_config_chip const *chip_info) in verify_controller_parameters() argument 1626 if ((chip_info->iface < SSP_INTERFACE_MOTOROLA_SPI) in verify_controller_parameters() 1627 || (chip_info->iface > SSP_INTERFACE_UNIDIRECTIONAL)) { in verify_controller_parameters() 1632 if ((chip_info->iface == SSP_INTERFACE_UNIDIRECTIONAL) && in verify_controller_parameters() 1639 if ((chip_info->hierarchy != SSP_MASTER) in verify_controller_parameters() 1640 && (chip_info->hierarchy != SSP_SLAVE)) { in verify_controller_parameters() 1645 if ((chip_info->com_mode != INTERRUPT_TRANSFER) in verify_controller_parameters() 1646 && (chip_info->com_mode != DMA_TRANSFER) in verify_controller_parameters() 1647 && (chip_info->com_mode != POLLING_TRANSFER)) { in verify_controller_parameters() 1652 switch (chip_info->rx_lev_trig) { in verify_controller_parameters() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
D | bmp280-core.c | 89 const struct bmp280_chip_info *chip_info; member 446 ret = data->chip_info->read_humid(data, val, val2); in bmp280_read_raw() 449 ret = data->chip_info->read_press(data, val, val2); in bmp280_read_raw() 452 ret = data->chip_info->read_temp(data, val); in bmp280_read_raw() 494 const int *avail = data->chip_info->oversampling_humid_avail; in bmp280_write_oversampling_ratio_humid() 495 const int n = data->chip_info->num_oversampling_humid_avail; in bmp280_write_oversampling_ratio_humid() 501 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_humid() 511 const int *avail = data->chip_info->oversampling_temp_avail; in bmp280_write_oversampling_ratio_temp() 512 const int n = data->chip_info->num_oversampling_temp_avail; in bmp280_write_oversampling_ratio_temp() 518 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/imu/ |
D | adis16460.c | 69 const struct adis16460_chip_info *chip_info; member 201 *val = st->chip_info->gyro_max_scale; in adis16460_read_raw() 202 *val2 = st->chip_info->gyro_max_val; in adis16460_read_raw() 205 *val = st->chip_info->accel_max_scale; in adis16460_read_raw() 206 *val2 = st->chip_info->accel_max_val; in adis16460_read_raw() 395 st->chip_info = &adis16460_chip_info; in adis16460_probe() 397 indio_dev->channels = st->chip_info->channels; in adis16460_probe() 398 indio_dev->num_channels = st->chip_info->num_channels; in adis16460_probe()
|
D | adis16480.c | 158 const struct adis16480_chip_info *chip_info; member 339 if (t > st->chip_info->max_dec_rate) in adis16480_set_freq() 340 t = st->chip_info->max_dec_rate; in adis16480_set_freq() 546 *freq = st->chip_info->filter_freqs[(val >> offset) & 0x3]; in adis16480_get_filter_freq() 576 best_diff = st->chip_info->filter_freqs[0]; in adis16480_set_filter_freq() 578 if (st->chip_info->filter_freqs[i] >= freq) { in adis16480_set_filter_freq() 579 diff = st->chip_info->filter_freqs[i] - freq; in adis16480_set_filter_freq() 611 *val = st->chip_info->gyro_max_scale; in adis16480_read_raw() 612 *val2 = st->chip_info->gyro_max_val; in adis16480_read_raw() 615 *val = st->chip_info->accel_max_scale; in adis16480_read_raw() [all …]
|