Home
last modified time | relevance | path

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

12

/drivers/net/sfc/
Dboards.c28 struct efx_blinker *bl = &efx->board_info.blinker; in blink_led_timer()
29 efx->board_info.set_fault_led(efx, bl->state); in blink_led_timer()
37 struct efx_blinker *blinker = &efx->board_info.blinker; in board_blink()
51 efx->board_info.set_fault_led(efx, false); in board_blink()
91 efx->board_info.hwmon_client = client; in efx_init_lm87()
101 i2c_unregister_device(efx->board_info.hwmon_client); in efx_fini_lm87()
106 struct i2c_client *client = efx->board_info.hwmon_client; in efx_check_lm87()
197 efx->board_info.blinker.led_num = SFE4002_FAULT_LED; in sfe4002_init_leds()
212 (efx->board_info.major == 0 && efx->board_info.minor == 0) ? in sfe4002_check_hw()
223 efx->board_info.monitor = sfe4002_check_hw; in sfe4002_init()
[all …]
Dsfe4001.c86 struct i2c_client *ioexp_client = efx->board_info.ioexp_client; in sfe4001_poweroff()
87 struct i2c_client *hwmon_client = efx->board_info.hwmon_client; in sfe4001_poweroff()
100 struct i2c_client *hwmon_client = efx->board_info.hwmon_client; in sfe4001_poweron()
101 struct i2c_client *ioexp_client = efx->board_info.ioexp_client; in sfe4001_poweron()
243 if (efx->board_info.type == EFX_BOARD_SFE4001) in set_phy_flash_cfg()
264 i2c_unregister_device(efx->board_info.ioexp_client); in sfe4001_fini()
265 i2c_unregister_device(efx->board_info.hwmon_client); in sfe4001_fini()
284 status = i2c_smbus_read_byte_data(efx->board_info.ioexp_client, P1_IN); in sfe4001_check_hw()
310 efx->board_info.hwmon_client = in sfe4001_init()
313 efx->board_info.hwmon_client = in sfe4001_init()
[all …]
Dxfp_phy.c71 efx->board_info.init_leds(efx); in xfp_reset_phy()
153 efx->board_info.blink(efx, false); in xfp_phy_fini()
Defx.c1228 rc = efx->board_info.monitor(efx); in efx_monitor()
1895 efx->board_info = efx_dummy_board_info; in efx_init_struct()
1992 efx->board_info.fini(efx); in efx_pci_remove_main()
2059 rc = efx->board_info.init(efx); in efx_pci_probe_main()
2090 efx->board_info.fini(efx); in efx_pci_probe_main()
Dethtool.c189 efx->board_info.blink(efx, 1); in efx_ethtool_phys_id()
195 efx->board_info.blink(efx, 0); in efx_ethtool_phys_id()
/drivers/staging/me4000/
Dme4000.c94 static void release_ao_contexts(struct me4000_info *board_info);
102 struct me4000_info *board_info);
539 struct me4000_info *board_info, *board_info_safe; in clear_board_info_list() local
543 list_for_each_entry(board_info, &me4000_board_info_list, list) { in clear_board_info_list()
546 &board_info->ao_context_list, list) { in clear_board_info_list()
556 if (board_info->ai_context->circ_buf.buf) in clear_board_info_list()
557 kfree(board_info->ai_context->circ_buf.buf); in clear_board_info_list()
558 kfree(board_info->ai_context); in clear_board_info_list()
561 kfree(board_info->dio_context); in clear_board_info_list()
564 kfree(board_info->cnt_context); in clear_board_info_list()
[all …]
Dme4000.h476 struct me4000_info *board_info; member
499 struct me4000_info *board_info; member
532 struct me4000_info *board_info; member
547 struct me4000_info *board_info; member
559 struct me4000_info *board_info; member
/drivers/net/chelsio/
Dcommon.h223 const struct board_info *brd_info;
309 struct board_info { struct
358 #define board_info(adapter) ((adapter)->params.brd_info) macro
359 #define is_10G(adapter) (board_info(adapter)->caps & SUPPORTED_10000baseT_Full)
363 return board_info(adap)->clock_core / 1000000; in core_ticks_per_usec()
379 extern const struct board_info *t1_get_board_info(unsigned int board_id);
380 extern const struct board_info *t1_get_board_info_from_ids(unsigned int devid,
383 extern int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi,
386 extern int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi);
Dsubr.c272 static void mi1_mdio_init(adapter_t *adapter, const struct board_info *bi) in mi1_mdio_init()
395 static const struct board_info t1_board[] = {
546 const struct board_info *t1_get_board_info(unsigned int board_id) in t1_get_board_info()
679 switch (board_info(adapter)->board) { in t1_elmer0_ext_intr_handler()
921 int __devinit t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, in t1_get_board_rev()
947 static int board_init(adapter_t *adapter, const struct board_info *bi) in board_init()
993 const struct board_info *bi = board_info(adapter); in t1_init_hw_modules()
1067 const struct board_info *bi) in init_link_config()
1096 const struct board_info *bi) in t1_init_sw_modules()
Dmv88e1xxx.c367 if ((board_info(adapter)->caps & SUPPORTED_TP) && in mv88e1xxx_phy_create()
368 board_info(adapter)->chip_phy == CHBT_PHY_88E1111) { in mv88e1xxx_phy_create()
Dcphy.h45 void (*init)(adapter_t *adapter, const struct board_info *bi);
/drivers/staging/go7007/
Dgo7007-v4l2.c183 sensor_width = go->board_info->sensor_width; in set_capture_size()
184 sensor_height = go->board_info->sensor_height; in set_capture_size()
191 } else if (go->board_info->sensor_flags & GO7007_SENSOR_SCALING) { in set_capture_size()
242 go->encoder_h_offset = go->board_info->sensor_h_offset; in set_capture_size()
243 go->encoder_v_offset = go->board_info->sensor_v_offset; in set_capture_size()
249 if (go->board_info->sensor_flags & GO7007_SENSOR_SCALING) { in set_capture_size()
622 if (go->board_info->flags & GO7007_BOARD_HAS_TUNER) in vidioc_querycap()
1101 if ((go->board_info->flags & GO7007_BOARD_HAS_TUNER) || in vidioc_enum_framesizes()
1102 (go->board_info->sensor_flags & GO7007_SENSOR_TV)) in vidioc_enum_framesizes()
1109 fsize->discrete.width = go->board_info->sensor_width; in vidioc_enum_framesizes()
[all …]
Dgo7007-fw.c1125 0xd472, (go->board_info->sensor_flags & in config_package()
1129 0xd475, (go->board_info->sensor_flags & in config_package()
1152 0xe01a, go->board_info->hpi_buffer_cap, in config_package()
1182 0xc031, go->board_info->sensor_flags & in config_package()
1202 (go->board_info->sensor_flags & in config_package()
1207 0xbff0, go->board_info->sensor_flags & in config_package()
1297 int arate = go->board_info->audio_rate * 1001 * go->fps_scale; in avsync_to_package()
1338 ((go->board_info->sensor_flags & GO7007_SENSOR_TV) && in final_package()
1342 (go->board_info->sensor_flags & in final_package()
1354 (go->board_info->sensor_flags & GO7007_SENSOR_TV ? in final_package()
[all …]
Dgo7007-driver.c166 if (go->board_info->audio_flags & GO7007_AUDIO_I2S_MASTER) { in go7007_init_encoder()
261 go->board_info->flags & GO7007_BOARD_USE_ONBOARD_I2C) { in go7007_register_encoder()
267 for (i = 0; i < go->board_info->num_i2c_devs; ++i) in go7007_register_encoder()
269 go->board_info->i2c_devs[i].id, in go7007_register_encoder()
270 go->board_info->i2c_devs[i].addr); in go7007_register_encoder()
290 if (go->board_info->flags & GO7007_BOARD_HAS_AUDIO) { in go7007_register_encoder()
610 go->board_info = board; in go7007_alloc()
Dgo7007-priv.h163 struct go7007_board_info *board_info; member
Dgo7007-usb.c1052 if (go7007_boot_encoder(go, go->board_info->flags & in go7007_usb_probe()
1089 go->board_info = &board->main_info; in go7007_usb_probe()
1103 go->board_info = &board->main_info; in go7007_usb_probe()
/drivers/char/
Depca.h130 struct board_info *board;
137 struct board_info struct
148 void ( * memwinon ) (struct board_info *, unsigned int) ; argument
149 void ( * memwinoff ) (struct board_info *, unsigned int) ; argument
Depca.c80 static struct board_info boards[MAXBOARDS];
109 static void memwinon(struct board_info *b, unsigned int win);
110 static void memwinoff(struct board_info *b, unsigned int win);
120 static void pcxem_memwinon(struct board_info *b, unsigned int win);
121 static void pcxem_memwinoff(struct board_info *b, unsigned int win);
129 static void pcxe_memwinon(struct board_info *b, unsigned int win);
130 static void pcxe_memwinoff(struct board_info *b, unsigned int win);
139 static void pcxi_memwinon(struct board_info *b, unsigned int win);
140 static void pcxi_memwinoff(struct board_info *b, unsigned int win);
148 static void dummy_memwinon(struct board_info *b, unsigned int win);
[all …]
Depcaconfig.h4 struct board_info static_boards[NUMCARDS]={
/drivers/i2c/
Di2c-core.h22 struct i2c_board_info board_info; member
Di2c-boardinfo.c83 devinfo->board_info = *info; in i2c_register_board_info()
/drivers/spi/
Dspi.c175 struct spi_board_info board_info[0]; member
369 memcpy(bi->board_info, info, n * sizeof *info); in spi_register_board_info()
387 struct spi_board_info *chip = bi->board_info; in scan_boardinfo()
/drivers/net/
Ddm9000.c86 typedef struct board_info { struct
252 static void dm9000_set_io(struct board_info *db, int byte_width) in dm9000_set_io()
596 dm9000_release_board(struct platform_device *pdev, struct board_info *db) in dm9000_release_board()
1182 struct board_info *db; /* Point a board information structure */ in dm9000_probe()
1191 ndev = alloc_etherdev(sizeof(struct board_info)); in dm9000_probe()
/drivers/media/dvb/bt8xx/
Ddst_common.h137 u8 board_info[8]; member
Ddst.c1056 memset(&state->board_info, '\0', 8); in dst_get_tuner_info()
1057 memcpy(&state->board_info, &state->rxbuffer, 8); in dst_get_tuner_info()
1061 if (state->board_info[0] == 0xbc) { in dst_get_tuner_info()
1067 if (state->board_info[1] == 0x01) { in dst_get_tuner_info()

12