Searched refs:rtl_fw (Results 1 – 4 of 4) sorted by relevance
42 static bool rtl_fw_format_ok(struct rtl_fw *rtl_fw) in rtl_fw_format_ok() argument79 strscpy(rtl_fw->version, rtl_fw->fw_name, RTL_VER_SIZE); in rtl_fw_format_ok()88 static bool rtl_fw_data_ok(struct rtl_fw *rtl_fw) in rtl_fw_data_ok() argument140 void rtl_fw_write_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) in rtl_fw_write_firmware() argument177 fw_read = rtl_fw->phy_read; in rtl_fw_write_firmware()212 void rtl_fw_release_firmware(struct rtl_fw *rtl_fw) in rtl_fw_release_firmware() argument214 release_firmware(rtl_fw->fw); in rtl_fw_release_firmware()217 int rtl_fw_request_firmware(struct rtl_fw *rtl_fw) in rtl_fw_request_firmware() argument221 rc = request_firmware(&rtl_fw->fw, rtl_fw->fw_name, rtl_fw->dev); in rtl_fw_request_firmware()225 if (!rtl_fw_format_ok(rtl_fw) || !rtl_fw_data_ok(rtl_fw)) { in rtl_fw_request_firmware()[all …]
20 struct rtl_fw { struct37 int rtl_fw_request_firmware(struct rtl_fw *rtl_fw); argument38 void rtl_fw_release_firmware(struct rtl_fw *rtl_fw);39 void rtl_fw_write_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw);
634 struct rtl_fw *rtl_fw; member1420 struct rtl_fw *rtl_fw = tp->rtl_fw; in rtl8169_get_drvinfo() local1425 if (rtl_fw) in rtl8169_get_drvinfo()2084 if (tp->rtl_fw) { in rtl_release_firmware()2086 kfree(tp->rtl_fw); in rtl_release_firmware()2096 if (tp->rtl_fw) { in r8169_apply_firmware()2384 struct rtl_fw *rtl_fw; in rtl_request_firmware() local2390 rtl_fw = kzalloc(sizeof(*rtl_fw), GFP_KERNEL); in rtl_request_firmware()2391 if (!rtl_fw) in rtl_request_firmware()2402 kfree(rtl_fw); in rtl_request_firmware()[all …]
910 struct rtl_fw { struct919 } rtl_fw; member5052 struct rtl_fw *rtl_fw = &tp->rtl_fw; in rtl8152_apply_firmware() local5062 fw = rtl_fw->fw; in rtl8152_apply_firmware()5065 if (rtl_fw->pre_fw) in rtl8152_apply_firmware()5131 struct rtl_fw *rtl_fw = &tp->rtl_fw; in rtl8152_release_firmware() local5135 rtl_fw->fw = NULL; in rtl8152_release_firmware()5141 struct rtl_fw *rtl_fw = &tp->rtl_fw; in rtl8152_request_firmware() local5144 if (rtl_fw->fw || !rtl_fw->fw_name) { in rtl8152_request_firmware()5150 rc = request_firmware(&rtl_fw->fw, rtl_fw->fw_name, &tp->intf->dev); in rtl8152_request_firmware()[all …]
Completed in 53 milliseconds