Home
last modified time | relevance | path

Searched refs:ctrl_buf (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/media/usb/pwc/
Dpwc-ctrl.c104 pdev->ctrl_buf, recv_count, USB_CTRL_GET_TIMEOUT); in recv_control_msg()
116 memcpy(pdev->ctrl_buf, buf, buflen); in send_video_command()
122 pdev->ctrl_buf, buflen, USB_CTRL_SET_TIMEOUT); in send_video_command()
409 *data = pdev->ctrl_buf[0]; in pwc_get_u8_ctrl()
417 pdev->ctrl_buf[0] = data; in pwc_set_u8_ctrl()
418 ret = send_control_msg(pdev, request, value, pdev->ctrl_buf, 1); in pwc_set_u8_ctrl()
433 *data = ((s8 *)pdev->ctrl_buf)[0]; in pwc_get_s8_ctrl()
445 *data = (pdev->ctrl_buf[1] << 8) | pdev->ctrl_buf[0]; in pwc_get_u16_ctrl()
453 pdev->ctrl_buf[0] = data & 0xff; in pwc_set_u16_ctrl()
454 pdev->ctrl_buf[1] = data >> 8; in pwc_set_u16_ctrl()
[all …]
Dpwc-v4l.c729 pdev->ctrl_buf[0] = 0; in pwc_set_motor()
731 pdev->ctrl_buf[0] |= 0x01; in pwc_set_motor()
733 pdev->ctrl_buf[0] |= 0x02; in pwc_set_motor()
737 pdev->ctrl_buf, 1); in pwc_set_motor()
742 memset(pdev->ctrl_buf, 0, 4); in pwc_set_motor()
744 pdev->ctrl_buf[0] = pdev->motor_pan->val & 0xFF; in pwc_set_motor()
745 pdev->ctrl_buf[1] = (pdev->motor_pan->val >> 8); in pwc_set_motor()
748 pdev->ctrl_buf[2] = pdev->motor_tilt->val & 0xFF; in pwc_set_motor()
749 pdev->ctrl_buf[3] = (pdev->motor_tilt->val >> 8); in pwc_set_motor()
754 pdev->ctrl_buf, 4); in pwc_set_motor()
Dpwc-if.c610 kfree(pdev->ctrl_buf); in pwc_video_release()
1074 pdev->ctrl_buf = kmalloc(sizeof(pdev->cmd_buf), GFP_KERNEL); in usb_pwc_probe()
1075 if (!pdev->ctrl_buf) { in usb_pwc_probe()
1167 kfree(pdev->ctrl_buf); in usb_pwc_probe()
Dpwc.h247 unsigned char *ctrl_buf; member
/linux-5.19.10/drivers/net/usb/
Dipheth.c95 unsigned char *ctrl_buf; member
254 dev->ctrl_buf, IPHETH_CTRL_BUF_SIZE, in ipheth_carrier_set()
262 if (dev->ctrl_buf[0] == IPHETH_CARRIER_ON) { in ipheth_carrier_set()
294 dev->ctrl_buf, in ipheth_get_macaddr()
306 eth_hw_addr_set(net, dev->ctrl_buf); in ipheth_get_macaddr()
474 dev->ctrl_buf = kmalloc(IPHETH_CTRL_BUF_SIZE, GFP_KERNEL); in ipheth_probe()
475 if (dev->ctrl_buf == NULL) { in ipheth_probe()
514 kfree(dev->ctrl_buf); in ipheth_probe()
529 kfree(dev->ctrl_buf); in ipheth_disconnect()
Dcatc.c162 u8 ctrl_buf[64]; member
486 urb->transfer_buffer = catc->ctrl_buf; in catc_ctrl_run()
491 memcpy(catc->ctrl_buf, q->buf, q->len); in catc_ctrl_run()
515 memcpy(q->buf, catc->ctrl_buf, q->len); in catc_ctrl_done()
517 q->buf = catc->ctrl_buf; in catc_ctrl_done()
/linux-5.19.10/drivers/isdn/hardware/mISDN/
Dhfcsusb.h115 struct ctrl_buf { struct
288 struct ctrl_buf ctrl_buff[HFC_CTRL_BUFSIZE];
Dhfcsusb.c78 struct ctrl_buf *buf; in write_reg()
/linux-5.19.10/drivers/net/ethernet/ibm/
Dibmvnic.c4836 struct ibmvnic_control_ip_offload_buffer *ctrl_buf = &adapter->ip_offload_ctrl; in send_control_ip_offload() local
4844 ctrl_buf, in send_control_ip_offload()
4853 ctrl_buf->len = cpu_to_be32(sizeof(adapter->ip_offload_ctrl)); in send_control_ip_offload()
4854 ctrl_buf->version = cpu_to_be32(INITIAL_VERSION_IOB); in send_control_ip_offload()
4855 ctrl_buf->ipv4_chksum = buf->ipv4_chksum; in send_control_ip_offload()
4856 ctrl_buf->ipv6_chksum = buf->ipv6_chksum; in send_control_ip_offload()
4857 ctrl_buf->tcp_ipv4_chksum = buf->tcp_ipv4_chksum; in send_control_ip_offload()
4858 ctrl_buf->udp_ipv4_chksum = buf->udp_ipv4_chksum; in send_control_ip_offload()
4859 ctrl_buf->tcp_ipv6_chksum = buf->tcp_ipv6_chksum; in send_control_ip_offload()
4860 ctrl_buf->udp_ipv6_chksum = buf->udp_ipv6_chksum; in send_control_ip_offload()
[all …]
/linux-5.19.10/drivers/infiniband/hw/efa/
Defa_verbs.c1258 struct efa_com_ctrl_buff_info *ctrl_buf; in pbl_chunk_list_create() local
1327 ctrl_buf = (struct efa_com_ctrl_buff_info *) in pbl_chunk_list_create()
1329 ctrl_buf->length = chunk_list->chunks[i].length; in pbl_chunk_list_create()
1332 &ctrl_buf->address.mem_addr_high, in pbl_chunk_list_create()
1333 &ctrl_buf->address.mem_addr_low); in pbl_chunk_list_create()
/linux-5.19.10/drivers/usb/serial/
Dkeyspan.c545 char *ctrl_buf; /* for EP0 control message */ member
2441 dr = (void *)(s_priv->ctrl_buf); in keyspan_usa49_send_setup()
2805 s_priv->ctrl_buf = kzalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); in keyspan_startup()
2806 if (!s_priv->ctrl_buf) in keyspan_startup()
2864 kfree(s_priv->ctrl_buf); in keyspan_release()