Home
last modified time | relevance | path

Searched refs:req_type (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/gpu/drm/tests/
H A Ddrm_dp_mst_helper_test.c226 .req_type = DP_ENUM_PATH_RESOURCES,
233 .req_type = DP_POWER_UP_PHY,
240 .req_type = DP_POWER_DOWN_PHY,
247 .req_type = DP_ALLOCATE_PAYLOAD,
255 .req_type = DP_ALLOCATE_PAYLOAD,
262 .req_type = DP_ALLOCATE_PAYLOAD,
269 .req_type = DP_ALLOCATE_PAYLOAD,
276 .req_type = DP_QUERY_PAYLOAD,
283 .req_type = DP_QUERY_PAYLOAD,
290 .req_type = DP_REMOTE_DPCD_READ,
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwrm.c28 static u64 hwrm_calc_sentinel(struct bnxt_hwrm_ctx *ctx, u16 req_type) in hwrm_calc_sentinel() argument
30 return (((uintptr_t)ctx) + req_type) ^ BNXT_HWRM_SENTINEL; in hwrm_calc_sentinel()
61 int __hwrm_req_init(struct bnxt *bp, void **req, u16 req_type, u32 req_len) in __hwrm_req_init() argument
77 ctx->sentinel = hwrm_calc_sentinel(ctx, req_type); in __hwrm_req_init()
89 ctx->req->req_type = cpu_to_le16(req_type); in __hwrm_req_init()
113 sentinel = hwrm_calc_sentinel(ctx, le16_to_cpu(req->req_type)); in __hwrm_ctx()
117 (u32)le16_to_cpu(req->req_type)); in __hwrm_ctx()
196 u16 req_type; in hwrm_req_replace() local
216 internal_req->req_type = ((struct input *)new_req)->req_type; in hwrm_req_replace()
225 req_type = le16_to_cpu(internal_req->req_type); in hwrm_req_replace()
[all …]
H A Dbnxt_hwrm.h95 static inline bool bnxt_cfa_hwrm_message(u16 req_type) in bnxt_cfa_hwrm_message() argument
97 switch (req_type) { in bnxt_cfa_hwrm_message()
124 (bnxt_cfa_hwrm_message(le16_to_cpu(req->req_type)) || in bnxt_kong_hwrm_message()
128 int __hwrm_req_init(struct bnxt *bp, void **req, u16 req_type, u32 req_len);
129 #define hwrm_req_init(bp, req, req_type) \ argument
130 __hwrm_req_init((bp), (void **)&(req), (req_type), sizeof(*(req)))
H A Dbnxt_coredump.c97 cmn_req->req_type == cpu_to_le16(HWRM_DBG_COREDUMP_LIST)) { in bnxt_hwrm_dbg_dma_data()
115 if (cmn_req->req_type == in bnxt_hwrm_dbg_dma_data()
130 if (cmn_req->req_type == in bnxt_hwrm_dbg_dma_data()
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_hwrm.c16 static u64 bnge_cal_sentinel(struct bnge_hwrm_ctx *ctx, u16 req_type) in bnge_cal_sentinel() argument
18 return (((uintptr_t)ctx) + req_type) ^ BNGE_HWRM_SENTINEL; in bnge_cal_sentinel()
21 int bnge_hwrm_req_create(struct bnge_dev *bd, void **req, u16 req_type, in bnge_hwrm_req_create() argument
38 ctx->sentinel = bnge_cal_sentinel(ctx, req_type); in bnge_hwrm_req_create()
50 ctx->req->req_type = cpu_to_le16(req_type); in bnge_hwrm_req_create()
73 sentinel = bnge_cal_sentinel(ctx, le16_to_cpu(req->req_type)); in __hwrm_ctx_get()
76 (u32)le16_to_cpu(req->req_type)); in __hwrm_ctx_get()
106 u16 req_type; in bnge_hwrm_req_replace() local
126 internal_req->req_type = ((struct input *)new_req)->req_type; in bnge_hwrm_req_replace()
135 req_type = le16_to_cpu(internal_req->req_type); in bnge_hwrm_req_replace()
[all …]
H A Dbnge_hwrm.h94 int bnge_hwrm_req_create(struct bnge_dev *bd, void **req, u16 req_type,
96 #define bnge_hwrm_req_init(bd, req, req_type) \ argument
97 bnge_hwrm_req_create((bd), (void **)&(req), (req_type), \
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_hsi_rdma.h294 u8 req_type; member
324 u8 req_type; member
358 u8 req_type; member
406 u8 req_type; member
461 u8 req_type; member
482 u8 req_type; member
532 u8 req_type; member
586 u8 req_type; member
610 u8 req_type; member
645 u8 req_type; member
[all …]
/linux/drivers/media/usb/gspca/
H A Dstv0680.c39 u8 req_type = 0; in stv_sndctrl() local
44 req_type = USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT; in stv_sndctrl()
48 req_type = USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT; in stv_sndctrl()
52 req_type = USB_DIR_IN | USB_RECIP_DEVICE; in stv_sndctrl()
56 req_type = USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE; in stv_sndctrl()
62 req, req_type, in stv_sndctrl()
/linux/drivers/nfc/st95hf/
H A Dspi.h37 enum req_type { enum
45 enum req_type reqtype);
H A Dspi.c15 enum req_type reqtype) in st95hf_spi_send()
/linux/drivers/ufs/core/
H A Dufs-rpmb.c61 u16 req_type, protocol_id; in ufs_rpmb_route_frames() local
72 req_type = be16_to_cpu(frm_out->req_resp); in ufs_rpmb_route_frames()
74 switch (req_type) { in ufs_rpmb_route_frames()
94 dev_err(dev, "Unknown request type=0x%04x\n", req_type); in ufs_rpmb_route_frames()
/linux/net/mac80211/
H A Ds1g.c104 twt_agrt->req_type &= cpu_to_le16(~IEEE80211_TWT_REQTYPE_REQUEST); in ieee80211_s1g_rx_twt_setup()
108 twt_agrt->req_type &= in ieee80211_s1g_rx_twt_setup()
110 twt_agrt->req_type |= in ieee80211_s1g_rx_twt_setup()
141 u8 flowid = le16_get_bits(twt_agrt->req_type, in ieee80211_s1g_tx_twt_setup_fail()
/linux/net/tipc/
H A Dnetlink_compat.c58 int req_type; member
282 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_dumpit()
283 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_dumpit()
389 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_doit()
390 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_doit()
1211 msg->req_type = TIPC_TLV_BEARER_CONFIG; in tipc_nl_compat_handle()
1216 msg->req_type = TIPC_TLV_BEARER_NAME; in tipc_nl_compat_handle()
1221 msg->req_type = TIPC_TLV_LINK_NAME; in tipc_nl_compat_handle()
1228 msg->req_type = TIPC_TLV_NET_ADDR; in tipc_nl_compat_handle()
1236 msg->req_type = TIPC_TLV_LINK_CONFIG; in tipc_nl_compat_handle()
[all …]
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dtrace.h99 TP_PROTO(struct mt7601u_dev *dev, unsigned pipe, u8 req, u8 req_type,
101 TP_ARGS(dev, pipe, req, req_type, val, offset, buf, buflen, ret),
104 __field(unsigned, pipe) __field(u8, req) __field(u8, req_type)
112 __entry->req_type = req_type;
122 __entry->req_type, __entry->val, __entry->offset,
H A Dusb.c94 const u8 req_type = direction | USB_TYPE_VENDOR | USB_RECIP_DEVICE; in mt7601u_vendor_request() local
99 ret = usb_control_msg(usb_dev, pipe, req, req_type, in mt7601u_vendor_request()
102 trace_mt_vend_req(dev, pipe, req, req_type, val, offset, in mt7601u_vendor_request()
/linux/drivers/pci/
H A Dtph.c56 static u16 tph_extract_tag(enum tph_mem_type mem_type, u8 req_type, in tph_extract_tag() argument
59 switch (req_type) { in tph_extract_tag()
136 static void set_ctrl_reg_req_en(struct pci_dev *pdev, u8 req_type) in set_ctrl_reg_req_en() argument
143 reg |= FIELD_PREP(PCI_TPH_CTRL_REQ_EN_MASK, req_type); in set_ctrl_reg_req_en()
/linux/drivers/iommu/
H A Diommu.c1690 __iommu_group_alloc_default_domain(struct iommu_group *group, int req_type) in __iommu_group_alloc_default_domain() argument
1695 if (group->default_domain && group->default_domain->type == req_type) in __iommu_group_alloc_default_domain()
1702 if (req_type & __IOMMU_DOMAIN_PAGING) { in __iommu_group_alloc_default_domain()
1703 dom = __iommu_paging_domain_alloc_flags(dev, req_type, in __iommu_group_alloc_default_domain()
1711 dom = __iommu_paging_domain_alloc_flags(dev, req_type, 0); in __iommu_group_alloc_default_domain()
1716 if (req_type == IOMMU_DOMAIN_IDENTITY) in __iommu_group_alloc_default_domain()
1727 iommu_group_alloc_default_domain(struct iommu_group *group, int req_type) in iommu_group_alloc_default_domain() argument
1740 if (req_type != ops->default_domain->type) in iommu_group_alloc_default_domain()
1745 if (req_type) in iommu_group_alloc_default_domain()
1746 return __iommu_group_alloc_default_domain(group, req_type); in iommu_group_alloc_default_domain()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.c92 int req_type; member
1428 vf->req_type = VFDI_EV_TYPE_REQ_WORD0; in efx_siena_sriov_event()
1431 } else if (seq != (vf->req_seqno++ & 0xff) || type != vf->req_type) in efx_siena_sriov_event()
1434 switch (vf->req_type) { in efx_siena_sriov_event()
1438 vf->req_addr |= (u64)data << (vf->req_type << 4); in efx_siena_sriov_event()
1439 ++vf->req_type; in efx_siena_sriov_event()
1444 vf->req_type = VFDI_EV_TYPE_REQ_WORD0; in efx_siena_sriov_event()
1456 vf->req_type = VFDI_EV_TYPE_REQ_WORD0; in efx_siena_sriov_event()
/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.h22 enum req_type { enum
/linux/drivers/virt/vboxguest/
H A Dvboxguest_core.h205 void *vbg_req_alloc(size_t len, enum vmmdev_request_type req_type,
/linux/drivers/media/dvb-frontends/
H A Dmxl5xx_defs.h187 #define BUILD_HYDRA_CMD(cmd_id, req_type, size, data_ptr, cmd_buff) \ argument
189 …cmd_buff[0] = ((req_type == MXL_CMD_WRITE) ? MXL_HYDRA_PLID_CMD_WRITE : MXL_HYDRA_PLID_CMD_READ); \
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.h169 u8 req_type; /* Type of request */ member
/linux/drivers/scsi/snic/
H A Dsnic_io.c128 snic_wqdesc_avail(struct snic *snic, int q_num, int req_type) in snic_wqdesc_avail() argument
145 return ((req_type == SNIC_REQ_HBA_RESET) ? nr_wqdesc : nr_wqdesc - 1); in snic_wqdesc_avail()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c273 enum iwl_mvm_smps_type_request req_type, in iwl_mvm_update_smps() argument
299 mvmvif->link[link_id]->smps_requests[req_type] = smps_request; in iwl_mvm_update_smps()
320 enum iwl_mvm_smps_type_request req_type, in iwl_mvm_update_smps_on_active_links() argument
328 iwl_mvm_update_smps(mvm, vif, req_type, smps_request, in iwl_mvm_update_smps_on_active_links()
/linux/drivers/acpi/nfit/
H A Dcore.c2362 struct nfit_spa *nfit_spa, enum nfit_ars_state req_type) in ars_start() argument
2373 if (req_type == ARS_REQ_SHORT) in ars_start()
2844 enum nfit_ars_state req_type; in __acpi_nfit_scrub() local
2852 req_type = ARS_REQ_SHORT; in __acpi_nfit_scrub()
2854 req_type = ARS_REQ_LONG; in __acpi_nfit_scrub()
2857 rc = ars_start(acpi_desc, nfit_spa, req_type); in __acpi_nfit_scrub()
2862 req_type == ARS_REQ_SHORT ? "short" : "long", in __acpi_nfit_scrub()
2874 clear_bit(req_type, &nfit_spa->ars_state); in __acpi_nfit_scrub()
3213 enum nfit_ars_state req_type) in acpi_nfit_ars_rescan() argument
3233 if (test_and_set_bit(req_type, &nfit_spa->ars_state)) in acpi_nfit_ars_rescan()

123