Home
last modified time | relevance | path

Searched refs:chip_type (Results 1 – 25 of 64) sorted by relevance

123

/linux/drivers/power/supply/
H A Dmax17042_battery.c82 enum max170xx_chip_type chip_type;
320 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property()
481 if (chip->chip_type != MAXIM_DEVICE_TYPE_MAX17055 && in max17042_get_property()
482 chip->chip_type != MAXIM_DEVICE_TYPE_MAX77759) in max17042_get_property()
725 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs()
726 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050 || in max17042_write_config_regs()
727 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055 || in max17042_write_config_regs()
728 chip->chip_type == MAXIM_DEVICE_TYPE_MAX77759) in max17042_write_config_regs()
741 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs()
838 if (chip->chip_type ! in max17042_override_por_values()
80 enum max170xx_chip_type chip_type; global() member
1433 max17042_probe(struct i2c_client * client,struct device * dev,int irq,enum max170xx_chip_type chip_type) max17042_probe() argument
1569 enum max170xx_chip_type chip_type; max17042_i2c_probe() local
[all...]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_chip_type.h56 enum chip_type { enum
72 static inline int is_t4(enum chip_type chip) in is_t4()
77 static inline int is_t5(enum chip_type chip) in is_t5()
82 static inline int is_t6(enum chip_type chip) in is_t6()
/linux/sound/pci/ctxfi/
H A Dcthardware.c19 int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type, in create_hw_obj() argument
24 switch (chip_type) { in create_hw_obj()
39 (*rhw)->chip_type = chip_type; in create_hw_obj()
H A Dctatc.h80 int chip_type; member
152 unsigned int rsr, unsigned int msr, int chip_type,
H A Dcthardware.h192 enum CHIPTYP chip_type;
196 int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type,
190 enum CHIPTYP chip_type; global() member
/linux/arch/sparc/kernel/
H A Dpci_schizo.c1081 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_scan_bus()
1098 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { in schizo_pbm_strbuf_init()
1272 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && in schizo_pbm_hw_init()
1281 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && in schizo_pbm_hw_init()
1287 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_hw_init()
1300 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { in schizo_pbm_hw_init()
1316 int chip_type) in schizo_pbm_init() argument
1323 switch (chip_type) { in schizo_pbm_init()
1364 pbm->chip_type = chip_type; in schizo_pbm_init()
1371 if (chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_init()
[all …]
H A Dpsycho_common.c454 const char *chip_name, int chip_type) in psycho_pbm_init_common() argument
460 pbm->chip_type = chip_type; in psycho_pbm_init_common()
H A Dpsycho_common.h47 const char *chip_name, int chip_type);
/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_i2c.c29 switch (st->chip_type) { in inv_mpu_i2c_aux_bus()
66 switch (st->chip_type) { in inv_mpu_i2c_aux_setup()
104 enum inv_devices chip_type; in inv_mpu_probe() local
114 chip_type = (uintptr_t)match; in inv_mpu_probe()
117 chip_type = (enum inv_devices) in inv_mpu_probe()
132 inv_mpu_i2c_aux_setup, chip_type); in inv_mpu_probe()
H A Dinv_mpu_spi.c40 enum inv_devices chip_type; in inv_mpu_probe() local
43 chip_type = (enum inv_devices)spi_id->driver_data; in inv_mpu_probe()
46 chip_type = (uintptr_t)match; in inv_mpu_probe()
60 inv_mpu_i2c_disable, chip_type); in inv_mpu_probe()
H A Dinv_mpu_core.c402 switch (st->chip_type) { in inv_mpu6050_switch_engine()
573 switch (st->chip_type) {
589 switch (st->chip_type) { in inv_mpu6050_init_config()
1038 switch (st->chip_type) { in inv_mpu6050_set_lp_odr()
1071 switch (st->chip_type) { in inv_mpu6050_set_lp_odr()
1107 switch (st->chip_type) { in inv_mpu6050_set_wom_lp()
1816 st->hw = &hw_info[st->chip_type]; in inv_check_and_setup_chip()
1817 st->reg = hw_info[st->chip_type].reg; in inv_check_and_setup_chip()
1818 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_check_and_setup_chip()
1853 switch (st->chip_type) { in inv_mpu_core_disable_regulator_vddio()
1883 inv_mpu_core_probe(struct regmap * regmap,int irq,const char * name,int (* inv_mpu_bus_setup)(struct iio_dev *),int chip_type) inv_mpu_core_probe() argument
[all...]
/linux/drivers/bluetooth/
H A Dbtrtl.c84 __u8 chip_type; member
135 .chip_type = RTL_CHIP_8723CS_CG,
147 .chip_type = RTL_CHIP_8723CS_VF,
159 .chip_type = RTL_CHIP_8723CS_XX,
344 u8 chip_type) in btrtl_match_ic() argument
363 (ic_id_table[i].chip_type != chip_type)) in btrtl_match_ic()
1019 struct rtl_chip_type_evt *chip_type; in rtl_read_chip_type() local
1031 chip_type = skb_pull_data(skb, sizeof(*chip_type)); in rtl_read_chip_type()
1074 u8 hci_ver, lmp_ver, chip_type = 0; btrtl_initialize() local
[all...]
/linux/sound/pci/
H A Dals300.c118 int chip_type; /* ALS300 or ALS300+ */ member
158 if (((chip->revision > 5 || chip->chip_type == DEVICE_ALS300_PLUS) ^ in snd_als300_set_irq_flag()
591 struct pci_dev *pci, int chip_type) in snd_als300_create() argument
610 chip->chip_type = chip_type; in snd_als300_create()
619 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_create()
680 int err, chip_type; in snd_als300_probe() local
695 chip_type = pci_id->driver_data; in snd_als300_probe()
697 err = snd_als300_create(card, pci, chip_type); in snd_als300_probe()
702 if (chip->chip_type in snd_als300_probe()
[all...]
H A Dvia82xx.c345 int chip_type; member
722 if (chip->chip_type != TYPE_VIA686) in snd_via82xx_pcm_trigger()
1884 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_mixer_new()
1954 caps = chip->chip_type == TYPE_VIA8233A ? 1 : 2;
1966 if (chip->chip_type != TYPE_VIA8233A) { in snd_via8233_init_misc()
2108 if (chip->chip_type == TYPE_VIA686) in snd_via82xx_chip_init()
2180 if (chip->chip_type == TYPE_VIA686) { in snd_via82xx_chip_init()
2187 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_chip_init()
2201 if (chip->chip_type != TYPE_VIA8233A) { in snd_via82xx_chip_init()
2231 if (chip->chip_type ! in snd_via82xx_suspend()
2295 snd_via82xx_create(struct snd_card * card,struct pci_dev * pci,int chip_type,int revision,unsigned int ac97_clock) snd_via82xx_create() argument
2443 int chip_type = 0, card_type; __snd_via82xx_probe() local
[all...]
/linux/drivers/gpu/drm/rockchip/
H A Danalogix_dp-rockchip.c56 * @chip_type: specific chip type
62 u32 chip_type;
469 dp->plat_data.dev_type = dp->data->chip_type; in rockchip_dp_probe()
518 .chip_type = RK3399_EDP, in rockchip_dp_resume()
527 .chip_type = RK3288_DP,
535 .chip_type = RK3576_EDP,
544 .chip_type = RK3588_EDP,
549 .chip_type = RK3588_EDP,
63 u32 chip_type; global() member
/linux/drivers/regulator/
H A Drt5759-regulator.c54 unsigned long chip_type; member
243 if (priv->chip_type == CHIP_TYPE_RT5759A) in rt5759_regulator_register()
269 if (priv->chip_type != CHIP_TYPE_RT5759A) in rt5759_init_device_property()
303 if (priv->chip_type == CHIP_TYPE_RT5759A && reg == RT5759A_REG_WDTEN) in rt5759_is_accessible_reg()
327 priv->chip_type = (unsigned long)of_device_get_match_data(&i2c->dev); in rt5759_probe()
/linux/drivers/gpio/
H A Dgpio-it87.c273 u16 chip_type; in it87_gpio_init() local
283 chip_type = superio_inw(CHIPID); in it87_gpio_init()
289 switch (chip_type) { in it87_gpio_init()
330 chip_type, chip_rev); in it87_gpio_init()
346 chip_type, chip_rev, it87_gpio->chip.ngpio, in it87_gpio_init()
/linux/drivers/mfd/
H A Drohm-bd9576.c97 unsigned long chip_type; in bd957x_i2c_probe() local
101 chip_type = (unsigned long)of_device_get_match_data(&i2c->dev); in bd957x_i2c_probe()
103 switch (chip_type) { in bd957x_i2c_probe()
H A Drohm-bd718x7.c115 unsigned int chip_type; in bd718xx_i2c_probe() local
123 chip_type = (unsigned int)(uintptr_t) in bd718xx_i2c_probe()
125 switch (chip_type) { in bd718xx_i2c_probe()
/linux/drivers/watchdog/
H A Dit8712f_wdt.c360 int chip_type; in it8712f_wdt_find() local
365 chip_type = superio_inw(DEVID); in it8712f_wdt_find()
366 if (chip_type != IT8712F_DEVID) in it8712f_wdt_find()
393 chip_type, revision, *address); in it8712f_wdt_find()
/linux/drivers/video/fbdev/via/
H A Dvia-core.c193 if (global_dev.chip_type != UNICHROME_VX855) in viafb_request_dma()
326 static int viafb_get_fb_size_from_pci(int chip_type) in viafb_get_fb_size_from_pci() argument
379 if (chip_type < UNICHROME_CX700) { in viafb_get_fb_size_from_pci()
463 if (vdev->chip_type == UNICHROME_VX900) in via_pci_setup_mmio()
467 ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); in via_pci_setup_mmio()
638 global_dev.chip_type = ent->driver_data; in via_pci_probe()
/linux/drivers/usb/serial/
H A Dftdi_sio.c69 enum ftdi_chip_type chip_type; member
1274 switch (priv->chip_type) { in get_ftdi_divisor()
1337 ftdi_chip_name[priv->chip_type]); in get_ftdi_divisor()
1374 if (priv->chip_type == SIO || priv->chip_type == FT232A) in write_latency_timer()
1415 if (priv->chip_type == SIO || priv->chip_type == FT232A) in read_latency_timer()
1508 priv->chip_type = FT232A; in ftdi_determine_type()
1518 priv->chip_type = FT232B; in ftdi_determine_type()
1522 priv->chip_type = FT232B; in ftdi_determine_type()
1527 priv->chip_type = FT2232C; in ftdi_determine_type()
1531 priv->chip_type = FT232R; in ftdi_determine_type()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h57 enum chip_type { enum
267 enum chip_type chip; /* chip code */
342 static inline int is_t4(enum chip_type chip) in is_t4()
/linux/include/linux/mfd/da9062/
H A Dcore.h63 enum da9062_compatible_types chip_type; member
/linux/arch/mips/include/asm/octeon/
H A Docteon.h101 uint16_t chip_type; member
154 uint16_t chip_type;

123