/linux-master/include/linux/usb/ |
H A D | of.h | 21 enum usb_port_connect_type usb_of_get_connect_type(struct usb_device *hub, int port1); 22 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1); 43 usb_of_get_connect_type(const struct usb_device *hub, int port1) argument 48 usb_of_get_device_node(struct usb_device *hub, int port1) argument
|
/linux-master/drivers/usb/core/ |
H A D | hub.h | 126 int port1); 128 int port1); 130 int port1, bool set); 134 extern int hub_port_debounce(struct usb_hub *hub, int port1, 137 int port1, int feature); 138 extern int usb_hub_port_status(struct usb_hub *hub, int port1, 175 int port1) 177 return hub_port_debounce(hub, port1, true); 181 int port1) 183 return hub_port_debounce(hub, port1, fals 174 hub_port_debounce_be_connected(struct usb_hub *hub, int port1) argument 180 hub_port_debounce_be_stable(struct usb_hub *hub, int port1) argument [all...] |
H A D | of.c | 17 * @port1: one-based index of port 25 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1) argument 34 if (reg == port1) 96 * @hub: hub to which port is for @port1 97 * @port1: one-based index of port 99 * Get the connect_type of @port1 based on the device node for @hub. If the 101 * @hub has a child device has with a 'reg' property equal to @port1 the 106 * Return: A connect_type for @port1 based on the device node for @hub. 108 enum usb_port_connect_type usb_of_get_connect_type(struct usb_device *hub, int port1) argument 126 ep = of_graph_get_endpoint_by_regs(np, port1, [all...] |
H A D | usb-acpi.c | 29 int port1 = index + 1; local 32 port1); 63 int port1 = index + 1; local 71 port_handle = usb_get_hub_port_acpi_handle(hdev, port1); 73 dev_dbg(&hdev->dev, "port-%d no acpi handle\n", port1); 80 port1, USB_DSM_DISABLE_U1_U2_FOR_PORT); 88 dev_dbg(&hdev->dev, "evaluate port-%d _DSM failed\n", port1); 119 int port1 = index + 1; local 124 port_dev = hub->ports[port1 - 1]; 126 port_handle = (acpi_handle) usb_get_hub_port_acpi_handle(hdev, port1); 204 int port1; local [all...] |
H A D | hub.c | 134 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state); 135 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, 451 int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature) argument 454 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, 461 static int set_port_feature(struct usb_device *hdev, int port1, int feature) argument 464 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, 488 static void set_port_led(struct usb_hub *hub, int port1, int selector) argument 490 struct usb_port *port_dev = hub->ports[port1 - 1]; 493 status = set_port_feature(hub->hdev, (selector << 8) | port1, 597 static int get_port_status(struct usb_device *hdev, int port1, argument 611 hub_ext_port_status(struct usb_hub *hub, int port1, int type, u16 *status, u16 *change, u32 *ext_status) argument 668 usb_hub_port_status(struct usb_hub *hub, int port1, u16 *status, u16 *change) argument 883 usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, int port1, bool set) argument 961 int port1; local 1004 hub_set_port_link_state(struct usb_hub *hub, int port1, unsigned int link_status) argument 1017 hub_port_logical_disconnect(struct usb_hub *hub, int port1) argument 1081 int port1; local 1777 int port1; local 2014 find_port_owner(struct usb_device *hdev, unsigned port1, struct usb_dev_state ***ppowner) argument 2032 usb_hub_claim_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) argument 2048 usb_hub_release_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) argument 2280 int port1 = 1; local 2407 unsigned port1 = udev->portnum; local 2661 int port1 = udev->portnum; local 2892 hub_port_warm_reset_required(struct usb_hub *hub, int port1, u16 portstatus) argument 2908 hub_port_wait_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument 3005 hub_port_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument 3164 hub_port_stop_enumerate(struct usb_hub *hub, int port1, int retries) argument 3240 check_port_resume_type(struct usb_device *udev, struct usb_hub *hub, int port1, int status, u16 portchange, u16 portstatus) argument 3460 int port1 = udev->portnum; local 3693 wait_for_connected(struct usb_device *udev, struct usb_hub *hub, int port1, u16 *portchange, u16 *portstatus) argument 3752 int port1 = udev->portnum; local 3900 int port1; local 3917 unsigned port1; local 4596 hub_port_disable(struct usb_hub *hub, int port1, int set_state) argument 4648 hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) argument 4857 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, int retry_counter, struct usb_device_descriptor *dev_descr) argument 5185 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) argument 5217 int port1; local 5344 hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, u16 portchange) argument 6098 int port1 = udev->portnum; local 6397 usb_hub_find_child(struct usb_device *hdev, int port1) argument 6462 usb_get_hub_port_acpi_handle(struct usb_device *hdev, int port1) argument [all...] |
H A D | port.c | 55 int port1 = port_dev->portnum; local 81 usb_hub_port_status(hub, port1, &portstatus, &unused); 105 int port1 = port_dev->portnum; local 137 rc = usb_hub_set_port_power(hdev, hub, port1, !disabled); 140 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION); 142 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABLE); 353 int port1 = port_dev->portnum; local 359 set_bit(port1, hub->power_bits); 374 retval = usb_hub_set_port_power(hdev, hub, port1, true); 386 if (hub_port_debounce_be_connected(hub, port1) < 411 int port1 = port_dev->portnum; local 603 int port1; local 635 find_and_link_peer(struct usb_hub *hub, int port1) argument 729 usb_hub_create_port_device(struct usb_hub *hub, int port1) argument 831 usb_hub_remove_port_device(struct usb_hub *hub, int port1) argument [all...] |
H A D | usb.c | 631 * @port1: one-based index of port; ignored for root hubs 644 struct usb_bus *bus, unsigned port1) 648 unsigned raw_port = port1; 701 "%d", port1); 706 "%s.%d", parent->devpath, port1); 708 if (port1 < 15) 710 (port1 << ((parent->level - 1)*4)); 722 port1); 729 dev->portnum = port1; 643 usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus, unsigned port1) argument
|
/linux-master/arch/powerpc/boot/dts/fsl/ |
H A D | t2080si-post.dtsi | 58 port1 {
|
H A D | mpc8548si-post.dtsi | 100 port1 {
|
/linux-master/drivers/media/tuners/ |
H A D | tea5767.h | 19 unsigned int port1:1; member in struct:tea5767_ctrl
|
H A D | tda9887.c | 433 static unsigned int port1 = UNSET; variable 438 module_param(port1, int, 0644); 448 if (UNSET != port1) { 449 if (port1)
|
/linux-master/drivers/usb/host/ |
H A D | sl811-hcd.c | 84 if (sl811->port1 & USB_PORT_STAT_POWER) 87 sl811->port1 = USB_PORT_STAT_POWER; 90 sl811->port1 = 0; 404 if (sl811->port1 & USB_PORT_STAT_SUSPEND) 723 sl811->port1 &= ~USB_PORT_STAT_CONNECTION; 725 sl811->port1 |= USB_PORT_STAT_CONNECTION; 727 sl811->port1 |= USB_PORT_STAT_C_CONNECTION << 16; 730 if (sl811->port1 & USB_PORT_STAT_SUSPEND) { 732 sl811->port1 |= USB_PORT_STAT_C_SUSPEND << 16; 739 if (sl811->port1 [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | smc37c669.c | 957 unsigned int port1; member in struct:DEVICE_CONFIG 1255 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; 1284 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; 1332 base_addr.by_field.addr9_2 = local_config[ func ].port1 >> 2; 1380 base_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; 1406 ide_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; 1693 cp->port1 = port; 1860 *port = cp->port1; 1895 local_config[ SERIAL_0 ].port1, 1905 local_config[ SERIAL_1 ].port1, [all...] |
/linux-master/include/sound/ |
H A D | emu8000.h | 56 unsigned long port1; /* Port usually base+0 */ member in struct:snd_emu8000
|
/linux-master/include/drm/ |
H A D | drm_of.h | 52 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, 105 drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, argument
|
/linux-master/drivers/gpu/drm/bridge/ |
H A D | fsl-ldb.c | 350 struct device_node *port1, *port2; local 352 port1 = of_graph_get_port_by_id(dev->of_node, 1); 354 dual_link = drm_of_lvds_get_dual_link_pixel_order(port1, port2); 355 of_node_put(port1);
|
/linux-master/include/uapi/linux/ |
H A D | serial.h | 87 int port1; member in struct:serial_multiport_struct
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_of.c | 346 * @port1: First DT port node of the Dual-link LVDS source 361 * @port1 and @port2 are typically DT sibling nodes, but may have different 366 * * DRM_LVDS_DUAL_LINK_EVEN_ODD_PIXELS - @port1 carries even pixels and @port2 368 * * DRM_LVDS_DUAL_LINK_ODD_EVEN_PIXELS - @port1 carries odd pixels and @port2 370 * * -EINVAL - @port1 and @port2 are not connected to a dual-link LVDS sink, or 372 * * -EPIPE - when @port1 or @port2 are not connected 374 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, argument 379 if (!port1 || !port2) 382 remote_p1_pt = drm_of_lvds_get_remote_pixels_type(port1);
|
/linux-master/drivers/watchdog/ |
H A D | pcwd.c | 810 int port1, last_port1; /* Register 1 for REV C cards */ local 825 port1 = inb_p(base_addr + 1); /* For REV C boards */ 826 if (port0 != 0xff || port1 != 0xff) { 833 last_port1 = port1; 836 port1 = inb_p(base_addr + 1); 840 (port1 ^ last_port1) & WD_REVC_HRBT) {
|
/linux-master/drivers/usb/misc/ |
H A D | lvstest.c | 86 int port1, int feature) 89 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, 94 int port1, int feature) 97 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, 85 lvs_rh_clear_port_feature(struct usb_device *hdev, int port1, int feature) argument 93 lvs_rh_set_port_feature(struct usb_device *hdev, int port1, int feature) argument
|
/linux-master/drivers/platform/x86/ |
H A D | hdaps.c | 166 static int __hdaps_read_pair(unsigned int port1, unsigned int port2, argument 174 *x = inw(port1); 191 static int hdaps_read_pair(unsigned int port1, unsigned int port2, argument 197 ret = __hdaps_read_pair(port1, port2, val1, val2);
|
/linux-master/drivers/gpu/drm/bridge/imx/ |
H A D | imx8qxp-pxl2dpi.c | 329 struct device_node *port1, *port2; local 373 port1 = of_graph_get_port_by_id(p2d->next_bridge->of_node, 1); 375 dual_link = drm_of_lvds_get_dual_link_pixel_order(port1, port2); 376 of_node_put(port1);
|
/linux-master/include/linux/ |
H A D | usb.h | 752 int port1); 757 * @port1: portnum associated with child device 760 #define usb_hub_for_each_child(hdev, port1, child) \ 761 for (port1 = 1, child = usb_hub_find_child(hdev, port1); \ 762 port1 <= hdev->maxchild; \ 763 child = usb_hub_find_child(hdev, ++port1)) \ 920 int usb_hub_claim_port(struct usb_device *hdev, unsigned port1, 922 int usb_hub_release_port(struct usb_device *hdev, unsigned port1,
|
/linux-master/sound/soc/generic/ |
H A D | audio-graph-card2.c | 945 struct device_node *port0, *port1, *ports; local 970 port1 = of_get_next_child(ports, lnk); 1001 ep1 = port_to_endpoint(port1); 1031 of_node_put(port1); 1200 struct device_node *port1 = of_get_next_child(ports, lnk); local 1202 struct device_node *ep1 = port_to_endpoint(port1); 1227 of_node_put(port1);
|
/linux-master/tools/firewire/ |
H A D | nosy-dump.h | 36 uint32_t port1:2; member in struct:phy_packet::__anon14851::__anon14854
|