Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_cht_int33fe_typec.c228 struct i2c_board_info board_info; in cht_int33fe_register_max17047() local
247 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_register_max17047()
248 strlcpy(board_info.type, "max17047", I2C_NAME_SIZE); in cht_int33fe_register_max17047()
249 board_info.dev_name = "max17047"; in cht_int33fe_register_max17047()
250 board_info.fwnode = fwnode; in cht_int33fe_register_max17047()
251 data->battery_fg = i2c_acpi_new_device(dev, 1, &board_info); in cht_int33fe_register_max17047()
259 struct i2c_board_info board_info; in cht_int33fe_typec_probe() local
309 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_typec_probe()
310 strlcpy(board_info.type, "typec_fusb302", I2C_NAME_SIZE); in cht_int33fe_typec_probe()
311 board_info.dev_name = "fusb302"; in cht_int33fe_typec_probe()
[all …]
Dintel_cht_int33fe_microb.c41 struct i2c_board_info board_info; in cht_int33fe_microb_probe() local
43 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_microb_probe()
44 strscpy(board_info.type, "bq27542", ARRAY_SIZE(board_info.type)); in cht_int33fe_microb_probe()
45 board_info.dev_name = "bq27542"; in cht_int33fe_microb_probe()
46 board_info.properties = bq27xxx_props; in cht_int33fe_microb_probe()
47 data->battery_fg = i2c_acpi_new_device(dev, 1, &board_info); in cht_int33fe_microb_probe()
Di2c-multi-instantiate.c64 struct i2c_board_info board_info = {}; in i2c_multi_inst_probe() local
91 memset(&board_info, 0, sizeof(board_info)); in i2c_multi_inst_probe()
92 strlcpy(board_info.type, inst_data[i].type, I2C_NAME_SIZE); in i2c_multi_inst_probe()
95 board_info.dev_name = name; in i2c_multi_inst_probe()
104 board_info.irq = ret; in i2c_multi_inst_probe()
113 board_info.irq = ret; in i2c_multi_inst_probe()
116 board_info.irq = 0; in i2c_multi_inst_probe()
119 multi->clients[i] = i2c_acpi_new_device(dev, i, &board_info); in i2c_multi_inst_probe()
Dsurface3_power.c515 struct i2c_board_info board_info; in mshw0011_probe() local
528 memset(&board_info, 0, sizeof(board_info)); in mshw0011_probe()
529 strlcpy(board_info.type, "MSHW0011-bat0", I2C_NAME_SIZE); in mshw0011_probe()
531 bat0 = i2c_acpi_new_device(dev, 1, &board_info); in mshw0011_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c1362 btcoexist->board_info.btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in exhalbtc_bind_bt_coex_withadapter()
1368 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
1370 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
1372 btcoexist->board_info.tfbga_package = true; in exhalbtc_bind_bt_coex_withadapter()
1374 if (btcoexist->board_info.tfbga_package) in exhalbtc_bind_bt_coex_withadapter()
1381 btcoexist->board_info.rfe_type = rtl_get_hwpg_rfe_type(rtlpriv); in exhalbtc_bind_bt_coex_withadapter()
1382 btcoexist->board_info.ant_div_cfg = 0; in exhalbtc_bind_bt_coex_withadapter()
1395 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_power_on_setting()
1397 else if (btcoexist->board_info.btdm_ant_num == 1) in exhalbtc_power_on_setting()
1410 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_pre_load_firmware()
[all …]
/kernel/linux/linux-5.10/arch/mips/bcm63xx/boards/
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 = {
264 static struct board_info __initdata board_96348gw_10 = {
315 static struct board_info __initdata board_96348gw_11 = {
366 static struct board_info __initdata board_96348gw = {
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_laptop.c45 struct i2c_board_info board_info; member
157 &i2c_dev->board_info, in chromeos_laptop_check_adapter()
248 .board_info = {
257 .board_info = {
269 .board_info = {
302 .board_info = {
316 .board_info = {
330 .board_info = {
342 .board_info = {
355 .board_info = {
[all …]
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-boardinfo.c73 devinfo->board_info = *info; in i2c_register_board_info()
76 devinfo->board_info.properties = in i2c_register_board_info()
78 if (IS_ERR(devinfo->board_info.properties)) { in i2c_register_board_info()
79 status = PTR_ERR(devinfo->board_info.properties); in i2c_register_board_info()
86 devinfo->board_info.resources = in i2c_register_board_info()
91 if (!devinfo->board_info.resources) { in i2c_register_board_info()
/kernel/linux/linux-5.10/drivers/mfd/
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()
411 board_info->slp_keepon.clkout32k_keepon = prop; in tps65910_parse_dt()
414 board_info->slp_keepon.i2chs_keepon = prop; in tps65910_parse_dt()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/davicom/
Ddm9000.c89 struct board_info { struct
148 static inline struct board_info *to_dm9000_board(struct net_device *dev) in to_dm9000_board() argument
159 ior(struct board_info *db, int reg) in ior()
170 iow(struct board_info *db, int reg, int value) in iow()
177 dm9000_reset(struct board_info *db) in dm9000_reset()
269 static void dm9000_msleep(struct board_info *db, unsigned int ms) in dm9000_msleep()
281 struct board_info *db = netdev_priv(dev); in dm9000_phy_read()
327 struct board_info *db = netdev_priv(dev); in dm9000_phy_write()
374 static void dm9000_set_io(struct board_info *db, int byte_width) in dm9000_set_io()
406 static void dm9000_schedule_poll(struct board_info *db) in dm9000_schedule_poll()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
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()
341 const struct board_info *t1_get_board_info(unsigned int board_id);
342 const struct board_info *t1_get_board_info_from_ids(unsigned int devid,
345 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi,
348 int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi);
Dsubr.c268 static void mi1_mdio_init(adapter_t *adapter, const struct board_info *bi) in mi1_mdio_init()
391 static const struct board_info t1_board[] = {
542 const struct board_info *t1_get_board_info(unsigned int board_id) in t1_get_board_info()
675 switch (board_info(adapter)->board) { in t1_elmer0_ext_intr_handler()
894 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, in t1_get_board_rev()
920 static int board_init(adapter_t *adapter, const struct board_info *bi) in board_init()
965 const struct board_info *bi = board_info(adapter); in t1_init_hw_modules()
1031 const struct board_info *bi) in init_link_config()
1051 int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi) in t1_init_sw_modules()
/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-v4l2.c93 *width = go->board_info->sensor_width; in get_resolution()
94 *height = go->board_info->sensor_height; in get_resolution()
189 } else if (go->board_info->sensor_flags & GO7007_SENSOR_SCALING) { in set_capture_size()
241 go->encoder_h_offset = go->board_info->sensor_h_offset; in set_capture_size()
242 go->encoder_v_offset = go->board_info->sensor_v_offset; in set_capture_size()
244 if (go->board_info->sensor_flags & GO7007_SENSOR_SCALING) { in set_capture_size()
544 if (!(go->board_info->sensor_flags & GO7007_SENSOR_SCALING)) { in vidioc_enum_frameintervals()
606 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input()
609 strscpy(inp->name, go->board_info->inputs[inp->index].name, in vidioc_enum_input()
613 if ((go->board_info->flags & GO7007_BOARD_HAS_TUNER) && in vidioc_enum_input()
[all …]
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()
1279 int arate = go->board_info->audio_rate * 1001 * go->fps_scale; in avsync_to_package()
1320 ((go->board_info->sensor_flags & GO7007_SENSOR_TV) && in final_package()
1324 (go->board_info->sensor_flags & in final_package()
1336 (go->board_info->sensor_flags & GO7007_SENSOR_TV ? in final_package()
[all …]
Dgo7007-driver.c153 if (go->board_info->audio_flags & GO7007_AUDIO_I2S_MASTER) { in go7007_init_encoder()
272 go->board_info->flags & GO7007_BOARD_USE_ONBOARD_I2C) { in go7007_register_encoder()
286 init_i2c_module(&go->i2c_adapter, &go->board_info->i2c_devs[i]); in go7007_register_encoder()
307 if (go->board_info->flags & GO7007_BOARD_HAS_AUDIO) { in go7007_register_encoder()
699 go->board_info = board; in go7007_alloc()
718 const struct go7007_board_info *board = go->board_info; in go7007_update_board()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
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()
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()
708 strscpy(board_info.type, "rtl2830", I2C_NAME_SIZE); in rtl2831u_frontend_attach()
709 board_info.addr = 0x10; in rtl2831u_frontend_attach()
710 board_info.platform_data = pdata; in rtl2831u_frontend_attach()
711 request_module("%s", board_info.type); in rtl2831u_frontend_attach()
712 client = i2c_new_client_device(&d->i2c_adap, &board_info); 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()
929 strscpy(board_info.type, "rtl2832", I2C_NAME_SIZE); in rtl2832u_frontend_attach()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss.c941 struct iss_subdev_i2c_board_info *board_info) in iss_register_subdev_group() argument
946 if (!board_info->board_info) in iss_register_subdev_group()
949 for (first = 1; board_info->board_info; ++board_info, first = 0) { in iss_register_subdev_group()
953 adapter = i2c_get_adapter(board_info->i2c_adapter_id); in iss_register_subdev_group()
957 __func__, board_info->i2c_adapter_id, in iss_register_subdev_group()
958 board_info->board_info->type); in iss_register_subdev_group()
963 board_info->board_info, NULL); in iss_register_subdev_group()
966 board_info->board_info->type); in iss_register_subdev_group()
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dpdata-quirks.c66 .board_info = {
73 .board_info = {
139 .board_info = {
/kernel/linux/linux-5.10/drivers/net/phy/
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()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvbdev.c1033 struct i2c_board_info *board_info; in dvb_module_probe() local
1035 board_info = kzalloc(sizeof(*board_info), GFP_KERNEL); in dvb_module_probe()
1036 if (!board_info) in dvb_module_probe()
1040 strscpy(board_info->type, name, I2C_NAME_SIZE); in dvb_module_probe()
1042 strscpy(board_info->type, module_name, I2C_NAME_SIZE); in dvb_module_probe()
1044 board_info->addr = addr; in dvb_module_probe()
1045 board_info->platform_data = platform_data; in dvb_module_probe()
1047 client = i2c_new_client_device(adap, board_info); in dvb_module_probe()
1049 kfree(board_info); in dvb_module_probe()
1058 kfree(board_info); in dvb_module_probe()
/kernel/linux/linux-5.10/include/media/davinci/
Dvpbe.h63 struct i2c_board_info board_info; member
72 struct i2c_board_info board_info; member
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
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()
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()
/kernel/linux/linux-5.10/drivers/thermal/intel/
Dintel_pch_thermal.c281 static const struct board_info { struct
284 } board_info[] = { argument
311 const struct board_info *bi = &board_info[board_id]; in intel_pch_thermal_probe()

1234