Home
last modified time | relevance | path

Searched refs:rtl_fw (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/realtek/
A Dr8169_firmware.c42 static bool rtl_fw_format_ok(struct rtl_fw *rtl_fw) in rtl_fw_format_ok() argument
79 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() argument
140 void rtl_fw_write_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) in rtl_fw_write_firmware() argument
177 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() argument
214 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() argument
221 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 …]
A Dr8169_firmware.h20 struct rtl_fw { struct
37 int rtl_fw_request_firmware(struct rtl_fw *rtl_fw); argument
38 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);
A Dr8169_main.c634 struct rtl_fw *rtl_fw; member
1420 struct rtl_fw *rtl_fw = tp->rtl_fw; in rtl8169_get_drvinfo() local
1425 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() local
2390 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 …]
/linux/drivers/net/usb/
A Dr8152.c910 struct rtl_fw { struct
919 } rtl_fw; member
5052 struct rtl_fw *rtl_fw = &tp->rtl_fw; in rtl8152_apply_firmware() local
5062 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() local
5135 rtl_fw->fw = NULL; in rtl8152_release_firmware()
5141 struct rtl_fw *rtl_fw = &tp->rtl_fw; in rtl8152_request_firmware() local
5144 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