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

1234567891011>>

/linux-master/drivers/char/xillybus/
H A Dxillybus_pcie.c38 struct xilly_endpoint *endpoint; local
41 endpoint = xillybus_init_endpoint(&pdev->dev);
43 if (!endpoint)
46 pci_set_drvdata(pdev, endpoint);
48 endpoint->owner = THIS_MODULE;
52 dev_err(endpoint->dev,
62 dev_err(endpoint->dev,
69 dev_err(endpoint->dev,
74 endpoint->registers = pcim_iomap_table(pdev)[0];
80 dev_err(endpoint
113 struct xilly_endpoint *endpoint = pci_get_drvdata(pdev); local
[all...]
H A Dxillybus_of.c37 struct xilly_endpoint *endpoint; local
41 endpoint = xillybus_init_endpoint(dev);
43 if (!endpoint)
46 dev_set_drvdata(dev, endpoint);
48 endpoint->owner = THIS_MODULE;
50 endpoint->registers = devm_platform_ioremap_resource(op, 0);
51 if (IS_ERR(endpoint->registers))
52 return PTR_ERR(endpoint->registers);
56 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint);
59 dev_err(endpoint
70 struct xilly_endpoint *endpoint = dev_get_drvdata(dev); local
[all...]
H A Dxillybus_core.c75 * register_mutex is endpoint-specific, and is held when non-atomic
90 static void malformed_message(struct xilly_endpoint *endpoint, u32 *buf) argument
101 dev_warn(endpoint->dev,
499 channel->endpoint = ep;
589 static int xilly_scan_idt(struct xilly_endpoint *endpoint, argument
593 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr;
594 unsigned char *end_of_idt = idt + endpoint->idtlen - 4;
612 dev_err(endpoint->dev,
618 len = endpoint->idtlen - (3 + ((int) (scan - idt)));
621 dev_err(endpoint
632 xilly_obtain_idt(struct xilly_endpoint *endpoint) argument
1431 struct xilly_endpoint *endpoint; local
1807 struct xilly_endpoint *endpoint; local
1825 xilly_quiesce(struct xilly_endpoint *endpoint) argument
1845 xillybus_endpoint_discovery(struct xilly_endpoint *endpoint) argument
1961 xillybus_endpoint_remove(struct xilly_endpoint *endpoint) argument
[all...]
H A Dxillybus.h45 struct xilly_endpoint *endpoint; member in struct:xilly_channel
122 int xillybus_endpoint_discovery(struct xilly_endpoint *endpoint);
124 void xillybus_endpoint_remove(struct xilly_endpoint *endpoint);
/linux-master/drivers/net/ipa/
H A Dipa_endpoint.c252 if (data->endpoint.filter_support) {
254 "RX endpoint %u\n",
263 rx_config = &data->endpoint.config.rx;
269 dev_err(dev, "RX buffer size too small for RX endpoint %u (%u < %u)\n",
274 if (!data->endpoint.config.aggregation) {
280 "time limit with no aggregation for RX endpoint %u\n",
286 dev_err(dev, "hard limit with no aggregation for RX endpoint %u\n",
292 dev_err(dev, "close EOF with no aggregation for RX endpoint %u\n",
300 /* For an endpoint supporting receive aggregation, the byte
312 dev_err(dev, "aggregated size too large for RX endpoint
433 ipa_endpoint_trans_alloc(struct ipa_endpoint *endpoint, u32 tre_count) argument
450 ipa_endpoint_init_ctrl(struct ipa_endpoint *endpoint, bool suspend_delay) argument
485 ipa_endpoint_program_delay(struct ipa_endpoint *endpoint, bool enable) argument
494 ipa_endpoint_aggr_active(struct ipa_endpoint *endpoint) argument
510 ipa_endpoint_force_close(struct ipa_endpoint *endpoint) argument
533 ipa_endpoint_suspend_aggr(struct ipa_endpoint *endpoint) argument
552 ipa_endpoint_program_suspend(struct ipa_endpoint *endpoint, bool enable) argument
583 struct ipa_endpoint *endpoint = &ipa->endpoint[endpoint_id++]; local
618 struct ipa_endpoint *endpoint; local
646 ipa_endpoint_init_cfg(struct ipa_endpoint *endpoint) argument
683 ipa_endpoint_init_nat(struct ipa_endpoint *endpoint) argument
700 ipa_qmap_header_size(enum ipa_version version, struct ipa_endpoint *endpoint) argument
785 ipa_endpoint_init_hdr(struct ipa_endpoint *endpoint) argument
829 ipa_endpoint_init_hdr_ext(struct ipa_endpoint *endpoint) argument
881 ipa_endpoint_init_hdr_metadata_mask(struct ipa_endpoint *endpoint) argument
902 ipa_endpoint_init_mode(struct ipa_endpoint *endpoint) argument
996 ipa_endpoint_init_aggr(struct ipa_endpoint *endpoint) argument
1110 ipa_endpoint_init_hol_block_timer(struct ipa_endpoint *endpoint, u32 microseconds) argument
1126 ipa_endpoint_init_hol_block_en(struct ipa_endpoint *endpoint, bool enable) argument
1146 ipa_endpoint_init_hol_block_enable(struct ipa_endpoint *endpoint, u32 microseconds) argument
1153 ipa_endpoint_init_hol_block_disable(struct ipa_endpoint *endpoint) argument
1163 struct ipa_endpoint *endpoint = &ipa->endpoint[endpoint_id++]; local
1173 ipa_endpoint_init_deaggr(struct ipa_endpoint *endpoint) argument
1192 ipa_endpoint_init_rsrc_grp(struct ipa_endpoint *endpoint) argument
1206 ipa_endpoint_init_seq(struct ipa_endpoint *endpoint) argument
1236 ipa_endpoint_skb_tx(struct ipa_endpoint *endpoint, struct sk_buff *skb) argument
1272 ipa_endpoint_status(struct ipa_endpoint *endpoint) argument
1300 ipa_endpoint_replenish_one(struct ipa_endpoint *endpoint, struct gsi_trans *trans) argument
1338 ipa_endpoint_replenish(struct ipa_endpoint *endpoint) argument
1380 ipa_endpoint_replenish_enable(struct ipa_endpoint *endpoint) argument
1389 ipa_endpoint_replenish_disable(struct ipa_endpoint *endpoint) argument
1397 struct ipa_endpoint *endpoint; local
1404 ipa_endpoint_skb_copy(struct ipa_endpoint *endpoint, void *data, u32 len, u32 extra) argument
1423 ipa_endpoint_skb_build(struct ipa_endpoint *endpoint, struct page *page, u32 len) argument
1465 ipa_endpoint_status_skip(struct ipa_endpoint *endpoint, const void *data) argument
1483 ipa_endpoint_status_tag_valid(struct ipa_endpoint *endpoint, const void *data) argument
1513 ipa_endpoint_status_drop(struct ipa_endpoint *endpoint, const void *data) argument
1534 ipa_endpoint_status_parse(struct ipa_endpoint *endpoint, struct page *page, u32 total_len) argument
1597 ipa_endpoint_trans_complete(struct ipa_endpoint *endpoint, struct gsi_trans *trans) argument
1618 ipa_endpoint_trans_release(struct ipa_endpoint *endpoint, struct gsi_trans *trans) argument
1670 ipa_endpoint_reset_rx_aggr(struct ipa_endpoint *endpoint) argument
1756 ipa_endpoint_reset(struct ipa_endpoint *endpoint) argument
1780 ipa_endpoint_program(struct ipa_endpoint *endpoint) argument
1814 ipa_endpoint_enable_one(struct ipa_endpoint *endpoint) argument
1840 ipa_endpoint_disable_one(struct ipa_endpoint *endpoint) argument
1864 ipa_endpoint_suspend_one(struct ipa_endpoint *endpoint) argument
1884 ipa_endpoint_resume_one(struct ipa_endpoint *endpoint) argument
1928 ipa_endpoint_setup_one(struct ipa_endpoint *endpoint) argument
1953 ipa_endpoint_teardown_one(struct ipa_endpoint *endpoint) argument
2056 struct ipa_endpoint *endpoint; local
2094 struct ipa_endpoint *endpoint; local
2112 ipa_endpoint_exit_one(struct ipa_endpoint *endpoint) argument
[all...]
H A Dipa_gsi.c34 struct ipa_endpoint *endpoint; local
36 endpoint = ipa->channel_map[channel_id];
37 if (endpoint->netdev)
38 netdev_sent_queue(endpoint->netdev, byte_count);
45 struct ipa_endpoint *endpoint; local
47 endpoint = ipa->channel_map[channel_id];
48 if (endpoint->netdev)
49 netdev_completed_queue(endpoint->netdev, count, byte_count);
52 /* Indicate whether an endpoint config data entry is "empty" */
H A Dipa_endpoint.h47 * @status_endpoint: endpoint to which status elements are sent
49 * The @status_endpoint is only valid if the endpoint's @status_enable
99 * struct ipa_endpoint_config - IPA endpoint hardware configuration
100 * @resource_group: resource group to assign endpoint to
102 * @qmap: whether endpoint uses QMAP protocol
103 * @aggregation: whether endpoint supports aggregation
104 * @status_enable: whether endpoint uses status elements
105 * @dma_mode: whether endpoint operates in DMA mode
106 * @dma_endpoint: peer endpoint, if operating in DMA mode
107 * @tx: TX-specific endpoint informatio
[all...]
H A Dipa_table.c48 * Each filter rule is associated with an AP or modem TX endpoint, though
55 * each set bit represents an endpoint for which a filter rule is defined.
58 * removed starting at IPA v5.0. For IPA v5.0+, the endpoint bitmap
59 * position defines the endpoint ID--i.e. if bit 1 is set in the endpoint
60 * bitmap, endpoint 1 has a filter rule. Older versions of IPA represent
61 * the presence of a filter rule for endpoint X by bit (X + 1) being set.
62 * I.e., bit 1 set indicates the presence of a filter rule for endpoint 0,
63 * and bit 3 set means there is a filter rule present for endpoint 2.
66 * implement a filter rule. So following the endpoint bitma
250 struct ipa_endpoint *endpoint; local
494 ipa_filter_tuple_zero(struct ipa_endpoint *endpoint) argument
533 struct ipa_endpoint *endpoint; local
[all...]
/linux-master/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
246 struct htc_endpoint *endpoint; local
336 struct htc_endpoint *endpoint; local
408 struct htc_endpoint *endpoint; local
496 struct htc_endpoint *endpoint; local
[all...]
/linux-master/drivers/net/wireguard/
H A Dsocket.c21 struct endpoint *endpoint, u8 ds, struct dst_cache *cache)
24 .saddr = endpoint->src4.s_addr,
25 .daddr = endpoint->addr4.sin_addr.s_addr,
26 .fl4_dport = endpoint->addr4.sin_port,
55 endpoint->src4.s_addr = 0;
56 endpoint->src_if4 = 0;
62 if (unlikely(endpoint->src_if4 && ((IS_ERR(rt) &&
64 rt->dst.dev->ifindex != endpoint->src_if4)))) {
65 endpoint
20 send4(struct wg_device *wg, struct sk_buff *skb, struct endpoint *endpoint, u8 ds, struct dst_cache *cache) argument
97 send6(struct wg_device *wg, struct sk_buff *skb, struct endpoint *endpoint, u8 ds, struct dst_cache *cache) argument
209 struct endpoint endpoint; local
235 wg_socket_endpoint_from_skb(struct endpoint *endpoint, const struct sk_buff *skb) argument
273 wg_socket_set_peer_endpoint(struct wg_peer *peer, const struct endpoint *endpoint) argument
302 struct endpoint endpoint; local
[all...]
H A Dsocket.h25 int wg_socket_endpoint_from_skb(struct endpoint *endpoint,
28 const struct endpoint *endpoint);
35 struct endpoint __endpoint; \
H A Dpeer.h21 struct endpoint { struct
44 struct endpoint endpoint; member in struct:wg_peer
/linux-master/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
407 htc_tx_comp_update(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *packet) argument
437 htc_tx_complete(struct htc_endpoint *endpoint, struct list_head *txq) argument
453 struct htc_endpoint *endpoint = &target->endpoint[packet->endpoint]; local
469 struct htc_endpoint *endpoint; local
598 ath6kl_htc_tx_pkts_get(struct htc_target *target, struct htc_endpoint *endpoint, struct list_head *queue) argument
678 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
754 ath6kl_htc_tx_bundle(struct htc_endpoint *endpoint, struct list_head *queue, int *sent_bundle, int *n_bundle_pkts) argument
857 ath6kl_htc_tx_from_queue(struct htc_target *target, struct htc_endpoint *endpoint) argument
964 ath6kl_htc_tx_try(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *tx_pkt) argument
1006 struct htc_endpoint *endpoint; local
1096 struct htc_endpoint *endpoint; local
1123 struct htc_endpoint *endpoint; local
1154 struct htc_endpoint *endpoint = &target->endpoint[eid]; local
1190 struct htc_endpoint *endpoint; local
1208 struct htc_endpoint *endpoint = &target->endpoint[eid]; local
1251 ath6kl_htc_rx_update_stats(struct htc_endpoint *endpoint, int n_look_ahds) argument
1335 ath6kl_htc_rx_set_indicate(u32 lk_ahd, struct htc_endpoint *endpoint, struct htc_packet *packet) argument
1348 ath6kl_htc_rx_chk_water_mark(struct htc_endpoint *endpoint) argument
1468 ath6kl_htc_rx_alloc(struct htc_target *target, u32 lk_ahds[], int msg, struct htc_endpoint *endpoint, struct list_head *queue) argument
1596 struct htc_endpoint *endpoint; local
1669 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
1749 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
1899 ath6kl_htc_rx_complete(struct htc_endpoint *endpoint, struct htc_packet *packet) argument
2144 struct htc_endpoint *endpoint; local
2319 struct htc_endpoint *endpoint; local
2380 struct htc_endpoint *endpoint; local
2428 struct htc_endpoint *endpoint; local
2572 struct htc_endpoint *endpoint; local
2593 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.h195 TP_PROTO(int status, int endpoint, void *buf,
198 TP_ARGS(status, endpoint, buf, buf_len),
202 __field(int, endpoint)
209 __entry->endpoint = endpoint;
215 "status %d endpoint %d len %zd\n",
217 __entry->endpoint,
223 TP_PROTO(int status, int endpoint, void *buf,
226 TP_ARGS(status, endpoint, buf, buf_len),
230 __field(int, endpoint)
[all...]
H A Dhtc.h104 /* more packets on this endpoint are being fetched */
112 /* enable send bundle padding for this endpoint */
257 /* ------ endpoint IDS ------ */
288 /* wrapper around endpoint-specific packets */
317 /* endpoint that this packet was sent/recv'd from */
318 enum htc_endpoint_id endpoint; member in struct:htc_packet
348 void (*rx_refill) (struct htc_target *, enum htc_endpoint_id endpoint);
372 enum htc_endpoint_id endpoint; member in struct:htc_service_connect_resp
377 /* endpoint distributionstructure */
384 /* endpoint fo
385 enum htc_endpoint_id endpoint; member in struct:htc_endpoint_credit_dist
585 struct htc_endpoint endpoint[ENDPOINT_MAX]; member in struct:htc_target
[all...]
/linux-master/include/drm/
H A Ddrm_of.h48 struct of_endpoint *endpoint);
50 int port, int endpoint,
56 int drm_of_get_data_lanes_count(const struct device_node *endpoint,
93 struct of_endpoint *endpoint)
98 int port, int endpoint,
119 drm_of_get_data_lanes_count(const struct device_node *endpoint, argument
149 * Remove the panel bridge of a given DT node's port and endpoint number
154 int port, int endpoint)
160 remote = of_graph_get_remote_node(np, port, endpoint);
176 struct of_endpoint endpoint; local
91 drm_of_encoder_active_endpoint(struct device_node *node, struct drm_encoder *encoder, struct of_endpoint *endpoint) argument
97 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) argument
153 drm_of_panel_bridge_remove(const struct device_node *np, int port, int endpoint) argument
186 struct of_endpoint endpoint; local
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_of.c151 * For bound crtcs, bind the encoders attached to their remote endpoint
187 * drm_of_encoder_active_endpoint - return the active encoder endpoint
192 * parse the encoder endpoint connecting to the crtc port.
196 struct of_endpoint *endpoint)
210 ret = of_graph_parse_endpoint(ep, endpoint);
224 * @endpoint: endpoint in the device tree node
228 * Given a DT node's port and endpoint number, find the connected node and
238 int port, int endpoint,
259 remote = of_graph_get_remote_node(np, port, endpoint);
194 drm_of_encoder_active_endpoint(struct device_node *node, struct drm_encoder *encoder, struct of_endpoint *endpoint) argument
237 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) argument
307 struct device_node *endpoint = NULL; local
450 drm_of_get_data_lanes_count(const struct device_node *endpoint, const unsigned int min, const unsigned int max) argument
487 struct device_node *endpoint; local
514 struct device_node *endpoint, *dsi_host_node; local
[all...]
/linux-master/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_output.c67 static int atmel_hlcdc_attach_endpoint(struct drm_device *dev, int endpoint) argument
75 ep = of_graph_get_endpoint_by_regs(dev->dev->of_node, 0, endpoint);
79 ret = drm_of_find_panel_or_bridge(dev->dev->of_node, 0, endpoint,
95 dev_err(dev->dev, "endpoint %d: invalid bus width\n", endpoint);
129 int endpoint, ret = 0; local
136 for (endpoint = 0; !ret || endpoint < 4; endpoint++) {
137 ret = atmel_hlcdc_attach_endpoint(dev, endpoint);
[all...]
/linux-master/include/linux/
H A Dof_graph.h18 * struct of_endpoint - the OF graph endpoint data structure
19 * @port: identifier (value of reg property) of a port this endpoint belongs to
20 * @id: identifier (value of reg property) of this endpoint
21 * @local_node: pointer to device_node of this endpoint
30 * for_each_endpoint_of_node - iterate over every endpoint in a device node
32 * @child: loop variable pointing to the current endpoint node
43 struct of_endpoint *endpoint);
57 u32 port, u32 endpoint);
66 struct of_endpoint *endpoint)
120 u32 port, u32 endpoint)
65 of_graph_parse_endpoint(const struct device_node *node, struct of_endpoint *endpoint) argument
118 of_graph_get_remote_node( const struct device_node *node, u32 port, u32 endpoint) argument
[all...]
/linux-master/include/linux/soc/apple/
H A Drtkit.h43 * on a non-system endpoint. Called from a worker thread.
60 void (*recv_message)(void *cookie, u8 endpoint, u64 message);
61 bool (*recv_message_early)(void *cookie, u8 endpoint, u64 message);
144 * Starts an endpoint. Must be called after boot but before any messages can be
145 * sent or received from that endpoint.
147 int apple_rtkit_start_ep(struct apple_rtkit *rtk, u8 endpoint);
150 * Send a message to the given endpoint.
153 * @ep: target endpoint
/linux-master/drivers/usb/storage/
H A Duas-detect.h31 struct usb_host_endpoint *endpoint = alt->endpoint; local
35 unsigned char *extra = endpoint[i].extra;
36 int len = endpoint[i].extralen;
41 eps[pipe_id - 1] = &endpoint[i];
/linux-master/drivers/usb/core/
H A Dendpoint.c3 * drivers/usb/core/endpoint.c
150 struct usb_host_endpoint *endpoint,
162 ep_dev->desc = &endpoint->desc;
167 dev_set_name(&ep_dev->dev, "ep_%02x", endpoint->desc.bEndpointAddress);
174 endpoint->ep_dev = ep_dev;
183 void usb_remove_ep_devs(struct usb_host_endpoint *endpoint) argument
185 struct ep_device *ep_dev = endpoint->ep_dev;
189 endpoint->ep_dev = NULL;
149 usb_create_ep_devs(struct device *parent, struct usb_host_endpoint *endpoint, struct usb_device *udev) argument
/linux-master/include/uapi/linux/
H A Dvirtio_iommu.h77 __le32 endpoint; member in struct:virtio_iommu_req_attach
86 __le32 endpoint; member in struct:virtio_iommu_req_detach
141 __le32 endpoint; member in struct:virtio_iommu_req_probe
166 __le32 endpoint; member in struct:virtio_iommu_fault
/linux-master/drivers/gpu/drm/rockchip/
H A Drockchip_rgb.c79 struct device_node *port, *endpoint; local
97 for_each_child_of_node(port, endpoint) {
98 if (of_property_read_u32(endpoint, "reg", &endpoint_id))
102 if (rockchip_drm_endpoint_is_subdriver(endpoint) != 0)
109 of_node_put(endpoint);

Completed in 491 milliseconds

1234567891011>>