/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mcu.c | 357 } req_hdr = { in mt7603_mcu_set_eeprom() local 363 int i, ret, len = sizeof(req_hdr) + size; in mt7603_mcu_set_eeprom() 372 memcpy(req, &req_hdr, sizeof(req_hdr)); in mt7603_mcu_set_eeprom() 373 data = (struct req_data *)(req + sizeof(req_hdr)); in mt7603_mcu_set_eeprom()
|
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mcu.c | 582 } __packed req_hdr = { in mt7615_mcu_set_eeprom() local 586 int ret, len = sizeof(req_hdr) + __MT_EE_MAX - MT_EE_NIC_CONF_0; in mt7615_mcu_set_eeprom() 593 memcpy(req, &req_hdr, sizeof(req_hdr)); in mt7615_mcu_set_eeprom() 594 memcpy(req + sizeof(req_hdr), eep + MT_EE_NIC_CONF_0, in mt7615_mcu_set_eeprom() 710 struct req_hdr { in mt7615_mcu_set_dev_info() struct 801 struct req_hdr { in mt7615_mcu_set_bss_info() struct 808 int len = sizeof(struct req_hdr) + sizeof(struct bss_info_basic); in mt7615_mcu_set_bss_info() 812 struct req_hdr *hdr; in mt7615_mcu_set_bss_info() 860 hdr = (struct req_hdr *)buf; in mt7615_mcu_set_bss_info() 1164 } __packed req_hdr = { in mt7615_mcu_set_tx_power() local [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 449 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_sre_macaddr_change() 612 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_nic_set_promisc() 713 req.req_hdr = cpu_to_le64(QLCNIC_H2C_OPCODE_CONFIG_LOOPBACK | in qlcnic_set_fw_loopback() 782 req.req_hdr = cpu_to_le64(QLCNIC_CONFIG_INTR_COALESCE | in qlcnic_82xx_set_rx_coalesce() 836 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_hw_lro() 871 req.req_hdr = cpu_to_le64(word); in qlcnic_config_bridged_mode() 907 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_rss() 952 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_config_ipaddr() 974 req.req_hdr = cpu_to_le64(word); in qlcnic_82xx_linkevent_request() 1000 req.req_hdr = cpu_to_le64(word); in qlcnic_send_lro_cleanup() [all …]
|
D | qlcnic_sriov_common.c | 773 if (qlcnic_sriov_alloc_bc_msg(&trans->req_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr() 782 hdr = trans->req_hdr; in qlcnic_sriov_prepare_bc_hdr() 795 cmd->op_type = trans->req_hdr->op_type; in qlcnic_sriov_prepare_bc_hdr() 817 kfree(trans->req_hdr); in qlcnic_sriov_cleanup_transaction() 881 if (trans->curr_req_frag < trans->req_hdr->num_frags) in qlcnic_sriov_handle_multi_frags() 946 hdr = (u32 *)(trans->req_hdr + trans->curr_req_frag); in qlcnic_sriov_issue_bc_post() 1067 if (qlcnic_sriov_prepare_bc_hdr(trans, &cmd, trans->req_hdr->seq_id, in qlcnic_sriov_process_bc_cmd() 1169 (u32 *)(trans->req_hdr + curr_frag), in qlcnic_sriov_handle_pending_trans() 1238 (u32 *)(trans->req_hdr + trans->curr_req_frag), in qlcnic_sriov_handle_bc_cmd() 1249 if (trans->curr_req_frag == trans->req_hdr->num_frags) { in qlcnic_sriov_handle_bc_cmd() [all …]
|
D | qlcnic_sriov.h | 85 struct qlcnic_bc_hdr *req_hdr; member
|
D | qlcnic_sriov_pf.c | 753 if (trans->req_hdr->cmd_op == QLCNIC_BC_CMD_CHANNEL_INIT) { in qlcnic_sriov_pf_channel_cfg_cmd() 775 if (trans->req_hdr->cmd_op == QLCNIC_BC_CMD_CHANNEL_INIT) in qlcnic_sriov_pf_channel_cfg_cmd() 1494 cmd_op = trans->req_hdr->cmd_op; in qlcnic_sriov_pf_process_bc_cmd() 1496 if (trans->req_hdr->op_type == QLC_BC_CMD) { in qlcnic_sriov_pf_process_bc_cmd() 1724 struct qlcnic_bc_hdr *hdr = trans->req_hdr; in qlcnic_sriov_soft_flr_check()
|
D | qlcnic.h | 988 __le64 req_hdr; member
|
D | qlcnic_io.c | 288 req->req_hdr = cpu_to_le64(word); in qlcnic_82xx_change_filter()
|
/Linux-v5.4/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 742 struct iser_cm_hdr req_hdr; in iser_route_handler() local 761 memset(&req_hdr, 0, sizeof(req_hdr)); in iser_route_handler() 762 req_hdr.flags = ISER_ZBVA_NOT_SUP; in iser_route_handler() 764 req_hdr.flags |= ISER_SEND_W_INV_NOT_SUP; in iser_route_handler() 765 conn_param.private_data = (void *)&req_hdr; in iser_route_handler()
|
/Linux-v5.4/drivers/scsi/be2iscsi/ |
D | be_cmds.c | 685 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() 1498 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_get_port_name() 1535 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_set_host_data() 1578 be_cmd_hdr_prepare(&ioctl->h.req_hdr, CMD_SUBSYSTEM_COMMON, in beiscsi_set_uer_feature()
|
D | be_cmds.h | 751 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-v5.4/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 612 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()
|
D | netxen_nic.h | 1127 __le64 req_hdr; member
|
/Linux-v5.4/drivers/thunderbolt/ |
D | xdomain.c | 57 const struct tb_xdp_header *req_hdr = req->request; in tb_xdomain_match() local 64 req_hdr->xd_hdr.route_hi) in tb_xdomain_match() 66 if ((res_hdr->xd_hdr.route_lo) != req_hdr->xd_hdr.route_lo) in tb_xdomain_match() 70 if (!uuid_equal(&res_hdr->uuid, &req_hdr->uuid)) in tb_xdomain_match()
|
D | ctl.c | 744 const struct cfg_read_pkg *req_hdr = req->request; in tb_cfg_match() local 747 if (req_hdr->addr.seq != res_hdr->addr.seq) in tb_cfg_match()
|
D | icm.c | 242 const struct icm_pkg_header *req_hdr = req->request; in icm_match() local 246 if (res_hdr->code != req_hdr->code) in icm_match()
|
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu.c | 1421 struct mbox_hdr *req_hdr; in __rvu_mbox_handler() local 1442 req_hdr = mdev->mbase + mbox->rx_start; in __rvu_mbox_handler() 1443 if (req_hdr->num_msgs == 0) in __rvu_mbox_handler() 1446 offset = mbox->rx_start + ALIGN(sizeof(*req_hdr), MBOX_MSG_ALIGN); in __rvu_mbox_handler() 1448 for (id = 0; id < req_hdr->num_msgs; id++) { in __rvu_mbox_handler()
|
/Linux-v5.4/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 792 static void be_wrb_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr, in be_wrb_cmd_hdr_prepare() argument 799 req_hdr->opcode = opcode; in be_wrb_cmd_hdr_prepare() 800 req_hdr->subsystem = subsystem; in be_wrb_cmd_hdr_prepare() 801 req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); in be_wrb_cmd_hdr_prepare() 802 req_hdr->version = 0; in be_wrb_cmd_hdr_prepare() 803 fill_wrb_tags(wrb, (ulong) req_hdr); in be_wrb_cmd_hdr_prepare()
|