Home
last modified time | relevance | path

Searched refs:chip_info (Results 1 – 25 of 111) sorted by relevance

12345

/linux/drivers/video/fbdev/via/
A Ddvi.c41 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_tmds_trasmitter_identify()
72 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify()
93 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify()
96 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify()
111 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_tmds_trasmitter_identify()
128 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify()
130 viaparinfo->chip_info->tmds_chip_info. in viafb_tmds_trasmitter_identify()
265 viaparinfo->chip_info-> in viafb_dvi_query_EDID()
315 if (viaparinfo->chip_info-> in viafb_dvi_disable()
427 viafb_i2c_writebyte(viaparinfo->chip_info-> in viafb_dvi_enable()
[all …]
A Dlcd.c710 &viaparinfo->chip_info->lvds_chip_info2); in viafb_lcd_disable()
714 &viaparinfo->chip_info->lvds_chip_info); in viafb_lcd_disable()
715 if (VT1636_LVDS == viaparinfo->chip_info-> in viafb_lcd_disable()
718 &viaparinfo->chip_info->lvds_chip_info); in viafb_lcd_disable()
742 viaparinfo->chip_info->gfx_chip_name)) in set_lcd_output_path()
764 viaparinfo->chip_info-> in viafb_lcd_enable()
775 &viaparinfo->chip_info->lvds_chip_info2); in viafb_lcd_enable()
779 &viaparinfo->chip_info->lvds_chip_info); in viafb_lcd_enable()
780 if (VT1636_LVDS == viaparinfo->chip_info-> in viafb_lcd_enable()
783 lvds_setting_info, &viaparinfo->chip_info-> in viafb_lcd_enable()
[all …]
A Dhw.c622 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()
1595 viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1598 viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1614 viaparinfo->chip_info->tmds_chip_info in init_tmds_chip_info()
1642 viaparinfo->chip_info-> in init_lvds_chip_info()
[all …]
A Dvia_utility.c15 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()
/linux/drivers/iio/light/
A Dbh1750.c41 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()
109 const struct bh1750_chip_info *chip_info = data->chip_info; in bh1750_read() local
137 const struct bh1750_chip_info *chip_info = data->chip_info; in bh1750_read_raw() local
194 const struct bh1750_chip_info *chip_info = data->chip_info; in bh1750_show_int_time_available() local
196 for (i = chip_info->mtreg_min; i <= chip_info->mtreg_max; i += chip_info->inc) in bh1750_show_int_time_available()
198 chip_info->mtreg_to_usec * i); in bh1750_show_int_time_available()
[all …]
/linux/drivers/crypto/qat/qat_common/
A Dqat_hal.c637 if (handle->chip_info->nn) in qat_hal_clear_gpr()
700 handle->chip_info->nn = false; in qat_hal_chip_init()
734 handle->chip_info->nn = true; in qat_hal_chip_init()
767 handle->chip_info->nn = true; in qat_hal_chip_init()
855 handle->chip_info = kzalloc(sizeof(*handle->chip_info), GFP_KERNEL); in qat_hal_init()
856 if (!handle->chip_info) { in qat_hal_init()
885 kfree(handle->chip_info); in qat_hal_init()
897 kfree(handle->chip_info); in qat_hal_deinit()
938 if (!handle->chip_info->fw_auth) in qat_hal_stop()
1029 if (handle->chip_info->lm2lm3) { in qat_hal_exec_micro_inst()
[all …]
/linux/drivers/power/supply/
A Dbq25980_charger.c102 const struct bq25980_chip_info *chip_info; member
354 busovp = bq->chip_info->busovp_byp_max; in bq25980_set_input_volt_lim()
361 busovp = bq->chip_info->busovp_sc_max; in bq25980_set_input_volt_lim()
363 busovp = bq->chip_info->busovp_sc_min; in bq25980_set_input_volt_lim()
417 bq->chip_info->batovp_offset); in bq25980_get_const_charge_volt()
425 if (batovp < bq->chip_info->batovp_min) in bq25980_set_const_charge_volt()
426 batovp = bq->chip_info->batovp_min; in bq25980_set_const_charge_volt()
428 if (batovp > bq->chip_info->batovp_max) in bq25980_set_const_charge_volt()
429 batovp = bq->chip_info->batovp_max; in bq25980_set_const_charge_volt()
432 bq->chip_info->batovp_step; in bq25980_set_const_charge_volt()
[all …]
A Dbq256xx_charger.c239 const struct bq256xx_chip_info *chip_info; member
1020 if (bq->chip_info->has_usb_detect) { in bq256xx_get_charger_property()
1530 bq->chip_info->bq256xx_def_ichg; in bq256xx_hw_init()
1533 bq->chip_info->bq256xx_def_vbatreg; in bq256xx_hw_init()
1536 bq->chip_info->bq256xx_def_iprechg; in bq256xx_hw_init()
1539 bq->chip_info->bq256xx_def_iterm; in bq256xx_hw_init()
1542 bq->chip_info->bq256xx_max_ichg; in bq256xx_hw_init()
1545 bq->chip_info->bq256xx_max_vbatreg; in bq256xx_hw_init()
1562 ret = bq->chip_info->bq256xx_set_ichg(bq, in bq256xx_hw_init()
1577 ret = bq->chip_info->bq256xx_set_iterm(bq, in bq256xx_hw_init()
[all …]
/linux/drivers/iio/pressure/
A Dms5611_core.c89 i, &st->chip_info->prom[i]); in ms5611_read_prom()
118 return st->chip_info->temp_and_pressure_compensate(st->chip_info, in ms5611_read_temp_and_pressure()
128 dt = t - (chip_info->prom[5] << 8); in ms5611_temp_and_pressure_compensate()
129 off = ((s64)chip_info->prom[2] << 16) + ((chip_info->prom[4] * dt) >> 7); in ms5611_temp_and_pressure_compensate()
130 sens = ((s64)chip_info->prom[1] << 15) + ((chip_info->prom[3] * dt) >> 8); in ms5611_temp_and_pressure_compensate()
132 t = 2000 + ((chip_info->prom[6] * dt) >> 23); in ms5611_temp_and_pressure_compensate()
164 dt = t - (chip_info->prom[5] << 8); in ms5607_temp_and_pressure_compensate()
165 off = ((s64)chip_info->prom[2] << 17) + ((chip_info->prom[4] * dt) >> 6); in ms5607_temp_and_pressure_compensate()
166 sens = ((s64)chip_info->prom[1] << 16) + ((chip_info->prom[3] * dt) >> 7); in ms5607_temp_and_pressure_compensate()
168 t = 2000 + ((chip_info->prom[6] * dt) >> 23); in ms5607_temp_and_pressure_compensate()
[all …]
A Dbmp280-core.c89 const struct bmp280_chip_info *chip_info; member
452 ret = data->chip_info->read_temp(data, val); in bmp280_read_raw()
501 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_humid()
518 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp()
535 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press()
592 *vals = data->chip_info->oversampling_temp_avail; in bmp280_read_avail()
1015 data->chip_info = &bmp180_chip_info; in bmp280_common_probe()
1022 data->chip_info = &bmp280_chip_info; in bmp280_common_probe()
1029 data->chip_info = &bme280_chip_info; in bmp280_common_probe()
1083 ret = data->chip_info->chip_config(data); in bmp280_common_probe()
[all …]
/linux/drivers/iio/adc/
A Dad7780.c60 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()
323 st->chip_info = in ad7780_probe()
328 indio_dev->channels = &st->chip_info->channel; in ad7780_probe()
A Dmcp320x.c93 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()
398 adc->chip_info = chip_info; in mcp320x_probe()
[all …]
A Dad7476.c41 const struct ad7476_chip_info *chip_info; member
159 scale_uv = st->chip_info->int_vref_uv; in ad7476_read_raw()
316 st->chip_info = in ad7476_probe()
332 if (!st->chip_info->int_vref_uv) in ad7476_probe()
335 if (st->chip_info->has_vref) { in ad7476_probe()
338 if (st->chip_info->int_vref_uv) { in ad7476_probe()
371 if (st->chip_info->has_vdrive) { in ad7476_probe()
396 indio_dev->channels = st->chip_info->channel; in ad7476_probe()
401 indio_dev->channels = st->chip_info->convst_channel; in ad7476_probe()
415 if (st->chip_info->reset) in ad7476_probe()
[all …]
A Dad7793.c154 const struct ad7793_chip_info *chip_info; member
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()
299 (st->chip_info->flags & AD7793_FLAG_HAS_VBIAS)) in ad7793_setup()
458 *val = st->chip_info in ad7793_read_raw()
505 if (val == st->chip_info->sample_freq_avail[i]) in ad7793_write_raw()
824 st->chip_info = in ad7793_probe()
829 indio_dev->channels = st->chip_info->channels; in ad7793_probe()
[all …]
A Dad7091r-base.c47 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()
/linux/drivers/iio/amplifiers/
A Dhmc425a.c39 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()
/linux/drivers/iio/proximity/
A Dsrf08.c76 const struct srf08_chip_info *chip_info; member
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()
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()
499 if (data->chip_info->range_default) { in srf08_probe()
508 data->chip_info->range_default); in srf08_probe()
513 if (data->chip_info->sensitivity_default) { in srf08_probe()
[all …]
/linux/drivers/iio/dac/
A Dad5449.c63 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 …]
A Dad5360.c76 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 …]
A Dad5764.c54 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()
/linux/drivers/spi/
A Dspi-pl022.c1645 switch (chip_info->rx_lev_trig) { in verify_controller_parameters()
1670 switch (chip_info->tx_lev_trig) { in verify_controller_parameters()
1696 if ((chip_info->ctrl_len < SSP_BITS_4) in verify_controller_parameters()
1710 if ((chip_info->duplex != in verify_controller_parameters()
1712 && (chip_info->duplex != in verify_controller_parameters()
1867 chip_info = spi->controller_data; in pl022_setup()
1869 if (chip_info == NULL) { in pl022_setup()
1889 chip_info = &chip_info_dt; in pl022_setup()
1891 chip_info = &pl022_default_chip_info; in pl022_setup()
1904 if ((0 == chip_info->clk_freq.cpsdvsr) in pl022_setup()
[all …]
/linux/sound/soc/sof/intel/
A Dpci-tgl.c30 .chip_info = &tgl_chip_info,
46 .chip_info = &tglh_chip_info,
61 .chip_info = &ehl_chip_info,
77 .chip_info = &adls_chip_info,
93 .chip_info = &tgl_chip_info,
/linux/drivers/iio/imu/
A Dadis16480.c361 if (scaled_rate > st->chip_info->int_clk) in adis16480_set_freq()
391 if (t > st->chip_info->max_dec_rate) in adis16480_set_freq()
392 t = st->chip_info->max_dec_rate; in adis16480_set_freq()
663 *val = st->chip_info->gyro_max_scale; in adis16480_read_raw()
664 *val2 = st->chip_info->gyro_max_val; in adis16480_read_raw()
667 *val = st->chip_info->accel_max_scale; in adis16480_read_raw()
668 *val2 = st->chip_info->accel_max_val; in adis16480_read_raw()
1347 if (st->chip_info->has_pps_clk_mode) { in adis16480_ext_clk_config()
1376 if (st->chip_info->has_pps_clk_mode) { in adis16480_get_ext_clocks()
1433 if (st->chip_info->has_sleep_cnt) { in adis16480_probe()
[all …]
A Dadis16460.c68 const struct adis16460_chip_info *chip_info; member
200 *val = st->chip_info->gyro_max_scale; in adis16460_read_raw()
201 *val2 = st->chip_info->gyro_max_val; in adis16460_read_raw()
204 *val = st->chip_info->accel_max_scale; in adis16460_read_raw()
205 *val2 = st->chip_info->accel_max_val; in adis16460_read_raw()
378 st->chip_info = &adis16460_chip_info; in adis16460_probe()
380 indio_dev->channels = st->chip_info->channels; in adis16460_probe()
381 indio_dev->num_channels = st->chip_info->num_channels; in adis16460_probe()
/linux/drivers/input/touchscreen/
A Dst1232.c59 const struct st_chip_info *chip_info; member
139 for (i = 0; i < ts->chip_info->max_fingers; i++) { in st1232_ts_parse_and_report()
150 if (ts->chip_info->have_z) in st1232_ts_parse_and_report()
163 if (ts->chip_info->have_z) in st1232_ts_parse_and_report()
254 ts->chip_info = match; in st1232_ts_probe()
257 ts->read_buf_len = ts->chip_info->max_fingers * 4; in st1232_ts_probe()
303 if (ts->chip_info->have_z) in st1232_ts_probe()
305 ts->chip_info->max_area, 0, 0); in st1232_ts_probe()
314 error = input_mt_init_slots(input_dev, ts->chip_info->max_fingers, in st1232_ts_probe()

Completed in 52 milliseconds

12345