Home
last modified time | relevance | path

Searched refs:fwreq (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/snic/
Dsnic_scsi.c545 snic_icmnd_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_icmnd_cmpl_handler() argument
558 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_icmnd_cmpl_handler()
559 icmnd_cmpl = &fwreq->u.icmnd_cmpl; in snic_icmnd_cmpl_handler()
582 fwreq); in snic_icmnd_cmpl_handler()
587 (ulong) fwreq, le32_to_cpu(icmnd_cmpl->resid), ctx); in snic_icmnd_cmpl_handler()
649 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler()
675 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler()
687 struct snic_fw_req *fwreq, in snic_proc_dr_cmpl_locked() argument
705 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc)); in snic_proc_dr_cmpl_locked()
720 (ulong) fwreq, 0, SNIC_TRC_CMD_STATE_FLAGS(sc)); in snic_proc_dr_cmpl_locked()
[all …]
Dsnic_ctl.c152 snic_io_exch_ver_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_io_exch_ver_cmpl_handler() argument
155 struct snic_exch_ver_rsp *exv_cmpl = &fwreq->u.exch_ver_cmpl; in snic_io_exch_ver_cmpl_handler()
162 snic_io_hdr_dec(&fwreq->hdr, &typ, &hdr_stat, &cmnd_id, &hid, &ctx); in snic_io_exch_ver_cmpl_handler()
Dsnic_disc.c398 snic_report_tgt_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_report_tgt_cmpl_handler() argument
408 snic_io_hdr_dec(&fwreq->hdr, &typ, &cmpl_stat, &cmnd_id, &hid, &ctx); in snic_report_tgt_cmpl_handler()
412 tgt_cnt = le32_to_cpu(fwreq->u.rpt_tgts_cmpl.tgt_cnt); in snic_report_tgt_cmpl_handler()
Dsnic_disc.h90 int snic_tgtinfo_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq);
Dsnic_io.c460 struct snic_fw_req *fwreq = (struct snic_fw_req *) os_buf; in snic_dump_desc() local
466 rqi = (struct snic_req_info *) fwreq->hdr.init_ctx; in snic_dump_desc()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dusb.c1161 struct brcmf_fw_request *fwreq; in brcmf_usb_get_fwname() local
1166 fwreq = brcmf_fw_alloc_request(bus->chip, bus->chiprev, in brcmf_usb_get_fwname()
1170 if (!fwreq) in brcmf_usb_get_fwname()
1173 kfree(fwreq); in brcmf_usb_get_fwname()
1189 struct brcmf_fw_request *fwreq) in brcmf_usb_probe_phase2() argument
1200 fw = fwreq->items[BRCMF_USB_FW_CODE].binary; in brcmf_usb_probe_phase2()
1201 kfree(fwreq); in brcmf_usb_probe_phase2()
1238 struct brcmf_fw_request *fwreq; in brcmf_usb_prepare_fw_request() local
1243 fwreq = brcmf_fw_alloc_request(devinfo->bus_pub.devid, in brcmf_usb_prepare_fw_request()
1248 if (!fwreq) in brcmf_usb_prepare_fw_request()
[all …]
Dpcie.c350 struct brcmf_fw_request *fwreq);
1391 struct brcmf_fw_request *fwreq; in brcmf_pcie_get_fwname() local
1396 fwreq = brcmf_fw_alloc_request(bus_if->chip, bus_if->chiprev, in brcmf_pcie_get_fwname()
1400 if (!fwreq) in brcmf_pcie_get_fwname()
1403 kfree(fwreq); in brcmf_pcie_get_fwname()
1412 struct brcmf_fw_request *fwreq; in brcmf_pcie_reset() local
1426 fwreq = brcmf_pcie_prepare_fw_request(devinfo); in brcmf_pcie_reset()
1427 if (!fwreq) { in brcmf_pcie_reset()
1432 err = brcmf_fw_get_firmwares(dev, fwreq, brcmf_pcie_setup); in brcmf_pcie_reset()
1435 kfree(fwreq); in brcmf_pcie_reset()
[all …]
Dfirmware.c742 struct brcmf_fw_request *fwreq; in brcmf_fw_alloc_request() local
767 fwreq = kzalloc(struct_size(fwreq, items, n_fwnames), GFP_KERNEL); in brcmf_fw_alloc_request()
768 if (!fwreq) in brcmf_fw_alloc_request()
779 fwreq->n_items = n_fwnames; in brcmf_fw_alloc_request()
782 fwreq->items[j].path = fwnames[j].path; in brcmf_fw_alloc_request()
798 fwreq->items[j].path = fwnames[j].path; in brcmf_fw_alloc_request()
801 return fwreq; in brcmf_fw_alloc_request()
Dsdio.c4137 struct brcmf_fw_request *fwreq; in brcmf_sdio_get_fwname() local
4142 fwreq = brcmf_fw_alloc_request(bus_if->chip, bus_if->chiprev, in brcmf_sdio_get_fwname()
4146 if (!fwreq) in brcmf_sdio_get_fwname()
4149 kfree(fwreq); in brcmf_sdio_get_fwname()
4201 struct brcmf_fw_request *fwreq) in brcmf_sdio_firmware_callback() argument
4218 code = fwreq->items[BRCMF_SDIO_FW_CODE].binary; in brcmf_sdio_firmware_callback()
4219 nvram = fwreq->items[BRCMF_SDIO_FW_NVRAM].nv_data.data; in brcmf_sdio_firmware_callback()
4220 nvram_len = fwreq->items[BRCMF_SDIO_FW_NVRAM].nv_data.len; in brcmf_sdio_firmware_callback()
4221 kfree(fwreq); in brcmf_sdio_firmware_callback()
4415 struct brcmf_fw_request *fwreq; in brcmf_sdio_prepare_fw_request() local
[all …]
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c1323 struct hw_fw_request_iface fwreq; in hw_atl_b0_adj_clock_freq() local
1326 memset(&fwreq, 0, sizeof(fwreq)); in hw_atl_b0_adj_clock_freq()
1328 fwreq.msg_id = HW_AQ_FW_REQUEST_PTP_ADJ_FREQ; in hw_atl_b0_adj_clock_freq()
1330 &fwreq.ptp_adj_freq.ns_mac, in hw_atl_b0_adj_clock_freq()
1331 &fwreq.ptp_adj_freq.fns_mac); in hw_atl_b0_adj_clock_freq()
1333 &fwreq.ptp_adj_freq.ns_phy, in hw_atl_b0_adj_clock_freq()
1334 &fwreq.ptp_adj_freq.fns_phy); in hw_atl_b0_adj_clock_freq()
1335 hw_atl_b0_mac_adj_param_calc(&fwreq.ptp_adj_freq, in hw_atl_b0_adj_clock_freq()
1339 size = sizeof(fwreq.msg_id) + sizeof(fwreq.ptp_adj_freq); in hw_atl_b0_adj_clock_freq()
1340 return self->aq_fw_ops->send_fw_request(self, &fwreq, size); in hw_atl_b0_adj_clock_freq()
[all …]