• Home
  • Raw
  • Download

Lines Matching refs:fw_offset

1007 	__le16 fw_offset;  member
1029 __le16 fw_offset; member
1065 __le16 fw_offset; member
1120 __le16 fw_offset; member
4125 u16 fw_offset; in rtl8152_is_fw_phy_speed_up_ok() local
4150 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_speed_up_ok()
4152 if (fw_offset < sizeof(*phy) || length <= fw_offset) { in rtl8152_is_fw_phy_speed_up_ok()
4157 length -= fw_offset; in rtl8152_is_fw_phy_speed_up_ok()
4236 u16 fw_offset; in rtl8152_is_fw_phy_union_ok() local
4251 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_union_ok()
4253 if (fw_offset < sizeof(*phy) || length <= fw_offset) { in rtl8152_is_fw_phy_union_ok()
4258 length -= fw_offset; in rtl8152_is_fw_phy_union_ok()
4282 u16 fw_offset, fw_reg, ba_reg, patch_en_addr, mode_reg, bp_start; in rtl8152_is_fw_phy_nc_ok() local
4299 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok()
4300 if (fw_offset < sizeof(*phy)) { in rtl8152_is_fw_phy_nc_ok()
4306 if (length < fw_offset) { in rtl8152_is_fw_phy_nc_ok()
4311 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok()
4357 u16 fw_reg, bp_ba_addr, bp_en_addr, bp_start, fw_offset; in rtl8152_is_fw_mac_ok() local
4435 fw_offset = __le16_to_cpu(mac->fw_offset); in rtl8152_is_fw_mac_ok()
4436 if (fw_offset < sizeof(*mac)) { in rtl8152_is_fw_mac_ok()
4442 if (length < fw_offset) { in rtl8152_is_fw_mac_ok()
4447 length -= fw_offset; in rtl8152_is_fw_mac_ok()
4839 len -= __le16_to_cpu(phy->fw_offset); in rtl_ram_code_speed_up()
4840 data = (u8 *)phy + __le16_to_cpu(phy->fw_offset); in rtl_ram_code_speed_up()
4954 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_fw_phy_union_apply()
4956 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset)); in rtl8152_fw_phy_union_apply()
4986 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_fw_phy_nc_apply()
4988 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset)); in rtl8152_fw_phy_nc_apply()
5045 length -= __le16_to_cpu(mac->fw_offset); in rtl8152_fw_mac_apply()
5048 data += __le16_to_cpu(mac->fw_offset); in rtl8152_fw_mac_apply()