| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_dp_mst_helper_test.c | 226 .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 D | bnxt_hwrm.c | 28 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 D | bnxt_hwrm.h | 95 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 D | bnge_hwrm.c | 16 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/include/linux/bnge/ |
| H A D | hsi.h | 11 __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 D | memtype.c | 363 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 D | qedr_hsi_rdma.h | 294 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 D | stv0680.c | 39 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 D | spc.c | 303 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/nfc/st95hf/ |
| H A D | spi.h | 37 enum req_type { enum 45 enum req_type reqtype);
|
| H A D | spi.c | 15 enum req_type reqtype) in st95hf_spi_send()
|
| /linux/drivers/crypto/hisilicon/zip/ |
| H A D | zip_crypto.c | 74 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/gpu/drm/display/ |
| H A D | drm_dp_mst_topology.c | 102 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/mac80211/ |
| H A D | s1g.c | 108 twt_agrt->req_type &= cpu_to_le16(~IEEE80211_TWT_REQTYPE_REQUEST); in ieee80211_s1g_rx_twt_setup() 112 twt_agrt->req_type &= in ieee80211_s1g_rx_twt_setup() 114 twt_agrt->req_type |= in ieee80211_s1g_rx_twt_setup() 145 u8 flowid = le16_get_bits(twt_agrt->req_type, in ieee80211_s1g_tx_twt_setup_fail()
|
| /linux/net/tipc/ |
| H A D | netlink_compat.c | 58 int req_type; member 285 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_dumpit() 286 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_dumpit() 390 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_doit() 391 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_doit() 1212 msg->req_type = TIPC_TLV_BEARER_CONFIG; in tipc_nl_compat_handle() 1217 msg->req_type = TIPC_TLV_BEARER_NAME; in tipc_nl_compat_handle() 1222 msg->req_type = TIPC_TLV_LINK_NAME; in tipc_nl_compat_handle() 1229 msg->req_type = TIPC_TLV_NET_ADDR; in tipc_nl_compat_handle() 1237 msg->req_type = TIPC_TLV_LINK_CONFIG; in tipc_nl_compat_handle() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | trace.h | 99 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,
|
| /linux/drivers/pci/ |
| H A D | tph.c | 56 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 142 FIELD_MODIFY(PCI_TPH_CTRL_REQ_EN_MASK, ®, req_type); in set_ctrl_reg_req_en()
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | usb.c | 18 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() 36 ret = usb_control_msg(udev, pipe, req, req_type, val, in __mt76u_vendor_request() 61 u8 req_type, u16 val, u16 offset, in mt76u_vendor_request() argument 67 ret = __mt76u_vendor_request(dev, req, req_type, in mt76u_vendor_request() 76 u32 ___mt76u_rr(struct mt76_dev *dev, u8 req, u8 req_type, u32 addr) in ___mt76u_rr() argument 82 ret = __mt76u_vendor_request(dev, req, req_type, addr >> 16, in ___mt76u_rr() 123 void ___mt76u_wr(struct mt76_dev *dev, u8 req, u8 req_type, in ___mt76u_wr() argument 129 __mt76u_vendor_request(dev, req, req_type, addr >> 16, in ___mt76u_wr()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mac.c | 2252 if (!(twt_agrt->req_type & cpu_to_le16(IEEE80211_TWT_REQTYPE_IMPLICIT))) in mt7915_mac_check_twt_req() 2256 le16_to_cpu(twt_agrt->req_type)); in mt7915_mac_check_twt_req() 2271 u16 type = le16_to_cpu(twt_agrt->req_type); in mt7915_mac_twt_param_equal() 2302 u16 req_type = le16_to_cpu(twt_agrt->req_type); in mt7915_mac_add_twt_setup() local 2327 twt_agrt->req_type &= ~cpu_to_le16(IEEE80211_TWT_REQTYPE_FLOWID); in mt7915_mac_add_twt_setup() 2328 twt_agrt->req_type |= le16_encode_bits(flowid, in mt7915_mac_add_twt_setup() 2332 exp = FIELD_GET(IEEE80211_TWT_REQTYPE_WAKE_INT_EXP, req_type); in mt7915_mac_add_twt_setup() 2333 sta_setup_cmd = FIELD_GET(IEEE80211_TWT_REQTYPE_SETUP_CMD, req_type); in mt7915_mac_add_twt_setup() 2347 flow->protection = !!(req_type & IEEE80211_TWT_REQTYPE_PROTECTION); in mt7915_mac_add_twt_setup() 2348 flow->flowtype = !!(req_type & IEEE80211_TWT_REQTYPE_FLOWTYPE); in mt7915_mac_add_twt_setup() [all …]
|
| /linux/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.h | 22 enum req_type { enum
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | siena_sriov.c | 92 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/virt/vboxguest/ |
| H A D | vboxguest_core.h | 205 void *vbg_req_alloc(size_t len, enum vmmdev_request_type req_type,
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | mxl5xx_defs.h | 187 #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 D | pcan_usb_pro.c | 317 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 D | mac.c | 3164 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 3249 twt_agrt->req_type &= ~cpu_to_le16(IEEE80211_TWT_REQTYPE_FLOWID); in mt7996_mac_add_twt_setup() 3250 twt_agrt->req_type |= le16_encode_bits(flowid, in mt7996_mac_add_twt_setup() 3254 exp = FIELD_GET(IEEE80211_TWT_REQTYPE_WAKE_INT_EXP, req_type); in mt7996_mac_add_twt_setup() 3255 sta_setup_cmd = FIELD_GET(IEEE80211_TWT_REQTYPE_SETUP_CMD, req_type); in mt7996_mac_add_twt_setup() 3266 flow->protection = !!(req_type & IEEE80211_TWT_REQTYPE_PROTECTION); in mt7996_mac_add_twt_setup() 3267 flow->flowtype = !!(req_type & IEEE80211_TWT_REQTYPE_FLOWTYPE); in mt7996_mac_add_twt_setup() [all …]
|