Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/platform/x86/intel/
A Dchtwc_int33fe.c253 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()
274 board_info.dev_name = "max17047"; in cht_int33fe_register_max17047()
275 board_info.fwnode = fwnode; 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()
365 board_info.dev_name = "fusb302"; in cht_int33fe_typec_probe()
366 board_info.fwnode = fwnode; in cht_int33fe_typec_probe()
367 board_info.irq = fusb302_irq; in cht_int33fe_typec_probe()
381 memset(&board_info, 0, sizeof(board_info)); in cht_int33fe_typec_probe()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/davicom/
A Ddm9051.c98 struct board_info { struct
383 struct board_info *db = context; in dm9051_phyread()
411 struct board_info *db = context; in dm9051_phywrite()
435 struct board_info *db = bus->priv; in dm9051_mdio_read()
450 struct board_info *db = bus->priv; in dm9051_mdio_write()
460 struct board_info *db = dbcontext; in dm9051_reg_lock_mutex()
467 struct board_info *db = dbcontext; in dm9051_reg_unlock_mutex()
876 struct board_info *db = pw; in dm9051_rx_threaded_irq()
910 struct board_info *db = container_of(work, struct board_info, tx_work); in dm9051_tx_delay()
924 struct board_info *db = container_of(work, struct board_info, rxctrl_work); in dm9051_rxctl_delay()
[all …]
A Ddm9000.c88 struct board_info { struct
158 ior(struct board_info *db, int reg) in ior()
176 dm9000_reset(struct board_info *db) in dm9000_reset()
277 struct board_info *db = netdev_priv(dev); in dm9000_phy_read()
323 struct board_info *db = netdev_priv(dev); in dm9000_phy_write()
770 struct board_info *db = container_of(dw, struct board_info, phy_poll); in dm9000_poll_work()
838 struct board_info *db = netdev_priv(dev); in dm9000_hash_table_unlocked()
874 struct board_info *db = netdev_priv(dev); in dm9000_hash_table()
900 struct board_info *db = netdev_priv(dev); in dm9000_init_dm9000()
965 struct board_info *db = netdev_priv(dev); in dm9000_timeout()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/btcoexist/
A Dhalbtcoutsrc.c1352 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()
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()
1394 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_pre_load_firmware()
1407 if (btcoexist->board_info.btdm_ant_num == 2) in exhalbtc_init_hw_config()
1908 btcoexist->board_info.pg_ant_num = ant_num; in exhalbtc_set_ant_num()
1915 btcoexist->board_info.btdm_ant_pos = in exhalbtc_set_ant_num()
[all …]
/linux-6.3-rc2/arch/mips/bcm63xx/boards/
A Dboard_bcm963xx.c34 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 = {
366 static struct board_info __initdata board_96348gw = {
504 static struct board_info __initdata board_96358vw = {
600 static struct board_info __initdata board_AGPFS0 = {
[all …]
/linux-6.3-rc2/drivers/platform/chrome/
A Dchromeos_laptop.c265 .board_info = {
274 .board_info = {
286 .board_info = {
319 .board_info = {
332 .board_info = {
345 .board_info = {
357 .board_info = {
370 .board_info = {
379 .board_info = {
392 .board_info = {
[all …]
/linux-6.3-rc2/drivers/platform/x86/
A Dx86-android-tablets.c406 .board_info = {
422 .board_info = {
431 .board_info = {
439 .board_info = {
454 .board_info = {
574 .board_info = {
590 .board_info = {
599 .board_info = {
607 .board_info = {
616 .board_info = {
[all …]
A Dasus-tf103c-dock.c481 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()
718 struct i2c_board_info board_info = { }; in tf103c_dock_probe() local
799 board_info.addr = TF103C_DOCK_INTR_ADDR; in tf103c_dock_probe()
800 board_info.dev_name = TF103C_DOCK_DEV_NAME "-intr"; in tf103c_dock_probe()
807 board_info.addr = TF103C_DOCK_KBD_ADDR; in tf103c_dock_probe()
[all …]
A Dserial-multi-instantiate.c174 struct i2c_board_info board_info = {}; in smi_i2c_probe() local
193 memset(&board_info, 0, sizeof(board_info)); in smi_i2c_probe()
194 strscpy(board_info.type, inst_array[i].type, I2C_NAME_SIZE); in smi_i2c_probe()
196 board_info.dev_name = name; in smi_i2c_probe()
201 board_info.irq = ret; in smi_i2c_probe()
203 smi->i2c_devs[i] = i2c_acpi_new_device(dev, i, &board_info); in smi_i2c_probe()
/linux-6.3-rc2/drivers/mfd/
A Dtps65910.c375 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()
416 board_info->irq = client->irq; in tps65910_parse_dt()
417 board_info->irq_base = -1; in tps65910_parse_dt()
[all …]
/linux-6.3-rc2/drivers/spi/
A Dspi-altera-dfl.c126 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.3-rc2/drivers/net/ethernet/chelsio/cxgb/
A Dcommon.h185 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.3-rc2/drivers/media/usb/go7007/
A Dgo7007-v4l2.c93 *width = go->board_info->sensor_width; in get_resolution()
94 *height = go->board_info->sensor_height; in get_resolution()
602 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input()
615 if (go->board_info->num_aud_inputs) in vidioc_enum_input()
642 if (a->index >= go->board_info->num_aud_inputs) in vidioc_enumaudio()
666 if (a->index >= go->board_info->num_aud_inputs) in vidioc_s_audio()
680 go->board_info->video_config); in go7007_s_input()
681 if (go->board_info->num_aud_inputs) { in go7007_s_input()
694 if (input >= go->board_info->num_inputs) in vidioc_s_input()
1095 if (go->board_info->num_aud_inputs) in go7007_v4l2_init()
[all …]
A Dgo7007-fw.c1107 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()
1324 (go->board_info->sensor_flags & in final_package()
1373 int clock_config = ((go->board_info->audio_flags & in audio_to_package()
1375 ((go->board_info->audio_flags & in audio_to_package()
1378 (go->board_info->audio_main_div - 1); in audio_to_package()
[all …]
/linux-6.3-rc2/drivers/media/usb/dvb-usb-v2/
A Dzd1301.c130 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()
A Drtl28xxu.c684 struct i2c_board_info board_info; in rtl2831u_frontend_attach() local
707 memset(&board_info, 0, sizeof(board_info)); in rtl2831u_frontend_attach()
709 board_info.addr = 0x10; in rtl2831u_frontend_attach()
710 board_info.platform_data = pdata; in rtl2831u_frontend_attach()
892 struct i2c_board_info board_info; in rtl2832u_frontend_attach() local
928 memset(&board_info, 0, sizeof(board_info)); in rtl2832u_frontend_attach()
930 board_info.addr = 0x10; in rtl2832u_frontend_attach()
1244 board_info.addr = 0x56; in rtl2832u_tuner_attach()
1248 &board_info); in rtl2832u_tuner_attach()
1275 board_info.addr = 0x60; in rtl2832u_tuner_attach()
[all …]
/linux-6.3-rc2/drivers/i2c/
A Di2c-boardinfo.c72 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.3-rc2/drivers/i2c/busses/
A Di2c-cht-wc.c429 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.3-rc2/drivers/staging/media/omap4iss/
A Diss.c944 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.3-rc2/arch/arm/mach-davinci/
A Dpdata-quirks.c66 .board_info = {
73 .board_info = {
139 .board_info = {
/linux-6.3-rc2/drivers/media/dvb-core/
A Ddvbdev.c990 struct i2c_board_info *board_info; in dvb_module_probe() local
992 board_info = kzalloc(sizeof(*board_info), GFP_KERNEL); in dvb_module_probe()
993 if (!board_info) in dvb_module_probe()
997 strscpy(board_info->type, name, I2C_NAME_SIZE); in dvb_module_probe()
999 strscpy(board_info->type, module_name, I2C_NAME_SIZE); in dvb_module_probe()
1001 board_info->addr = addr; in dvb_module_probe()
1002 board_info->platform_data = platform_data; in dvb_module_probe()
1004 client = i2c_new_client_device(adap, board_info); in dvb_module_probe()
1006 kfree(board_info); in dvb_module_probe()
1015 kfree(board_info); in dvb_module_probe()
/linux-6.3-rc2/drivers/net/phy/
A Dmdio-boardinfo.c36 bi = &be->board_info; in mdiobus_setup_mdiodev_from_board_info()
72 memcpy(&be->board_info, info, sizeof(*info)); in mdiobus_register_board_info()
/linux-6.3-rc2/drivers/media/pci/intel/ipu3/
A Dcio2-bridge.c241 struct i2c_board_info board_info = { }; in cio2_bridge_instantiate_vcm_i2c_client() local
248 board_info.dev_name = name; in cio2_bridge_instantiate_vcm_i2c_client()
249 strscpy(board_info.type, cio2_vcm_types[sensor->ssdb.vcmtype - 1], in cio2_bridge_instantiate_vcm_i2c_client()
250 ARRAY_SIZE(board_info.type)); in cio2_bridge_instantiate_vcm_i2c_client()
251 board_info.swnode = &sensor->swnodes[SWNODE_VCM]; in cio2_bridge_instantiate_vcm_i2c_client()
255 1, &board_info); in cio2_bridge_instantiate_vcm_i2c_client()
/linux-6.3-rc2/drivers/hwmon/
A Dasus-ec-sensors.c421 #define DMI_EXACT_MATCH_ASUS_BOARD_NAME(name, board_info) \ argument
428 .driver_data = (void *)board_info, \
521 const struct ec_board_info *board_info; member
598 for_each_set_bit(i, &ec->board_info->sensors, in setup_sensor_data()
599 BITS_PER_TYPE(ec->board_info->sensors)) { in setup_sensor_data()
642 mutex_path_override : state->board_info->mutex_path; in setup_lock_data()
920 ec_data->board_info = pboard_info; in asus_ec_probe()
922 switch (ec_data->board_info->family) { in asus_ec_probe()
937 ec_data->board_info->family); in asus_ec_probe()
941 ec_data->nr_sensors = hweight_long(ec_data->board_info->sensors); in asus_ec_probe()
/linux-6.3-rc2/drivers/iio/accel/
A Dbmc150-accel-i2c.c135 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()

Completed in 74 milliseconds

1234