/drivers/platform/x86/intel/int33fe/ |
D | intel_cht_int33fe_typec.c | 247 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() 267 strlcpy(board_info.type, "max17047", I2C_NAME_SIZE); 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() 270 data->battery_fg = i2c_acpi_new_device(dev, 1, &board_info); 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() 329 strlcpy(board_info.type, "typec_fusb302", I2C_NAME_SIZE); in cht_int33fe_typec_probe() 330 board_info.dev_name = "fusb302"; in cht_int33fe_typec_probe() [all …]
|
D | intel_cht_int33fe_microb.c | 45 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()
|
/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 1346 btcoexist->board_info.btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in exhalbtc_bind_bt_coex_withadapter() 1352 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() 1365 btcoexist->board_info.rfe_type = rtl_get_hwpg_rfe_type(rtlpriv); 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() 1381 else if (btcoexist->board_info.btdm_ant_num == 1) in exhalbtc_power_on_setting() 1394 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/x86/ |
D | i2c-multi-instantiate.c | 39 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()
|
/drivers/platform/chrome/ |
D | chromeos_laptop.c | 45 struct i2c_board_info board_info; member 160 &i2c_dev->board_info, in chromeos_laptop_check_adapter() 265 .board_info = { 274 .board_info = { 286 .board_info = { 319 .board_info = { 332 .board_info = { 345 .board_info = { 357 .board_info = { 370 .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() 266 static void dm9000_msleep(struct board_info *db, unsigned int ms) in dm9000_msleep() 278 struct board_info *db = netdev_priv(dev); in dm9000_phy_read() 324 struct board_info *db = netdev_priv(dev); in dm9000_phy_write() 371 static void dm9000_set_io(struct board_info *db, int byte_width) in dm9000_set_io() 403 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/spi/ |
D | spi-altera-dfl.c | 126 struct spi_board_info board_info = { 0 }; in dfl_spi_altera_probe() local 167 strscpy(board_info.modalias, "m10-n5010", SPI_NAME_SIZE); in dfl_spi_altera_probe() 169 strscpy(board_info.modalias, "m10-d5005", SPI_NAME_SIZE); in dfl_spi_altera_probe() 171 board_info.max_speed_hz = 12500000; in dfl_spi_altera_probe() 172 board_info.bus_num = 0; in dfl_spi_altera_probe() 173 board_info.chip_select = 0; in dfl_spi_altera_probe() 175 if (!spi_new_device(master, &board_info)) { in dfl_spi_altera_probe() 177 __func__, board_info.modalias); in dfl_spi_altera_probe()
|
/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() 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);
|
D | subr.c | 280 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()
|
/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/i2c/ |
D | i2c-boardinfo.c | 72 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()
|
/drivers/staging/media/omap4iss/ |
D | iss.c | 946 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()
|
/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/iio/accel/ |
D | bmc150-accel-i2c.c | 135 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()
|
/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()
|
/drivers/platform/surface/ |
D | surface3_power.c | 509 struct i2c_board_info board_info; in mshw0011_probe() local 522 memset(&board_info, 0, sizeof(board_info)); in mshw0011_probe() 523 strlcpy(board_info.type, "MSHW0011-bat0", I2C_NAME_SIZE); in mshw0011_probe() 525 bat0 = i2c_acpi_new_device(dev, 1, &board_info); in mshw0011_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);
|