Home
last modified time | relevance | path

Searched refs:chip_index (Results 1 – 6 of 6) sorted by relevance

/drivers/mfd/
Dhtc-i2cpld.c297 int chip_index) in htcpld_setup_chip_irq() argument
305 chip = &htcpld->chip[chip_index]; in htcpld_setup_chip_irq()
321 int chip_index) in htcpld_register_chip_i2c() argument
335 chip = &htcpld->chip[chip_index]; in htcpld_register_chip_i2c()
336 plat_chip_data = &pdata->chip[chip_index]; in htcpld_register_chip_i2c()
381 int chip_index) in htcpld_unregister_chip_i2c() argument
388 chip = &htcpld->chip[chip_index]; in htcpld_unregister_chip_i2c()
395 int chip_index) in htcpld_register_chip_gpio() argument
408 chip = &htcpld->chip[chip_index]; in htcpld_register_chip_gpio()
409 plat_chip_data = &pdata->chip[chip_index]; in htcpld_register_chip_gpio()
/drivers/hwmon/
Dasc7621.c1139 int company, verstep, chip_index; in asc7621_detect() local
1144 for (chip_index = FIRST_CHIP; chip_index <= LAST_CHIP; chip_index++) { in asc7621_detect()
1146 if (!valid_address_for_chip(chip_index, client->addr)) in asc7621_detect()
1150 asc7621_chips[chip_index].company_reg); in asc7621_detect()
1152 asc7621_chips[chip_index].verstep_reg); in asc7621_detect()
1154 if (company == asc7621_chips[chip_index].company_id && in asc7621_detect()
1155 verstep == asc7621_chips[chip_index].verstep_id) { in asc7621_detect()
1156 strlcpy(info->type, asc7621_chips[chip_index].name, in asc7621_detect()
1160 asc7621_chips[chip_index].name, client->addr); in asc7621_detect()
/drivers/staging/comedi/drivers/
Dni_tio.c227 unsigned int chip = counter->chip_index; in ni_tio_set_bits_transient()
272 unsigned int chip = counter->chip_index; in ni_tio_get_soft_copy()
308 unsigned int chip = counter->chip_index; in ni_m_series_clock_src_select()
728 unsigned int chip = counter->chip_index; in ni_tio_set_source_subselect()
1124 unsigned int chip = counter->chip_index; in ni_tio_set_other_src()
1641 unsigned int chip = counter->chip_index; in ni_tio_insn_read()
1682 unsigned int chip = counter->chip_index; in ni_tio_insn_write()
1727 unsigned int chip = counter->chip_index; in ni_tio_init_counter()
1810 counter->chip_index = i / counters_per_chip; in ni_gpct_device_construct()
Dni_660x.c299 ni_660x_write(dev, counter->chip_index, bits, reg); in ni_660x_gpct_write()
307 return ni_660x_read(dev, counter->chip_index, reg); in ni_660x_gpct_read()
315 unsigned int chip = counter->chip_index; in ni_660x_set_dma_channel()
330 unsigned int chip = counter->chip_index; in ni_660x_unset_dma_channel()
347 ring = devpriv->ring[counter->chip_index][counter->counter_index]; in ni_660x_request_mite_channel()
476 ring = devpriv->ring[counter->chip_index][counter->counter_index]; in ni_660x_buf_change()
Dni_tio.h96 unsigned int chip_index; member
/drivers/video/fbdev/via/
Dhw.h611 u32 chip_index; member