Lines Matching refs:fw_offset
1006 __le16 fw_offset; member
1028 __le16 fw_offset; member
1064 __le16 fw_offset; member
1119 __le16 fw_offset; member
4110 u16 fw_offset; in rtl8152_is_fw_phy_speed_up_ok() local
4135 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_speed_up_ok()
4137 if (fw_offset < sizeof(*phy) || length <= fw_offset) { in rtl8152_is_fw_phy_speed_up_ok()
4142 length -= fw_offset; in rtl8152_is_fw_phy_speed_up_ok()
4221 u16 fw_offset; in rtl8152_is_fw_phy_union_ok() local
4236 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_union_ok()
4238 if (fw_offset < sizeof(*phy) || length <= fw_offset) { in rtl8152_is_fw_phy_union_ok()
4243 length -= fw_offset; in rtl8152_is_fw_phy_union_ok()
4267 u16 fw_offset, fw_reg, ba_reg, patch_en_addr, mode_reg, bp_start; in rtl8152_is_fw_phy_nc_ok() local
4284 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok()
4285 if (fw_offset < sizeof(*phy)) { in rtl8152_is_fw_phy_nc_ok()
4291 if (length < fw_offset) { in rtl8152_is_fw_phy_nc_ok()
4296 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok()
4342 u16 fw_reg, bp_ba_addr, bp_en_addr, bp_start, fw_offset; in rtl8152_is_fw_mac_ok() local
4420 fw_offset = __le16_to_cpu(mac->fw_offset); in rtl8152_is_fw_mac_ok()
4421 if (fw_offset < sizeof(*mac)) { in rtl8152_is_fw_mac_ok()
4427 if (length < fw_offset) { in rtl8152_is_fw_mac_ok()
4432 length -= fw_offset; in rtl8152_is_fw_mac_ok()
4824 len -= __le16_to_cpu(phy->fw_offset); in rtl_ram_code_speed_up()
4825 data = (u8 *)phy + __le16_to_cpu(phy->fw_offset); in rtl_ram_code_speed_up()
4939 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_fw_phy_union_apply()
4941 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset)); in rtl8152_fw_phy_union_apply()
4971 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_fw_phy_nc_apply()
4973 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset)); in rtl8152_fw_phy_nc_apply()
5030 length -= __le16_to_cpu(mac->fw_offset); in rtl8152_fw_mac_apply()
5033 data += __le16_to_cpu(mac->fw_offset); in rtl8152_fw_mac_apply()