Searched refs:endpoint (Results 1 - 25 of 245) sorted by relevance

12345678910

/drivers/media/v4l2-core/
H A Dv4l2-of.c23 struct v4l2_of_endpoint *endpoint)
25 struct v4l2_of_bus_mipi_csi2 *bus = &endpoint->bus.mipi_csi2;
58 endpoint->bus_type = V4L2_MBUS_CSI2;
62 struct v4l2_of_endpoint *endpoint)
64 struct v4l2_of_bus_parallel *bus = &endpoint->bus.parallel;
84 endpoint->bus_type = V4L2_MBUS_PARALLEL;
86 endpoint->bus_type = V4L2_MBUS_BT656;
112 * v4l2_of_parse_endpoint() - parse all endpoint node properties
113 * @node: pointer to endpoint device_node
114 * @endpoint
22 v4l2_of_parse_csi_bus(const struct device_node *node, struct v4l2_of_endpoint *endpoint) argument
61 v4l2_of_parse_parallel_bus(const struct device_node *node, struct v4l2_of_endpoint *endpoint) argument
127 v4l2_of_parse_endpoint(const struct device_node *node, struct v4l2_of_endpoint *endpoint) argument
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c26 struct htc_endpoint *endpoint = &target->endpoint[epid]; local
35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb);
40 static struct htc_endpoint *get_next_avail_ep(struct htc_endpoint *endpoint) argument
45 if (endpoint[avail_epid].service_id == 0)
46 return &endpoint[avail_epid];
91 struct htc_endpoint *endpoint; local
96 endpoint = &target->endpoint[ENDPOINT0];
97 endpoint
107 struct htc_endpoint *endpoint, *tmp_endpoint = NULL; local
237 struct htc_endpoint *endpoint; local
323 struct htc_endpoint *endpoint; local
403 struct htc_endpoint *endpoint; local
470 struct htc_endpoint *endpoint; local
[all...]
/drivers/char/xillybus/
H A Dxillybus_pcie.c143 struct xilly_endpoint *endpoint; local
146 endpoint = xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw);
148 if (!endpoint)
151 pci_set_drvdata(pdev, endpoint);
155 dev_err(endpoint->dev,
165 dev_err(endpoint->dev,
172 dev_err(endpoint->dev,
177 endpoint->registers = pcim_iomap_table(pdev)[0];
183 dev_err(endpoint->dev,
188 xillyname, endpoint);
214 struct xilly_endpoint *endpoint = pci_get_drvdata(pdev); local
[all...]
H A Dxillybus_core.c89 * register_mutex is endpoint-specific, and is held when non-atomic
104 static void malformed_message(struct xilly_endpoint *endpoint, u32 *buf) argument
115 dev_warn(endpoint->dev,
477 channel->endpoint = ep;
565 static int xilly_scan_idt(struct xilly_endpoint *endpoint, argument
569 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr;
570 unsigned char *end_of_idt = idt + endpoint->idtlen - 4;
588 dev_err(endpoint->dev,
594 len = endpoint->idtlen - (3 + ((int) (scan - idt)));
597 dev_err(endpoint
608 xilly_obtain_idt(struct xilly_endpoint *endpoint) argument
1413 struct xilly_endpoint *ep_iter, *endpoint = NULL; local
1801 xillybus_init_chrdev(struct xilly_endpoint *endpoint, const unsigned char *idt) argument
1873 xillybus_cleanup_chrdev(struct xilly_endpoint *endpoint) argument
1895 struct xilly_endpoint *endpoint; local
1915 xilly_quiesce(struct xilly_endpoint *endpoint) argument
1935 xillybus_endpoint_discovery(struct xilly_endpoint *endpoint) argument
2059 xillybus_endpoint_remove(struct xilly_endpoint *endpoint) argument
[all...]
H A Dxillybus_of.c132 struct xilly_endpoint *endpoint; local
141 endpoint = xillybus_init_endpoint(NULL, dev, ephw);
143 if (!endpoint)
146 dev_set_drvdata(dev, endpoint);
149 endpoint->registers = devm_ioremap_resource(dev, &res);
151 if (IS_ERR(endpoint->registers))
152 return PTR_ERR(endpoint->registers);
156 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint);
159 dev_err(endpoint->dev,
164 return xillybus_endpoint_discovery(endpoint);
170 struct xilly_endpoint *endpoint = dev_get_drvdata(dev); local
[all...]
H A Dxillybus.h47 struct xilly_endpoint *endpoint; member in struct:xilly_channel
156 int xillybus_endpoint_discovery(struct xilly_endpoint *endpoint);
158 void xillybus_endpoint_remove(struct xilly_endpoint *endpoint);
/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c45 ep_dist->endpoint, credits);
65 if (cur_ep_dist->endpoint == ENDPOINT_0)
112 if (cur_ep_dist->endpoint == ENDPOINT_0)
123 * cover and then set each endpoint's normal value
136 cur_ep_dist->endpoint,
173 ep_dist->endpoint, limit);
191 if (cur_list->endpoint == ENDPOINT_0)
217 * HTC has an endpoint that needs credits, ep_dist is the endpoint in
253 * starve an endpoint completel
408 htc_tx_comp_update(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *packet) argument
438 htc_tx_complete(struct htc_endpoint *endpoint, struct list_head *txq) argument
454 struct htc_endpoint *endpoint = &target->endpoint[packet->endpoint]; local
470 struct htc_endpoint *endpoint; local
599 ath6kl_htc_tx_pkts_get(struct htc_target *target, struct htc_endpoint *endpoint, struct list_head *queue) argument
679 ath6kl_htc_tx_setup_scat_list(struct htc_target *target, struct htc_endpoint *endpoint, struct hif_scatter_req *scat_req, int n_scat, struct list_head *queue) argument
755 ath6kl_htc_tx_bundle(struct htc_endpoint *endpoint, struct list_head *queue, int *sent_bundle, int *n_bundle_pkts) argument
858 ath6kl_htc_tx_from_queue(struct htc_target *target, struct htc_endpoint *endpoint) argument
965 ath6kl_htc_tx_try(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *tx_pkt) argument
1007 struct htc_endpoint *endpoint; local
1099 struct htc_endpoint *endpoint; local
1126 struct htc_endpoint *endpoint; local
1157 struct htc_endpoint *endpoint = &target->endpoint[eid]; local
1193 struct htc_endpoint *endpoint; local
1211 struct htc_endpoint *endpoint = &target->endpoint[eid]; local
1254 ath6kl_htc_rx_update_stats(struct htc_endpoint *endpoint, int n_look_ahds) argument
1338 ath6kl_htc_rx_set_indicate(u32 lk_ahd, struct htc_endpoint *endpoint, struct htc_packet *packet) argument
1351 ath6kl_htc_rx_chk_water_mark(struct htc_endpoint *endpoint) argument
1471 ath6kl_htc_rx_alloc(struct htc_target *target, u32 lk_ahds[], int msg, struct htc_endpoint *endpoint, struct list_head *queue) argument
1599 struct htc_endpoint *endpoint; local
1672 htc_parse_trailer(struct htc_target *target, struct htc_record_hdr *record, u8 *record_buf, u32 *next_lk_ahds, enum htc_endpoint_id endpoint, int *n_lk_ahds) argument
1752 htc_proc_trailer(struct htc_target *target, u8 *buf, int len, u32 *next_lk_ahds, int *n_lk_ahds, enum htc_endpoint_id endpoint) argument
1902 ath6kl_htc_rx_complete(struct htc_endpoint *endpoint, struct htc_packet *packet) argument
2147 struct htc_endpoint *endpoint; local
2324 struct htc_endpoint *endpoint; local
2385 struct htc_endpoint *endpoint; local
2433 struct htc_endpoint *endpoint; local
2577 struct htc_endpoint *endpoint; local
2598 ath6kl_htc_mbox_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) argument
[all...]
H A Dhtc-ops.h62 enum htc_endpoint_id endpoint,
65 return target->dev->ar->htc_ops->flush_txep(target, endpoint, tag);
74 enum htc_endpoint_id endpoint,
77 return target->dev->ar->htc_ops->activity_changed(target, endpoint,
82 enum htc_endpoint_id endpoint)
84 return target->dev->ar->htc_ops->get_rxbuf_num(target, endpoint);
61 ath6kl_htc_flush_txep(struct htc_target *target, enum htc_endpoint_id endpoint, u16 tag) argument
73 ath6kl_htc_activity_changed(struct htc_target *target, enum htc_endpoint_id endpoint, bool active) argument
81 ath6kl_htc_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) argument
H A Dtrace.h194 TP_PROTO(int status, int endpoint, void *buf,
197 TP_ARGS(status, endpoint, buf, buf_len),
201 __field(int, endpoint)
208 __entry->endpoint = endpoint;
214 "status %d endpoint %d len %zd\n",
216 __entry->endpoint,
222 TP_PROTO(int status, int endpoint, void *buf,
225 TP_ARGS(status, endpoint, buf, buf_len),
229 __field(int, endpoint)
[all...]
H A Dhtc.h104 /* more packets on this endpoint are being fetched */
112 /* enable send bundle padding for this endpoint */
250 /* ------ endpoint IDS ------ */
281 /* wrapper around endpoint-specific packets */
310 /* endpoint that this packet was sent/recv'd from */
311 enum htc_endpoint_id endpoint; member in struct:htc_packet
341 void (*rx_refill) (struct htc_target *, enum htc_endpoint_id endpoint);
365 enum htc_endpoint_id endpoint; member in struct:htc_service_connect_resp
370 /* endpoint distributionstructure */
377 /* endpoint fo
378 enum htc_endpoint_id endpoint; member in struct:htc_endpoint_credit_dist
578 struct htc_endpoint endpoint[ENDPOINT_MAX]; member in struct:htc_target
[all...]
H A Dhtc_pipe.c80 struct htc_endpoint *ep = &target->endpoint[packet->endpoint];
134 * endpoint 0 is special, it always has a credit and
244 htc_hdr->eid = (u8) packet->endpoint;
260 /* TODO: if more than 1 endpoint maps to the
437 * endpoint that thread will reset the tx processing count
448 * Now drain the endpoint TX queue for transmission as long as we have
466 * Get all packets for this endpoint that we can
494 /* done with this endpoint, we can clear the count */
673 ep = &target->endpoint[rp
1539 ath6kl_htc_pipe_get_rxbuf_num(struct htc_target *target, enum htc_endpoint_id endpoint) argument
1620 ath6kl_htc_pipe_flush_txep(struct htc_target *target, enum htc_endpoint_id endpoint, u16 tag) argument
1685 struct htc_endpoint *endpoint; local
[all...]
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_usb.c60 struct usb_endpoint_descriptor *endpoint; local
102 DEBUG("ft1000_probe: control endpoint info:\n");
104 iface_desc->endpoint[0].desc.bmAttributes);
106 iface_desc->endpoint[1].desc.bmAttributes);
108 iface_desc->endpoint[2].desc.bmAttributes);
111 endpoint =
113 endpoint[i].desc;
114 DEBUG("endpoint %d\n", i);
116 endpoint->bEndpointAddress, endpoint
[all...]
/drivers/staging/bcm/
H A DInterfaceInit.c382 struct usb_endpoint_descriptor **endpoint,
399 *endpoint = &iface_desc->endpoint[EP2].desc;
410 !usb_endpoint_is_int_out(*endpoint)) ||
412 !usb_endpoint_is_bulk_out(*endpoint))) {
436 usb_endpoint_is_bulk_out(*endpoint)) {
452 *endpoint = &iface_desc->endpoint[EP4].desc;
455 if (!usb_endpoint_is_int_out(*endpoint)) {
487 struct usb_endpoint_descriptor *endpoint; local
380 select_alternate_setting_for_highspeed_modem( struct bcm_interface_adapter *psIntfAdapter, struct usb_endpoint_descriptor **endpoint, const struct usb_host_interface *iface_desc, int *usedIntOutForBulkTransfer) argument
[all...]
/drivers/usb/storage/
H A Duas-detect.h29 struct usb_host_endpoint *endpoint = alt->endpoint; local
33 unsigned char *extra = endpoint[i].extra;
34 int len = endpoint[i].extralen;
39 eps[pipe_id - 1] = &endpoint[i];
/drivers/net/wireless/rsi/
H A Drsi_91x_usb.c26 * @endpoint: Type of endpoint.
33 u8 endpoint)
41 dev->bulkout_endpoint_addr[endpoint - 1]),
66 u8 endpoint,
76 if (endpoint == MGMT_EP) {
86 endpoint);
102 struct usb_endpoint_descriptor *endpoint; local
109 endpoint = &(iface_desc->endpoint[i
30 rsi_usb_card_write(struct rsi_hw *adapter, void *buf, u16 len, u8 endpoint) argument
65 rsi_write_multiple(struct rsi_hw *adapter, u8 endpoint, u8 *data, u32 count) argument
341 u8 endpoint; local
[all...]
H A Drsi_usb.h40 u8 endpoint; member in struct:rsi_91x_usbdev
/drivers/usb/core/
H A DMakefile6 usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
H A Dendpoint.c2 * drivers/usb/core/endpoint.c
176 struct usb_host_endpoint *endpoint,
188 ep_dev->desc = &endpoint->desc;
193 dev_set_name(&ep_dev->dev, "ep_%02x", endpoint->desc.bEndpointAddress);
200 endpoint->ep_dev = ep_dev;
209 void usb_remove_ep_devs(struct usb_host_endpoint *endpoint) argument
211 struct ep_device *ep_dev = endpoint->ep_dev;
215 endpoint->ep_dev = NULL;
175 usb_create_ep_devs(struct device *parent, struct usb_host_endpoint *endpoint, struct usb_device *udev) argument
/drivers/usb/serial/
H A Daircable.c101 struct usb_endpoint_descriptor *endpoint; local
106 endpoint = &iface_desc->endpoint[i].desc;
107 if (usb_endpoint_is_bulk_out(endpoint)) {
109 "found bulk out on endpoint %d\n", i);
H A Dusb-serial.c705 struct usb_endpoint_descriptor *endpoint; local
762 endpoint = &iface_desc->endpoint[i].desc;
764 if (usb_endpoint_is_bulk_in(endpoint)) {
765 /* we found a bulk in endpoint */
766 dev_dbg(ddev, "found bulk in on endpoint %d\n", i);
768 bulk_in_endpoint[num_bulk_in] = endpoint;
773 if (usb_endpoint_is_bulk_out(endpoint)) {
774 /* we found a bulk out endpoint */
775 dev_dbg(ddev, "found bulk out on endpoint
[all...]
/drivers/usb/renesas_usbhs/
H A DKconfig13 It has nine or more configurable endpoints, and endpoint zero.
/drivers/usb/wusbcore/
H A Dwa-hc.c47 wa->dti_epd = &iface->cur_altsetting->endpoint[1].desc;
48 wa->dto_epd = &iface->cur_altsetting->endpoint[2].desc;
57 dev_err(dev, "WA-CDS: can't initialize notif endpoint: %d\n",
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.h51 struct usb_device *dev,int endpoint,
/drivers/staging/ozwpan/
H A Dozusbif.h39 void oz_hcd_data_ind(void *hport, u8 endpoint, const u8 *data, int data_len);
/drivers/usb/gadget/udc/
H A Domap_udc.h9 * USB device/endpoint management registers
13 #define UDC_EP_NUM (UDC_BASE + 0x4) /* Which endpoint */
17 /* low 4 bits for endpoint number */
120 #define UDC_EP_RX(endpoint) (UDC_BASE + 0x80 + (endpoint)*4)
126 #define UDC_EP_TX(endpoint) (UDC_BASE + 0xc0 + (endpoint)*4)

Completed in 393 milliseconds

12345678910