Home
last modified time | relevance | path

Searched refs:crq (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/ibm/
A Dibmvnic.c156 memset(&crq, 0, sizeof(crq)); in send_crq_init_complete()
167 memset(&crq, 0, sizeof(crq)); in send_version_xchg()
1620 memset(&crq, 0, sizeof(crq)); in set_link_state()
2529 memset(&crq, 0, sizeof(crq)); in ibmvnic_set_multi()
2577 memset(&crq, 0, sizeof(crq)); in __ibmvnic_set_mac()
3726 memset(&crq, 0, sizeof(crq)); in ibmvnic_get_ethtool_stats()
4431 memset(&crq, 0, sizeof(crq)); in send_request_cap()
4629 memset(&crq, 0, sizeof(crq)); in ibmvnic_send_crq_init()
4815 memset(&crq, 0, sizeof(crq)); in send_login()
4848 memset(&crq, 0, sizeof(crq)); in send_request_map()
[all …]
A Dibmvnic.h921 struct ibmvnic_crq_queue crq; member
/linux-6.3-rc2/drivers/misc/
A Dibmvmc.c221 crq = NULL; in crq_queue_next_crq()
226 return crq; in crq_queue_next_crq()
1437 if (!crq) in ibmvmc_add_buffer()
1554 if (!crq) in ibmvmc_rem_buffer()
1609 if (!crq) in ibmvmc_recv_msg()
1944 crq->type); in ibmvmc_crq_process()
1953 crq->type); in ibmvmc_crq_process()
1959 crq->type); in ibmvmc_crq_process()
1965 crq->type); in ibmvmc_crq_process()
1971 crq->type); in ibmvmc_crq_process()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_mbx.c159 return tail == hw->hw.cmq.crq.next_to_use; in hclgevf_cmd_crq_empty()
220 struct hclge_comm_cmq_ring *crq; in hclgevf_mbx_handler() local
225 crq = &hdev->hw.hw.cmq.crq; in hclgevf_mbx_handler()
234 desc = &crq->desc[crq->next_to_use]; in hclgevf_mbx_handler()
237 flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); in hclgevf_mbx_handler()
245 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
246 hclge_mbx_ring_ptr_move_crq(crq); in hclgevf_mbx_handler()
275 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
276 hclge_mbx_ring_ptr_move_crq(crq); in hclgevf_mbx_handler()
281 crq->next_to_use); in hclgevf_mbx_handler()
/linux-6.3-rc2/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.c102 struct viosrp_crq *crq; in connection_broken() local
111 crq->status = PING; in connection_broken()
339 crq->format = format; in ibmvscsis_send_init_message()
365 if (!crq) { in ibmvscsis_check_init_msg()
367 } else if (crq->valid == VALID_INIT_MSG && crq->format == INIT_MSG) { in ibmvscsis_check_init_msg()
380 if (crq) { in ibmvscsis_check_init_msg()
997 ((crq->valid) && ((crq->valid != VALID_TRANS_EVENT) || in ibmvscsis_ready_for_suspend()
1010 if ((crq->valid) && ((crq->valid != VALID_TRANS_EVENT) || in ibmvscsis_ready_for_suspend()
1098 (int)crq->status); in ibmvscsis_trans_event()
1127 (int)crq->status); in ibmvscsis_trans_event()
[all …]
/linux-6.3-rc2/drivers/char/tpm/
A Dtpm_ibmvtpm.c479 if (crq->valid & VTPM_MSG_RES) { in ibmvtpm_crq_get_next()
484 crq = NULL; in ibmvtpm_crq_get_next()
485 return crq; in ibmvtpm_crq_get_next()
500 switch (crq->valid) { in ibmvtpm_crq_process()
502 switch (crq->msg) { in ibmvtpm_crq_process()
518 switch (crq->msg) { in ibmvtpm_crq_process()
520 if (be16_to_cpu(crq->len) <= 0) { in ibmvtpm_crq_process()
549 ibmvtpm->res_len = be16_to_cpu(crq->len); in ibmvtpm_crq_process()
572 struct ibmvtpm_crq *crq; in ibmvtpm_interrupt() local
579 ibmvtpm_crq_process(crq, ibmvtpm); in ibmvtpm_interrupt()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/udc/aspeed-vhub/
A Dep0.c82 struct usb_ctrlrequest crq; in ast_vhub_ep0_handle_setup() local
93 memcpy_fromio(&crq, ep->ep0.setup, sizeof(crq)); in ast_vhub_ep0_handle_setup()
96 crq.bRequestType, crq.bRequest, in ast_vhub_ep0_handle_setup()
97 le16_to_cpu(crq.wValue), in ast_vhub_ep0_handle_setup()
98 le16_to_cpu(crq.wIndex), in ast_vhub_ep0_handle_setup()
99 le16_to_cpu(crq.wLength), in ast_vhub_ep0_handle_setup()
100 (crq.bRequestType & USB_DIR_IN) ? "in" : "out", in ast_vhub_ep0_handle_setup()
121 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup()
127 std_req_rc = ast_vhub_std_hub_request(ep, &crq); in ast_vhub_ep0_handle_setup()
129 std_req_rc = ast_vhub_class_hub_request(ep, &crq); in ast_vhub_ep0_handle_setup()
[all …]
A Dhub.c402 struct usb_ctrlrequest *crq) in ast_vhub_std_hub_request() argument
407 wValue = le16_to_cpu(crq->wValue); in ast_vhub_std_hub_request()
408 wIndex = le16_to_cpu(crq->wIndex); in ast_vhub_std_hub_request()
409 wLength = le16_to_cpu(crq->wLength); in ast_vhub_std_hub_request()
422 switch ((crq->bRequestType << 8) | crq->bRequest) { in ast_vhub_std_hub_request()
767 struct usb_ctrlrequest *crq) in ast_vhub_class_hub_request() argument
771 wValue = le16_to_cpu(crq->wValue); in ast_vhub_class_hub_request()
772 wIndex = le16_to_cpu(crq->wIndex); in ast_vhub_class_hub_request()
773 wLength = le16_to_cpu(crq->wLength); in ast_vhub_class_hub_request()
775 switch ((crq->bRequestType << 8) | crq->bRequest) { in ast_vhub_class_hub_request()
A Ddev.c219 struct usb_ctrlrequest *crq) in ast_vhub_std_dev_request() argument
247 wValue = le16_to_cpu(crq->wValue); in ast_vhub_std_dev_request()
248 wIndex = le16_to_cpu(crq->wIndex); in ast_vhub_std_dev_request()
250 switch ((crq->bRequestType << 8) | crq->bRequest) { in ast_vhub_std_dev_request()
A Dvhub.h540 struct usb_ctrlrequest *crq);
542 struct usb_ctrlrequest *crq);
555 struct usb_ctrlrequest *crq);
/linux-6.3-rc2/drivers/scsi/ibmvscsi/
A Dibmvfc.c895 struct ibmvfc_queue *crq = &vhost->crq; in ibmvfc_release_crq_queue() local
961 struct ibmvfc_queue *crq = &vhost->crq; in ibmvfc_reset_crq() local
980 memset(crq->msgs.crq, 0, PAGE_SIZE); in ibmvfc_reset_crq()
981 crq->cur = 0; in ibmvfc_reset_crq()
3170 if (!crq->scsi_id && !crq->wwpn && !crq->node_name) in ibmvfc_handle_async()
3659 return crq; in ibmvfc_next_async_crq()
3674 crq = &queue->msgs.crq[queue->cur]; in ibmvfc_next_crq()
3682 return crq; in ibmvfc_next_crq()
3826 crq = &scrq->msgs.scrq[scrq->cur].crq; in ibmvfc_next_scrq()
3834 return crq; in ibmvfc_next_scrq()
[all …]
A Dibmvscsi.c169 struct viosrp_crq *crq; in crq_queue_next_crq() local
183 crq = NULL; in crq_queue_next_crq()
186 return crq; in crq_queue_next_crq()
216 struct viosrp_crq *crq; in ibmvscsi_task() local
229 if (crq != NULL) { in ibmvscsi_task()
465 memset(&evt->crq, 0x00, sizeof(evt->crq)); in initialize_event_pool()
1774 switch (crq->valid) { in ibmvscsi_handle_crq()
1776 switch (crq->format) { in ibmvscsi_handle_crq()
1811 crq->format); in ibmvscsi_handle_crq()
1819 crq->valid); in ibmvscsi_handle_crq()
[all …]
A Dibmvscsi.h56 struct viosrp_crq crq; member
A Dibmvfc.h655 struct ibmvfc_crq crq; member
752 struct ibmvfc_crq crq; member
779 struct ibmvfc_crq *crq; member
858 struct ibmvfc_queue crq; member
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Datmel_usba_udc.c1309 switch (crq->bRequest) { in handle_ep0_setup()
1423 ep->ep.name, crq->bRequestType, crq->bRequest, in handle_ep0_setup()
1424 le16_to_cpu(crq->wValue), le16_to_cpu(crq->wIndex), in handle_ep0_setup()
1534 } crq; in usba_control_irq() local
1573 memcpy_fromio(crq.data, ep->fifo, sizeof(crq)); in usba_control_irq()
1583 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq()
1592 if (crq.crq.wLength != cpu_to_le16(0)) in usba_control_irq()
1600 ret = handle_ep0_setup(udc, ep, &crq.crq); in usba_control_irq()
1603 ret = udc->driver->setup(&udc->gadget, &crq.crq); in usba_control_irq()
1608 crq.crq.bRequestType, crq.crq.bRequest, in usba_control_irq()
[all …]
A Daspeed_udc.c996 struct usb_ctrlrequest crq; in ast_udc_getstatus() local
1001 memcpy_fromio(&crq, udc->creq, sizeof(crq)); in ast_udc_getstatus()
1003 switch (crq.bRequestType & USB_RECIP_MASK) { in ast_udc_getstatus()
1011 epnum = crq.wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_udc_getstatus()
1034 struct usb_ctrlrequest crq; in ast_udc_ep0_handle_setup() local
1039 memcpy_fromio(&crq, udc->creq, sizeof(crq)); in ast_udc_ep0_handle_setup()
1042 crq.bRequestType, crq.bRequest, le16_to_cpu(crq.wValue), in ast_udc_ep0_handle_setup()
1043 le16_to_cpu(crq.wIndex), le16_to_cpu(crq.wLength)); in ast_udc_ep0_handle_setup()
1060 switch (crq.bRequest) { in ast_udc_ep0_handle_setup()
1070 reg |= UDC_CFG_SET_ADDR(crq.wValue); in ast_udc_ep0_handle_setup()
[all …]
A Drenesas_usbf.c2461 } crq; in usbf_handle_ep0_setup() local
2466 crq.raw[0] = usbf_reg_readl(udc, USBF_REG_SETUP_DATA0); in usbf_handle_ep0_setup()
2471 crq.ctrlreq.bRequestType, crq.ctrlreq.bRequest, in usbf_handle_ep0_setup()
2472 crq.ctrlreq.wValue, crq.ctrlreq.wIndex, crq.ctrlreq.wLength); in usbf_handle_ep0_setup()
2475 if (crq.ctrlreq.wLength) { in usbf_handle_ep0_setup()
2476 if (crq.ctrlreq.bRequestType & USB_DIR_IN) { in usbf_handle_ep0_setup()
2501 switch (crq.ctrlreq.bRequest) { in usbf_handle_ep0_setup()
2503 ret = usbf_req_get_status(udc, &crq.ctrlreq); in usbf_handle_ep0_setup()
2515 ret = usbf_req_set_address(udc, &crq.ctrlreq); in usbf_handle_ep0_setup()
2519 ret = usbf_req_set_configuration(udc, &crq.ctrlreq); in usbf_handle_ep0_setup()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3_common/
A Dhclge_comm_cmd.c39 hclge_comm_cmd_config_regs(hw, &hw->cmq.crq); in hclge_comm_cmd_init_regs()
193 &hw->cmq.crq; in hclge_comm_alloc_cmd_queue()
505 spin_lock(&cmdq->crq.lock); in hclge_comm_cmd_uninit()
507 spin_unlock(&cmdq->crq.lock); in hclge_comm_cmd_uninit()
511 hclge_comm_free_cmd_desc(&cmdq->crq); in hclge_comm_cmd_uninit()
521 spin_lock_init(&cmdq->crq.lock); in hclge_comm_cmd_queue_init()
524 cmdq->crq.pdev = pdev; in hclge_comm_cmd_queue_init()
560 spin_lock(&cmdq->crq.lock); in hclge_comm_cmd_init()
564 cmdq->crq.next_to_clean = 0; in hclge_comm_cmd_init()
565 cmdq->crq.next_to_use = 0; in hclge_comm_cmd_init()
[all …]
A Dhclge_comm_cmd.h415 struct hclge_comm_cmq_ring crq; member
/linux-6.3-rc2/drivers/isdn/mISDN/
A Dtei.c994 crq->protocol, crq->adr.dev, crq->adr.channel, in create_teimgr()
995 crq->adr.sapi, crq->adr.tei); in create_teimgr()
1005 if ((crq->adr.tei != 0) && (crq->adr.tei != 127)) in create_teimgr()
1016 if ((crq->adr.tei >= 64) && (crq->adr.tei < GROUP_TEI)) in create_teimgr()
1024 l1rq.adr = crq->adr; in create_teimgr()
1028 if ((crq->protocol == ISDN_P_LAPD_NT) && (crq->adr.tei == 127)) { in create_teimgr()
1029 mgr->up = crq->ch; in create_teimgr()
1034 crq->ch = NULL; in create_teimgr()
1045 l2 = create_l2(crq->ch, crq->protocol, opt, in create_teimgr()
1046 crq->adr.tei, crq->adr.sapi); in create_teimgr()
[all …]
A Ddsp_core.c1047 dspcreate(struct channel_req *crq) in dspcreate() argument
1052 if (crq->protocol != ISDN_P_B_L2DSP in dspcreate()
1053 && crq->protocol != ISDN_P_B_L2DSPHDLC) in dspcreate()
1068 ndsp->up = crq->ch; in dspcreate()
1069 crq->ch = &ndsp->ch; in dspcreate()
1070 if (crq->protocol == ISDN_P_B_L2DSP) { in dspcreate()
1071 crq->protocol = ISDN_P_B_RAW; in dspcreate()
1074 crq->protocol = ISDN_P_B_HDLC; in dspcreate()
A Dlayer2.c2215 x75create(struct channel_req *crq) in x75create() argument
2219 if (crq->protocol != ISDN_P_B_X75SLP) in x75create()
2221 l2 = create_l2(crq->ch, crq->protocol, 0, 0, 0); in x75create()
2224 crq->ch = &l2->ch; in x75create()
2225 crq->protocol = ISDN_P_B_HDLC; in x75create()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhclge_mbx.h247 #define hclge_mbx_ring_ptr_move_crq(crq) \ argument
248 (crq->next_to_use = (crq->next_to_use + 1) % crq->desc_num)
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_mbx.c805 return tail == hw->hw.cmq.crq.next_to_use; in hclge_cmd_crq_empty()
1105 struct hclge_comm_cmq_ring *crq = &hdev->hw.hw.cmq.crq; in hclge_mbx_handler() local
1122 desc = &crq->desc[crq->next_to_use]; in hclge_mbx_handler()
1125 flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); in hclge_mbx_handler()
1132 crq->desc[crq->next_to_use].flag = 0; in hclge_mbx_handler()
1133 hclge_mbx_ring_ptr_move_crq(crq); in hclge_mbx_handler()
1145 crq->desc[crq->next_to_use].flag = 0; in hclge_mbx_handler()
1146 hclge_mbx_ring_ptr_move_crq(crq); in hclge_mbx_handler()
1151 crq->next_to_use); in hclge_mbx_handler()
/linux-6.3-rc2/net/sunrpc/
A Dcache.c815 struct cache_request *crq) in cache_request() argument
817 char *bp = crq->buf; in cache_request()
1208 struct cache_request *crq; in cache_pipe_upcall() local
1219 crq = kmalloc(sizeof (*crq), GFP_KERNEL); in cache_pipe_upcall()
1220 if (!crq) { in cache_pipe_upcall()
1225 crq->q.reader = 0; in cache_pipe_upcall()
1226 crq->buf = buf; in cache_pipe_upcall()
1227 crq->len = 0; in cache_pipe_upcall()
1228 crq->readers = 0; in cache_pipe_upcall()
1231 crq->item = cache_get(h); in cache_pipe_upcall()
[all …]

Completed in 128 milliseconds

12