/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() 565 static int xilly_scan_idt(struct xilly_endpoint *endpoint, in xilly_scan_idt() argument 569 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr; in xilly_scan_idt() 570 unsigned char *end_of_idt = idt + endpoint->idtlen - 4; in xilly_scan_idt() 588 dev_err(endpoint->dev, in xilly_scan_idt() 594 len = endpoint->idtlen - (3 + ((int) (scan - idt))); in xilly_scan_idt() 597 dev_err(endpoint->dev, in xilly_scan_idt() 603 endpoint->num_channels = count; in xilly_scan_idt() [all …]
|
D | xillybus_pcie.c | 143 struct xilly_endpoint *endpoint; in xilly_probe() local 146 endpoint = xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw); in xilly_probe() 148 if (!endpoint) in xilly_probe() 151 pci_set_drvdata(pdev, endpoint); in xilly_probe() 155 dev_err(endpoint->dev, in xilly_probe() 165 dev_err(endpoint->dev, in xilly_probe() 172 dev_err(endpoint->dev, in xilly_probe() 177 endpoint->registers = pcim_iomap_table(pdev)[0]; in xilly_probe() 183 dev_err(endpoint->dev, in xilly_probe() 188 xillyname, endpoint); in xilly_probe() [all …]
|
D | xillybus_of.c | 132 struct xilly_endpoint *endpoint; in xilly_drv_probe() local 141 endpoint = xillybus_init_endpoint(NULL, dev, ephw); in xilly_drv_probe() 143 if (!endpoint) in xilly_drv_probe() 146 dev_set_drvdata(dev, endpoint); in xilly_drv_probe() 149 endpoint->registers = devm_ioremap_resource(dev, &res); in xilly_drv_probe() 151 if (IS_ERR(endpoint->registers)) in xilly_drv_probe() 152 return PTR_ERR(endpoint->registers); in xilly_drv_probe() 156 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint); in xilly_drv_probe() 159 dev_err(endpoint->dev, in xilly_drv_probe() 164 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 | 307 struct usb_endpoint_descriptor *endpoint; in ath6kl_usb_setup_pipe_resources() local 316 endpoint = &iface_desc->endpoint[i].desc; in ath6kl_usb_setup_pipe_resources() 318 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources() 322 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources() 323 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources() 324 le16_to_cpu(endpoint->wMaxPacketSize)); in ath6kl_usb_setup_pipe_resources() 325 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources() 329 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources() 330 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources() 331 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 | 717 struct usb_endpoint_descriptor *endpoint; in usb_serial_probe() local 774 endpoint = &iface_desc->endpoint[i].desc; in usb_serial_probe() 776 if (usb_endpoint_is_bulk_in(endpoint)) { in usb_serial_probe() 780 bulk_in_endpoint[num_bulk_in] = endpoint; in usb_serial_probe() 785 if (usb_endpoint_is_bulk_out(endpoint)) { in usb_serial_probe() 789 bulk_out_endpoint[num_bulk_out] = endpoint; in usb_serial_probe() 794 if (usb_endpoint_is_int_in(endpoint)) { in usb_serial_probe() 799 endpoint; in usb_serial_probe() 804 if (usb_endpoint_is_int_out(endpoint)) { in usb_serial_probe() 809 endpoint; in usb_serial_probe() [all …]
|
D | aircable.c | 101 struct usb_endpoint_descriptor *endpoint; in aircable_probe() local 106 endpoint = &iface_desc->endpoint[i].desc; in aircable_probe() 107 if (usb_endpoint_is_bulk_out(endpoint)) { in aircable_probe()
|
/drivers/hwtracing/coresight/ |
D | of_coresight.c | 35 of_coresight_get_endpoint_device(struct device_node *endpoint) in of_coresight_get_endpoint_device() argument 44 endpoint, of_dev_node_match); in of_coresight_get_endpoint_device() 53 endpoint, of_dev_node_match); in of_coresight_get_endpoint_device() 110 struct of_endpoint endpoint, rendpoint; in of_get_coresight_platform_data() local 147 ret = of_graph_parse_endpoint(ep, &endpoint); in of_get_coresight_platform_data() 153 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 | 209 epd = &alt->endpoint[k].desc; in config_endpoint_is_duplicate() 228 struct usb_host_endpoint *endpoint; in usb_parse_endpoint() local 277 endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints]; in usb_parse_endpoint() 280 memcpy(&endpoint->desc, d, n); in usb_parse_endpoint() 281 INIT_LIST_HEAD(&endpoint->urb_list); in usb_parse_endpoint() 354 endpoint->desc.bInterval = n; in usb_parse_endpoint() 366 endpoint->desc.bmAttributes = USB_ENDPOINT_XFER_INT; in usb_parse_endpoint() 367 endpoint->desc.bInterval = 1; in usb_parse_endpoint() 368 if (usb_endpoint_maxp(&endpoint->desc) > 8) in usb_parse_endpoint() 369 endpoint->desc.wMaxPacketSize = cpu_to_le16(8); in usb_parse_endpoint() [all …]
|
/drivers/usb/dwc3/ |
D | gadget.c | 201 if (usb_endpoint_xfer_bulk(dep->endpoint.desc) in dwc3_gadget_resize_tx_fifos() 202 || usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_gadget_resize_tx_fifos() 216 tmp = mult * (dep->endpoint.maxpacket + mdwidth); in dwc3_gadget_resize_tx_fifos() 252 usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_gadget_giveback() 283 usb_gadget_giveback_request(&dep->endpoint, &req->request); in dwc3_gadget_giveback() 483 u32 burst = dep->endpoint.maxburst - 1; in dwc3_gadget_set_ep_config() 592 dep->endpoint.desc = desc; in __dwc3_gadget_ep_enable() 685 dep->endpoint.desc = NULL; in __dwc3_gadget_ep_disable() 830 usb_endpoint_xfer_isoc(dep->endpoint.desc)) in dwc3_prepare_one_trb() 837 switch (usb_endpoint_type(dep->endpoint.desc)) { in dwc3_prepare_one_trb() [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/tablet/ |
D | kbtab.c | 120 struct usb_endpoint_descriptor *endpoint; in kbtab_probe() local 128 endpoint = &intf->cur_altsetting->endpoint[0].desc; in kbtab_probe() 129 if (!usb_endpoint_is_int_in(endpoint)) in kbtab_probe() 172 usb_rcvintpipe(dev, endpoint->bEndpointAddress), in kbtab_probe() 174 kbtab_irq, kbtab, endpoint->bInterval); in kbtab_probe()
|
/drivers/input/misc/ |
D | keyspan_remote.c | 434 struct usb_endpoint_descriptor *endpoint; in keyspan_get_in_endpoint() local 438 endpoint = &iface->endpoint[i].desc; in keyspan_get_in_endpoint() 440 if (usb_endpoint_is_int_in(endpoint)) { in keyspan_get_in_endpoint() 442 return endpoint; in keyspan_get_in_endpoint() 455 struct usb_endpoint_descriptor *endpoint; in keyspan_probe() local 460 endpoint = keyspan_get_in_endpoint(interface->cur_altsetting); in keyspan_probe() 461 if (!endpoint) in keyspan_probe() 474 remote->in_endpoint = endpoint; in keyspan_probe() 539 usb_rcvintpipe(remote->udev, endpoint->bEndpointAddress), in keyspan_probe() 541 endpoint->bInterval); in keyspan_probe()
|
/drivers/media/rc/ |
D | streamzap.c | 84 struct usb_endpoint_descriptor *endpoint; member 366 sz->endpoint = &(iface_host->endpoint[0].desc); in streamzap_probe() 367 if (!usb_endpoint_dir_in(sz->endpoint)) { in streamzap_probe() 369 "02%02x\n", __func__, sz->endpoint->bEndpointAddress); in streamzap_probe() 374 if (!usb_endpoint_xfer_int(sz->endpoint)) { in streamzap_probe() 376 "02%02x\n", __func__, sz->endpoint->bmAttributes); in streamzap_probe() 381 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe() 436 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()
|
/drivers/usb/misc/ |
D | usblcd.c | 339 struct usb_endpoint_descriptor *endpoint; in lcd_probe() local 368 endpoint = &iface_desc->endpoint[i].desc; in lcd_probe() 371 usb_endpoint_is_bulk_in(endpoint)) { in lcd_probe() 373 buffer_size = usb_endpoint_maxp(endpoint); in lcd_probe() 375 dev->bulk_in_endpointAddr = endpoint->bEndpointAddress; in lcd_probe() 385 usb_endpoint_is_bulk_out(endpoint)) { in lcd_probe() 387 dev->bulk_out_endpointAddr = endpoint->bEndpointAddress; in lcd_probe()
|