/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A 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() [all...] |
H A 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()
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/platform/x86/intel/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/davicom/ |
H A D | dm9051.c | 76 * struct board_info - maintain the saved data 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() 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 *d [all...] |
H A 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() 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 *d [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A 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 in exhalbtc_pre_load_firmware() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A 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 in exhalbtc_pre_load_firmware() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/x86-android-tablets/ |
H A 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 [all...] |
H A 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...] |
H A D | lenovo.c | 60 * and changing board_info.type to "hid-over-i2c". 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 [all...] |
/kernel/linux/linux-5.10/drivers/i2c/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
H A 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...] |
/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A 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...] |
/kernel/linux/linux-5.10/arch/mips/bcm63xx/boards/ |
H A 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 __initdat [all...] |
/kernel/linux/linux-6.6/arch/mips/bcm63xx/boards/ |
H A 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 __initdat [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
H A 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);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/ |
H A 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);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/davicom/ |
H A 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() 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 *d [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A 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 in tps65910_parse_dt() [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A 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 in tps65910_parse_dt() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
H A 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 in vidioc_enum_input() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/go7007/ |
H A 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 in vidioc_enum_input() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/ |
H A 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()
|