/drivers/net/ipa/ |
D | ipa_endpoint.c | 114 if (data->endpoint.filter_support) { in ipa_endpoint_data_valid_one() 124 if (data->endpoint.config.status_enable) { in ipa_endpoint_data_valid_one() 125 other_name = data->endpoint.config.tx.status_endpoint; in ipa_endpoint_data_valid_one() 153 if (!other_data->endpoint.config.status_enable) { in ipa_endpoint_data_valid_one() 162 if (data->endpoint.config.dma_mode) { in ipa_endpoint_data_valid_one() 163 other_name = data->endpoint.config.dma_endpoint; in ipa_endpoint_data_valid_one() 234 static struct gsi_trans *ipa_endpoint_trans_alloc(struct ipa_endpoint *endpoint, in ipa_endpoint_trans_alloc() argument 237 struct gsi *gsi = &endpoint->ipa->gsi; in ipa_endpoint_trans_alloc() 238 u32 channel_id = endpoint->channel_id; in ipa_endpoint_trans_alloc() 241 direction = endpoint->toward_ipa ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in ipa_endpoint_trans_alloc() [all …]
|
D | ipa_gsi.c | 33 struct ipa_endpoint *endpoint; in ipa_gsi_channel_tx_queued() local 35 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_queued() 36 if (endpoint->netdev) in ipa_gsi_channel_tx_queued() 37 netdev_sent_queue(endpoint->netdev, byte_count); in ipa_gsi_channel_tx_queued() 44 struct ipa_endpoint *endpoint; in ipa_gsi_channel_tx_completed() local 46 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_completed() 47 if (endpoint->netdev) in ipa_gsi_channel_tx_completed() 48 netdev_completed_queue(endpoint->netdev, count, byte_count); in ipa_gsi_channel_tx_completed()
|
D | ipa_endpoint.h | 89 int ipa_endpoint_skb_tx(struct ipa_endpoint *endpoint, struct sk_buff *skb); 91 void ipa_endpoint_exit_one(struct ipa_endpoint *endpoint); 93 int ipa_endpoint_enable_one(struct ipa_endpoint *endpoint); 94 void ipa_endpoint_disable_one(struct ipa_endpoint *endpoint); 96 void ipa_endpoint_suspend_one(struct ipa_endpoint *endpoint); 97 void ipa_endpoint_resume_one(struct ipa_endpoint *endpoint);
|
/drivers/net/wireguard/ |
D | socket.c | 21 struct endpoint *endpoint, u8 ds, struct dst_cache *cache) in send4() argument 24 .saddr = endpoint->src4.s_addr, in send4() 25 .daddr = endpoint->addr4.sin_addr.s_addr, in send4() 26 .fl4_dport = endpoint->addr4.sin_port, in send4() 55 endpoint->src4.s_addr = 0; in send4() 56 *(__force __be32 *)&endpoint->src_if4 = 0; in send4() 62 if (unlikely(endpoint->src_if4 && ((IS_ERR(rt) && in send4() 64 rt->dst.dev->ifindex != endpoint->src_if4)))) { in send4() 65 endpoint->src4.s_addr = 0; in send4() 66 *(__force __be32 *)&endpoint->src_if4 = 0; in send4() [all …]
|
D | socket.h | 25 int wg_socket_endpoint_from_skb(struct endpoint *endpoint, 28 const struct endpoint *endpoint); 35 struct endpoint __endpoint; \
|
/drivers/char/xillybus/ |
D | xillybus_core.c | 101 static void malformed_message(struct xilly_endpoint *endpoint, u32 *buf) in malformed_message() argument 112 dev_warn(endpoint->dev, in malformed_message() 474 channel->endpoint = ep; in xilly_setupchannels() 564 static int xilly_scan_idt(struct xilly_endpoint *endpoint, in xilly_scan_idt() argument 568 unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr; in xilly_scan_idt() 569 unsigned char *end_of_idt = idt + endpoint->idtlen - 4; in xilly_scan_idt() 587 dev_err(endpoint->dev, in xilly_scan_idt() 593 len = endpoint->idtlen - (3 + ((int) (scan - idt))); in xilly_scan_idt() 596 dev_err(endpoint->dev, in xilly_scan_idt() 602 endpoint->num_channels = count; in xilly_scan_idt() [all …]
|
D | xillybus_pcie.c | 130 struct xilly_endpoint *endpoint; in xilly_probe() local 133 endpoint = xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw); in xilly_probe() 135 if (!endpoint) in xilly_probe() 138 pci_set_drvdata(pdev, endpoint); in xilly_probe() 142 dev_err(endpoint->dev, in xilly_probe() 152 dev_err(endpoint->dev, in xilly_probe() 159 dev_err(endpoint->dev, in xilly_probe() 164 endpoint->registers = pcim_iomap_table(pdev)[0]; in xilly_probe() 170 dev_err(endpoint->dev, in xilly_probe() 175 xillyname, endpoint); in xilly_probe() [all …]
|
D | xillybus_of.c | 116 struct xilly_endpoint *endpoint; in xilly_drv_probe() local 124 endpoint = xillybus_init_endpoint(NULL, dev, ephw); in xilly_drv_probe() 126 if (!endpoint) in xilly_drv_probe() 129 dev_set_drvdata(dev, endpoint); in xilly_drv_probe() 131 endpoint->registers = devm_platform_ioremap_resource(op, 0); in xilly_drv_probe() 132 if (IS_ERR(endpoint->registers)) in xilly_drv_probe() 133 return PTR_ERR(endpoint->registers); in xilly_drv_probe() 137 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint); in xilly_drv_probe() 140 dev_err(endpoint->dev, in xilly_drv_probe() 145 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 | 195 TP_PROTO(int status, int endpoint, void *buf, 198 TP_ARGS(status, endpoint, buf, buf_len), 202 __field(int, endpoint) 209 __entry->endpoint = endpoint; 217 __entry->endpoint, 223 TP_PROTO(int status, int endpoint, void *buf, 226 TP_ARGS(status, endpoint, buf, buf_len), 230 __field(int, endpoint) 237 __entry->endpoint = endpoint; 245 __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() 243 htc_hdr->eid = (u8) packet->endpoint; in htc_issue_packets() 672 ep = &target->endpoint[rpt->eid]; in htc_process_credit_report() 755 ep = &target->endpoint[ep_id]; in ath6kl_htc_pipe_tx_complete() 792 if (packet->endpoint >= ENDPOINT_MAX) { in htc_send_packets_multiple() 796 ep = &target->endpoint[packet->endpoint]; in htc_send_packets_multiple() 982 ep = &target->endpoint[htc_hdr->eid]; in ath6kl_htc_pipe_rx_complete() 1070 packet->endpoint = htc_hdr->eid; in ath6kl_htc_pipe_rx_complete() 1118 packet->endpoint); in htc_flush_rx_queue() 1165 if (packet->endpoint == ENDPOINT_0 && in htc_rxctrl_complete() [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/gpu/drm/rcar-du/ |
D | rcar_du_of_lvds_r8a7790.dts | 25 lvds0_input: endpoint { 30 lvds0_out: endpoint { 46 lvds1_input: endpoint { 51 lvds1_out: endpoint { 60 endpoint { 61 remote-endpoint = <&lvds0_input>; 65 endpoint { 66 remote-endpoint = <&lvds1_input>;
|
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_output.c | 66 static int atmel_hlcdc_attach_endpoint(struct drm_device *dev, int endpoint) in atmel_hlcdc_attach_endpoint() argument 74 ep = of_graph_get_endpoint_by_regs(dev->dev->of_node, 0, endpoint); in atmel_hlcdc_attach_endpoint() 78 ret = drm_of_find_panel_or_bridge(dev->dev->of_node, 0, endpoint, in atmel_hlcdc_attach_endpoint() 94 dev_err(dev->dev, "endpoint %d: invalid bus width\n", endpoint); in atmel_hlcdc_attach_endpoint() 128 int endpoint, ret = 0; in atmel_hlcdc_create_outputs() local 135 for (endpoint = 0; !ret || endpoint < 4; endpoint++) { in atmel_hlcdc_create_outputs() 136 ret = atmel_hlcdc_attach_endpoint(dev, endpoint); in atmel_hlcdc_create_outputs()
|
/drivers/pci/endpoint/ |
D | Kconfig | 13 endpoint. This should be enabled if the platform has a PCI 14 controller that can operate in endpoint mode. 16 Enabling this option will build the endpoint library, which 17 includes endpoint controller library and endpoint function 28 configure the endpoint function and used to bind the 29 function with a endpoint controller. 31 source "drivers/pci/endpoint/functions/Kconfig"
|
/drivers/gpu/drm/ |
D | drm_of.c | 198 struct of_endpoint *endpoint) in drm_of_encoder_active_endpoint() argument 212 ret = of_graph_parse_endpoint(ep, endpoint); in drm_of_encoder_active_endpoint() 237 int port, int endpoint, in drm_of_find_panel_or_bridge() argument 258 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_find_panel_or_bridge() 306 struct device_node *endpoint = NULL; in drm_of_lvds_get_remote_pixels_type() local 309 for_each_child_of_node(port_node, endpoint) { in drm_of_lvds_get_remote_pixels_type() 313 if (!of_node_name_eq(endpoint, "endpoint")) in drm_of_lvds_get_remote_pixels_type() 316 remote_port = of_graph_get_remote_port(endpoint); in drm_of_lvds_get_remote_pixels_type() 318 of_node_put(endpoint); in drm_of_lvds_get_remote_pixels_type() 335 of_node_put(endpoint); in drm_of_lvds_get_remote_pixels_type()
|
/drivers/net/wireless/ath/ath10k/ |
D | usb.c | 287 ep = &ar->htc.endpoint[htc_hdr->eid]; in ath10k_usb_tx_complete() 304 ep = &ar->htc.endpoint[eid]; in ath10k_usb_rx_complete() 820 struct usb_endpoint_descriptor *endpoint; in ath10k_usb_setup_pipe_resources() local 829 endpoint = &iface_desc->endpoint[i].desc; in ath10k_usb_setup_pipe_resources() 831 if (ATH10K_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources() 835 (endpoint->bEndpointAddress) ? in ath10k_usb_setup_pipe_resources() 836 "rx" : "tx", endpoint->bEndpointAddress, in ath10k_usb_setup_pipe_resources() 837 le16_to_cpu(endpoint->wMaxPacketSize)); in ath10k_usb_setup_pipe_resources() 838 } else if (ATH10K_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources() 842 (endpoint->bEndpointAddress) ? in ath10k_usb_setup_pipe_resources() [all …]
|
/drivers/gpu/drm/bridge/ |
D | thc63lvd1024.c | 123 struct device_node *endpoint; in thc63_parse_dt() local 126 endpoint = of_graph_get_endpoint_by_regs(thc63->dev->of_node, in thc63_parse_dt() 128 if (!endpoint) { in thc63_parse_dt() 134 remote = of_graph_get_remote_port_parent(endpoint); in thc63_parse_dt() 135 of_node_put(endpoint); in thc63_parse_dt() 154 endpoint = of_graph_get_endpoint_by_regs(thc63->dev->of_node, in thc63_parse_dt() 156 if (endpoint) { in thc63_parse_dt() 157 remote = of_graph_get_remote_port_parent(endpoint); in thc63_parse_dt() 158 of_node_put(endpoint); in thc63_parse_dt()
|
/drivers/base/ |
D | property.c | 1044 fwnode_graph_get_port_parent(const struct fwnode_handle *endpoint) in fwnode_graph_get_port_parent() argument 1048 port = fwnode_get_parent(endpoint); in fwnode_graph_get_port_parent() 1066 struct fwnode_handle *endpoint, *parent; in fwnode_graph_get_remote_port_parent() local 1068 endpoint = fwnode_graph_get_remote_endpoint(fwnode); in fwnode_graph_get_remote_port_parent() 1069 parent = fwnode_graph_get_port_parent(endpoint); in fwnode_graph_get_remote_port_parent() 1071 fwnode_handle_put(endpoint); in fwnode_graph_get_remote_port_parent() 1116 struct fwnode_handle *endpoint = NULL; in fwnode_graph_get_remote_node() local 1118 while ((endpoint = fwnode_graph_get_next_endpoint(fwnode, endpoint))) { in fwnode_graph_get_remote_node() 1123 ret = fwnode_graph_parse_endpoint(endpoint, &fwnode_ep); in fwnode_graph_get_remote_node() 1130 remote = fwnode_graph_get_remote_port_parent(endpoint); in fwnode_graph_get_remote_node() [all …]
|
/drivers/of/ |
D | property.c | 575 struct of_endpoint *endpoint) in of_graph_parse_endpoint() argument 582 memset(endpoint, 0, sizeof(*endpoint)); in of_graph_parse_endpoint() 584 endpoint->local_node = node; in of_graph_parse_endpoint() 589 of_property_read_u32(port_node, "reg", &endpoint->port); in of_graph_parse_endpoint() 590 of_property_read_u32(node, "reg", &endpoint->id); in of_graph_parse_endpoint() 641 struct device_node *endpoint; in of_graph_get_next_endpoint() local 679 endpoint = of_get_next_child(port, prev); in of_graph_get_next_endpoint() 680 if (endpoint) { in of_graph_get_next_endpoint() 682 return endpoint; in of_graph_get_next_endpoint() 710 struct of_endpoint endpoint; in of_graph_get_endpoint_by_regs() local [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 44 u8 endpoint) in rsi_usb_card_write() argument 50 int ep = dev->bulkout_endpoint_addr[endpoint - 1]; in rsi_usb_card_write() 82 u8 endpoint, in rsi_write_multiple() argument 91 if (endpoint == 0) in rsi_write_multiple() 98 return rsi_usb_card_write(adapter, data, count, endpoint); in rsi_write_multiple() 114 struct usb_endpoint_descriptor *endpoint; in rsi_find_bulk_in_and_out_endpoints() local 121 endpoint = &(iface_desc->endpoint[ii].desc); in rsi_find_bulk_in_and_out_endpoints() 124 (endpoint->bEndpointAddress & USB_DIR_IN) && in rsi_find_bulk_in_and_out_endpoints() 125 ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in rsi_find_bulk_in_and_out_endpoints() 127 buffer_size = endpoint->wMaxPacketSize; in rsi_find_bulk_in_and_out_endpoints() [all …]
|
/drivers/usb/core/ |
D | endpoint.c | 150 struct usb_host_endpoint *endpoint, in usb_create_ep_devs() argument 162 ep_dev->desc = &endpoint->desc; in usb_create_ep_devs() 167 dev_set_name(&ep_dev->dev, "ep_%02x", endpoint->desc.bEndpointAddress); in usb_create_ep_devs() 174 endpoint->ep_dev = ep_dev; in usb_create_ep_devs() 183 void usb_remove_ep_devs(struct usb_host_endpoint *endpoint) in usb_remove_ep_devs() argument 185 struct ep_device *ep_dev = endpoint->ep_dev; in usb_remove_ep_devs() 189 endpoint->ep_dev = NULL; in usb_remove_ep_devs()
|
/drivers/hwtracing/coresight/ |
D | coresight-platform.c | 90 struct of_endpoint endpoint; in of_coresight_get_ports_legacy() local 104 if (of_graph_parse_endpoint(ep, &endpoint)) in of_coresight_get_ports_legacy() 108 in = (endpoint.port + 1 > in) ? in of_coresight_get_ports_legacy() 109 endpoint.port + 1 : in; in of_coresight_get_ports_legacy() 111 out = (endpoint.port + 1) > out ? in of_coresight_get_ports_legacy() 112 endpoint.port + 1 : out; in of_coresight_get_ports_legacy() 153 struct of_endpoint endpoint; in of_coresight_count_ports() local 157 if (of_graph_parse_endpoint(ep, &endpoint)) in of_coresight_count_ports() 159 if (endpoint.port + 1 > i) in of_coresight_count_ports() 160 i = endpoint.port + 1; in of_coresight_count_ports() [all …]
|