Home
last modified time | relevance | path

Searched refs:req_hdr (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_main.c356 u64 req_hdr, cap0, cap1; in erdma_dev_attrs_init() local
358 erdma_cmdq_build_reqhdr(&req_hdr, CMDQ_SUBMOD_RDMA, in erdma_dev_attrs_init()
361 err = erdma_post_cmd_wait(&dev->cmdq, &req_hdr, sizeof(req_hdr), &cap0, in erdma_dev_attrs_init()
388 erdma_cmdq_build_reqhdr(&req_hdr, CMDQ_SUBMOD_COMMON, in erdma_dev_attrs_init()
391 err = erdma_post_cmd_wait(&dev->cmdq, &req_hdr, sizeof(req_hdr), &cap0, in erdma_dev_attrs_init()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/
Dmcu.c310 } req_hdr = { in mt7603_mcu_set_eeprom() local
316 int i, ret, len = sizeof(req_hdr) + size; in mt7603_mcu_set_eeprom()
325 memcpy(req, &req_hdr, sizeof(req_hdr)); in mt7603_mcu_set_eeprom()
326 data = (struct req_data *)(req + sizeof(req_hdr)); in mt7603_mcu_set_eeprom()
/linux-6.6.21/drivers/scsi/elx/efct/
Defct_unsol.c229 struct fc_frame_header *req_hdr = seq->header->dma.virt; in efct_sframe_common_send() local
242 memcpy(hdr.fh_d_id, req_hdr->fh_s_id, sizeof(hdr.fh_d_id)); in efct_sframe_common_send()
243 memcpy(hdr.fh_s_id, req_hdr->fh_d_id, sizeof(hdr.fh_s_id)); in efct_sframe_common_send()
246 hdr.fh_ox_id = req_hdr->fh_ox_id; in efct_sframe_common_send()
247 hdr.fh_rx_id = req_hdr->fh_rx_id; in efct_sframe_common_send()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c63 } __packed req_hdr = { in mt7615_tm_set_tx_power() local
74 skb = mt76_mcu_msg_alloc(&dev->mt76, NULL, sizeof(req_hdr) + len); in mt7615_tm_set_tx_power()
78 skb_put_data(skb, &req_hdr, sizeof(req_hdr)); in mt7615_tm_set_tx_power()
Dmcu.c629 struct req_hdr { in mt7615_mcu_add_dev() struct
1040 struct req_hdr { in mt7615_mcu_uni_add_beacon_offload() struct
1747 } __packed req_hdr = { in mt7615_mcu_set_eeprom() local
1761 req_hdr.content_format = 1; in mt7615_mcu_set_eeprom()
1770 req_hdr.len = cpu_to_le16(eep_len); in mt7615_mcu_set_eeprom()
1772 skb = mt76_mcu_msg_alloc(&dev->mt76, NULL, sizeof(req_hdr) + eep_len); in mt7615_mcu_set_eeprom()
1776 skb_put_data(skb, &req_hdr, sizeof(req_hdr)); in mt7615_mcu_set_eeprom()
2535 } req_hdr = { in mt7615_mcu_set_bss_pm() local
2544 &req_hdr, sizeof(req_hdr), false); in mt7615_mcu_set_bss_pm()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c448 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_sre_macaddr_change()
607 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_nic_set_promisc()
708 req.req_hdr = cpu_to_le64(QLCNIC_H2C_OPCODE_CONFIG_LOOPBACK | in qlcnic_set_fw_loopback()
777 req.req_hdr = cpu_to_le64(QLCNIC_CONFIG_INTR_COALESCE | in qlcnic_82xx_set_rx_coalesce()
831 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_hw_lro()
866 req.req_hdr = cpu_to_le64(word); in qlcnic_config_bridged_mode()
902 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_rss()
947 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_ipaddr()
969 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_linkevent_request()
995 req.req_hdr = cpu_to_le64(word); in qlcnic_send_lro_cleanup()
[all …]
Dqlcnic_sriov_common.c775 if (qlcnic_sriov_alloc_bc_msg(&trans->req_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr()
784 hdr = trans->req_hdr; in qlcnic_sriov_prepare_bc_hdr()
797 cmd->op_type = trans->req_hdr->op_type; in qlcnic_sriov_prepare_bc_hdr()
819 kfree(trans->req_hdr); in qlcnic_sriov_cleanup_transaction()
883 if (trans->curr_req_frag < trans->req_hdr->num_frags) in qlcnic_sriov_handle_multi_frags()
948 hdr = (u32 *)(trans->req_hdr + trans->curr_req_frag); in qlcnic_sriov_issue_bc_post()
1069 if (qlcnic_sriov_prepare_bc_hdr(trans, &cmd, trans->req_hdr->seq_id, in qlcnic_sriov_process_bc_cmd()
1171 (u32 *)(trans->req_hdr + curr_frag), in qlcnic_sriov_handle_pending_trans()
1240 (u32 *)(trans->req_hdr + trans->curr_req_frag), in qlcnic_sriov_handle_bc_cmd()
1251 if (trans->curr_req_frag == trans->req_hdr->num_frags) { in qlcnic_sriov_handle_bc_cmd()
[all …]
Dqlcnic_sriov.h84 struct qlcnic_bc_hdr *req_hdr; member
Dqlcnic_sriov_pf.c754 if (trans->req_hdr->cmd_op == QLCNIC_BC_CMD_CHANNEL_INIT) { in qlcnic_sriov_pf_channel_cfg_cmd()
776 if (trans->req_hdr->cmd_op == QLCNIC_BC_CMD_CHANNEL_INIT) in qlcnic_sriov_pf_channel_cfg_cmd()
1495 cmd_op = trans->req_hdr->cmd_op; in qlcnic_sriov_pf_process_bc_cmd()
1497 if (trans->req_hdr->op_type == QLC_BC_CMD) { in qlcnic_sriov_pf_process_bc_cmd()
1725 struct qlcnic_bc_hdr *hdr = trans->req_hdr; in qlcnic_sriov_soft_flr_check()
/linux-6.6.21/drivers/infiniband/ulp/iser/
Diser_verbs.c576 struct iser_cm_hdr req_hdr; in iser_route_handler() local
597 memset(&req_hdr, 0, sizeof(req_hdr)); in iser_route_handler()
598 req_hdr.flags = ISER_ZBVA_NOT_SUP; in iser_route_handler()
600 req_hdr.flags |= ISER_SEND_W_INV_NOT_SUP; in iser_route_handler()
601 conn_param.private_data = (void *)&req_hdr; in iser_route_handler()
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_mbox.c334 struct mbox_hdr *req_hdr; in otx2_cptpf_vfpf_mbox_handler() local
346 req_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_cptpf_vfpf_mbox_handler()
347 offset = mbox->rx_start + ALIGN(sizeof(*req_hdr), MBOX_MSG_ALIGN); in otx2_cptpf_vfpf_mbox_handler()
349 for (i = 0; i < req_hdr->num_msgs; i++) { in otx2_cptpf_vfpf_mbox_handler()
/linux-6.6.21/drivers/scsi/be2iscsi/
Dbe_cmds.c685 void be_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr, in be_cmd_hdr_prepare() argument
688 req_hdr->opcode = opcode; in be_cmd_hdr_prepare()
689 req_hdr->subsystem = subsystem; in be_cmd_hdr_prepare()
690 req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); in be_cmd_hdr_prepare()
691 req_hdr->timeout = BEISCSI_FW_MBX_TIMEOUT; in be_cmd_hdr_prepare()
1496 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_get_port_name()
1533 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_set_host_data()
1576 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_set_uer_feature()
Dbe_cmds.h751 struct be_cmd_req_hdr req_hdr; member
776 struct be_cmd_req_hdr req_hdr; member
1256 struct be_cmd_req_hdr req_hdr; member
1459 void be_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr,
/linux-6.6.21/drivers/virt/coco/sev-guest/
Dsev-guest.c284 struct snp_guest_msg_hdr *req_hdr = &req->hdr; in verify_and_dec_payload() local
294 if (unlikely(resp_hdr->msg_seqno != (req_hdr->msg_seqno + 1))) in verify_and_dec_payload()
298 if (resp_hdr->msg_type != (req_hdr->msg_type + 1) || in verify_and_dec_payload()
299 resp_hdr->msg_version != req_hdr->msg_version) in verify_and_dec_payload()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c1110 } req_hdr = { in mt7921_ipv6_addr_change() local
1134 req_hdr.arpns.ips_num = idx; in mt7921_ipv6_addr_change()
1135 req_hdr.arpns.len = cpu_to_le16(sizeof(struct mt76_connac_arpns_tlv) in mt7921_ipv6_addr_change()
1137 skb = __mt76_mcu_msg_alloc(&dev->mt76, &req_hdr, in mt7921_ipv6_addr_change()
1138 sizeof(req_hdr) + idx * sizeof(struct in6_addr), in mt7921_ipv6_addr_change()
1139 sizeof(req_hdr), GFP_ATOMIC); in mt7921_ipv6_addr_change()
Dmcu.c737 struct req_hdr { in mt7921_mcu_set_eeprom() struct
848 } req_hdr = { in mt7921_mcu_set_bss_pm() local
854 &req_hdr, sizeof(req_hdr), false); in mt7921_mcu_set_bss_pm()
1052 struct req_hdr { in mt7921_mcu_uni_add_beacon_offload() struct
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c612 req.req_hdr = cpu_to_le64(word); in nx_p3_sre_macaddr_change()
707 req.req_hdr = cpu_to_le64(word); in netxen_p3_nic_set_promisc()
753 req.req_hdr = cpu_to_le64(word[0]); in netxen_config_intr_coalesce()
782 req.req_hdr = cpu_to_le64(word); in netxen_config_hw_lro()
810 req.req_hdr = cpu_to_le64(word); in netxen_config_bridged_mode()
845 req.req_hdr = cpu_to_le64(word); in netxen_config_rss()
885 req.req_hdr = cpu_to_le64(word); in netxen_config_ipaddr()
909 req.req_hdr = cpu_to_le64(word); in netxen_linkevent_request()
937 req.req_hdr = cpu_to_le64(word); in netxen_send_lro_cleanup()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c372 struct mbox_hdr *req_hdr; in otx2_forward_vf_mbox_msgs() local
416 req_hdr = (struct mbox_hdr *)(dst_mdev->mbase + in otx2_forward_vf_mbox_msgs()
418 req_hdr->num_msgs = num_msgs; in otx2_forward_vf_mbox_msgs()
426 req_hdr = (struct mbox_hdr *)(src_mdev->mbase + in otx2_forward_vf_mbox_msgs()
428 req_hdr->num_msgs = num_msgs; in otx2_forward_vf_mbox_msgs()
448 req_hdr = (struct mbox_hdr *)(src_mbox->dev[0].mbase + in otx2_forward_vf_mbox_msgs()
450 req_hdr->num_msgs = num_msgs; in otx2_forward_vf_mbox_msgs()
465 struct mbox_hdr *req_hdr; in otx2_pfvf_mbox_handler() local
476 req_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfvf_mbox_handler()
478 offset = ALIGN(sizeof(*req_hdr), MBOX_MSG_ALIGN); in otx2_pfvf_mbox_handler()
/linux-6.6.21/drivers/thunderbolt/
Dctl.c841 const struct cfg_read_pkg *req_hdr = req->request; in tb_cfg_match() local
844 if (req_hdr->addr.seq != res_hdr->addr.seq) in tb_cfg_match()
Dxdomain.c98 const struct tb_xdp_header *req_hdr = req->request; in tb_xdomain_match() local
105 req_hdr->xd_hdr.route_hi) in tb_xdomain_match()
107 if ((res_hdr->xd_hdr.route_lo) != req_hdr->xd_hdr.route_lo) in tb_xdomain_match()
111 if (!uuid_equal(&res_hdr->uuid, &req_hdr->uuid)) in tb_xdomain_match()
Dicm.c275 const struct icm_pkg_header *req_hdr = req->request; in icm_match() local
279 if (res_hdr->code != req_hdr->code) in icm_match()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c795 static void be_wrb_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr, in be_wrb_cmd_hdr_prepare() argument
802 req_hdr->opcode = opcode; in be_wrb_cmd_hdr_prepare()
803 req_hdr->subsystem = subsystem; in be_wrb_cmd_hdr_prepare()
804 req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); in be_wrb_cmd_hdr_prepare()
805 req_hdr->version = 0; in be_wrb_cmd_hdr_prepare()
806 fill_wrb_tags(wrb, (ulong)req_hdr); in be_wrb_cmd_hdr_prepare()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c2306 } req_hdr = { in mt76_connac_mcu_update_arp_filter() local
2320 sizeof(req_hdr) + len * sizeof(__be32)); in mt76_connac_mcu_update_arp_filter()
2324 skb_put_data(skb, &req_hdr, sizeof(req_hdr)); in mt76_connac_mcu_update_arp_filter()
2530 struct req_hdr { in mt76_connac_mcu_set_wow_pattern() struct
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c90 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work); in smb2_get_ksmbd_tcon() local
91 unsigned int cmd = le16_to_cpu(req_hdr->Command); in smb2_get_ksmbd_tcon()
106 tree_id = le32_to_cpu(req_hdr->Id.SyncId.TreeId); in smb2_get_ksmbd_tcon()
313 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work); in smb2_set_rsp_credits() local
322 hdr->CreditCharge = req_hdr->CreditCharge; in smb2_set_rsp_credits()
331 le16_to_cpu(req_hdr->CreditCharge), 1); in smb2_set_rsp_credits()
341 le16_to_cpu(req_hdr->CreditRequest), 1); in smb2_set_rsp_credits()
358 if (!req_hdr->NextCommand) { in smb2_set_rsp_credits()
566 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work); in smb2_check_user_session() local
568 unsigned int cmd = le16_to_cpu(req_hdr->Command); in smb2_check_user_session()
[all …]
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2122 struct mbox_hdr *req_hdr; in __rvu_mbox_handler() local
2143 req_hdr = mdev->mbase + mbox->rx_start; in __rvu_mbox_handler()
2147 offset = mbox->rx_start + ALIGN(sizeof(*req_hdr), MBOX_MSG_ALIGN); in __rvu_mbox_handler()

12