Home
last modified time | relevance | path

Searched refs:board_info (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/platform/x86/intel/int33fe/
A Dintel_cht_int33fe_typec.c247 struct i2c_board_info board_info; in cht_int33fe_register_max17047() local
266 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_register_max17047()
268 board_info.dev_name = "max17047"; in cht_int33fe_register_max17047()
269 board_info.fwnode = fwnode; in cht_int33fe_register_max17047()
278 struct i2c_board_info board_info; in cht_int33fe_typec_probe() local
328 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_typec_probe()
330 board_info.dev_name = "fusb302"; in cht_int33fe_typec_probe()
331 board_info.fwnode = fwnode; in cht_int33fe_typec_probe()
332 board_info.irq = fusb302_irq; in cht_int33fe_typec_probe()
346 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_typec_probe()
[all …]
A Dintel_cht_int33fe_microb.c45 struct i2c_board_info board_info; in cht_int33fe_microb_probe() local
47 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_microb_probe()
48 strscpy(board_info.type, "bq27542", ARRAY_SIZE(board_info.type)); in cht_int33fe_microb_probe()
49 board_info.dev_name = "bq27542"; in cht_int33fe_microb_probe()
50 board_info.swnode = &bq27xxx_node; in cht_int33fe_microb_probe()
51 data->battery_fg = i2c_acpi_new_device(dev, 1, &board_info); in cht_int33fe_microb_probe()
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
A Dhalbtcoutsrc.c1352 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
1354 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
1356 btcoexist->board_info.tfbga_package = true; in exhalbtc_bind_bt_coex_withadapter()
1358 if (btcoexist->board_info.tfbga_package) in exhalbtc_bind_bt_coex_withadapter()
1366 btcoexist->board_info.ant_div_cfg = 0; in exhalbtc_bind_bt_coex_withadapter()
1379 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_power_on_setting()
1394 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_pre_load_firmware()
1407 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_init_hw_config()
1908 btcoexist->board_info.pg_ant_num = ant_num; in exhalbtc_set_ant_num()
1915 btcoexist->board_info.btdm_ant_pos = in exhalbtc_set_ant_num()
[all …]
/linux/arch/mips/bcm63xx/boards/
A Dboard_bcm963xx.c34 static struct board_info board;
40 static struct board_info __initdata board_cvg834g = {
70 static struct board_info __initdata board_96328avng = {
118 static struct board_info __initdata board_96338gw = {
161 static struct board_info __initdata board_96338w = {
208 static struct board_info __initdata board_96345gw2 = {
220 static struct board_info __initdata board_96348r = {
366 static struct board_info __initdata board_96348gw = {
504 static struct board_info __initdata board_96358vw = {
600 static struct board_info __initdata board_AGPFS0 = {
[all …]
/linux/drivers/platform/chrome/
A Dchromeos_laptop.c265 .board_info = {
274 .board_info = {
286 .board_info = {
319 .board_info = {
332 .board_info = {
345 .board_info = {
357 .board_info = {
370 .board_info = {
379 .board_info = {
392 .board_info = {
[all …]
/linux/drivers/net/ethernet/davicom/
A Ddm9000.c89 struct board_info { struct
159 ior(struct board_info *db, int reg) in ior()
177 dm9000_reset(struct board_info *db) in dm9000_reset()
278 struct board_info *db = netdev_priv(dev); in dm9000_phy_read()
324 struct board_info *db = netdev_priv(dev); in dm9000_phy_write()
771 struct board_info *db = container_of(dw, struct board_info, phy_poll); in dm9000_poll_work()
839 struct board_info *db = netdev_priv(dev); in dm9000_hash_table_unlocked()
875 struct board_info *db = netdev_priv(dev); in dm9000_hash_table()
901 struct board_info *db = netdev_priv(dev); in dm9000_init_dm9000()
966 struct board_info *db = netdev_priv(dev); in dm9000_timeout()
[all …]
/linux/drivers/platform/x86/
A Di2c-multi-instantiate.c39 struct i2c_board_info board_info = {}; in i2c_multi_inst_probe() local
65 memset(&board_info, 0, sizeof(board_info)); in i2c_multi_inst_probe()
66 strlcpy(board_info.type, inst_data[i].type, I2C_NAME_SIZE); in i2c_multi_inst_probe()
69 board_info.dev_name = name; in i2c_multi_inst_probe()
78 board_info.irq = ret; in i2c_multi_inst_probe()
87 board_info.irq = ret; in i2c_multi_inst_probe()
90 board_info.irq = 0; in i2c_multi_inst_probe()
93 multi->clients[i] = i2c_acpi_new_device(dev, i, &board_info); in i2c_multi_inst_probe()
/linux/drivers/mfd/
A Dtps65910.c375 struct tps65910_board *board_info; in tps65910_parse_dt() local
388 board_info = devm_kzalloc(&client->dev, sizeof(*board_info), in tps65910_parse_dt()
390 if (!board_info) in tps65910_parse_dt()
395 board_info->vmbch_threshold = prop; in tps65910_parse_dt()
399 board_info->vmbch2_threshold = prop; in tps65910_parse_dt()
402 board_info->en_ck32k_xtal = prop; in tps65910_parse_dt()
405 board_info->en_dev_slp = prop; in tps65910_parse_dt()
408 board_info->slp_keepon.therm_keepon = prop; in tps65910_parse_dt()
416 board_info->irq = client->irq; in tps65910_parse_dt()
417 board_info->irq_base = -1; in tps65910_parse_dt()
[all …]
/linux/drivers/spi/
A Dspi-altera-dfl.c126 struct spi_board_info board_info = { 0 }; in dfl_spi_altera_probe() local
168 strscpy(board_info.modalias, "m10-n5010", SPI_NAME_SIZE); in dfl_spi_altera_probe()
170 strscpy(board_info.modalias, "m10-d5005", SPI_NAME_SIZE); in dfl_spi_altera_probe()
172 board_info.max_speed_hz = 12500000; in dfl_spi_altera_probe()
173 board_info.bus_num = 0; in dfl_spi_altera_probe()
174 board_info.chip_select = 0; in dfl_spi_altera_probe()
176 if (!spi_new_device(master, &board_info)) { in dfl_spi_altera_probe()
178 __func__, board_info.modalias); in dfl_spi_altera_probe()
/linux/drivers/media/usb/go7007/
A Dgo7007-v4l2.c93 *width = go->board_info->sensor_width; in get_resolution()
94 *height = go->board_info->sensor_height; in get_resolution()
606 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input()
619 if (go->board_info->num_aud_inputs) in vidioc_enum_input()
646 if (a->index >= go->board_info->num_aud_inputs) in vidioc_enumaudio()
670 if (a->index >= go->board_info->num_aud_inputs) in vidioc_s_audio()
684 go->board_info->video_config); in go7007_s_input()
685 if (go->board_info->num_aud_inputs) { in go7007_s_input()
698 if (input >= go->board_info->num_inputs) in vidioc_s_input()
1099 if (go->board_info->num_aud_inputs) in go7007_v4l2_init()
[all …]
A Dgo7007-fw.c1107 0xd472, (go->board_info->sensor_flags & in config_package()
1111 0xd475, (go->board_info->sensor_flags & in config_package()
1134 0xe01a, go->board_info->hpi_buffer_cap, in config_package()
1164 0xc031, go->board_info->sensor_flags & in config_package()
1184 (go->board_info->sensor_flags & in config_package()
1189 0xbff0, go->board_info->sensor_flags & in config_package()
1324 (go->board_info->sensor_flags & in final_package()
1373 int clock_config = ((go->board_info->audio_flags & in audio_to_package()
1375 ((go->board_info->audio_flags & in audio_to_package()
1378 (go->board_info->audio_main_div - 1); in audio_to_package()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dcommon.h194 const struct board_info *brd_info;
272 struct board_info { struct
320 #define board_info(adapter) ((adapter)->params.brd_info) macro
321 #define is_10G(adapter) (board_info(adapter)->caps & SUPPORTED_10000baseT_Full)
325 return board_info(adap)->clock_core / 1000000; in core_ticks_per_usec()
340 const struct board_info *t1_get_board_info(unsigned int board_id);
341 const struct board_info *t1_get_board_info_from_ids(unsigned int devid,
344 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi,
347 int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi);
A Dsubr.c280 static void mi1_mdio_init(adapter_t *adapter, const struct board_info *bi) in mi1_mdio_init()
403 static const struct board_info t1_board[] = {
554 const struct board_info *t1_get_board_info(unsigned int board_id) in t1_get_board_info()
687 switch (board_info(adapter)->board) { in t1_elmer0_ext_intr_handler()
920 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, in t1_get_board_rev()
946 static int board_init(adapter_t *adapter, const struct board_info *bi) in board_init()
991 const struct board_info *bi = board_info(adapter); in t1_init_hw_modules()
1057 const struct board_info *bi) in init_link_config()
1077 int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi) in t1_init_sw_modules()
/linux/drivers/media/usb/dvb-usb-v2/
A Dzd1301.c130 struct i2c_board_info board_info; in zd1301_frontend_attach() local
170 memset(&board_info, 0, sizeof(board_info)); in zd1301_frontend_attach()
171 strscpy(board_info.type, "mt2060", I2C_NAME_SIZE); in zd1301_frontend_attach()
172 board_info.addr = 0x60; in zd1301_frontend_attach()
173 board_info.platform_data = &dev->mt2060_pdata; in zd1301_frontend_attach()
175 client = i2c_new_client_device(adapter, &board_info); in zd1301_frontend_attach()
A Drtl28xxu.c684 struct i2c_board_info board_info; in rtl2831u_frontend_attach() local
707 memset(&board_info, 0, sizeof(board_info)); in rtl2831u_frontend_attach()
709 board_info.addr = 0x10; in rtl2831u_frontend_attach()
710 board_info.platform_data = pdata; in rtl2831u_frontend_attach()
892 struct i2c_board_info board_info; in rtl2832u_frontend_attach() local
928 memset(&board_info, 0, sizeof(board_info)); in rtl2832u_frontend_attach()
930 board_info.addr = 0x10; in rtl2832u_frontend_attach()
1244 board_info.addr = 0x56; in rtl2832u_tuner_attach()
1248 &board_info); in rtl2832u_tuner_attach()
1275 board_info.addr = 0x60; in rtl2832u_tuner_attach()
[all …]
/linux/drivers/i2c/
A Di2c-boardinfo.c72 devinfo->board_info = *info; in i2c_register_board_info()
75 devinfo->board_info.resources = in i2c_register_board_info()
80 if (!devinfo->board_info.resources) { in i2c_register_board_info()
/linux/drivers/staging/media/omap4iss/
A Diss.c946 struct iss_subdev_i2c_board_info *board_info) in iss_register_subdev_group() argument
951 if (!board_info->board_info) in iss_register_subdev_group()
954 for (first = 1; board_info->board_info; ++board_info, first = 0) { in iss_register_subdev_group()
958 adapter = i2c_get_adapter(board_info->i2c_adapter_id); in iss_register_subdev_group()
962 __func__, board_info->i2c_adapter_id, in iss_register_subdev_group()
963 board_info->board_info->type); in iss_register_subdev_group()
968 board_info->board_info, NULL); in iss_register_subdev_group()
971 board_info->board_info->type); in iss_register_subdev_group()
/linux/drivers/media/dvb-core/
A Ddvbdev.c980 struct i2c_board_info *board_info; in dvb_module_probe() local
982 board_info = kzalloc(sizeof(*board_info), GFP_KERNEL); in dvb_module_probe()
983 if (!board_info) in dvb_module_probe()
987 strscpy(board_info->type, name, I2C_NAME_SIZE); in dvb_module_probe()
989 strscpy(board_info->type, module_name, I2C_NAME_SIZE); in dvb_module_probe()
991 board_info->addr = addr; in dvb_module_probe()
992 board_info->platform_data = platform_data; in dvb_module_probe()
994 client = i2c_new_client_device(adap, board_info); in dvb_module_probe()
996 kfree(board_info); in dvb_module_probe()
1005 kfree(board_info); in dvb_module_probe()
/linux/arch/arm/mach-davinci/
A Dpdata-quirks.c66 .board_info = {
73 .board_info = {
139 .board_info = {
/linux/drivers/net/phy/
A Dmdio-boardinfo.c36 bi = &be->board_info; in mdiobus_setup_mdiodev_from_board_info()
72 memcpy(&be->board_info, info, sizeof(*info)); in mdiobus_register_board_info()
/linux/drivers/iio/accel/
A Dbmc150-accel-i2c.c135 struct i2c_board_info board_info = { in bmc150_acpi_dual_accel_probe() local
150 board_info.irq = acpi_dev_gpio_irq_get(adev, 1); in bmc150_acpi_dual_accel_probe()
152 data->second_device = i2c_acpi_new_device(&client->dev, 1, &board_info); in bmc150_acpi_dual_accel_probe()
/linux/drivers/media/dvb-frontends/
A Dts2020.c509 struct i2c_board_info board_info; in ts2020_attach() local
518 memset(&board_info, 0, sizeof(board_info)); in ts2020_attach()
519 strscpy(board_info.type, "ts2020", I2C_NAME_SIZE); in ts2020_attach()
520 board_info.addr = config->tuner_address; in ts2020_attach()
521 board_info.platform_data = &pdata; in ts2020_attach()
522 client = i2c_new_client_device(i2c, &board_info); in ts2020_attach()
A Dcxd2820r_core.c519 struct i2c_board_info board_info; in cxd2820r_attach() local
529 memset(&board_info, 0, sizeof(board_info)); in cxd2820r_attach()
530 strscpy(board_info.type, "cxd2820r", I2C_NAME_SIZE); in cxd2820r_attach()
531 board_info.addr = config->i2c_address; in cxd2820r_attach()
532 board_info.platform_data = &pdata; in cxd2820r_attach()
533 client = i2c_new_client_device(adapter, &board_info); in cxd2820r_attach()
/linux/include/media/davinci/
A Dvpbe.h63 struct i2c_board_info board_info; member
72 struct i2c_board_info board_info; member
/linux/drivers/platform/surface/
A Dsurface3_power.c501 struct i2c_board_info board_info; in mshw0011_probe() local
514 memset(&board_info, 0, sizeof(board_info)); in mshw0011_probe()
515 strlcpy(board_info.type, "MSHW0011-bat0", I2C_NAME_SIZE); in mshw0011_probe()
517 bat0 = i2c_acpi_new_device(dev, 1, &board_info); in mshw0011_probe()

Completed in 89 milliseconds

1234