Searched refs:chip_info (Results 1 - 25 of 52) sorted by relevance

123

/drivers/video/fbdev/via/
H A Ddvi.c55 switch (viaparinfo->chip_info->gfx_chip_name) {
85 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name = VT1632_TMDS;
86 viaparinfo->chip_info->
88 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_31;
97 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name);
99 viaparinfo->chip_info->tmds_chip_info.i2c_port);
102 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_2C;
107 viaparinfo->chip_info->
110 viaparinfo->chip_info->
116 viaparinfo->chip_info
[all...]
H A Dlcd.c105 if (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) {
106 viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name =
111 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name =
118 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name =
120 viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name =
127 if (!viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) {
128 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name =
133 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name =
145 viaparinfo->chip_info->lvds_chip_info.i2c_port = VIA_PORT_31;
150 viaparinfo->chip_info
[all...]
H A Dhw.c505 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266)
511 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266)
517 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266)
581 (viaparinfo->chip_info->gfx_chip_name ==
637 viaparinfo->chip_info->
641 viaparinfo->chip_info->
648 viaparinfo->chip_info->
652 viaparinfo->chip_info->
659 viaparinfo->chip_info->
663 viaparinfo->chip_info
[all...]
H A Dvia_utility.c29 if (viaparinfo->chip_info->tmds_chip_info.tmds_chip_name == VT1632_TMDS)
32 if (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name == VT1631_LVDS)
149 switch (viaparinfo->chip_info->gfx_chip_name) {
180 !((viaparinfo->chip_info->gfx_chip_name ==
182 (viaparinfo->chip_info->gfx_chip_revision < 15))) {
204 switch (viaparinfo->chip_info->gfx_chip_name) {
H A Dioctl.c33 switch (viaparinfo->chip_info->gfx_chip_name) {
86 if (viaparinfo->chip_info->tmds_chip_info.tmds_chip_name !=
H A Dviafbdev.h61 struct chip_information chip_info; member in struct:viafb_shared
89 struct chip_information *chip_info; member in struct:viafb_par
/drivers/iio/adc/
H A Dad7476.c35 const struct ad7476_chip_info *chip_info; member in struct:ad7476_state
118 *val = (ret >> st->chip_info->channel[0].scan_type.shift) &
119 GENMASK(st->chip_info->channel[0].scan_type.realbits - 1, 0);
122 if (!st->chip_info->int_vref_uv) {
127 scale_uv = st->chip_info->int_vref_uv;
214 st->chip_info =
233 indio_dev->channels = st->chip_info->channel;
239 st->xfer.len = st->chip_info->channel[0].scan_type.storagebits / 8;
249 if (st->chip_info->reset)
250 st->chip_info
[all...]
H A Dad7793.c155 const struct ad7793_chip_info *chip_info; member in struct:ad7793_state
236 if (!(st->chip_info->flags & AD7793_FLAG_HAS_CLKSEL) &&
240 if (!(st->chip_info->flags & AD7793_FLAG_HAS_REFSEL) &&
244 if (!(st->chip_info->flags & AD7793_FLAG_HAS_VBIAS) &&
248 if (!(st->chip_info->flags & AD7793_HAS_EXITATION_CURRENT) &&
281 if (id != st->chip_info->id) {
289 if (st->chip_info->flags & AD7793_FLAG_HAS_CLKSEL)
291 if (st->chip_info->flags & AD7793_FLAG_HAS_REFSEL)
293 if (st->chip_info->flags & AD7793_FLAG_HAS_VBIAS)
295 if (pdata->buffered || !(st->chip_info
[all...]
H A Dmcp320x.c169 const struct mcp3208_chip_info *chip_info; local
184 chip_info = &mcp3208_chip_infos[spi_get_device_id(spi)->driver_data];
185 indio_dev->channels = chip_info->channels;
186 indio_dev->num_channels = chip_info->num_channels;
H A Dad7887.c56 const struct ad7887_chip_info *chip_info; member in struct:ad7887_state
178 *val = st->chip_info->int_vref_mv;
260 st->chip_info =
311 indio_dev->channels = st->chip_info->channel;
314 indio_dev->channels = &st->chip_info->channel[1];
/drivers/iio/dac/
H A Dad5449.c55 * @chip_info: chip model specific constants, available modes etc
63 const struct ad5449_chip_info *chip_info; member in struct:ad5449
260 if (st->chip_info->num_channels == 1)
285 st->chip_info = &ad5449_chip_info[id->driver_data];
288 for (i = 0; i < st->chip_info->num_channels; ++i)
291 ret = devm_regulator_bulk_get(&spi->dev, st->chip_info->num_channels,
296 ret = regulator_bulk_enable(st->chip_info->num_channels, st->vref_reg);
304 indio_dev->channels = st->chip_info->channels;
305 indio_dev->num_channels = st->chip_info->num_channels;
307 if (st->chip_info
[all...]
H A Dad5360.c68 * @chip_info: chip model specific constants, available modes etc
76 const struct ad5360_chip_info *chip_info; member in struct:ad5360_state
176 i = channel / st->chip_info->channels_per_group;
177 if (i >= st->chip_info->num_vrefs)
178 i = st->chip_info->num_vrefs - 1;
441 channels = kcalloc(st->chip_info->num_channels,
447 for (i = 0; i < st->chip_info->num_channels; ++i) {
448 channels[i] = st->chip_info->channel_template;
475 st->chip_info = &ad5360_chip_info_tbl[type];
482 indio_dev->num_channels = st->chip_info
[all...]
H A Dad5624r.h48 * @chip_info: chip model specific constants, available modes etc
57 const struct ad5624r_chip_info *chip_info; member in struct:ad5624r_state
H A Dad5764.c48 * @chip_info: chip info
55 const struct ad5764_chip_info *chip_info; member in struct:ad5764_state
215 if (st->chip_info->int_vref)
216 return st->chip_info->int_vref;
291 st->chip_info = &ad5764_chip_infos[type];
298 indio_dev->channels = st->chip_info->channels;
300 if (st->chip_info->int_vref == 0) {
330 if (st->chip_info->int_vref == 0)
342 if (st->chip_info->int_vref == 0)
H A Dad5446.c32 * @chip_info: chip model specific constants, available modes etc
39 const struct ad5446_chip_info *chip_info; member in struct:ad5446_state
124 ret = st->chip_info->write(st, val);
202 ret = st->chip_info->write(st, val);
219 const struct ad5446_chip_info *chip_info)
245 st->chip_info = chip_info;
256 indio_dev->channels = &st->chip_info->channel;
261 if (st->chip_info->int_vref_mv)
262 st->vref_mv = st->chip_info
218 ad5446_probe(struct device *dev, const char *name, const struct ad5446_chip_info *chip_info) argument
[all...]
H A Dad5380.c51 * @chip_info: chip model specific constants, available modes etc
59 const struct ad5380_chip_info *chip_info; member in struct:ad5380_state
352 channels = kcalloc(st->chip_info->num_channels,
358 for (i = 0; i < st->chip_info->num_channels; ++i) {
359 channels[i] = st->chip_info->channel_template;
386 st->chip_info = &ad5380_chip_info_tbl[type];
393 indio_dev->num_channels = st->chip_info->num_channels;
401 if (st->chip_info->int_vref == 2500)
419 st->vref = st->chip_info->int_vref;
H A Dad5064.c74 * @chip_info: chip model specific constants, available modes etc
87 const struct ad5064_chip_info *chip_info; member in struct:ad5064_state
218 return st->chip_info->internal_vref;
220 i = st->chip_info->shared_vref ? 0 : chan->channel;
425 return st->chip_info->shared_vref ? 1 : st->chip_info->num_channels;
438 return st->chip_info->shared_vref ? "vref" : ad5064_vref_names[vref];
457 st->chip_info = &ad5064_chip_info_tbl[type];
467 if (!st->chip_info->internal_vref)
487 indio_dev->channels = st->chip_info
[all...]
H A Dad5686.c60 * @chip_info: chip model specific constants, available modes etc
70 const struct ad5686_chip_info *chip_info; member in struct:ad5686_state
338 st->chip_info =
344 st->vref_mv = st->chip_info->int_vref_mv;
355 indio_dev->channels = st->chip_info->channel;
/drivers/staging/iio/adc/
H A Dad7780.c43 const struct ad7780_chip_info *chip_info; member in struct:ad7780_state
113 const struct ad7780_chip_info *chip_info = st->chip_info; local
116 ((raw_sample & chip_info->pattern_mask) != chip_info->pattern))
189 st->chip_info =
204 indio_dev->channels = &st->chip_info->channel;
H A Dad7606.h64 const struct ad7606_chip_info *chip_info; member in struct:ad7606_state
H A Dad7606_ring.c70 st->chip_info->num_channels - 1, buf + 2);
75 st->chip_info->num_channels, buf);
H A Dad7606_core.c62 st->chip_info->num_channels - 1, &st->data[1]);
67 st->chip_info->num_channels, st->data);
104 *val2 = st->chip_info->channels[0].scan_type.realbits;
500 st->chip_info = &ad7606_chip_info_tbl[id];
517 indio_dev->name = st->chip_info->name;
518 indio_dev->channels = st->chip_info->channels;
519 indio_dev->num_channels = st->chip_info->num_channels;
532 IRQF_TRIGGER_FALLING, st->chip_info->name, indio_dev);
/drivers/spi/
H A Dspi-pl022.c1599 struct pl022_config_chip const *chip_info)
1601 if ((chip_info->iface < SSP_INTERFACE_MOTOROLA_SPI)
1602 || (chip_info->iface > SSP_INTERFACE_UNIDIRECTIONAL)) {
1607 if ((chip_info->iface == SSP_INTERFACE_UNIDIRECTIONAL) &&
1614 if ((chip_info->hierarchy != SSP_MASTER)
1615 && (chip_info->hierarchy != SSP_SLAVE)) {
1620 if ((chip_info->com_mode != INTERRUPT_TRANSFER)
1621 && (chip_info->com_mode != DMA_TRANSFER)
1622 && (chip_info->com_mode != POLLING_TRANSFER)) {
1627 switch (chip_info
1598 verify_controller_parameters(struct pl022 *pl022, struct pl022_config_chip const *chip_info) argument
1824 struct pl022_config_chip const *chip_info; local
[all...]
H A Dspi-pxa2xx.c833 struct pxa2xx_spi_chip *chip_info)
837 if (chip == NULL || chip_info == NULL)
841 * different chip_info, release previously requested GPIO
847 if (chip_info->cs_control) {
848 chip->cs_control = chip_info->cs_control;
852 if (gpio_is_valid(chip_info->gpio_cs)) {
853 err = gpio_request(chip_info->gpio_cs, "SPI_CS");
856 chip_info->gpio_cs);
860 chip->gpio_cs = chip_info->gpio_cs;
872 struct pxa2xx_spi_chip *chip_info local
832 setup_cs(struct spi_device *spi, struct chip_data *chip, struct pxa2xx_spi_chip *chip_info) argument
[all...]
/drivers/leds/
H A Dleds-pca9532.c48 const struct pca9532_chip_info *chip_info; member in struct:pca9532_data
108 for (i = 0; i < data->chip_info->num_leds; i++) {
132 u8 maxleds = data->chip_info->num_leds;
148 u8 maxleds = data->chip_info->num_leds;
228 u8 maxleds = data->chip_info->num_leds;
334 u8 maxleds = data->chip_info->num_leds;
345 for (i = 0; i < data->chip_info->num_leds; i++) {
415 data->gpio.ngpio = data->chip_info->num_leds;
457 data->chip_info = &pca9532_chip_info_tbl[id->driver_data];
472 err = pca9532_destroy_devices(data, data->chip_info
[all...]

Completed in 632 milliseconds

123