/drivers/video/fbdev/via/ |
H A D | dvi.c | 55 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 D | lcd.c | 105 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 D | hw.c | 505 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 D | via_utility.c | 29 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 D | ioctl.c | 33 switch (viaparinfo->chip_info->gfx_chip_name) { 86 if (viaparinfo->chip_info->tmds_chip_info.tmds_chip_name !=
|
H A D | viafbdev.h | 61 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 D | ad7476.c | 35 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 D | ad7793.c | 155 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 D | mcp320x.c | 169 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 D | ad7887.c | 56 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 D | ad5449.c | 55 * @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 D | ad5360.c | 68 * @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 D | ad5624r.h | 48 * @chip_info: chip model specific constants, available modes etc 57 const struct ad5624r_chip_info *chip_info; member in struct:ad5624r_state
|
H A D | ad5764.c | 48 * @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 D | ad5446.c | 32 * @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 D | ad5380.c | 51 * @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 D | ad5064.c | 74 * @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 D | ad5686.c | 60 * @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 D | ad7780.c | 43 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 D | ad7606.h | 64 const struct ad7606_chip_info *chip_info; member in struct:ad7606_state
|
H A D | ad7606_ring.c | 70 st->chip_info->num_channels - 1, buf + 2); 75 st->chip_info->num_channels, buf);
|
H A D | ad7606_core.c | 62 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 D | spi-pl022.c | 1599 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 D | spi-pxa2xx.c | 833 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 D | leds-pca9532.c | 48 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...] |