/linux-6.6.21/drivers/platform/x86/intel/ |
D | chtwc_int33fe.c | 253 struct i2c_board_info board_info; in cht_int33fe_register_max17047() local 272 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_register_max17047() 273 strscpy(board_info.type, "max17047", I2C_NAME_SIZE); in cht_int33fe_register_max17047() 274 board_info.dev_name = "max17047"; in cht_int33fe_register_max17047() 275 board_info.fwnode = fwnode; in cht_int33fe_register_max17047() 276 data->battery_fg = i2c_acpi_new_device(dev, 1, &board_info); in cht_int33fe_register_max17047() 304 struct i2c_board_info board_info; in cht_int33fe_typec_probe() local 363 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_typec_probe() 364 strscpy(board_info.type, "typec_fusb302", I2C_NAME_SIZE); in cht_int33fe_typec_probe() 365 board_info.dev_name = "fusb302"; in cht_int33fe_typec_probe() [all …]
|
/linux-6.6.21/drivers/net/ethernet/davicom/ |
D | dm9051.c | 98 struct board_info { struct 119 static int dm9051_set_reg(struct board_info *db, unsigned int reg, unsigned int val) in dm9051_set_reg() argument 130 static int dm9051_update_bits(struct board_info *db, unsigned int reg, unsigned int mask, in dm9051_update_bits() 144 static int dm9051_dumpblk(struct board_info *db, u8 reg, size_t count) in dm9051_dumpblk() 166 static int dm9051_set_regs(struct board_info *db, unsigned int reg, const void *val, in dm9051_set_regs() 178 static int dm9051_get_regs(struct board_info *db, unsigned int reg, void *val, in dm9051_get_regs() 190 static int dm9051_write_mem(struct board_info *db, unsigned int reg, const void *buff, in dm9051_write_mem() 202 static int dm9051_read_mem(struct board_info *db, unsigned int reg, void *buff, in dm9051_read_mem() 217 static int dm9051_nsr_poll(struct board_info *db) in dm9051_nsr_poll() 229 static int dm9051_epcr_poll(struct board_info *db) in dm9051_epcr_poll() [all …]
|
D | dm9000.c | 88 struct board_info { struct 147 static inline struct board_info *to_dm9000_board(struct net_device *dev) in to_dm9000_board() argument 158 ior(struct board_info *db, int reg) in ior() 169 iow(struct board_info *db, int reg, int value) in iow() 176 dm9000_reset(struct board_info *db) in dm9000_reset() 265 static void dm9000_msleep(struct board_info *db, unsigned int ms) in dm9000_msleep() 277 struct board_info *db = netdev_priv(dev); in dm9000_phy_read() 323 struct board_info *db = netdev_priv(dev); in dm9000_phy_write() 370 static void dm9000_set_io(struct board_info *db, int byte_width) in dm9000_set_io() 402 static void dm9000_schedule_poll(struct board_info *db) in dm9000_schedule_poll() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/platform/x86/x86-android-tablets/ |
D | lenovo.c | 77 .board_info = { 86 .board_info = { 101 .board_info = { 117 .board_info = { 126 .board_info = { 244 .board_info = { 294 .board_info = { 302 .board_info = { 310 .board_info = { 327 .board_info = { [all …]
|
D | other.c | 38 .board_info = { 53 .board_info = { 151 .board_info = { 165 .board_info = { 302 .board_info = { 318 .board_info = { 383 .board_info = { 392 .board_info = { 441 .board_info = { 450 .board_info = { [all …]
|
D | asus.c | 83 .board_info = { 99 .board_info = { 108 .board_info = { 116 .board_info = { 131 .board_info = { 251 .board_info = { 267 .board_info = { 276 .board_info = { 284 .board_info = { 293 .board_info = {
|
D | core.c | 136 struct i2c_board_info board_info = client_info->board_info; in x86_instantiate_i2c_client() local 141 board_info.irq = x86_acpi_irq_helper_get(&client_info->irq_data); in x86_instantiate_i2c_client() 142 if (board_info.irq < 0) in x86_instantiate_i2c_client() 143 return board_info.irq; in x86_instantiate_i2c_client() 157 i2c_clients[idx] = i2c_new_client_device(adap, &board_info); in x86_instantiate_i2c_client()
|
/linux-6.6.21/arch/mips/bcm63xx/boards/ |
D | board_bcm963xx.c | 34 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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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(host, &board_info)) { in dfl_spi_altera_probe() 177 __func__, board_info.modalias); in dfl_spi_altera_probe()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 185 const struct board_info *brd_info; 263 struct board_info { struct 311 #define board_info(adapter) ((adapter)->params.brd_info) macro 312 #define is_10G(adapter) (board_info(adapter)->caps & SUPPORTED_10000baseT_Full) 316 return board_info(adap)->clock_core / 1000000; in core_ticks_per_usec() 331 const struct board_info *t1_get_board_info(unsigned int board_id); 332 const struct board_info *t1_get_board_info_from_ids(unsigned int devid, 335 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, 338 int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi);
|
/linux-6.6.21/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() 540 if (!(go->board_info->sensor_flags & GO7007_SENSOR_SCALING)) { in vidioc_enum_frameintervals() 602 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input() 605 strscpy(inp->name, go->board_info->inputs[inp->index].name, in vidioc_enum_input() 609 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 …]
|
/linux-6.6.21/drivers/platform/x86/ |
D | asus-tf103c-dock.c | 481 struct i2c_board_info board_info = { }; in tf103c_dock_enable_touchpad() local 493 strscpy(board_info.type, "elan_i2c", I2C_NAME_SIZE); in tf103c_dock_enable_touchpad() 494 board_info.addr = TF103C_DOCK_TP_ADDR; in tf103c_dock_enable_touchpad() 495 board_info.dev_name = TF103C_DOCK_DEV_NAME "-tp"; in tf103c_dock_enable_touchpad() 496 board_info.irq = dock->tp_irq; in tf103c_dock_enable_touchpad() 497 board_info.swnode = &tf103c_dock_touchpad_sw_node; in tf103c_dock_enable_touchpad() 499 dock->tp_client = i2c_new_client_device(dock->ec_client->adapter, &board_info); in tf103c_dock_enable_touchpad() 718 struct i2c_board_info board_info = { }; in tf103c_dock_probe() local 798 strscpy(board_info.type, "tf103c-dock-intr", I2C_NAME_SIZE); in tf103c_dock_probe() 799 board_info.addr = TF103C_DOCK_INTR_ADDR; in tf103c_dock_probe() [all …]
|
D | serial-multi-instantiate.c | 188 struct i2c_board_info board_info = {}; in smi_i2c_probe() local 207 memset(&board_info, 0, sizeof(board_info)); in smi_i2c_probe() 208 strscpy(board_info.type, inst_array[i].type, I2C_NAME_SIZE); in smi_i2c_probe() 210 board_info.dev_name = name; in smi_i2c_probe() 215 board_info.irq = ret; in smi_i2c_probe() 217 smi->i2c_devs[i] = i2c_acpi_new_device(dev, i, &board_info); in smi_i2c_probe()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-cht-wc.c | 429 struct i2c_board_info *board_info = NULL; in cht_wc_i2c_adap_i2c_probe() local 497 board_info = &gpd_win_board_info; in cht_wc_i2c_adap_i2c_probe() 500 board_info = &xiaomi_mipad2_board_info; in cht_wc_i2c_adap_i2c_probe() 503 board_info = &lenovo_yogabook1_board_info; in cht_wc_i2c_adap_i2c_probe() 506 board_info = &lenovo_yoga_tab3_board_info; in cht_wc_i2c_adap_i2c_probe() 513 if (board_info) { in cht_wc_i2c_adap_i2c_probe() 514 board_info->irq = adap->client_irq; in cht_wc_i2c_adap_i2c_probe() 515 adap->client = i2c_new_client_device(&adap->adapter, board_info); in cht_wc_i2c_adap_i2c_probe()
|
/linux-6.6.21/drivers/hid/ |
D | hid-nvidia-shield.c | 154 struct thunderstrike_hostcmd_board_info board_info; member 197 } board_info; member 555 struct thunderstrike_hostcmd_board_info *board_info) in thunderstrike_parse_board_info_payload() argument 560 shield_dev->board_info.revision = le16_to_cpu(board_info->revision); in thunderstrike_parse_board_info_payload() 562 u16 val = le16_to_cpu(board_info->serial[i]); in thunderstrike_parse_board_info_payload() 564 shield_dev->board_info.serial_number[2 * i] = val & 0xFF; in thunderstrike_parse_board_info_payload() 565 shield_dev->board_info.serial_number[2 * i + 1] = val >> 8; in thunderstrike_parse_board_info_payload() 567 shield_dev->board_info.serial_number[14] = '\0'; in thunderstrike_parse_board_info_payload() 571 shield_strrev(board_revision_str, 4, shield_dev->board_info.revision); in thunderstrike_parse_board_info_payload() 574 board_revision_str, shield_dev->board_info.revision, in thunderstrike_parse_board_info_payload() [all …]
|
/linux-6.6.21/drivers/staging/media/omap4iss/ |
D | iss.c | 944 struct iss_subdev_i2c_board_info *board_info) in iss_register_subdev_group() argument 949 if (!board_info->board_info) in iss_register_subdev_group() 952 for (first = 1; board_info->board_info; ++board_info, first = 0) { in iss_register_subdev_group() 956 adapter = i2c_get_adapter(board_info->i2c_adapter_id); in iss_register_subdev_group() 960 __func__, board_info->i2c_adapter_id, in iss_register_subdev_group() 961 board_info->board_info->type); in iss_register_subdev_group() 966 board_info->board_info, NULL); in iss_register_subdev_group() 969 board_info->board_info->type); in iss_register_subdev_group()
|
/linux-6.6.21/arch/arm/mach-davinci/ |
D | pdata-quirks.c | 66 .board_info = { 73 .board_info = { 139 .board_info = {
|
/linux-6.6.21/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()
|