Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_dp_mst_helper_test.c82 .req_type = DP_ENUM_PATH_RESOURCES,
89 .req_type = DP_POWER_UP_PHY,
96 .req_type = DP_POWER_DOWN_PHY,
103 .req_type = DP_ALLOCATE_PAYLOAD,
111 .req_type = DP_ALLOCATE_PAYLOAD,
118 .req_type = DP_ALLOCATE_PAYLOAD,
125 .req_type = DP_ALLOCATE_PAYLOAD,
132 .req_type = DP_QUERY_PAYLOAD,
139 .req_type = DP_QUERY_PAYLOAD,
146 .req_type = DP_REMOTE_DPCD_READ,
[all …]
/openbmc/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_hsi.h19 __le16 req_type; member
29 __le16 req_type; member
73 __le16 req_type; member
83 __le16 req_type; member
90 __le16 req_type; member
104 __le16 req_type; member
553 __le16 req_type; member
579 __le16 req_type; member
593 __le16 req_type; member
1407 __le16 req_type; member
[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.h96 __le16 req_type; member
107 __le16 req_type; member
/openbmc/linux/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c65 #define TO_HEAD_SIZE(req_type) \ argument
66 (((req_type) == HZIP_ALG_TYPE_ZLIB) ? sizeof(zlib_head) : \
67 ((req_type) == HZIP_ALG_TYPE_GZIP) ? sizeof(gzip_head) : 0) \
69 #define TO_HEAD(req_type) \ argument
70 (((req_type) == HZIP_ALG_TYPE_ZLIB) ? zlib_head : \
71 ((req_type) == HZIP_ALG_TYPE_GZIP) ? gzip_head : NULL) \
104 void (*fill_req_type)(struct hisi_zip_sqe *sqe, u8 req_type);
182 static int add_comp_head(struct scatterlist *dst, u8 req_type) in add_comp_head() argument
184 int head_size = TO_HEAD_SIZE(req_type); in add_comp_head()
185 const u8 *head = TO_HEAD(req_type); in add_comp_head()
[all …]
/openbmc/linux/arch/x86/mm/pat/
H A Dmemtype.c380 enum page_cache_mode req_type) in pat_x_mtrr_type() argument
386 if (req_type == _PAGE_CACHE_MODE_WB) { in pat_x_mtrr_type()
396 return req_type; in pat_x_mtrr_type()
454 enum page_cache_mode req_type, in reserve_ram_pages_type() argument
460 if (req_type == _PAGE_CACHE_MODE_WP) { in reserve_ram_pages_type()
466 if (req_type == _PAGE_CACHE_MODE_UC) { in reserve_ram_pages_type()
469 req_type = _PAGE_CACHE_MODE_UC_MINUS; in reserve_ram_pages_type()
479 start, end - 1, type, req_type); in reserve_ram_pages_type()
488 *new_type = req_type; in reserve_ram_pages_type()
492 set_page_memtype(page, req_type); in reserve_ram_pages_type()
[all …]
/openbmc/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 …]
/openbmc/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()
/openbmc/linux/drivers/nfc/st95hf/
H A Dspi.h37 enum req_type { enum
45 enum req_type reqtype);
/openbmc/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()
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c104 static const char *drm_dp_mst_req_type_str(u8 req_type) in drm_dp_mst_req_type_str() argument
125 if (req_type >= ARRAY_SIZE(req_type_str) || in drm_dp_mst_req_type_str()
126 !req_type_str[req_type]) in drm_dp_mst_req_type_str()
129 return req_type_str[req_type]; in drm_dp_mst_req_type_str()
342 buf[idx++] = req->req_type & 0x7f; in drm_dp_encode_sideband_req()
344 switch (req->req_type) { in drm_dp_encode_sideband_req()
464 req->req_type = buf[idx++] & 0x7f; in drm_dp_decode_sideband_req()
465 switch (req->req_type) { in drm_dp_decode_sideband_req()
606 if (req->req_type == DP_LINK_ADDRESS) { in drm_dp_dump_sideband_msg_req_body()
608 P("type=%s\n", drm_dp_mst_req_type_str(req->req_type)); in drm_dp_dump_sideband_msg_req_body()
[all …]
/openbmc/linux/net/mac80211/
H A Ds1g.c103 twt_agrt->req_type &= cpu_to_le16(~IEEE80211_TWT_REQTYPE_REQUEST); in ieee80211_s1g_rx_twt_setup()
107 twt_agrt->req_type &= in ieee80211_s1g_rx_twt_setup()
109 twt_agrt->req_type |= in ieee80211_s1g_rx_twt_setup()
140 u8 flowid = le16_get_bits(twt_agrt->req_type, in ieee80211_s1g_tx_twt_setup_fail()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-msm.c1563 static void sdhci_msm_check_power_status(struct sdhci_host *host, u32 req_type) in sdhci_msm_check_power_status() argument
1573 mmc_hostname(host->mmc), __func__, req_type, in sdhci_msm_check_power_status()
1585 if ((req_type & REQ_IO_HIGH || req_type & REQ_IO_LOW) && in sdhci_msm_check_power_status()
1602 if ((req_type & REQ_IO_HIGH) && !host->pwr) { in sdhci_msm_check_power_status()
1604 mmc_hostname(host->mmc), req_type); in sdhci_msm_check_power_status()
1607 if ((req_type & msm_host->curr_pwr_state) || in sdhci_msm_check_power_status()
1608 (req_type & msm_host->curr_io_level)) in sdhci_msm_check_power_status()
1622 mmc_hostname(host->mmc), req_type); in sdhci_msm_check_power_status()
1625 __func__, req_type); in sdhci_msm_check_power_status()
2126 u32 req_type = 0; in __sdhci_msm_check_write() local
[all …]
/openbmc/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()
/openbmc/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 …]
/openbmc/linux/drivers/iommu/
H A Diommu.c1733 struct iommu_group *group, int req_type) in __iommu_group_alloc_default_domain() argument
1735 if (group->default_domain && group->default_domain->type == req_type) in __iommu_group_alloc_default_domain()
1737 return __iommu_domain_alloc(bus, req_type); in __iommu_group_alloc_default_domain()
1745 iommu_group_alloc_default_domain(struct iommu_group *group, int req_type) in iommu_group_alloc_default_domain() argument
1754 if (req_type) in iommu_group_alloc_default_domain()
1755 return __iommu_group_alloc_default_domain(bus, group, req_type); in iommu_group_alloc_default_domain()
2951 int req_type; in iommu_setup_default_domain() local
2956 req_type = iommu_get_default_domain_type(group, target_type); in iommu_setup_default_domain()
2957 if (req_type < 0) in iommu_setup_default_domain()
2967 dom = iommu_group_alloc_default_domain(group, req_type); in iommu_setup_default_domain()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dusb.c18 int __mt76u_vendor_request(struct mt76_dev *dev, u8 req, u8 req_type, in __mt76u_vendor_request() argument
28 pipe = (req_type & USB_DIR_IN) ? usb_rcvctrlpipe(udev, 0) in __mt76u_vendor_request()
34 ret = usb_control_msg(udev, pipe, req, req_type, val, in __mt76u_vendor_request()
50 u8 req_type, u16 val, u16 offset, in mt76u_vendor_request() argument
56 ret = __mt76u_vendor_request(dev, req, req_type, in mt76u_vendor_request()
65 u32 ___mt76u_rr(struct mt76_dev *dev, u8 req, u8 req_type, u32 addr) in ___mt76u_rr() argument
71 ret = __mt76u_vendor_request(dev, req, req_type, addr >> 16, in ___mt76u_rr()
112 void ___mt76u_wr(struct mt76_dev *dev, u8 req, u8 req_type, in ___mt76u_wr() argument
118 __mt76u_vendor_request(dev, req, req_type, addr >> 16, in ___mt76u_wr()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_rep.c119 rep_cfg.req_type = LIO_VF_REP_REQ_STATE; in lio_vf_rep_open()
152 rep_cfg.req_type = LIO_VF_REP_REQ_STATE; in lio_vf_rep_stop()
209 rep_cfg.req_type = LIO_VF_REP_REQ_MTU; in lio_vf_rep_change_mtu()
473 rep_cfg.req_type = LIO_VF_REP_REQ_STATS; in lio_vf_rep_fetch_stats()
638 rep_cfg.req_type = LIO_VF_REP_REQ_DEVNAME; in lio_vf_rep_netdev_event()
/openbmc/u-boot/drivers/usb/gadget/
H A Df_sdp.c422 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in sdp_setup() local
426 req_type, ctrl->bRequest, sdp->state); in sdp_setup()
428 if (req_type == USB_TYPE_STANDARD) { in sdp_setup()
437 if (req_type == USB_TYPE_CLASS) { in sdp_setup()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c2263 if (!(twt_agrt->req_type & cpu_to_le16(IEEE80211_TWT_REQTYPE_IMPLICIT))) in mt7915_mac_check_twt_req()
2267 le16_to_cpu(twt_agrt->req_type)); in mt7915_mac_check_twt_req()
2282 u16 type = le16_to_cpu(twt_agrt->req_type); in mt7915_mac_twt_param_equal()
2313 u16 req_type = le16_to_cpu(twt_agrt->req_type); in mt7915_mac_add_twt_setup() local
2338 twt_agrt->req_type &= ~cpu_to_le16(IEEE80211_TWT_REQTYPE_FLOWID); in mt7915_mac_add_twt_setup()
2339 twt_agrt->req_type |= le16_encode_bits(flowid, in mt7915_mac_add_twt_setup()
2343 exp = FIELD_GET(IEEE80211_TWT_REQTYPE_WAKE_INT_EXP, req_type); in mt7915_mac_add_twt_setup()
2344 sta_setup_cmd = FIELD_GET(IEEE80211_TWT_REQTYPE_SETUP_CMD, req_type); in mt7915_mac_add_twt_setup()
2358 flow->protection = !!(req_type & IEEE80211_TWT_REQTYPE_PROTECTION); in mt7915_mac_add_twt_setup()
2359 flow->flowtype = !!(req_type & IEEE80211_TWT_REQTYPE_FLOWTYPE); in mt7915_mac_add_twt_setup()
[all …]
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.h22 enum req_type { enum
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c2422 if (!(twt_agrt->req_type & cpu_to_le16(IEEE80211_TWT_REQTYPE_IMPLICIT))) in mt7996_mac_check_twt_req()
2426 le16_to_cpu(twt_agrt->req_type)); in mt7996_mac_check_twt_req()
2441 u16 type = le16_to_cpu(twt_agrt->req_type); in mt7996_mac_twt_param_equal()
2472 u16 req_type = le16_to_cpu(twt_agrt->req_type); in mt7996_mac_add_twt_setup() local
2499 twt_agrt->req_type &= ~cpu_to_le16(IEEE80211_TWT_REQTYPE_FLOWID); in mt7996_mac_add_twt_setup()
2500 twt_agrt->req_type |= le16_encode_bits(flowid, in mt7996_mac_add_twt_setup()
2504 exp = FIELD_GET(IEEE80211_TWT_REQTYPE_WAKE_INT_EXP, req_type); in mt7996_mac_add_twt_setup()
2505 sta_setup_cmd = FIELD_GET(IEEE80211_TWT_REQTYPE_SETUP_CMD, req_type); in mt7996_mac_add_twt_setup()
2516 flow->protection = !!(req_type & IEEE80211_TWT_REQTYPE_PROTECTION); in mt7996_mac_add_twt_setup()
2517 flow->flowtype = !!(req_type & IEEE80211_TWT_REQTYPE_FLOWTYPE); in mt7996_mac_add_twt_setup()
[all …]
/openbmc/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()

1234