Home
last modified time | relevance | path

Searched refs:req_type (Results 1 – 25 of 65) 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)))
/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 …]
/linux/arch/x86/mm/pat/
H A Dmemtype.c363 enum page_cache_mode req_type) in pat_x_mtrr_type() argument
369 if (req_type == _PAGE_CACHE_MODE_WB) { in pat_x_mtrr_type()
379 return req_type; in pat_x_mtrr_type()
437 enum page_cache_mode req_type, in reserve_ram_pages_type() argument
443 if (req_type == _PAGE_CACHE_MODE_WP) { in reserve_ram_pages_type()
449 if (req_type == _PAGE_CACHE_MODE_UC) { in reserve_ram_pages_type()
452 req_type = _PAGE_CACHE_MODE_UC_MINUS; in reserve_ram_pages_type()
462 start, end - 1, type, req_type); in reserve_ram_pages_type()
471 *new_type = req_type; in reserve_ram_pages_type()
475 set_page_memtype(page, req_type); in reserve_ram_pages_type()
[all …]
/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/arch/arm/mach-versatile/
H A Dspc.c303 static int ve_spc_waitforcompletion(int req_type) in ve_spc_waitforcompletion() argument
310 ret = info->cur_rsp_stat & STAT_COMPLETE(req_type) ? 0 : -EIO; in ve_spc_waitforcompletion()
317 int ret, perf, req_type; in ve_spc_set_performance() local
320 req_type = CA15_DVFS; in ve_spc_set_performance()
323 req_type = CA7_DVFS; in ve_spc_set_performance()
336 info->cur_rsp_mask = RESPONSE_MASK(req_type); in ve_spc_set_performance()
339 ret = ve_spc_waitforcompletion(req_type); in ve_spc_set_performance()
/linux/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c74 u8 req_type; member
82 void (*fill_req_type)(struct hisi_zip_sqe *sqe, u8 req_type);
201 static void hisi_zip_fill_req_type(struct hisi_zip_sqe *sqe, u8 req_type) in hisi_zip_fill_req_type() argument
206 val |= FIELD_PREP(HZIP_REQ_TYPE_M, req_type); in hisi_zip_fill_req_type()
235 u8 req_type, struct hisi_zip_req *req) in hisi_zip_fill_sqe() argument
244 ops->fill_req_type(sqe, req_type); in hisi_zip_fill_sqe()
283 hisi_zip_fill_sqe(qp_ctx->ctx, &zip_sqe, qp_ctx->req_type, req); in hisi_zip_do_work()
418 static int hisi_zip_ctx_init(struct hisi_zip_ctx *hisi_zip_ctx, u8 req_type, int node) in hisi_zip_ctx_init() argument
442 qp_ctx->req_type = req_type; in hisi_zip_ctx_init()
/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/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c102 static const char *drm_dp_mst_req_type_str(u8 req_type) in drm_dp_mst_req_type_str() argument
123 if (req_type >= ARRAY_SIZE(req_type_str) || in drm_dp_mst_req_type_str()
124 !req_type_str[req_type]) in drm_dp_mst_req_type_str()
127 return req_type_str[req_type]; in drm_dp_mst_req_type_str()
352 buf[idx++] = req->req_type & 0x7f; in drm_dp_encode_sideband_req()
354 switch (req->req_type) { in drm_dp_encode_sideband_req()
474 req->req_type = buf[idx++] & 0x7f; in drm_dp_decode_sideband_req()
475 switch (req->req_type) { in drm_dp_decode_sideband_req()
616 if (req->req_type == DP_LINK_ADDRESS) { in drm_dp_dump_sideband_msg_req_body()
618 P("type=%s\n", drm_dp_mst_req_type_str(req->req_type)); in drm_dp_dump_sideband_msg_req_body()
[all …]
/linux/net/tipc/
H A Dnetlink_compat.c58 int req_type; member
281 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_dumpit()
282 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_dumpit()
386 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_doit()
387 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_doit()
1208 msg->req_type = TIPC_TLV_BEARER_CONFIG; in tipc_nl_compat_handle()
1213 msg->req_type = TIPC_TLV_BEARER_NAME; in tipc_nl_compat_handle()
1218 msg->req_type = TIPC_TLV_LINK_NAME; in tipc_nl_compat_handle()
1225 msg->req_type = TIPC_TLV_NET_ADDR; in tipc_nl_compat_handle()
1233 msg->req_type = TIPC_TLV_LINK_CONFIG; in tipc_nl_compat_handle()
[all …]
/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/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.c1700 __iommu_group_alloc_default_domain(struct iommu_group *group, int req_type) in __iommu_group_alloc_default_domain() argument
1705 if (group->default_domain && group->default_domain->type == req_type) in __iommu_group_alloc_default_domain()
1712 if (req_type & __IOMMU_DOMAIN_PAGING) { in __iommu_group_alloc_default_domain()
1713 dom = __iommu_paging_domain_alloc_flags(dev, req_type, in __iommu_group_alloc_default_domain()
1721 dom = __iommu_paging_domain_alloc_flags(dev, req_type, 0); in __iommu_group_alloc_default_domain()
1726 if (req_type == IOMMU_DOMAIN_IDENTITY) in __iommu_group_alloc_default_domain()
1737 iommu_group_alloc_default_domain(struct iommu_group *group, int req_type) in iommu_group_alloc_default_domain() argument
1750 if (req_type != ops->default_domain->type) in iommu_group_alloc_default_domain()
1755 if (req_type) in iommu_group_alloc_default_domain()
1756 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
1427 vf->req_type = VFDI_EV_TYPE_REQ_WORD0; in efx_siena_sriov_event()
1430 } else if (seq != (vf->req_seqno++ & 0xff) || type != vf->req_type) in efx_siena_sriov_event()
1433 switch (vf->req_type) { in efx_siena_sriov_event()
1437 vf->req_addr |= (u64)data << (vf->req_type << 4); in efx_siena_sriov_event()
1438 ++vf->req_type; in efx_siena_sriov_event()
1443 vf->req_type = VFDI_EV_TYPE_REQ_WORD0; in efx_siena_sriov_event()
1455 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/net/can/usb/peak_usb/
H A Dpcan_usb_pro.c317 u8 req_type; in pcan_usb_pro_send_req() local
324 req_type = USB_TYPE_VENDOR | USB_RECIP_OTHER; in pcan_usb_pro_send_req()
333 req_type |= USB_DIR_IN; in pcan_usb_pro_send_req()
338 err = usb_control_msg(dev->udev, p, req_id, req_type, req_value, 0, in pcan_usb_pro_send_req()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c3164 if (!(twt_agrt->req_type & cpu_to_le16(IEEE80211_TWT_REQTYPE_IMPLICIT))) in mt7996_mac_check_twt_req()
3168 le16_to_cpu(twt_agrt->req_type)); in mt7996_mac_check_twt_req()
3183 u16 type = le16_to_cpu(twt_agrt->req_type); in mt7996_mac_twt_param_equal()
3215 u16 req_type = le16_to_cpu(twt_agrt->req_type); in mt7996_mac_add_twt_setup() local
3243 twt_agrt->req_type &= ~cpu_to_le16(IEEE80211_TWT_REQTYPE_FLOWID); in mt7996_mac_add_twt_setup()
3244 twt_agrt->req_type |= le16_encode_bits(flowid, in mt7996_mac_add_twt_setup()
3248 exp = FIELD_GET(IEEE80211_TWT_REQTYPE_WAKE_INT_EXP, req_type); in mt7996_mac_add_twt_setup()
3249 sta_setup_cmd = FIELD_GET(IEEE80211_TWT_REQTYPE_SETUP_CMD, req_type); in mt7996_mac_add_twt_setup()
3260 flow->protection = !!(req_type & IEEE80211_TWT_REQTYPE_PROTECTION); in mt7996_mac_add_twt_setup()
3261 flow->flowtype = !!(req_type & IEEE80211_TWT_REQTYPE_FLOWTYPE); in mt7996_mac_add_twt_setup()
[all …]

123