Home
last modified time | relevance | path

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

123

/linux-3.4.99/drivers/video/via/
Ddvi.c55 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_tmds_trasmitter_identify()
85 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name = VT1632_TMDS; in viafb_tmds_trasmitter_identify()
86 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify()
88 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_31; in viafb_tmds_trasmitter_identify()
97 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name); in viafb_tmds_trasmitter_identify()
99 viaparinfo->chip_info->tmds_chip_info.i2c_port); in viafb_tmds_trasmitter_identify()
102 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_2C; in viafb_tmds_trasmitter_identify()
107 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify()
110 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify()
116 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name = INTEGRATED_TMDS; in viafb_tmds_trasmitter_identify()
[all …]
Dlcd.c105 if (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()
111 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds()
118 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds()
120 viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name = in lvds_identify_integratedlvds()
127 if (!viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) { in lvds_identify_integratedlvds()
128 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds()
133 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name = in lvds_identify_integratedlvds()
145 viaparinfo->chip_info->lvds_chip_info.i2c_port = VIA_PORT_31; in viafb_lvds_trasmitter_identify()
150 viaparinfo->chip_info->lvds_chip_info.i2c_port = in viafb_lvds_trasmitter_identify()
[all …]
Dhw.c505 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
511 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
517 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
581 (viaparinfo->chip_info->gfx_chip_name == in viafb_set_iga_path()
637 viaparinfo->chip_info-> in viafb_set_iga_path()
641 viaparinfo->chip_info-> in viafb_set_iga_path()
648 viaparinfo->chip_info-> in viafb_set_iga_path()
652 viaparinfo->chip_info-> in viafb_set_iga_path()
659 viaparinfo->chip_info-> in viafb_set_iga_path()
663 viaparinfo->chip_info-> in viafb_set_iga_path()
[all …]
Dvia_utility.c29 if (viaparinfo->chip_info->tmds_chip_info.tmds_chip_name == VT1632_TMDS) in viafb_get_device_support_state()
32 if (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name == VT1631_LVDS) in viafb_get_device_support_state()
149 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_set_gamma_table()
180 !((viaparinfo->chip_info->gfx_chip_name == in viafb_set_gamma_table()
182 (viaparinfo->chip_info->gfx_chip_revision < 15))) { in viafb_set_gamma_table()
204 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_get_gamma_table()
Dviafbdev.c418 if (copy_to_user(argp, viaparinfo->chip_info, in viafb_ioctl()
776 chip_name = viapar->shared->chip_info.gfx_chip_name; in viafb_cursor()
1094 parse_port(viafb_lcd_port, &viaparinfo->chip_info->lvds_chip_info. in parse_lcd_port()
1097 viaparinfo->chip_info->lvds_chip_info2.output_interface = in parse_lcd_port()
1101 viafb_lcd_port, viaparinfo->chip_info->lvds_chip_info. in parse_lcd_port()
1107 parse_port(viafb_dvi_port, &viaparinfo->chip_info->tmds_chip_info. in parse_dvi_port()
1111 viafb_dvi_port, viaparinfo->chip_info->tmds_chip_info. in parse_dvi_port()
1346 switch (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) { in viafb_vt1636_proc_show()
1350 &viaparinfo->chip_info->lvds_chip_info, 0x08) & 0x0f; in viafb_vt1636_proc_show()
1353 &viaparinfo->chip_info->lvds_chip_info, 0x09) & 0x1f; in viafb_vt1636_proc_show()
[all …]
Dioctl.c33 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_ioctl_get_viafb_info()
86 if (viaparinfo->chip_info->tmds_chip_info.tmds_chip_name != in viafb_ioctl_hotplug()
Dviafbdev.h61 struct chip_information chip_info; member
89 struct chip_information *chip_info; member
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio_chip.h66 struct chip_info { struct
77 bool (*iscoreup)(struct brcmf_sdio_dev *sdiodev, struct chip_info *ci, argument
79 u32 (*corerev)(struct brcmf_sdio_dev *sdiodev, struct chip_info *ci, argument
82 struct chip_info *ci, u16 coreid); argument
84 struct chip_info *ci, u16 coreid); argument
128 struct chip_info **ci_ptr, u32 regs);
129 extern void brcmf_sdio_chip_detach(struct chip_info **ci_ptr);
131 struct chip_info *ci,
133 extern u8 brcmf_sdio_chip_getinfidx(struct chip_info *ci, u16 coreid);
Dsdio_chip.c76 brcmf_sdio_chip_getinfidx(struct chip_info *ci, u16 coreid) in brcmf_sdio_chip_getinfidx()
89 struct chip_info *ci, u16 coreid) in brcmf_sdio_sb_corerev()
103 struct chip_info *ci, u16 coreid) in brcmf_sdio_ai_corerev()
114 struct chip_info *ci, u16 coreid) in brcmf_sdio_sb_iscoreup()
130 struct chip_info *ci, u16 coreid) in brcmf_sdio_ai_iscoreup()
152 struct chip_info *ci, u16 coreid) in brcmf_sdio_sb_coredisable()
237 struct chip_info *ci, u16 coreid) in brcmf_sdio_ai_coredisable()
264 struct chip_info *ci, u16 coreid) in brcmf_sdio_sb_resetcore()
322 struct chip_info *ci, u16 coreid) in brcmf_sdio_ai_resetcore()
349 struct chip_info *ci, u32 regs) in brcmf_sdio_chip_recognition()
[all …]
/linux-3.4.99/drivers/staging/iio/adc/
Dad7476_core.c56 *val = (ret >> st->chip_info->channel[0].scan_type.shift) & in ad7476_read_raw()
57 RES_MASK(st->chip_info->channel[0].scan_type.realbits); in ad7476_read_raw()
61 >> st->chip_info->channel[0].scan_type.realbits; in ad7476_read_raw()
147 st->chip_info = in ad7476_probe()
150 if (st->chip_info->int_vref_mv) in ad7476_probe()
151 st->int_vref_mv = st->chip_info->int_vref_mv; in ad7476_probe()
167 indio_dev->channels = st->chip_info->channel; in ad7476_probe()
173 st->xfer.len = st->chip_info->channel[0].scan_type.storagebits / 8; in ad7476_probe()
183 st->chip_info->channel, in ad7476_probe()
184 ARRAY_SIZE(st->chip_info->channel)); in ad7476_probe()
Dad7887_core.c55 *val = (ret >> st->chip_info->channel[0].scan_type.shift) & in ad7887_read_raw()
56 RES_MASK(st->chip_info->channel[0].scan_type.realbits); in ad7887_read_raw()
60 >> st->chip_info->channel[0].scan_type.realbits; in ad7887_read_raw()
123 st->chip_info = in ad7887_probe()
184 indio_dev->channels = st->chip_info->channel; in ad7887_probe()
190 st->int_vref_mv = st->chip_info->int_vref_mv; in ad7887_probe()
194 indio_dev->channels = &st->chip_info->channel[1]; in ad7887_probe()
Dad7780.c41 const struct ad7780_chip_info *chip_info; member
92 struct iio_chan_spec channel = st->chip_info->channel; in ad7780_read_raw()
185 st->chip_info = in ad7780_probe()
203 indio_dev->channels = &st->chip_info->channel; in ad7780_probe()
212 st->xfer.len = st->chip_info->channel.scan_type.storagebits / 8; in ad7780_probe()
Dmax1363_ring.c33 st->current_mode = max1363_match_mode(scan_mask, st->chip_info); in max1363_update_scan_mode()
53 if (st->chip_info->bits != 8) in max1363_trigger_handler()
72 if (st->chip_info->bits != 8) in max1363_trigger_handler()
Dmax1363_core.c218 if (st->chip_info->bits != 8) { in max1363_read_single_chan()
257 if ((1 << (st->chip_info->bits + 1)) > in max1363_read_raw()
258 st->chip_info->int_vref_mv) { in max1363_read_raw()
263 *val = (st->chip_info->int_vref_mv) in max1363_read_raw()
264 >> st->chip_info->bits; in max1363_read_raw()
558 switch (st->chip_info->bits) { in max1363_write_thresh()
1242 st->current_mode = &max1363_mode_table[st->chip_info->default_mode]; in max1363_initial_setup()
1255 (st->chip_info->num_modes + 1), GFP_KERNEL); in max1363_alloc_scan_masks()
1259 for (i = 0; i < st->chip_info->num_modes; i++) in max1363_alloc_scan_masks()
1261 max1363_mode_table[st->chip_info->mode_list[i]] in max1363_alloc_scan_masks()
[all …]
Dad7606_core.c62 st->chip_info->num_channels - 1, &st->data[1]); in ad7606_scan_direct()
67 st->chip_info->num_channels, st->data); in ad7606_scan_direct()
105 >> st->chip_info->channels[0].scan_type.realbits; in ad7606_read_raw()
495 st->chip_info = &ad7606_chip_info_tbl[id]; in ad7606_probe()
512 indio_dev->name = st->chip_info->name; in ad7606_probe()
513 indio_dev->channels = st->chip_info->channels; in ad7606_probe()
514 indio_dev->num_channels = st->chip_info->num_channels; in ad7606_probe()
527 IRQF_TRIGGER_FALLING, st->chip_info->name, indio_dev); in ad7606_probe()
Dad7476_ring.c37 st->chip_info->channel[0].scan_type.storagebits / 8; in ad7476_ring_preenable()
67 st->chip_info->channel[0].scan_type.storagebits / 8); in ad7476_trigger_handler()
Dad7606_ring.c73 st->chip_info->num_channels - 1, buf + 2); in ad7606_poll_bh_to_ring()
78 st->chip_info->num_channels, buf); in ad7606_poll_bh_to_ring()
/linux-3.4.99/drivers/staging/iio/dac/
Dad5360.c77 const struct ad5360_chip_info *chip_info; member
171 i = channel / st->chip_info->channels_per_group; in ad5360_get_channel_vref_index()
172 if (i >= st->chip_info->num_vrefs) in ad5360_get_channel_vref_index()
173 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()
483 indio_dev->num_channels = st->chip_info->num_channels; in ad5360_probe()
491 for (i = 0; i < st->chip_info->num_vrefs; ++i) in ad5360_probe()
[all …]
Dad5764.c56 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()
293 st->chip_info = &ad5764_chip_infos[type]; in ad5764_probe()
300 indio_dev->channels = st->chip_info->channels; in ad5764_probe()
302 if (st->chip_info->int_vref == 0) { in ad5764_probe()
332 if (st->chip_info->int_vref == 0) in ad5764_probe()
335 if (st->chip_info->int_vref == 0) in ad5764_probe()
350 if (st->chip_info->int_vref == 0) { in ad5764_remove()
Dad5064.c81 const struct ad5064_chip_info *chip_info; member
222 return st->chip_info->internal_vref; in ad5064_get_vref()
224 i = st->chip_info->shared_vref ? 0 : chan->channel; in ad5064_get_vref()
421 return st->chip_info->shared_vref ? 1 : st->chip_info->num_channels; in ad5064_num_vref()
434 return st->chip_info->shared_vref ? "vref" : ad5064_vref_names[vref]; in ad5064_vref_name()
452 st->chip_info = &ad5064_chip_info_tbl[type]; in ad5064_probe()
461 if (!st->chip_info->internal_vref) in ad5064_probe()
477 for (i = 0; i < st->chip_info->num_channels; ++i) { in ad5064_probe()
486 indio_dev->channels = st->chip_info->channels; in ad5064_probe()
487 indio_dev->num_channels = st->chip_info->num_channels; in ad5064_probe()
Dad5446.c124 st->chip_info->store_pwr_down(st, st->pwr_down_mode); in ad5446_write_dac_powerdown()
126 st->chip_info->store_sample(st, st->cached_val); in ad5446_write_dac_powerdown()
284 st->chip_info->store_sample(st, val); in ad5446_write_raw()
330 st->chip_info = in ad5446_probe()
340 if (st->chip_info->store_pwr_down) in ad5446_probe()
345 indio_dev->channels = &st->chip_info->channel; in ad5446_probe()
351 st->xfer.len = st->chip_info->channel.scan_type.storagebits / 8; in ad5446_probe()
363 st->vref_mv = st->chip_info->int_vref_mv; in ad5446_probe()
Dad5380.c61 const struct ad5380_chip_info *chip_info; member
366 channels = kcalloc(st->chip_info->num_channels, in ad5380_alloc_channels()
372 for (i = 0; i < st->chip_info->num_channels; ++i) { in ad5380_alloc_channels()
373 channels[i] = st->chip_info->channel_template; in ad5380_alloc_channels()
401 st->chip_info = &ad5380_chip_info_tbl[type]; in ad5380_probe()
408 indio_dev->num_channels = st->chip_info->num_channels; in ad5380_probe()
416 if (st->chip_info->int_vref == 2500000) in ad5380_probe()
430 st->vref = st->chip_info->int_vref; in ad5380_probe()
/linux-3.4.99/drivers/spi/
Dspi-pl022.c1541 struct pl022_config_chip const *chip_info) in verify_controller_parameters() argument
1543 if ((chip_info->iface < SSP_INTERFACE_MOTOROLA_SPI) in verify_controller_parameters()
1544 || (chip_info->iface > SSP_INTERFACE_UNIDIRECTIONAL)) { in verify_controller_parameters()
1549 if ((chip_info->iface == SSP_INTERFACE_UNIDIRECTIONAL) && in verify_controller_parameters()
1556 if ((chip_info->hierarchy != SSP_MASTER) in verify_controller_parameters()
1557 && (chip_info->hierarchy != SSP_SLAVE)) { in verify_controller_parameters()
1562 if ((chip_info->com_mode != INTERRUPT_TRANSFER) in verify_controller_parameters()
1563 && (chip_info->com_mode != DMA_TRANSFER) in verify_controller_parameters()
1564 && (chip_info->com_mode != POLLING_TRANSFER)) { in verify_controller_parameters()
1569 switch (chip_info->rx_lev_trig) { in verify_controller_parameters()
[all …]
Dspi-pxa2xx.c828 struct pxa2xx_spi_chip *chip_info = in set_dma_burst_and_threshold() local
862 if (chip_info) in set_dma_burst_and_threshold()
863 req_burst_size = chip_info->dma_burst_size; in set_dma_burst_and_threshold()
1248 struct pxa2xx_spi_chip *chip_info) in setup_cs() argument
1252 if (chip == NULL || chip_info == NULL) in setup_cs()
1262 if (chip_info->cs_control) { in setup_cs()
1263 chip->cs_control = chip_info->cs_control; in setup_cs()
1267 if (gpio_is_valid(chip_info->gpio_cs)) { in setup_cs()
1268 err = gpio_request(chip_info->gpio_cs, "SPI_CS"); in setup_cs()
1271 "GPIO%d\n", chip_info->gpio_cs); in setup_cs()
[all …]
/linux-3.4.99/drivers/leds/
Dleds-pca9532.c48 const struct pca9532_chip_info *chip_info; member
108 for (i = 0; i < data->chip_info->num_leds; i++) { in pca9532_calcpwm()
132 u8 maxleds = data->chip_info->num_leds; in pca9532_setpwm()
148 u8 maxleds = data->chip_info->num_leds; in pca9532_setled()
228 u8 maxleds = data->chip_info->num_leds; in pca9532_input_work()
341 u8 maxleds = data->chip_info->num_leds; in pca9532_configure()
352 for (i = 0; i < data->chip_info->num_leds; i++) { in pca9532_configure()
423 data->gpio.ngpio = data->chip_info->num_leds; in pca9532_configure()
465 data->chip_info = &pca9532_chip_info_tbl[id->driver_data]; in pca9532_probe()
484 err = pca9532_destroy_devices(data, data->chip_info->num_leds); in pca9532_remove()

123