/drivers/platform/x86/ |
D | intel_cht_int33fe_typec.c | 228 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 …]
|
D | intel_cht_int33fe_microb.c | 41 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()
|
D | i2c-multi-instantiate.c | 64 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()
|
D | surface3_power.c | 515 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()
|
/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 1362 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 …]
|
D | halbtc8723b1ant.c | 776 struct btc_board_info *board_info = &btcoexist->board_info; in halbtc8723b1ant_set_ant_path() local 905 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 928 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 937 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 947 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 971 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 994 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 1003 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 1013 if (board_info->btdm_ant_pos == in halbtc8723b1ant_set_ant_path() 2361 struct btc_board_info *board_info = &btcoexist->board_info; in ex_btc8723b1ant_power_on_setting() local [all …]
|
/drivers/platform/chrome/ |
D | chromeos_laptop.c | 45 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 …]
|
/drivers/net/ethernet/davicom/ |
D | dm9000.c | 89 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 …]
|
/drivers/mfd/ |
D | tps65910.c | 375 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 …]
|
/drivers/i2c/ |
D | i2c-boardinfo.c | 73 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()
|
/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 93 *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 …]
|
D | go7007-fw.c | 1107 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 …]
|
D | go7007-driver.c | 153 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()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 194 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);
|
D | subr.c | 268 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/ |
D | zd1301.c | 130 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()
|
D | rtl28xxu.c | 704 struct i2c_board_info board_info; in rtl2831u_frontend_attach() local 727 memset(&board_info, 0, sizeof(board_info)); in rtl2831u_frontend_attach() 728 strscpy(board_info.type, "rtl2830", I2C_NAME_SIZE); in rtl2831u_frontend_attach() 729 board_info.addr = 0x10; in rtl2831u_frontend_attach() 730 board_info.platform_data = pdata; in rtl2831u_frontend_attach() 731 request_module("%s", board_info.type); in rtl2831u_frontend_attach() 732 client = i2c_new_client_device(&d->i2c_adap, &board_info); in rtl2831u_frontend_attach() 912 struct i2c_board_info board_info; in rtl2832u_frontend_attach() local 948 memset(&board_info, 0, sizeof(board_info)); in rtl2832u_frontend_attach() 949 strscpy(board_info.type, "rtl2832", I2C_NAME_SIZE); in rtl2832u_frontend_attach() [all …]
|
/drivers/staging/media/omap4iss/ |
D | iss.c | 941 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()
|
/drivers/media/dvb-core/ |
D | dvbdev.c | 1035 struct i2c_board_info *board_info; in dvb_module_probe() local 1037 board_info = kzalloc(sizeof(*board_info), GFP_KERNEL); in dvb_module_probe() 1038 if (!board_info) in dvb_module_probe() 1042 strscpy(board_info->type, name, I2C_NAME_SIZE); in dvb_module_probe() 1044 strscpy(board_info->type, module_name, I2C_NAME_SIZE); in dvb_module_probe() 1046 board_info->addr = addr; in dvb_module_probe() 1047 board_info->platform_data = platform_data; in dvb_module_probe() 1049 client = i2c_new_client_device(adap, board_info); in dvb_module_probe() 1051 kfree(board_info); in dvb_module_probe() 1060 kfree(board_info); in dvb_module_probe()
|
/drivers/net/phy/ |
D | mdio-boardinfo.c | 36 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/ |
D | ts2020.c | 509 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()
|
D | cxd2820r_core.c | 519 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()
|
D | lgdt330x.c | 919 struct i2c_board_info board_info = {}; in lgdt330x_attach() local 922 strscpy(board_info.type, "lgdt330x", sizeof(board_info.type)); in lgdt330x_attach() 923 board_info.addr = demod_address; in lgdt330x_attach() 924 board_info.platform_data = &config; in lgdt330x_attach() 925 client = i2c_new_client_device(i2c, &board_info); in lgdt330x_attach()
|
/drivers/thermal/intel/ |
D | intel_pch_thermal.c | 281 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()
|
/drivers/firmware/ |
D | turris-mox-rwtm.c | 141 MOX_ATTR_RO(serial_number, "%016llX\n", board_info); 142 MOX_ATTR_RO(board_version, "%i\n", board_info); 143 MOX_ATTR_RO(ram_size, "%i\n", board_info); 144 MOX_ATTR_RO(mac_address1, "%pM\n", board_info); 145 MOX_ATTR_RO(mac_address2, "%pM\n", board_info);
|