Home
last modified time | relevance | path

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

1234

/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.h136 __le16 req_type; member
147 __le16 req_type; member
/linux/include/linux/bnxt/
H A Dhsi.h19 __le16 req_type; member
29 __le16 req_type; member
79 __le16 req_type; member
89 __le16 req_type; member
96 __le16 req_type; member
110 __le16 req_type; member
626 __le16 req_type; member
652 __le16 req_type; member
666 __le16 req_type; member
1599 __le16 req_type; member
[all …]
/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/include/linux/bnge/
H A Dhsi.h11 __le16 req_type; member
21 __le16 req_type; member
69 __le16 req_type; member
79 __le16 req_type; member
86 __le16 req_type; member
100 __le16 req_type; member
623 __le16 req_type; member
650 __le16 req_type; member
664 __le16 req_type; member
1610 __le16 req_type; member
[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);
/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/mmc/host/
H A Dsdhci-msm.c1580 static void sdhci_msm_check_power_status(struct sdhci_host *host, u32 req_type) in sdhci_msm_check_power_status() argument
1591 mmc_hostname(host->mmc), __func__, req_type, in sdhci_msm_check_power_status()
1603 if ((req_type & REQ_IO_HIGH || req_type & REQ_IO_LOW) && in sdhci_msm_check_power_status()
1620 if ((req_type & REQ_IO_HIGH) && !host->pwr) { in sdhci_msm_check_power_status()
1622 mmc_hostname(host->mmc), req_type); in sdhci_msm_check_power_status()
1625 if ((req_type & msm_host->curr_pwr_state) || in sdhci_msm_check_power_status()
1626 (req_type & msm_host->curr_io_level)) in sdhci_msm_check_power_status()
1640 mmc_hostname(host->mmc), req_type); in sdhci_msm_check_power_status()
1643 if ((req_type & REQ_BUS_ON) && mmc->card && !mmc->ops->get_cd(mmc)) { in sdhci_msm_check_power_status()
1649 __func__, req_type); in sdhci_msm_check_power_status()
[all …]
/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/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()
/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()

1234