Home
last modified time | relevance | path

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

123

/drivers/platform/x86/
Dintel_cht_int33fe.c47 struct i2c_board_info board_info; in cht_int33fe_probe() local
78 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_probe()
79 strlcpy(board_info.type, "max17047", I2C_NAME_SIZE); in cht_int33fe_probe()
80 board_info.properties = max17047_props; in cht_int33fe_probe()
82 data->max17047 = i2c_acpi_new_device(dev, 1, &board_info); in cht_int33fe_probe()
86 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_probe()
87 strlcpy(board_info.type, "fusb302", I2C_NAME_SIZE); in cht_int33fe_probe()
88 board_info.irq = fusb302_irq; in cht_int33fe_probe()
90 data->fusb302 = i2c_acpi_new_device(dev, 2, &board_info); in cht_int33fe_probe()
94 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_probe()
[all …]
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c915 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
917 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
919 btcoexist->board_info.tfbga_package = true; in exhalbtc_bind_bt_coex_withadapter()
921 if (btcoexist->board_info.tfbga_package) in exhalbtc_bind_bt_coex_withadapter()
939 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_power_on_setting()
941 else if (btcoexist->board_info.btdm_ant_num == 1) in exhalbtc_power_on_setting()
954 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_pre_load_firmware()
967 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_init_hw_config()
969 else if (btcoexist->board_info.btdm_ant_num == 1) in exhalbtc_init_hw_config()
972 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_init_hw_config()
[all …]
Dhalbtc8723b1ant.c798 struct btc_board_info *board_info = &btcoexist->board_info; in halbtc8723b1ant_set_ant_path() local
927 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
950 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
959 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
969 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
993 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
1016 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
1025 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
1035 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path()
2392 struct btc_board_info *board_info = &btcoexist->board_info; in ex_btc8723b1ant_power_on_setting() local
[all …]
Dhalbtc8821a1ant.c977 struct btc_board_info *board_info = &btcoexist->board_info; in btc8821a1ant_set_ant_path() local
991 if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) { in btc8821a1ant_set_ant_path()
1028 if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) in btc8821a1ant_set_ant_path()
1037 if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) in btc8821a1ant_set_ant_path()
1047 if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) in btc8821a1ant_set_ant_path()
2177 struct btc_board_info *board_info = &btcoexist->board_info; in ex_btc8821a1ant_display_coex_info() local
2207 if (!board_info->bt_exist) { in ex_btc8821a1ant_display_coex_info()
2215 board_info->pg_ant_num, in ex_btc8821a1ant_display_coex_info()
2216 board_info->btdm_ant_num, in ex_btc8821a1ant_display_coex_info()
2217 board_info->btdm_ant_pos); in ex_btc8821a1ant_display_coex_info()
[all …]
Dhalbtc8723b2ant.c1114 struct btc_board_info *board_info = &btcoexist->board_info; in btc8723b2ant_set_ant_path() local
1148 if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) { in btc8723b2ant_set_ant_path()
1186 if (board_info->btdm_ant_pos == BTC_ANTENNA_AT_MAIN_PORT) in btc8723b2ant_set_ant_path()
3707 struct btc_board_info *board_info = &btcoexist->board_info; in ex_btc8723b2ant_power_on_setting() local
3721 board_info->btdm_ant_pos = BTC_ANTENNA_AT_AUX_PORT; in ex_btc8723b2ant_power_on_setting()
3724 if (board_info->single_ant_path == 0) { in ex_btc8723b2ant_power_on_setting()
3726 board_info->btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in ex_btc8723b2ant_power_on_setting()
3727 } else if (board_info->single_ant_path == 1) { in ex_btc8723b2ant_power_on_setting()
3729 board_info->btdm_ant_pos = BTC_ANTENNA_AT_AUX_PORT; in ex_btc8723b2ant_power_on_setting()
3738 struct btc_board_info *board_info = &btcoexist->board_info; in ex_btc8723b2ant_pre_load_firmware() local
[all …]
/drivers/staging/rtlwifi/btcoexist/
Dhalbtcoutsrc.c1341 btcoexist->board_info.btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in exhalbtc_bind_bt_coex_withadapter()
1347 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
1349 btcoexist->board_info.tfbga_package = false; in exhalbtc_bind_bt_coex_withadapter()
1351 btcoexist->board_info.tfbga_package = true; in exhalbtc_bind_bt_coex_withadapter()
1353 if (btcoexist->board_info.tfbga_package) in exhalbtc_bind_bt_coex_withadapter()
1360 btcoexist->board_info.rfe_type = rtl_get_hwpg_rfe_type(rtlpriv); in exhalbtc_bind_bt_coex_withadapter()
1361 btcoexist->board_info.ant_div_cfg = 0; in exhalbtc_bind_bt_coex_withadapter()
1374 if (btcoexist->board_info.btdm_ant_num == 1) in exhalbtc_power_on_setting()
1376 else if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_power_on_setting()
1389 if (btcoexist->board_info.btdm_ant_num == 1) in exhalbtc_pre_load_firmware()
[all …]
/drivers/net/ethernet/davicom/
Ddm9000.c99 struct board_info { struct
156 static inline struct board_info *to_dm9000_board(struct net_device *dev) in to_dm9000_board() argument
167 ior(struct board_info *db, int reg) in ior()
178 iow(struct board_info *db, int reg, int value) in iow()
185 dm9000_reset(struct board_info *db) in dm9000_reset()
277 static void dm9000_msleep(struct board_info *db, unsigned int ms) in dm9000_msleep()
289 struct board_info *db = netdev_priv(dev); in dm9000_phy_read()
335 struct board_info *db = netdev_priv(dev); in dm9000_phy_write()
382 static void dm9000_set_io(struct board_info *db, int byte_width) in dm9000_set_io()
413 static void dm9000_schedule_poll(struct board_info *db) in dm9000_schedule_poll()
[all …]
/drivers/mfd/
Dtps65910.c383 struct tps65910_board *board_info; in tps65910_parse_dt() local
396 board_info = devm_kzalloc(&client->dev, sizeof(*board_info), in tps65910_parse_dt()
398 if (!board_info) { in tps65910_parse_dt()
405 board_info->vmbch_threshold = prop; in tps65910_parse_dt()
409 board_info->vmbch2_threshold = prop; in tps65910_parse_dt()
412 board_info->en_ck32k_xtal = prop; in tps65910_parse_dt()
415 board_info->en_dev_slp = prop; in tps65910_parse_dt()
418 board_info->slp_keepon.therm_keepon = prop; in tps65910_parse_dt()
421 board_info->slp_keepon.clkout32k_keepon = prop; in tps65910_parse_dt()
424 board_info->slp_keepon.i2chs_keepon = prop; in tps65910_parse_dt()
[all …]
/drivers/i2c/
Di2c-boardinfo.c82 devinfo->board_info = *info; in i2c_register_board_info()
85 devinfo->board_info.properties = in i2c_register_board_info()
87 if (IS_ERR(devinfo->board_info.properties)) { in i2c_register_board_info()
88 status = PTR_ERR(devinfo->board_info.properties); in i2c_register_board_info()
95 devinfo->board_info.resources = in i2c_register_board_info()
100 if (!devinfo->board_info.resources) { in i2c_register_board_info()
/drivers/media/usb/go7007/
Dgo7007-v4l2.c101 *width = go->board_info->sensor_width; in get_resolution()
102 *height = go->board_info->sensor_height; in get_resolution()
197 } else if (go->board_info->sensor_flags & GO7007_SENSOR_SCALING) { in set_capture_size()
249 go->encoder_h_offset = go->board_info->sensor_h_offset; in set_capture_size()
250 go->encoder_v_offset = go->board_info->sensor_v_offset; in set_capture_size()
252 if (go->board_info->sensor_flags & GO7007_SENSOR_SCALING) { in set_capture_size()
294 if (go->board_info->num_aud_inputs) in vidioc_querycap()
296 if (go->board_info->flags & GO7007_BOARD_HAS_TUNER) in vidioc_querycap()
572 if (!(go->board_info->sensor_flags & GO7007_SENSOR_SCALING)) { in vidioc_enum_frameintervals()
634 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input()
[all …]
Dgo7007-fw.c1115 0xd472, (go->board_info->sensor_flags & in config_package()
1119 0xd475, (go->board_info->sensor_flags & in config_package()
1142 0xe01a, go->board_info->hpi_buffer_cap, in config_package()
1172 0xc031, go->board_info->sensor_flags & in config_package()
1192 (go->board_info->sensor_flags & in config_package()
1197 0xbff0, go->board_info->sensor_flags & in config_package()
1287 int arate = go->board_info->audio_rate * 1001 * go->fps_scale; in avsync_to_package()
1328 ((go->board_info->sensor_flags & GO7007_SENSOR_TV) && in final_package()
1332 (go->board_info->sensor_flags & in final_package()
1344 (go->board_info->sensor_flags & GO7007_SENSOR_TV ? in final_package()
[all …]
Dgo7007-driver.c161 if (go->board_info->audio_flags & GO7007_AUDIO_I2S_MASTER) { in go7007_init_encoder()
280 go->board_info->flags & GO7007_BOARD_USE_ONBOARD_I2C) { in go7007_register_encoder()
294 init_i2c_module(&go->i2c_adapter, &go->board_info->i2c_devs[i]); in go7007_register_encoder()
315 if (go->board_info->flags & GO7007_BOARD_HAS_AUDIO) { in go7007_register_encoder()
707 go->board_info = board; in go7007_alloc()
751 const struct go7007_board_info *board = go->board_info; in go7007_update_board()
/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h195 const struct board_info *brd_info;
273 struct board_info { struct
321 #define board_info(adapter) ((adapter)->params.brd_info) macro
322 #define is_10G(adapter) (board_info(adapter)->caps & SUPPORTED_10000baseT_Full)
326 return board_info(adap)->clock_core / 1000000; in core_ticks_per_usec()
342 const struct board_info *t1_get_board_info(unsigned int board_id);
343 const struct board_info *t1_get_board_info_from_ids(unsigned int devid,
346 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi,
349 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()
/drivers/media/usb/dvb-usb-v2/
Dzd1301.c139 struct i2c_board_info board_info; in zd1301_frontend_attach() local
179 memset(&board_info, 0, sizeof(board_info)); in zd1301_frontend_attach()
180 strlcpy(board_info.type, "mt2060", I2C_NAME_SIZE); in zd1301_frontend_attach()
181 board_info.addr = 0x60; in zd1301_frontend_attach()
182 board_info.platform_data = &dev->mt2060_pdata; in zd1301_frontend_attach()
184 client = i2c_new_device(adapter, &board_info); in zd1301_frontend_attach()
Drtl28xxu.c666 struct i2c_board_info board_info; in rtl2831u_frontend_attach() local
689 memset(&board_info, 0, sizeof(board_info)); in rtl2831u_frontend_attach()
690 strlcpy(board_info.type, "rtl2830", I2C_NAME_SIZE); in rtl2831u_frontend_attach()
691 board_info.addr = 0x10; in rtl2831u_frontend_attach()
692 board_info.platform_data = pdata; in rtl2831u_frontend_attach()
693 request_module("%s", board_info.type); in rtl2831u_frontend_attach()
694 client = i2c_new_device(&d->i2c_adap, &board_info); in rtl2831u_frontend_attach()
874 struct i2c_board_info board_info; in rtl2832u_frontend_attach() local
910 memset(&board_info, 0, sizeof(board_info)); in rtl2832u_frontend_attach()
911 strlcpy(board_info.type, "rtl2832", I2C_NAME_SIZE); in rtl2832u_frontend_attach()
[all …]
/drivers/media/usb/em28xx/
Dem28xx-dvb.c1432 struct i2c_board_info board_info; in em28xx_dvb_init() local
1442 memset(&board_info, 0, sizeof(board_info)); in em28xx_dvb_init()
1443 strlcpy(board_info.type, "tda10071_cx24118", I2C_NAME_SIZE); in em28xx_dvb_init()
1444 board_info.addr = 0x55; in em28xx_dvb_init()
1445 board_info.platform_data = &tda10071_pdata; in em28xx_dvb_init()
1447 client = i2c_new_device(&dev->i2c_adap[dev->def_i2c_bus], &board_info); in em28xx_dvb_init()
1462 memset(&board_info, 0, sizeof(board_info)); in em28xx_dvb_init()
1463 strlcpy(board_info.type, "a8293", I2C_NAME_SIZE); in em28xx_dvb_init()
1464 board_info.addr = 0x08; in em28xx_dvb_init()
1465 board_info.platform_data = &a8293_pdata; in em28xx_dvb_init()
[all …]
/drivers/staging/media/omap4iss/
Diss.c949 struct iss_subdev_i2c_board_info *board_info) in iss_register_subdev_group() argument
954 if (!board_info->board_info) in iss_register_subdev_group()
957 for (first = 1; board_info->board_info; ++board_info, first = 0) { in iss_register_subdev_group()
961 adapter = i2c_get_adapter(board_info->i2c_adapter_id); in iss_register_subdev_group()
965 __func__, board_info->i2c_adapter_id, in iss_register_subdev_group()
966 board_info->board_info->type); in iss_register_subdev_group()
971 board_info->board_info, NULL); in iss_register_subdev_group()
974 board_info->board_info->type); in iss_register_subdev_group()
/drivers/net/phy/
Dmdio-boardinfo.c38 bi = &be->board_info; in mdiobus_setup_mdiodev_from_board_info()
72 memcpy(&be->board_info, info, sizeof(*info)); in mdiobus_register_board_info()
/drivers/media/dvb-frontends/
Dts2020.c518 struct i2c_board_info board_info; in ts2020_attach() local
527 memset(&board_info, 0, sizeof(board_info)); in ts2020_attach()
528 strlcpy(board_info.type, "ts2020", I2C_NAME_SIZE); in ts2020_attach()
529 board_info.addr = config->tuner_address; in ts2020_attach()
530 board_info.platform_data = &pdata; in ts2020_attach()
531 client = i2c_new_device(i2c, &board_info); in ts2020_attach()
Dcxd2820r_core.c532 struct i2c_board_info board_info; in cxd2820r_attach() local
542 memset(&board_info, 0, sizeof(board_info)); in cxd2820r_attach()
543 strlcpy(board_info.type, "cxd2820r", I2C_NAME_SIZE); in cxd2820r_attach()
544 board_info.addr = config->i2c_address; in cxd2820r_attach()
545 board_info.platform_data = &pdata; in cxd2820r_attach()
546 client = i2c_new_device(adapter, &board_info); in cxd2820r_attach()
Daf9013.c1225 struct i2c_board_info board_info; in af9013_attach() local
1238 memset(&board_info, 0, sizeof(board_info)); in af9013_attach()
1239 strlcpy(board_info.type, "af9013", sizeof(board_info.type)); in af9013_attach()
1240 board_info.addr = config->i2c_addr; in af9013_attach()
1241 board_info.platform_data = &pdata; in af9013_attach()
1242 client = i2c_new_device(i2c, &board_info); in af9013_attach()
/drivers/thermal/
Dintel_pch_thermal.c283 static const struct board_info { struct
286 } board_info[] = { argument
305 const struct board_info *bi = &board_info[board_id]; in intel_pch_thermal_probe()
/drivers/i2c/busses/
Di2c-cht-wc.c291 struct i2c_board_info board_info = { in cht_wc_i2c_adap_i2c_probe() local
363 board_info.irq = adap->client_irq; in cht_wc_i2c_adap_i2c_probe()
364 adap->client = i2c_new_device(&adap->adapter, &board_info); in cht_wc_i2c_adap_i2c_probe()
/drivers/media/usb/dvb-usb/
Ddw2102.c1538 struct i2c_board_info board_info; in tt_s2_4600_frontend_attach() local
1593 memset(&board_info, 0, sizeof(board_info)); in tt_s2_4600_frontend_attach()
1594 strlcpy(board_info.type, "m88ds3103", I2C_NAME_SIZE); in tt_s2_4600_frontend_attach()
1595 board_info.addr = 0x68; in tt_s2_4600_frontend_attach()
1596 board_info.platform_data = &m88ds3103_pdata; in tt_s2_4600_frontend_attach()
1598 client = i2c_new_device(&d->i2c_adap, &board_info); in tt_s2_4600_frontend_attach()
1612 memset(&board_info, 0, sizeof(board_info)); in tt_s2_4600_frontend_attach()
1613 strlcpy(board_info.type, "ts2022", I2C_NAME_SIZE); in tt_s2_4600_frontend_attach()
1614 board_info.addr = 0x60; in tt_s2_4600_frontend_attach()
1615 board_info.platform_data = &ts2020_config; in tt_s2_4600_frontend_attach()
[all …]

123