Home
last modified time | relevance | path

Searched refs:hw_info (Results 1 – 10 of 10) sorted by relevance

/drivers/staging/xgifb/
DXGI_main_26.c302 struct xgi_hw_device_info *hw_info = &xgifb_info->hw_info; in XGIfb_validate_mode() local
333 switch (hw_info->ulCRT2LCDType) { in XGIfb_validate_mode()
383 if ((hw_info->ulExternalChip == 0x01) || /* LVDS */ in XGIfb_validate_mode()
384 (hw_info->ulExternalChip == 0x05)) { /* LVDS+Chrontel */ in XGIfb_validate_mode()
389 if (hw_info->ulCRT2LCDType == LCD_1024x600) in XGIfb_validate_mode()
407 (hw_info->ulCRT2LCDType != LCD_1024x600)) in XGIfb_validate_mode()
413 if (hw_info->ulCRT2LCDType != LCD_1152x768) in XGIfb_validate_mode()
421 (hw_info->ulCRT2LCDType != LCD_1280x768)) in XGIfb_validate_mode()
459 if (hw_info->ulCRT2LCDType == in XGIfb_validate_mode()
927 struct xgi_hw_device_info *hw_info = &xgifb_info->hw_info; in XGIfb_do_set_var() local
[all …]
DXGIfb.h54 struct xgi_hw_device_info hw_info; member
Dvb_init.c1137 XGINew_SenseLCD(&xgifb_info->hw_info, pVBInfo); in XGINew_GetXG21Sense()
1222 struct xgi_hw_device_info *HwDeviceExtension = &xgifb_info->hw_info; in XGIInitNew()
/drivers/usb/serial/
Dwhiteheat.c225 struct whiteheat_hw_info *hw_info; in whiteheat_attach() local
242 result = kmalloc(sizeof(*hw_info) + 1, GFP_KERNEL); in whiteheat_attach()
268 sizeof(*hw_info) + 1, &alen, COMMAND_TIMEOUT_MS); in whiteheat_attach()
273 } else if (alen != sizeof(*hw_info) + 1) { in whiteheat_attach()
283 hw_info = (struct whiteheat_hw_info *)&result[1]; in whiteheat_attach()
287 hw_info->sw_major_rev, hw_info->sw_minor_rev); in whiteheat_attach()
/drivers/net/ethernet/8390/
Dpcnet_cs.c136 static hw_info_t hw_info[] = { variable
198 #define NR_INFO ARRAY_SIZE(hw_info)
297 hw_info[i].offset & ~(resource_size(link->resource[2])-1)); in get_hwinfo()
298 base = &virt[hw_info[i].offset & (resource_size(link->resource[2])-1)]; in get_hwinfo()
299 if ((readb(base+0) == hw_info[i].a0) && in get_hwinfo()
300 (readb(base+2) == hw_info[i].a1) && in get_hwinfo()
301 (readb(base+4) == hw_info[i].a2)) { in get_hwinfo()
310 return (i < NR_INFO) ? hw_info+i : NULL; in get_hwinfo()
356 if ((prom[0] == hw_info[i].a0) && in get_prom()
357 (prom[2] == hw_info[i].a1) && in get_prom()
[all …]
/drivers/media/usb/dvb-usb-v2/
Danysee.c507 u8 hw_info[3]; in anysee_read_config() local
513 ret = anysee_get_hw_info(d, hw_info); in anysee_read_config()
517 ret = anysee_get_hw_info(d, hw_info); in anysee_read_config()
525 KBUILD_MODNAME, hw_info[1], hw_info[2], hw_info[0]); in anysee_read_config()
527 state->hw = hw_info[0]; in anysee_read_config()
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c806 struct vxge_hw_device_hw_info *hw_info) in __vxge_hw_vpath_fw_ver_get() argument
808 struct vxge_hw_device_version *fw_version = &hw_info->fw_version; in __vxge_hw_vpath_fw_ver_get()
809 struct vxge_hw_device_date *fw_date = &hw_info->fw_date; in __vxge_hw_vpath_fw_ver_get()
810 struct vxge_hw_device_version *flash_version = &hw_info->flash_version; in __vxge_hw_vpath_fw_ver_get()
811 struct vxge_hw_device_date *flash_date = &hw_info->flash_date; in __vxge_hw_vpath_fw_ver_get()
873 struct vxge_hw_device_hw_info *hw_info) in __vxge_hw_vpath_card_info_get() argument
877 u8 *serial_number = hw_info->serial_number; in __vxge_hw_vpath_card_info_get()
878 u8 *part_number = hw_info->part_number; in __vxge_hw_vpath_card_info_get()
879 u8 *product_desc = hw_info->product_desc; in __vxge_hw_vpath_card_info_get()
932 struct vxge_hw_device_hw_info *hw_info) in __vxge_hw_vpath_pci_func_mode_get() argument
[all …]
Dvxge-config.h1851 struct vxge_hw_device_hw_info *hw_info);
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c66 static const struct inv_mpu6050_hw hw_info[INV_NUM_PARTS] = { variable
190 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_mpu6050_init_config()
619 st->hw = &hw_info[st->chip_type]; in inv_check_and_setup_chip()
620 st->reg = hw_info[st->chip_type].reg; in inv_check_and_setup_chip()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c1558 hw_info *einfo; in tsi108_init_one()