/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | port.c | 199 int port1 = port_dev->portnum; in usb_port_runtime_resume() local 205 set_bit(port1, hub->power_bits); in usb_port_runtime_resume() 220 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume() 232 if (hub_port_debounce_be_connected(hub, port1) < 0) { in usb_port_runtime_resume() 235 set_bit(port1, hub->warm_reset_bits); in usb_port_runtime_resume() 239 if (!test_and_set_bit(port1, hub->child_usage_bits)) { in usb_port_runtime_resume() 257 int port1 = port_dev->portnum; in usb_port_runtime_suspend() local 276 retval = usb_hub_set_port_power(hdev, hub, port1, false); in usb_port_runtime_suspend() 277 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION); in usb_port_runtime_suspend() 279 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABL in usb_port_runtime_suspend() 447 int port1; match_location() local 478 find_and_link_peer(struct usb_hub *hub, int port1) find_and_link_peer() argument 531 usb_hub_create_port_device(struct usb_hub *hub, int port1) usb_hub_create_port_device() argument 614 usb_hub_remove_port_device(struct usb_hub *hub, int port1) usb_hub_remove_port_device() argument [all...] |
H A D | usb-acpi.c | 29 int port1 = index + 1; in usb_acpi_power_manageable() local 32 port1); in usb_acpi_power_manageable() 63 int port1 = index + 1; in usb_acpi_port_lpm_incapable() local 71 port_handle = usb_get_hub_port_acpi_handle(hdev, port1); in usb_acpi_port_lpm_incapable() 73 dev_dbg(&hdev->dev, "port-%d no acpi handle\n", port1); in usb_acpi_port_lpm_incapable() 80 port1, USB_DSM_DISABLE_U1_U2_FOR_PORT); in usb_acpi_port_lpm_incapable() 91 dev_dbg(&hdev->dev, "evaluate port-%d _DSM failed\n", port1); in usb_acpi_port_lpm_incapable() 123 int port1 = index + 1; in usb_acpi_set_power_state() local 128 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state() 130 port_handle = (acpi_handle) usb_get_hub_port_acpi_handle(hdev, port1); in usb_acpi_set_power_state() 214 int port1; usb_acpi_get_companion_for_port() local [all...] |
H A D | hub.c | 121 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state); 122 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, 438 int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature) in usb_clear_port_feature() argument 441 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, in usb_clear_port_feature() 448 static int set_port_feature(struct usb_device *hdev, int port1, int feature) in set_port_feature() argument 451 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, in set_port_feature() 475 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led() argument 477 struct usb_port *port_dev = hub->ports[port1 - 1]; in set_port_led() 480 status = set_port_feature(hub->hdev, (selector << 8) | port1, in set_port_led() 584 static int get_port_status(struct usb_device *hdev, int port1, in get_port_status() argument 598 hub_ext_port_status(struct usb_hub *hub, int port1, int type, u16 *status, u16 *change, u32 *ext_status) hub_ext_port_status() argument 627 hub_port_status(struct usb_hub *hub, int port1, u16 *status, u16 *change) hub_port_status() argument 842 usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, int port1, bool set) usb_hub_set_port_power() argument 920 int port1; hub_power_on() local 963 hub_set_port_link_state(struct usb_hub *hub, int port1, unsigned int link_status) hub_set_port_link_state() argument 976 hub_port_logical_disconnect(struct usb_hub *hub, int port1) hub_port_logical_disconnect() argument 1040 int port1; hub_activate() local 1726 int port1; hub_disconnect() local 1949 find_port_owner(struct usb_device *hdev, unsigned port1, struct usb_dev_state ***ppowner) find_port_owner() argument 1967 usb_hub_claim_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) usb_hub_claim_port() argument 1983 usb_hub_release_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) usb_hub_release_port() argument 2213 int port1 = 1; usb_disconnect() local 2338 unsigned port1 = udev->portnum; usb_enumerate_device_otg() local 2592 int port1 = udev->portnum; usb_new_device() local 2873 hub_port_warm_reset_required(struct usb_hub *hub, int port1, u16 portstatus) hub_port_warm_reset_required() argument 2889 hub_port_wait_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) hub_port_wait_reset() argument 2990 hub_port_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) hub_port_reset() argument 3178 check_port_resume_type(struct usb_device *udev, struct usb_hub *hub, int port1, int status, u16 portchange, u16 portstatus) check_port_resume_type() argument 3398 int port1 = udev->portnum; usb_port_suspend() local 3610 wait_for_connected(struct usb_device *udev, struct usb_hub *hub, int *port1, u16 *portchange, u16 *portstatus) wait_for_connected() argument 3669 int port1 = udev->portnum; usb_port_resume() local 3817 int port1; check_ports_changed() local 3834 unsigned port1; hub_suspend() local 4532 hub_port_disable(struct usb_hub *hub, int port1, int set_state) hub_port_disable() argument 4584 hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) hub_port_debounce() argument 4788 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, int retry_counter, struct usb_device_descriptor *dev_descr) hub_port_init() argument 5117 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) check_highspeed() argument 5149 int port1; hub_power_remaining() local 5276 hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, u16 portchange) hub_port_connect() argument 5997 int port1 = udev->portnum; usb_reset_and_verify_device() local 6304 usb_hub_find_child(struct usb_device *hdev, int port1) usb_hub_find_child() argument 6369 usb_get_hub_port_acpi_handle(struct usb_device *hdev, int port1) usb_get_hub_port_acpi_handle() argument [all...] |
H A D | hub.h | 114 int port1); 116 int port1); 118 int port1, bool set); 120 extern int hub_port_debounce(struct usb_hub *hub, int port1, 123 int port1, int feature); 158 int port1) in hub_port_debounce_be_connected() 160 return hub_port_debounce(hub, port1, true); in hub_port_debounce_be_connected() 164 int port1) in hub_port_debounce_be_stable() 166 return hub_port_debounce(hub, port1, false); in hub_port_debounce_be_stable() 157 hub_port_debounce_be_connected(struct usb_hub *hub, int port1) hub_port_debounce_be_connected() argument 163 hub_port_debounce_be_stable(struct usb_hub *hub, int port1) hub_port_debounce_be_stable() argument
|
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) in usb_of_get_device_node() argument 34 if (reg == port1) in usb_of_get_device_node()
|
H A D | usb.c | 639 * @port1: one-based index of port; ignored for root hubs 651 struct usb_bus *bus, unsigned port1) in usb_alloc_dev() 656 unsigned raw_port = port1; in usb_alloc_dev() 710 "%d", port1); in usb_alloc_dev() 715 "%s.%d", parent->devpath, port1); in usb_alloc_dev() 717 if (port1 < 15) in usb_alloc_dev() 719 (port1 << ((parent->level - 1)*4)); in usb_alloc_dev() 731 port1); in usb_alloc_dev() 738 dev->portnum = port1; in usb_alloc_dev() 650 usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus, unsigned port1) usb_alloc_dev() argument
|
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | port.c | 54 int port1 = port_dev->portnum; in disable_show() local 69 usb_hub_port_status(hub, port1, &portstatus, &unused); in disable_show() 89 int port1 = port_dev->portnum; in disable_store() local 110 rc = usb_hub_set_port_power(hdev, hub, port1, !disabled); in disable_store() 113 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION); in disable_store() 115 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABLE); in disable_store() 322 int port1 = port_dev->portnum; in usb_port_runtime_resume() local 328 set_bit(port1, hub->power_bits); in usb_port_runtime_resume() 343 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume() 355 if (hub_port_debounce_be_connected(hub, port1) < in usb_port_runtime_resume() 380 int port1 = port_dev->portnum; usb_port_runtime_suspend() local 570 int port1; match_location() local 601 find_and_link_peer(struct usb_hub *hub, int port1) find_and_link_peer() argument 680 usb_hub_create_port_device(struct usb_hub *hub, int port1) usb_hub_create_port_device() argument 782 usb_hub_remove_port_device(struct usb_hub *hub, int port1) usb_hub_remove_port_device() argument [all...] |
H A D | hub.c | 128 static int hub_port_disable(struct usb_hub *hub, int port1, int set_state); 129 static bool hub_port_warm_reset_required(struct usb_hub *hub, int port1, 445 int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature) in usb_clear_port_feature() argument 448 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, in usb_clear_port_feature() 455 static int set_port_feature(struct usb_device *hdev, int port1, int feature) in set_port_feature() argument 458 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, in set_port_feature() 482 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led() argument 484 struct usb_port *port_dev = hub->ports[port1 - 1]; in set_port_led() 487 status = set_port_feature(hub->hdev, (selector << 8) | port1, in set_port_led() 591 static int get_port_status(struct usb_device *hdev, int port1, in get_port_status() argument 605 hub_ext_port_status(struct usb_hub *hub, int port1, int type, u16 *status, u16 *change, u32 *ext_status) hub_ext_port_status() argument 634 usb_hub_port_status(struct usb_hub *hub, int port1, u16 *status, u16 *change) usb_hub_port_status() argument 849 usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, int port1, bool set) usb_hub_set_port_power() argument 927 int port1; hub_power_on() local 970 hub_set_port_link_state(struct usb_hub *hub, int port1, unsigned int link_status) hub_set_port_link_state() argument 983 hub_port_logical_disconnect(struct usb_hub *hub, int port1) hub_port_logical_disconnect() argument 1047 int port1; hub_activate() local 1733 int port1; hub_disconnect() local 1970 find_port_owner(struct usb_device *hdev, unsigned port1, struct usb_dev_state ***ppowner) find_port_owner() argument 1988 usb_hub_claim_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) usb_hub_claim_port() argument 2004 usb_hub_release_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) usb_hub_release_port() argument 2236 int port1 = 1; usb_disconnect() local 2361 unsigned port1 = udev->portnum; usb_enumerate_device_otg() local 2615 int port1 = udev->portnum; usb_new_device() local 2844 hub_port_warm_reset_required(struct usb_hub *hub, int port1, u16 portstatus) hub_port_warm_reset_required() argument 2860 hub_port_wait_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) hub_port_wait_reset() argument 2957 hub_port_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) hub_port_reset() argument 3116 hub_port_stop_enumerate(struct usb_hub *hub, int port1, int retries) hub_port_stop_enumerate() argument 3192 check_port_resume_type(struct usb_device *udev, struct usb_hub *hub, int port1, int status, u16 portchange, u16 portstatus) check_port_resume_type() argument 3412 int port1 = udev->portnum; usb_port_suspend() local 3645 wait_for_connected(struct usb_device *udev, struct usb_hub *hub, int port1, u16 *portchange, u16 *portstatus) wait_for_connected() argument 3704 int port1 = udev->portnum; usb_port_resume() local 3852 int port1; check_ports_changed() local 3869 unsigned port1; hub_suspend() local 4548 hub_port_disable(struct usb_hub *hub, int port1, int set_state) hub_port_disable() argument 4600 hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) hub_port_debounce() argument 4804 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, int retry_counter, struct usb_device_descriptor *dev_descr) hub_port_init() argument 5132 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) check_highspeed() argument 5164 int port1; hub_power_remaining() local 5291 hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, u16 portchange) hub_port_connect() argument 6045 int port1 = udev->portnum; usb_reset_and_verify_device() local 6344 usb_hub_find_child(struct usb_device *hdev, int port1) usb_hub_find_child() argument 6409 usb_get_hub_port_acpi_handle(struct usb_device *hdev, int port1) usb_get_hub_port_acpi_handle() argument [all...] |
H A D | usb-acpi.c | 29 int port1 = index + 1; in usb_acpi_power_manageable() local 32 port1); in usb_acpi_power_manageable() 63 int port1 = index + 1; in usb_acpi_port_lpm_incapable() local 71 port_handle = usb_get_hub_port_acpi_handle(hdev, port1); in usb_acpi_port_lpm_incapable() 73 dev_dbg(&hdev->dev, "port-%d no acpi handle\n", port1); in usb_acpi_port_lpm_incapable() 80 port1, USB_DSM_DISABLE_U1_U2_FOR_PORT); in usb_acpi_port_lpm_incapable() 88 dev_dbg(&hdev->dev, "evaluate port-%d _DSM failed\n", port1); in usb_acpi_port_lpm_incapable() 119 int port1 = index + 1; in usb_acpi_set_power_state() local 124 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state() 126 port_handle = (acpi_handle) usb_get_hub_port_acpi_handle(hdev, port1); in usb_acpi_set_power_state() 194 int port1; usb_acpi_get_companion_for_port() local [all...] |
H A D | hub.h | 123 int port1); 125 int port1); 127 int port1, bool set); 129 extern int hub_port_debounce(struct usb_hub *hub, int port1, 132 int port1, int feature); 133 extern int usb_hub_port_status(struct usb_hub *hub, int port1, 170 int port1) in hub_port_debounce_be_connected() 172 return hub_port_debounce(hub, port1, true); in hub_port_debounce_be_connected() 176 int port1) in hub_port_debounce_be_stable() 178 return hub_port_debounce(hub, port1, fals in hub_port_debounce_be_stable() 169 hub_port_debounce_be_connected(struct usb_hub *hub, int port1) hub_port_debounce_be_connected() argument 175 hub_port_debounce_be_stable(struct usb_hub *hub, int port1) hub_port_debounce_be_stable() argument [all...] |
H A D | of.c | 16 * @port1: one-based index of port 24 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument 33 if (reg == port1) in usb_of_get_device_node()
|
H A D | usb.c | 631 * @port1: one-based index of port; ignored for root hubs 644 struct usb_bus *bus, unsigned port1) in usb_alloc_dev() 648 unsigned raw_port = port1; in usb_alloc_dev() 701 "%d", port1); in usb_alloc_dev() 706 "%s.%d", parent->devpath, port1); in usb_alloc_dev() 708 if (port1 < 15) in usb_alloc_dev() 710 (port1 << ((parent->level - 1)*4)); in usb_alloc_dev() 722 port1); in usb_alloc_dev() 729 dev->portnum = port1; in usb_alloc_dev() 643 usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus, unsigned port1) usb_alloc_dev() argument
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | smc37c669.c | 957 unsigned int port1; member 1255 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device() 1284 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device() 1332 base_addr.by_field.addr9_2 = local_config[ func ].port1 >> 2; in SMC37c669_enable_device() 1380 base_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; in SMC37c669_enable_device() 1406 ide_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; in SMC37c669_enable_device() 1693 cp->port1 = port; in SMC37c669_configure_device() 1860 *port = cp->port1; 1895 local_config[ SERIAL_0 ].port1, in SMC37c669_display_device_info() 1905 local_config[ SERIAL_1 ].port1, in SMC37c669_display_device_info() [all...] |
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | smc37c669.c | 957 unsigned int port1; member 1255 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device() 1284 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device() 1332 base_addr.by_field.addr9_2 = local_config[ func ].port1 >> 2; in SMC37c669_enable_device() 1380 base_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; in SMC37c669_enable_device() 1406 ide_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; in SMC37c669_enable_device() 1693 cp->port1 = port; in SMC37c669_configure_device() 1860 *port = cp->port1; 1895 local_config[ SERIAL_0 ].port1, in SMC37c669_display_device_info() 1905 local_config[ SERIAL_1 ].port1, in SMC37c669_display_device_info() [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | sl811-hcd.c | 84 if (sl811->port1 & USB_PORT_STAT_POWER) in port_power() 87 sl811->port1 = USB_PORT_STAT_POWER; in port_power() 90 sl811->port1 = 0; in port_power() 404 if (sl811->port1 & USB_PORT_STAT_SUSPEND) in start_transfer() 721 sl811->port1 &= ~USB_PORT_STAT_CONNECTION; in sl811h_irq() 723 sl811->port1 |= USB_PORT_STAT_CONNECTION; in sl811h_irq() 725 sl811->port1 |= USB_PORT_STAT_C_CONNECTION << 16; in sl811h_irq() 728 if (sl811->port1 & USB_PORT_STAT_SUSPEND) { in sl811h_irq() 730 sl811->port1 |= USB_PORT_STAT_C_SUSPEND << 16; in sl811h_irq() 737 if (sl811->port1 in sl811h_irq() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | sl811-hcd.c | 84 if (sl811->port1 & USB_PORT_STAT_POWER) in port_power() 87 sl811->port1 = USB_PORT_STAT_POWER; in port_power() 90 sl811->port1 = 0; in port_power() 404 if (sl811->port1 & USB_PORT_STAT_SUSPEND) in start_transfer() 721 sl811->port1 &= ~USB_PORT_STAT_CONNECTION; in sl811h_irq() 723 sl811->port1 |= USB_PORT_STAT_CONNECTION; in sl811h_irq() 725 sl811->port1 |= USB_PORT_STAT_C_CONNECTION << 16; in sl811h_irq() 728 if (sl811->port1 & USB_PORT_STAT_SUSPEND) { in sl811h_irq() 730 sl811->port1 |= USB_PORT_STAT_C_SUSPEND << 16; in sl811h_irq() 737 if (sl811->port1 in sl811h_irq() [all...] |
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | of.h | 22 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1); 43 usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | of.h | 20 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1); 41 usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_of.c | 345 * @port1: First DT port node of the Dual-link LVDS source 360 * @port1 and @port2 are typically DT sibling nodes, but may have different 365 * * DRM_LVDS_DUAL_LINK_EVEN_ODD_PIXELS - @port1 carries even pixels and @port2 367 * * DRM_LVDS_DUAL_LINK_ODD_EVEN_PIXELS - @port1 carries odd pixels and @port2 369 * * -EINVAL - @port1 and @port2 are not connected to a dual-link LVDS sink, or 371 * * -EPIPE - when @port1 or @port2 are not connected 373 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, in drm_of_lvds_get_dual_link_pixel_order() argument 378 if (!port1 || !port2) in drm_of_lvds_get_dual_link_pixel_order() 381 remote_p1_pt = drm_of_lvds_get_remote_pixels_type(port1); in drm_of_lvds_get_dual_link_pixel_order()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_of.h | 50 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, 96 drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, in drm_of_lvds_get_dual_link_pixel_order() argument
|
/kernel/linux/linux-6.6/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, in drm_of_lvds_get_dual_link_pixel_order() argument
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | pcwd.c | 810 int port1, last_port1; /* Register 1 for REV C cards */ in pcwd_isa_match() local 825 port1 = inb_p(base_addr + 1); /* For REV C boards */ in pcwd_isa_match() 826 if (port0 != 0xff || port1 != 0xff) { in pcwd_isa_match() 833 last_port1 = port1; in pcwd_isa_match() 836 port1 = inb_p(base_addr + 1); in pcwd_isa_match() 840 (port1 ^ last_port1) & WD_REVC_HRBT) { in pcwd_isa_match()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | pcwd.c | 810 int port1, last_port1; /* Register 1 for REV C cards */ in pcwd_isa_match() local 825 port1 = inb_p(base_addr + 1); /* For REV C boards */ in pcwd_isa_match() 826 if (port0 != 0xff || port1 != 0xff) { in pcwd_isa_match() 833 last_port1 = port1; in pcwd_isa_match() 836 port1 = inb_p(base_addr + 1); in pcwd_isa_match() 840 (port1 ^ last_port1) & WD_REVC_HRBT) { in pcwd_isa_match()
|
/kernel/linux/linux-6.6/sound/soc/generic/ |
H A D | audio-graph-card2.c | 779 struct device_node *port0, *port1, *ports; in audio_graph2_link_c2c() local 804 port1 = of_get_next_child(ports, lnk); in audio_graph2_link_c2c() 835 ep1 = port_to_endpoint(port1); in audio_graph2_link_c2c() 865 of_node_put(port1); in audio_graph2_link_c2c() 1018 struct device_node *port1 = of_get_next_child(ports, lnk); in graph_count_c2c() local 1020 struct device_node *ep1 = port_to_endpoint(port1); in graph_count_c2c() 1045 of_node_put(port1); in graph_count_c2c()
|
/kernel/linux/linux-6.6/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, in drm_of_lvds_get_dual_link_pixel_order() argument 379 if (!port1 || !port2) in drm_of_lvds_get_dual_link_pixel_order() 382 remote_p1_pt = drm_of_lvds_get_remote_pixels_type(port1); in drm_of_lvds_get_dual_link_pixel_order()
|