/drivers/char/xillybus/ |
D | xillybus_core.c | 104 static void malformed_message(struct xilly_endpoint *endpoint, u32 *buf) in malformed_message() argument 115 dev_warn(endpoint->dev, in malformed_message() 477 channel->endpoint = ep; in xilly_setupchannels() 567 static int xilly_scan_idt(struct xilly_endpoint *endpoint, in xilly_scan_idt() argument 571 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr; in xilly_scan_idt() 572 unsigned char *end_of_idt = idt + endpoint->idtlen - 4; in xilly_scan_idt() 590 dev_err(endpoint->dev, in xilly_scan_idt() 596 len = endpoint->idtlen - (3 + ((int) (scan - idt))); in xilly_scan_idt() 599 dev_err(endpoint->dev, in xilly_scan_idt() 605 endpoint->num_channels = count; in xilly_scan_idt() [all …]
|
D | xillybus_pcie.c | 135 struct xilly_endpoint *endpoint; in xilly_probe() local 138 endpoint = xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw); in xilly_probe() 140 if (!endpoint) in xilly_probe() 143 pci_set_drvdata(pdev, endpoint); in xilly_probe() 147 dev_err(endpoint->dev, in xilly_probe() 157 dev_err(endpoint->dev, in xilly_probe() 164 dev_err(endpoint->dev, in xilly_probe() 169 endpoint->registers = pcim_iomap_table(pdev)[0]; in xilly_probe() 175 dev_err(endpoint->dev, in xilly_probe() 180 xillyname, endpoint); in xilly_probe() [all …]
|
D | xillybus_of.c | 123 struct xilly_endpoint *endpoint; in xilly_drv_probe() local 132 endpoint = xillybus_init_endpoint(NULL, dev, ephw); in xilly_drv_probe() 134 if (!endpoint) in xilly_drv_probe() 137 dev_set_drvdata(dev, endpoint); in xilly_drv_probe() 140 endpoint->registers = devm_ioremap_resource(dev, &res); in xilly_drv_probe() 142 if (IS_ERR(endpoint->registers)) in xilly_drv_probe() 143 return PTR_ERR(endpoint->registers); in xilly_drv_probe() 147 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint); in xilly_drv_probe() 150 dev_err(endpoint->dev, in xilly_drv_probe() 155 return xillybus_endpoint_discovery(endpoint); in xilly_drv_probe() [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | htc_mbox.c | 45 ep_dist->endpoint, credits); in ath6kl_credit_deposit() 65 if (cur_ep_dist->endpoint == ENDPOINT_0) in ath6kl_credit_init() 112 if (cur_ep_dist->endpoint == ENDPOINT_0) in ath6kl_credit_init() 136 cur_ep_dist->endpoint, in ath6kl_credit_init() 173 ep_dist->endpoint, limit); in ath6kl_credit_reduce() 191 if (cur_list->endpoint == ENDPOINT_0) in ath6kl_credit_update() 281 if (curdist_list->endpoint == ENDPOINT_0) in ath6kl_credit_seek() 302 if (curdist_list->endpoint == ENDPOINT_0) in ath6kl_credit_redistribute() 370 hdr->eid = packet->endpoint; in ath6kl_htc_tx_prep_pkt() 409 struct htc_endpoint *endpoint, in htc_tx_comp_update() argument [all …]
|
D | trace.h | 194 TP_PROTO(int status, int endpoint, void *buf, 197 TP_ARGS(status, endpoint, buf, buf_len), 201 __field(int, endpoint) 208 __entry->endpoint = endpoint; 216 __entry->endpoint, 222 TP_PROTO(int status, int endpoint, void *buf, 225 TP_ARGS(status, endpoint, buf, buf_len), 229 __field(int, endpoint) 236 __entry->endpoint = endpoint; 244 __entry->endpoint,
|
D | htc-ops.h | 62 enum htc_endpoint_id endpoint, in ath6kl_htc_flush_txep() argument 65 return target->dev->ar->htc_ops->flush_txep(target, endpoint, tag); in ath6kl_htc_flush_txep() 74 enum htc_endpoint_id endpoint, in ath6kl_htc_activity_changed() argument 77 return target->dev->ar->htc_ops->activity_changed(target, endpoint, in ath6kl_htc_activity_changed() 82 enum htc_endpoint_id endpoint) in ath6kl_htc_get_rxbuf_num() argument 84 return target->dev->ar->htc_ops->get_rxbuf_num(target, endpoint); in ath6kl_htc_get_rxbuf_num()
|
D | usb.c | 299 struct usb_endpoint_descriptor *endpoint; in ath6kl_usb_setup_pipe_resources() local 308 endpoint = &iface_desc->endpoint[i].desc; in ath6kl_usb_setup_pipe_resources() 310 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources() 314 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources() 315 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources() 316 le16_to_cpu(endpoint->wMaxPacketSize)); in ath6kl_usb_setup_pipe_resources() 317 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources() 321 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources() 322 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources() 323 le16_to_cpu(endpoint->wMaxPacketSize), in ath6kl_usb_setup_pipe_resources() [all …]
|
D | htc_pipe.c | 80 struct htc_endpoint *ep = &target->endpoint[packet->endpoint]; in send_packet_completion() 244 htc_hdr->eid = (u8) packet->endpoint; in htc_issue_packets() 673 ep = &target->endpoint[rpt->eid]; in htc_process_credit_report() 758 ep = &target->endpoint[ep_id]; in ath6kl_htc_pipe_tx_complete() 795 if (packet->endpoint >= ENDPOINT_MAX) { in htc_send_packets_multiple() 799 ep = &target->endpoint[packet->endpoint]; in htc_send_packets_multiple() 992 ep = &target->endpoint[htc_hdr->eid]; in ath6kl_htc_pipe_rx_complete() 1080 packet->endpoint = htc_hdr->eid; in ath6kl_htc_pipe_rx_complete() 1128 packet->endpoint); in htc_flush_rx_queue() 1175 if (packet->endpoint == ENDPOINT_0 && in htc_rxctrl_complete() [all …]
|
D | htc.h | 311 enum htc_endpoint_id endpoint; member 341 void (*rx_refill) (struct htc_target *, enum htc_endpoint_id endpoint); 365 enum htc_endpoint_id endpoint; member 378 enum htc_endpoint_id endpoint; member 559 enum htc_endpoint_id endpoint, u16 tag); 562 enum htc_endpoint_id endpoint, 565 enum htc_endpoint_id endpoint); 578 struct htc_endpoint endpoint[ENDPOINT_MAX]; member 642 packet->endpoint = eid; in set_htc_pkt_info() 660 packet->endpoint = eid; in set_htc_rxpkt_info()
|
/drivers/media/v4l2-core/ |
D | v4l2-of.c | 24 struct v4l2_of_endpoint *endpoint) in v4l2_of_parse_csi_bus() argument 26 struct v4l2_of_bus_mipi_csi2 *bus = &endpoint->bus.mipi_csi2; in v4l2_of_parse_csi_bus() 76 endpoint->bus_type = V4L2_MBUS_CSI2; in v4l2_of_parse_csi_bus() 82 struct v4l2_of_endpoint *endpoint) in v4l2_of_parse_parallel_bus() argument 84 struct v4l2_of_bus_parallel *bus = &endpoint->bus.parallel; in v4l2_of_parse_parallel_bus() 100 endpoint->bus_type = V4L2_MBUS_PARALLEL; in v4l2_of_parse_parallel_bus() 102 endpoint->bus_type = V4L2_MBUS_BT656; in v4l2_of_parse_parallel_bus() 152 struct v4l2_of_endpoint *endpoint) in v4l2_of_parse_endpoint() argument 156 of_graph_parse_endpoint(node, &endpoint->base); in v4l2_of_parse_endpoint() 158 memset(&endpoint->bus_type, 0, sizeof(*endpoint) - in v4l2_of_parse_endpoint() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | htc_hst.c | 26 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send() local 35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 40 static struct htc_endpoint *get_next_avail_ep(struct htc_endpoint *endpoint) in get_next_avail_ep() argument 45 if (endpoint[avail_epid].service_id == 0) in get_next_avail_ep() 46 return &endpoint[avail_epid]; in get_next_avail_ep() 91 struct htc_endpoint *endpoint; in htc_process_target_rdy() local 96 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy() 97 endpoint->service_id = HTC_CTRL_RSVD_SVC; in htc_process_target_rdy() 98 endpoint->max_msglen = HTC_MAX_CONTROL_MESSAGE_LENGTH; in htc_process_target_rdy() 107 struct htc_endpoint *endpoint, *tmp_endpoint = NULL; in htc_process_conn_rsp() local [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 33 u8 endpoint) in rsi_usb_card_write() argument 41 dev->bulkout_endpoint_addr[endpoint - 1]), in rsi_usb_card_write() 66 u8 endpoint, in rsi_write_multiple() argument 76 if (endpoint == MGMT_EP) { in rsi_write_multiple() 86 endpoint); in rsi_write_multiple() 102 struct usb_endpoint_descriptor *endpoint; in rsi_find_bulk_in_and_out_endpoints() local 109 endpoint = &(iface_desc->endpoint[ii].desc); in rsi_find_bulk_in_and_out_endpoints() 112 (endpoint->bEndpointAddress & USB_DIR_IN) && in rsi_find_bulk_in_and_out_endpoints() 113 ((endpoint->bmAttributes & in rsi_find_bulk_in_and_out_endpoints() 116 buffer_size = endpoint->wMaxPacketSize; in rsi_find_bulk_in_and_out_endpoints() [all …]
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_slave_compat.dts | 31 hdmi_0: endpoint@0 { 32 remote-endpoint = <&lcd_0>; 43 lcd_0: endpoint@0 { 44 remote-endpoint = <&hdmi_0>; 55 endpoint@0 { 56 remote-endpoint = <0>; 65 endpoint@0 { 66 remote-endpoint = <0>;
|
/drivers/usb/serial/ |
D | usb-serial.c | 721 struct usb_endpoint_descriptor *endpoint; in usb_serial_probe() local 778 endpoint = &iface_desc->endpoint[i].desc; in usb_serial_probe() 780 if (usb_endpoint_is_bulk_in(endpoint)) { in usb_serial_probe() 784 bulk_in_endpoint[num_bulk_in] = endpoint; in usb_serial_probe() 789 if (usb_endpoint_is_bulk_out(endpoint)) { in usb_serial_probe() 793 bulk_out_endpoint[num_bulk_out] = endpoint; in usb_serial_probe() 798 if (usb_endpoint_is_int_in(endpoint)) { in usb_serial_probe() 803 endpoint; in usb_serial_probe() 808 if (usb_endpoint_is_int_out(endpoint)) { in usb_serial_probe() 813 endpoint; in usb_serial_probe() [all …]
|
/drivers/hwtracing/coresight/ |
D | of_coresight.c | 34 of_coresight_get_endpoint_device(struct device_node *endpoint) in of_coresight_get_endpoint_device() argument 43 endpoint, of_dev_node_match); in of_coresight_get_endpoint_device() 52 endpoint, of_dev_node_match); in of_coresight_get_endpoint_device() 109 struct of_endpoint endpoint, rendpoint; in of_get_coresight_platform_data() local 146 ret = of_graph_parse_endpoint(ep, &endpoint); in of_get_coresight_platform_data() 152 pdata->outports[i] = endpoint.port; in of_get_coresight_platform_data()
|
/drivers/usb/core/ |
D | endpoint.c | 176 struct usb_host_endpoint *endpoint, in usb_create_ep_devs() argument 188 ep_dev->desc = &endpoint->desc; in usb_create_ep_devs() 193 dev_set_name(&ep_dev->dev, "ep_%02x", endpoint->desc.bEndpointAddress); in usb_create_ep_devs() 200 endpoint->ep_dev = ep_dev; in usb_create_ep_devs() 209 void usb_remove_ep_devs(struct usb_host_endpoint *endpoint) in usb_remove_ep_devs() argument 211 struct ep_device *ep_dev = endpoint->ep_dev; in usb_remove_ep_devs() 215 endpoint->ep_dev = NULL; in usb_remove_ep_devs()
|
D | config.c | 205 struct usb_host_endpoint *endpoint; in usb_parse_endpoint() local 239 if (ifp->endpoint[i].desc.bEndpointAddress == in usb_parse_endpoint() 247 endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints]; in usb_parse_endpoint() 250 memcpy(&endpoint->desc, d, n); in usb_parse_endpoint() 251 INIT_LIST_HEAD(&endpoint->urb_list); in usb_parse_endpoint() 324 endpoint->desc.bInterval = n; in usb_parse_endpoint() 336 endpoint->desc.bmAttributes = USB_ENDPOINT_XFER_INT; in usb_parse_endpoint() 337 endpoint->desc.bInterval = 1; in usb_parse_endpoint() 338 if (usb_endpoint_maxp(&endpoint->desc) > 8) in usb_parse_endpoint() 339 endpoint->desc.wMaxPacketSize = cpu_to_le16(8); in usb_parse_endpoint() [all …]
|
/drivers/usb/storage/ |
D | uas-detect.h | 30 struct usb_host_endpoint *endpoint = alt->endpoint; in uas_find_endpoints() local 34 unsigned char *extra = endpoint[i].extra; in uas_find_endpoints() 35 int len = endpoint[i].extralen; in uas_find_endpoints() 40 eps[pipe_id - 1] = &endpoint[i]; in uas_find_endpoints()
|
/drivers/input/misc/ |
D | keyspan_remote.c | 431 struct usb_endpoint_descriptor *endpoint; in keyspan_get_in_endpoint() local 435 endpoint = &iface->endpoint[i].desc; in keyspan_get_in_endpoint() 437 if (usb_endpoint_is_int_in(endpoint)) { in keyspan_get_in_endpoint() 439 return endpoint; in keyspan_get_in_endpoint() 452 struct usb_endpoint_descriptor *endpoint; in keyspan_probe() local 457 endpoint = keyspan_get_in_endpoint(interface->cur_altsetting); in keyspan_probe() 458 if (!endpoint) in keyspan_probe() 471 remote->in_endpoint = endpoint; in keyspan_probe() 536 usb_rcvintpipe(remote->udev, endpoint->bEndpointAddress), in keyspan_probe() 538 endpoint->bInterval); in keyspan_probe()
|
/drivers/gpu/drm/bridge/adv7511/ |
D | adv7533.c | 234 struct device_node *endpoint; in adv7533_parse_dt() local 243 endpoint = of_graph_get_next_endpoint(np, NULL); in adv7533_parse_dt() 244 if (!endpoint) in adv7533_parse_dt() 247 adv->host_node = of_graph_get_remote_port_parent(endpoint); in adv7533_parse_dt() 249 of_node_put(endpoint); in adv7533_parse_dt() 253 of_node_put(endpoint); in adv7533_parse_dt()
|
/drivers/usb/misc/ |
D | usblcd.c | 317 struct usb_endpoint_descriptor *endpoint; in lcd_probe() local 343 endpoint = &iface_desc->endpoint[i].desc; in lcd_probe() 346 usb_endpoint_is_bulk_in(endpoint)) { in lcd_probe() 348 buffer_size = usb_endpoint_maxp(endpoint); in lcd_probe() 350 dev->bulk_in_endpointAddr = endpoint->bEndpointAddress; in lcd_probe() 357 usb_endpoint_is_bulk_out(endpoint)) { in lcd_probe() 359 dev->bulk_out_endpointAddr = endpoint->bEndpointAddress; in lcd_probe()
|
/drivers/media/usb/siano/ |
D | smsusb.c | 439 if (intf->cur_altsetting->endpoint[i].desc. bEndpointAddress & USB_DIR_IN) in smsusb_init_device() 440 dev->in_ep = intf->cur_altsetting->endpoint[i].desc.bEndpointAddress; in smsusb_init_device() 442 dev->out_ep = intf->cur_altsetting->endpoint[i].desc.bEndpointAddress; in smsusb_init_device() 534 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress, in smsusb_probe() 535 intf->cur_altsetting->endpoint[i].desc.bmAttributes, in smsusb_probe() 536 intf->cur_altsetting->endpoint[i].desc.wMaxPacketSize); in smsusb_probe() 537 if (intf->cur_altsetting->endpoint[i].desc.bEndpointAddress & in smsusb_probe() 540 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress)); in smsusb_probe() 543 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress)); in smsusb_probe() 606 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress, in smsusb_resume() [all …]
|
/drivers/usb/dwc3/ |
D | gadget.c | 203 usb_gadget_giveback_request(&dep->endpoint, &req->request); in dwc3_gadget_giveback() 487 u32 burst = dep->endpoint.maxburst; in dwc3_gadget_set_ep_config() 583 dep->endpoint.desc = desc; in __dwc3_gadget_ep_enable() 661 dep->endpoint.desc = NULL; in __dwc3_gadget_ep_disable() 811 switch (usb_endpoint_type(dep->endpoint.desc)) { in dwc3_prepare_one_trb() 843 struct usb_ep *ep = &dep->endpoint; in dwc3_prepare_one_trb() 887 if (usb_endpoint_xfer_bulk(dep->endpoint.desc) && dep->stream_capable) in dwc3_prepare_one_trb() 1098 if (!dep->endpoint.desc) { in __dwc3_gadget_ep_queue() 1101 &req->request, dep->endpoint.name); in __dwc3_gadget_ep_queue() 1139 if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) { in __dwc3_gadget_ep_queue() [all …]
|
/drivers/media/rc/ |
D | streamzap.c | 85 struct usb_endpoint_descriptor *endpoint; member 365 sz->endpoint = &(iface_host->endpoint[0].desc); in streamzap_probe() 366 if (!usb_endpoint_dir_in(sz->endpoint)) { in streamzap_probe() 368 "02%02x\n", __func__, sz->endpoint->bEndpointAddress); in streamzap_probe() 373 if (!usb_endpoint_xfer_int(sz->endpoint)) { in streamzap_probe() 375 "02%02x\n", __func__, sz->endpoint->bmAttributes); in streamzap_probe() 380 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe() 435 sz, sz->endpoint->bInterval); in streamzap_probe()
|
/drivers/hid/usbhid/ |
D | usbmouse.c | 123 struct usb_endpoint_descriptor *endpoint; in usb_mouse_probe() local 134 endpoint = &interface->endpoint[0].desc; in usb_mouse_probe() 135 if (!usb_endpoint_is_int_in(endpoint)) in usb_mouse_probe() 138 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_mouse_probe() 195 usb_mouse_irq, mouse, endpoint->bInterval); in usb_mouse_probe()
|