Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 25 of 67) sorted by relevance

123

/linux-4.19.296/drivers/char/xillybus/
Dxillybus_core.c104 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 …]
Dxillybus_pcie.c134 struct xilly_endpoint *endpoint; in xilly_probe() local
137 endpoint = xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw); in xilly_probe()
139 if (!endpoint) in xilly_probe()
142 pci_set_drvdata(pdev, endpoint); in xilly_probe()
146 dev_err(endpoint->dev, in xilly_probe()
156 dev_err(endpoint->dev, in xilly_probe()
163 dev_err(endpoint->dev, in xilly_probe()
168 endpoint->registers = pcim_iomap_table(pdev)[0]; in xilly_probe()
174 dev_err(endpoint->dev, in xilly_probe()
179 xillyname, endpoint); in xilly_probe()
[all …]
Dxillybus_of.c119 struct xilly_endpoint *endpoint; in xilly_drv_probe() local
128 endpoint = xillybus_init_endpoint(NULL, dev, ephw); in xilly_drv_probe()
130 if (!endpoint) in xilly_drv_probe()
133 dev_set_drvdata(dev, endpoint); in xilly_drv_probe()
136 endpoint->registers = devm_ioremap_resource(dev, res); in xilly_drv_probe()
138 if (IS_ERR(endpoint->registers)) in xilly_drv_probe()
139 return PTR_ERR(endpoint->registers); in xilly_drv_probe()
143 rc = devm_request_irq(dev, irq, xillybus_isr, 0, xillyname, endpoint); in xilly_drv_probe()
146 dev_err(endpoint->dev, in xilly_drv_probe()
151 return xillybus_endpoint_discovery(endpoint); in xilly_drv_probe()
[all …]
Dxillybus.h47 struct xilly_endpoint *endpoint; member
156 int xillybus_endpoint_discovery(struct xilly_endpoint *endpoint);
158 void xillybus_endpoint_remove(struct xilly_endpoint *endpoint);
/linux-4.19.296/include/drm/
Ddrm_of.h33 struct of_endpoint *endpoint);
35 int port, int endpoint,
69 struct of_endpoint *endpoint) in drm_of_encoder_active_endpoint() argument
74 int port, int endpoint, in drm_of_find_panel_or_bridge() argument
91 int port, int endpoint) in drm_of_panel_bridge_remove() argument
97 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_panel_bridge_remove()
113 struct of_endpoint endpoint; in drm_of_encoder_active_endpoint_id() local
115 &endpoint); in drm_of_encoder_active_endpoint_id()
117 return ret ?: endpoint.id; in drm_of_encoder_active_endpoint_id()
123 struct of_endpoint endpoint; in drm_of_encoder_active_port_id() local
[all …]
/linux-4.19.296/drivers/pci/endpoint/
DKconfig13 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"
/linux-4.19.296/drivers/of/
Dproperty.c532 struct of_endpoint *endpoint) in of_graph_parse_endpoint() argument
539 memset(endpoint, 0, sizeof(*endpoint)); in of_graph_parse_endpoint()
541 endpoint->local_node = node; in of_graph_parse_endpoint()
546 of_property_read_u32(port_node, "reg", &endpoint->port); in of_graph_parse_endpoint()
547 of_property_read_u32(node, "reg", &endpoint->id); in of_graph_parse_endpoint()
598 struct device_node *endpoint; in of_graph_get_next_endpoint() local
636 endpoint = of_get_next_child(port, prev); in of_graph_get_next_endpoint()
637 if (endpoint) { in of_graph_get_next_endpoint()
639 return endpoint; in of_graph_get_next_endpoint()
667 struct of_endpoint endpoint; in of_graph_get_endpoint_by_regs() local
[all …]
/linux-4.19.296/include/linux/
Dof_graph.h42 struct of_endpoint *endpoint);
56 u32 port, u32 endpoint);
60 struct of_endpoint *endpoint) in of_graph_parse_endpoint() argument
114 u32 port, u32 endpoint) in of_graph_get_remote_node() argument
Dusb.h91 struct usb_host_endpoint *endpoint; member
1926 unsigned int endpoint) in __create_pipe() argument
1928 return (dev->devnum << 8) | (endpoint << 15); in __create_pipe()
1932 #define usb_sndctrlpipe(dev, endpoint) \ argument
1933 ((PIPE_CONTROL << 30) | __create_pipe(dev, endpoint))
1934 #define usb_rcvctrlpipe(dev, endpoint) \ argument
1935 ((PIPE_CONTROL << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN)
1936 #define usb_sndisocpipe(dev, endpoint) \ argument
1937 ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev, endpoint))
1938 #define usb_rcvisocpipe(dev, endpoint) \ argument
[all …]
Dusbdevice_fs.h61 unsigned char endpoint; member
/linux-4.19.296/drivers/hid/usbhid/
Dusbmouse.c122 struct usb_endpoint_descriptor *endpoint; in usb_mouse_probe() local
133 endpoint = &interface->endpoint[0].desc; in usb_mouse_probe()
134 if (!usb_endpoint_is_int_in(endpoint)) in usb_mouse_probe()
137 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_mouse_probe()
194 usb_mouse_irq, mouse, endpoint->bInterval); in usb_mouse_probe()
Dusbkbd.c278 struct usb_endpoint_descriptor *endpoint; in usb_kbd_probe() local
289 endpoint = &interface->endpoint[0].desc; in usb_kbd_probe()
290 if (!usb_endpoint_is_int_in(endpoint)) in usb_kbd_probe()
293 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_kbd_probe()
349 usb_kbd_irq, kbd, endpoint->bInterval); in usb_kbd_probe()
Dhid-core.c1012 usb_get_extra_descriptor(&interface->endpoint[0], HID_DT_HID, &hdesc))) { in usbhid_parse()
1097 struct usb_endpoint_descriptor *endpoint; in usbhid_start() local
1101 endpoint = &interface->endpoint[n].desc; in usbhid_start()
1102 if (!usb_endpoint_xfer_int(endpoint)) in usbhid_start()
1105 interval = endpoint->bInterval; in usbhid_start()
1110 interval = fls(endpoint->bInterval*8); in usbhid_start()
1112 hid->name, endpoint->bInterval, interval); in usbhid_start()
1134 if (usb_endpoint_dir_in(endpoint)) { in usbhid_start()
1139 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usbhid_start()
1149 pipe = usb_sndintpipe(dev, endpoint->bEndpointAddress); in usbhid_start()
[all …]
/linux-4.19.296/drivers/media/rc/
Dstreamzap.c81 struct usb_endpoint_descriptor *endpoint; member
359 sz->endpoint = &(iface_host->endpoint[0].desc); in streamzap_probe()
360 if (!usb_endpoint_dir_in(sz->endpoint)) { in streamzap_probe()
362 __func__, sz->endpoint->bEndpointAddress); in streamzap_probe()
367 if (!usb_endpoint_xfer_int(sz->endpoint)) { in streamzap_probe()
369 __func__, sz->endpoint->bmAttributes); in streamzap_probe()
374 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe()
429 sz, sz->endpoint->bInterval); in streamzap_probe()
/linux-4.19.296/drivers/base/
Dproperty.c1366 fwnode_graph_get_port_parent(const struct fwnode_handle *endpoint) in fwnode_graph_get_port_parent() argument
1370 port = fwnode_get_parent(endpoint); in fwnode_graph_get_port_parent()
1388 struct fwnode_handle *endpoint, *parent; in fwnode_graph_get_remote_port_parent() local
1390 endpoint = fwnode_graph_get_remote_endpoint(fwnode); in fwnode_graph_get_remote_port_parent()
1391 parent = fwnode_graph_get_port_parent(endpoint); in fwnode_graph_get_remote_port_parent()
1393 fwnode_handle_put(endpoint); in fwnode_graph_get_remote_port_parent()
1438 struct fwnode_handle *endpoint = NULL; in fwnode_graph_get_remote_node() local
1440 while ((endpoint = fwnode_graph_get_next_endpoint(fwnode, endpoint))) { in fwnode_graph_get_remote_node()
1445 ret = fwnode_graph_parse_endpoint(endpoint, &fwnode_ep); in fwnode_graph_get_remote_node()
1452 remote = fwnode_graph_get_remote_port_parent(endpoint); in fwnode_graph_get_remote_node()
[all …]
Ddevcon.c41 ep = match_string(con->endpoint, 2, devname); in device_connection_find_match()
85 dev = bus_find_device_by_name(bus, NULL, con->endpoint[ep]); in generic_match()
/linux-4.19.296/drivers/isdn/gigaset/
Dusb-gigaset.c658 struct usb_endpoint_descriptor *endpoint; in gigaset_probe() local
709 endpoint = &hostif->endpoint[0].desc; in gigaset_probe()
711 if (!usb_endpoint_is_bulk_out(endpoint)) { in gigaset_probe()
717 buffer_size = le16_to_cpu(endpoint->wMaxPacketSize); in gigaset_probe()
719 ucs->bulk_out_epnum = usb_endpoint_num(endpoint); in gigaset_probe()
734 endpoint = &hostif->endpoint[1].desc; in gigaset_probe()
736 if (!usb_endpoint_is_int_in(endpoint)) { in gigaset_probe()
750 buffer_size = le16_to_cpu(endpoint->wMaxPacketSize); in gigaset_probe()
760 usb_rcvintpipe(udev, usb_endpoint_num(endpoint)), in gigaset_probe()
763 cs, endpoint->bInterval); in gigaset_probe()
/linux-4.19.296/drivers/isdn/hisax/
Dst5481_b.c270 struct usb_host_endpoint *endpoint; in st5481_setup_b_out() local
282 endpoint = &altsetting->endpoint[EP_B1_OUT - 1 + bcs->channel * 2]; in st5481_setup_b_out()
285 endpoint->desc.bEndpointAddress, le16_to_cpu(endpoint->desc.wMaxPacketSize)); in st5481_setup_b_out()
289 usb_sndisocpipe(dev, endpoint->desc.bEndpointAddress), in st5481_setup_b_out()
Dst5481_usb.c245 struct usb_host_endpoint *endpoint; in st5481_setup_usb() local
270 altsetting->endpoint[3].desc.wMaxPacketSize = cpu_to_le16(32); in st5481_setup_usb()
271 altsetting->endpoint[4].desc.wMaxPacketSize = cpu_to_le16(32); in st5481_setup_usb()
306 endpoint = &altsetting->endpoint[EP_INT-1]; in st5481_setup_usb()
310 usb_rcvintpipe(dev, endpoint->desc.bEndpointAddress), in st5481_setup_usb()
313 endpoint->desc.bInterval); in st5481_setup_usb()
Dst5481_d.c661 struct usb_host_endpoint *endpoint; in st5481_setup_d_out() local
673 endpoint = &altsetting->endpoint[EP_D_OUT-1]; in st5481_setup_d_out()
676 endpoint->desc.bEndpointAddress, le16_to_cpu(endpoint->desc.wMaxPacketSize)); in st5481_setup_d_out()
679 usb_sndisocpipe(dev, endpoint->desc.bEndpointAddress), in st5481_setup_d_out()
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Ddvb_usb.h81 .endpoint = endpoint_, \
92 .endpoint = endpoint_, \
159 u8 endpoint; member
Dusb_urb.c153 stream->props.endpoint), in usb_urb_alloc_bulk_urbs()
187 stream->props.endpoint); in usb_urb_alloc_isoc_urbs()
279 stream->props.endpoint == props->endpoint) { in usb_urb_reconfig()
/linux-4.19.296/fs/xfs/
Dxfs_stats.c30 int endpoint; in xfs_stats_format() member
64 for (; j < xstats[i].endpoint; j++) in xfs_stats_format()
/linux-4.19.296/drivers/media/radio/si470x/
Dradio-si470x-usb.c580 struct usb_endpoint_descriptor *endpoint; in si470x_usb_driver_probe() local
611 endpoint = &iface_desc->endpoint[i].desc; in si470x_usb_driver_probe()
612 if (usb_endpoint_is_int_in(endpoint)) in si470x_usb_driver_probe()
613 radio->int_in_endpoint = endpoint; in si470x_usb_driver_probe()
/linux-4.19.296/include/sound/
Dhdmi-codec.h98 struct device_node *endpoint);

123