Home
last modified time | relevance | path

Searched refs:hw_revision (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/net/wireless/st/cw1200/
H A Dfwio.c93 switch (priv->hw_revision) { in cw1200_load_firmware_cw1200()
120 pr_err("Invalid silicon revision %d.\n", priv->hw_revision); in cw1200_load_firmware_cw1200()
401 priv->hw_revision = CW1200_HW_REV_CUT11; in cw1200_load_firmware()
405 priv->hw_revision = CW1200_HW_REV_CUT10; in cw1200_load_firmware()
438 priv->hw_revision = CW1200_HW_REV_CUT22; in cw1200_load_firmware()
441 priv->hw_revision = CW1200_HW_REV_CUT20; in cw1200_load_firmware()
447 priv->hw_revision = CW1X60_HW_REV; in cw1200_load_firmware()
471 if (priv->hw_revision == CW1X60_HW_REV) { in cw1200_load_firmware()
H A Dcw1200.h119 } hw_revision; member
/linux/drivers/hid/
H A Dhid-u2fzero.c29 enum hw_revision { enum
90 kernel_ulong_t hw_revision; member
178 .cmd = hw_configs[dev->hw_revision].wink_cmd, in u2fzero_blink()
206 .cmd = hw_configs[dev->hw_revision].rng_cmd, in u2fzero_rng_read()
320 dev->hw_revision = id->driver_data; in u2fzero_probe()
356 hid_info(hdev, "%s LED initialised\n", hw_configs[dev->hw_revision].name); in u2fzero_probe()
364 hid_info(hdev, "%s RNG initialised\n", hw_configs[dev->hw_revision].name); in u2fzero_probe()
/linux/drivers/media/rc/
H A Dene_ir.c89 u8 hw_revision, old_ver; in ene_hw_detect() local
97 hw_revision = ene_read_reg(dev, ENE_ECHV); in ene_hw_detect()
107 if (hw_revision == 0xFF) { in ene_hw_detect()
115 chip_major, chip_minor, old_ver, hw_revision); in ene_hw_detect()
124 if (chip_major == 0x39 && chip_minor == 0x26 && hw_revision == 0xC0) { in ene_hw_detect()
125 dev->hw_revision = ENE_HW_C; in ene_hw_detect()
127 } else if (old_ver == 0x24 && hw_revision == 0xC0) { in ene_hw_detect()
128 dev->hw_revision = ENE_HW_B; in ene_hw_detect()
131 dev->hw_revision = ENE_HW_D; in ene_hw_detect()
136 if (dev->hw_revision < ENE_HW_C) in ene_hw_detect()
[all …]
H A Dene_ir.h191 int hw_revision; /* hardware revision */ member
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c392 if (isp->media_dev.hw_revision >= in atomisp_save_iunit_reg()
398 if (IS_CHT && (isp->media_dev.hw_revision >= ((ATOMISP_HW_REVISION_ISP2401 << in atomisp_save_iunit_reg()
716 if (isp->media_dev.hw_revision < in atomisp_csi_lane_config()
728 if (isp->media_dev.hw_revision < in atomisp_csi_lane_config()
1100 if ((isp->media_dev.hw_revision >> ATOMISP_HW_REVISION_SHIFT) == in atomisp_load_firmware()
1104 if (isp->media_dev.hw_revision == in atomisp_load_firmware()
1109 if (isp->media_dev.hw_revision == in atomisp_load_firmware()
1116 isp->media_dev.hw_revision); in atomisp_load_firmware()
1204 isp->media_dev.hw_revision = in atomisp_pci_probe()
1224 isp->media_dev.hw_revision = in atomisp_pci_probe()
[all …]
H A Datomisp_internal.h48 (((isp)->media_dev.hw_revision & ATOMISP_HW_REVISION_MASK) == \
/linux/drivers/net/wireless/silabs/wfx/
H A Dfwio.c321 int hw_revision, hw_type; in wfx_init_device() local
346 hw_revision = FIELD_GET(CFG_DEVICE_ID_MAJOR, reg); in wfx_init_device()
347 if (hw_revision == 0) { in wfx_init_device()
348 dev_err(wdev->dev, "bad hardware revision number: %d\n", hw_revision); in wfx_init_device()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c23 __be16 hw_revision; member
588 sprintf(buf, "%d", linecard->hw_revision); in mlxsw_linecard_devlink_info_get()
621 u16 hw_revision, u16 ini_version) in mlxsw_linecard_provision_set() argument
644 linecard->hw_revision = hw_revision; in mlxsw_linecard_provision_set()
719 u16 ini_version, hw_revision; in mlxsw_linecard_status_process() local
725 &hw_revision, &ini_version, in mlxsw_linecard_status_process()
741 hw_revision, ini_version); in mlxsw_linecard_status_process()
1127 ret = linecard->hw_revision == be16_to_cpu(ini_file->format.hw_revision) && in mlxsw_linecard_same_provision()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_catalog.c455 u32 mainlink_ctrl, hw_revision; in dp_catalog_setup_peripheral_flush() local
461 hw_revision = dp_catalog_hw_revision(dp_catalog); in dp_catalog_setup_peripheral_flush()
462 if (hw_revision >= DP_HW_VERSION_1_2) in dp_catalog_setup_peripheral_flush()
934 u32 hw_revision; in dp_catalog_panel_update_sdp() local
938 hw_revision = dp_catalog_hw_revision(dp_catalog); in dp_catalog_panel_update_sdp()
939 if (hw_revision < DP_HW_VERSION_1_2 && hw_revision >= DP_HW_VERSION_1_0) { in dp_catalog_panel_update_sdp()
/linux/drivers/media/mc/
H A Dmc-device.c76 info->hw_revision = dev->hw_revision; in media_device_get_info()
848 mdev->hw_revision = (pci_dev->subsystem_vendor << 16) in media_device_pci_init()
877 mdev->hw_revision = le16_to_cpu(udev->descriptor.bcdDevice); in __media_device_usb_init()
/linux/drivers/staging/media/tegra-video/
H A Dvi.h84 u32 hw_revision; member
/linux/include/media/
H A Dmedia-device.h154 u32 hw_revision; member
/linux/include/uapi/linux/
H A Dmedia.h32 __u32 hw_revision; member
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-ioc-device-info.rst80 - ``hw_revision``
/linux/drivers/bluetooth/
H A Dhci_ag6xx.c229 ver.hw_platform, ver.hw_variant, ver.hw_revision, in ag6xx_setup()
H A Dbtintel.h91 u8 hw_revision; member
H A Dhci_intel.c694 ver.hw_variant, ver.hw_revision, ver.fw_revision); in intel_setup()
720 ver.hw_variant, ver.hw_revision, ver.fw_revision); in intel_setup()
/linux/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi.c88 media_dev->hw_revision = 0; in sun6i_csi_v4l2_setup()
/linux/drivers/mmc/host/
H A Dmmci.h446 u8 hw_revision:4; member
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_csi.c185 csi->mdev.hw_revision = 0; in sun4i_csi_probe()
/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp.c198 media_dev->hw_revision = 0; in sun6i_isp_v4l2_setup()
/linux/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c550 xdev->media_dev.hw_revision = 0; in xvip_composite_v4l2_init()
/linux/drivers/gpu/drm/panel/
H A Dpanel-dsi-cm.c258 static DEVICE_ATTR_RO(hw_revision);
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-core.c311 md->hw_revision = ip_rev; in camif_media_dev_init()

123