Lines Matching refs:fw_offset
921 __le16 fw_offset; member
972 __le16 fw_offset; member
3529 u16 fw_offset, fw_reg, ba_reg, patch_en_addr, mode_reg, bp_start; in rtl8152_is_fw_phy_nc_ok() local
3546 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok()
3547 if (fw_offset < sizeof(*phy)) { in rtl8152_is_fw_phy_nc_ok()
3553 if (length < fw_offset) { in rtl8152_is_fw_phy_nc_ok()
3558 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok()
3604 u16 fw_reg, bp_ba_addr, bp_en_addr, bp_start, fw_offset; in rtl8152_is_fw_mac_ok() local
3666 fw_offset = __le16_to_cpu(mac->fw_offset); in rtl8152_is_fw_mac_ok()
3667 if (fw_offset < sizeof(*mac)) { in rtl8152_is_fw_mac_ok()
3673 if (length < fw_offset) { in rtl8152_is_fw_mac_ok()
3678 length -= fw_offset; in rtl8152_is_fw_mac_ok()
3920 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_fw_phy_nc_apply()
3922 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset)); in rtl8152_fw_phy_nc_apply()
3973 length -= __le16_to_cpu(mac->fw_offset); in rtl8152_fw_mac_apply()
3976 data += __le16_to_cpu(mac->fw_offset); in rtl8152_fw_mac_apply()