/linux/drivers/net/ethernet/davicom/ |
H A 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 …]
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | lenovo.c | 98 .board_info = { 107 .board_info = { 124 .board_info = { 141 .board_info = { 150 .board_info = { 269 .board_info = { 319 .board_info = { 327 .board_info = { 335 .board_info = { 353 .board_info = { [all …]
|
H A D | other.c | 43 .board_info = { 59 .board_info = { 158 .board_info = { 172 .board_info = { 310 .board_info = { 327 .board_info = { 392 .board_info = { 401 .board_info = { 451 .board_info = { 460 .board_info = { [all …]
|
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 = {
|
H A D | core.c | 208 struct i2c_board_info board_info = client_info->board_info; in x86_instantiate_i2c_client() local 211 board_info.irq = x86_acpi_irq_helper_get(&client_info->irq_data); in x86_instantiate_i2c_client() 212 if (board_info.irq < 0) in x86_instantiate_i2c_client() 213 return board_info.irq; in x86_instantiate_i2c_client() 225 i2c_clients[idx] = i2c_new_client_device(adap, &board_info); in x86_instantiate_i2c_client() 237 struct spi_board_info board_info = spi_dev_info->board_info; in x86_instantiate_spi_dev() local 243 board_info.irq = x86_acpi_irq_helper_get(&spi_dev_info->irq_data); in x86_instantiate_spi_dev() 244 if (board_info.irq < 0) in x86_instantiate_spi_dev() 245 return board_info.irq; in x86_instantiate_spi_dev() 265 spi_devs[idx] = spi_new_device(controller, &board_info); in x86_instantiate_spi_dev()
|
H A D | x86-android-tablets.h | 48 struct i2c_board_info board_info; member 54 struct spi_board_info board_info; member
|
/linux/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 __initdata board_96348gw = { [all …]
|
/linux/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 …]
|
/linux/drivers/mfd/ |
H A D | tps65910.c | 375 struct tps65910_board *board_info; in tps65910_parse_dt() local 381 board_info = devm_kzalloc(&client->dev, sizeof(*board_info), in tps65910_parse_dt() 383 if (!board_info) in tps65910_parse_dt() 388 board_info->vmbch_threshold = prop; in tps65910_parse_dt() 392 board_info->vmbch2_threshold = prop; in tps65910_parse_dt() 395 board_info->en_ck32k_xtal = prop; in tps65910_parse_dt() 398 board_info->en_dev_slp = prop; in tps65910_parse_dt() 401 board_info->slp_keepon.therm_keepon = prop; in tps65910_parse_dt() 404 board_info->slp_keepon.clkout32k_keepon = prop; in tps65910_parse_dt() 407 board_info->slp_keepon.i2chs_keepon = prop; in tps65910_parse_dt() [all …]
|
/linux/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()
|
/linux/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); 333 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, 336 int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi);
|
/linux/drivers/platform/x86/ |
H A 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"); 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"); in tf103c_dock_probe() 799 board_info.addr = TF103C_DOCK_INTR_ADDR; in tf103c_dock_probe() [all …]
|
H A D | serial-multi-instantiate.c | 192 struct i2c_board_info board_info = {}; in smi_i2c_probe() local 211 memset(&board_info, 0, sizeof(board_info)); in smi_i2c_probe() 212 strscpy(board_info.type, inst_array[i].type); in smi_i2c_probe() 214 board_info.dev_name = name; in smi_i2c_probe() 219 board_info.irq = ret; in smi_i2c_probe() 221 smi->i2c_devs[i] = i2c_acpi_new_device(dev, i, &board_info); in smi_i2c_probe()
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A 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()
|
H A 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/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()
|
/linux/drivers/media/usb/go7007/ |
H A 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/arch/arm/mach-davinci/ |
H A D | pdata-quirks.c | 66 .board_info = { 73 .board_info = { 139 .board_info = {
|
/linux/drivers/media/dvb-core/ |
H A D | dvbdev.c | 1028 struct i2c_board_info *board_info; in dvb_module_probe() local 1030 board_info = kzalloc(sizeof(*board_info), GFP_KERNEL); in dvb_module_probe() 1031 if (!board_info) in dvb_module_probe() 1035 strscpy(board_info->type, name, I2C_NAME_SIZE); in dvb_module_probe() 1037 strscpy(board_info->type, module_name, I2C_NAME_SIZE); in dvb_module_probe() 1039 board_info->addr = addr; in dvb_module_probe() 1040 board_info->platform_data = platform_data; in dvb_module_probe() 1042 client = i2c_new_client_device(adap, board_info); in dvb_module_probe() 1044 kfree(board_info); in dvb_module_probe() 1053 kfree(board_info); in dvb_module_probe()
|
/linux/drivers/hwmon/ |
H A D | asus-ec-sensors.c | 480 #define DMI_EXACT_MATCH_ASUS_BOARD_NAME(name, board_info) \ argument 487 .driver_data = (void *)board_info, \ 590 const struct ec_board_info *board_info; member 667 for_each_set_bit(i, &ec->board_info->sensors, in setup_sensor_data() 668 BITS_PER_TYPE(ec->board_info->sensors)) { in setup_sensor_data() 711 mutex_path_override : state->board_info->mutex_path; in setup_lock_data() 989 ec_data->board_info = pboard_info; in asus_ec_probe() 991 switch (ec_data->board_info->family) { in asus_ec_probe() 1009 ec_data->board_info->family); in asus_ec_probe() 1013 ec_data->nr_sensors = hweight_long(ec_data->board_info->sensors); in asus_ec_probe()
|
/linux/drivers/net/phy/ |
H A 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()
|
/linux/drivers/media/pci/intel/ |
H A D | ipu-bridge.c | 539 struct i2c_board_info board_info; member 568 1, &data->board_info); in ipu_bridge_instantiate_vcm_work() 577 dev_info(data->sensor, "Instantiated %s VCM\n", data->board_info.type); in ipu_bridge_instantiate_vcm_work() 584 fwnode_handle_put(data->board_info.fwnode); in ipu_bridge_instantiate_vcm_work() 622 data->board_info.dev_name = data->name; in ipu_bridge_instantiate_vcm() 623 data->board_info.fwnode = vcm_fwnode; in ipu_bridge_instantiate_vcm() 624 snprintf(data->board_info.type, sizeof(data->board_info.type), in ipu_bridge_instantiate_vcm() 627 sep = strchrnul(data->board_info.type, '-'); in ipu_bridge_instantiate_vcm()
|
/linux/drivers/iio/accel/ |
H A 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()
|
/linux/drivers/media/dvb-frontends/ |
H A 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()
|
/linux/drivers/firmware/ |
H A D | turris-mox-rwtm.c | 135 MOX_ATTR_RO(serial_number, "%016llX\n", board_info); 136 MOX_ATTR_RO(board_version, "%i\n", board_info); 137 MOX_ATTR_RO(ram_size, "%i\n", board_info); 138 MOX_ATTR_RO(mac_address1, "%pM\n", board_info); 139 MOX_ATTR_RO(mac_address2, "%pM\n", board_info);
|