Searched refs:port1 (Results 1 - 25 of 26) sorted by relevance

12

/drivers/usb/core/
H A Dhub.h113 int port1);
115 int port1);
117 int port1, bool set);
119 extern int hub_port_debounce(struct usb_hub *hub, int port1,
122 int port1, int feature);
148 int port1)
150 return hub_port_debounce(hub, port1, true);
154 int port1)
156 return hub_port_debounce(hub, port1, false);
147 hub_port_debounce_be_connected(struct usb_hub *hub, int port1) argument
153 hub_port_debounce_be_stable(struct usb_hub *hub, int port1) argument
H A Dport.c84 int port1 = port_dev->portnum; local
90 set_bit(port1, hub->power_bits);
102 retval = usb_hub_set_port_power(hdev, hub, port1, true);
114 if (hub_port_debounce_be_connected(hub, port1) < 0) {
117 set_bit(port1, hub->warm_reset_bits);
121 if (!test_and_set_bit(port1, hub->child_usage_bits)) {
139 int port1 = port_dev->portnum; local
155 retval = usb_hub_set_port_power(hdev, hub, port1, false);
156 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION);
158 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABL
317 int port1; local
348 find_and_link_peer(struct usb_hub *hub, int port1) argument
401 usb_hub_create_port_device(struct usb_hub *hub, int port1) argument
478 usb_hub_remove_port_device(struct usb_hub *hub, int port1) argument
[all...]
H A Dhub.c392 int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature) argument
395 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1,
402 static int set_port_feature(struct usb_device *hdev, int port1, int feature) argument
405 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1,
429 static void set_port_led(struct usb_hub *hub, int port1, int selector) argument
431 struct usb_port *port_dev = hub->ports[port1 - 1];
434 status = set_port_feature(hub->hdev, (selector << 8) | port1,
537 static int get_port_status(struct usb_device *hdev, int port1, argument
545 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port1,
551 static int hub_port_status(struct usb_hub *hub, int port1, argument
752 usb_hub_set_port_power(struct usb_device *hdev, struct usb_hub *hub, int port1, bool set) argument
829 int port1; local
872 hub_set_port_link_state(struct usb_hub *hub, int port1, unsigned int link_status) argument
890 hub_usb3_port_disable(struct usb_hub *hub, int port1) argument
942 hub_port_disable(struct usb_hub *hub, int port1, int set_state) argument
967 hub_port_logical_disconnect(struct usb_hub *hub, int port1) argument
1027 int port1; local
1655 int port1; local
1865 find_port_owner(struct usb_device *hdev, unsigned port1, struct usb_dev_state ***ppowner) argument
1883 usb_hub_claim_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) argument
1899 usb_hub_release_port(struct usb_device *hdev, unsigned port1, struct usb_dev_state *owner) argument
2127 int port1 = 1; local
2248 unsigned port1 = udev->portnum; local
2473 int port1 = udev->portnum; local
2622 hub_port_warm_reset_required(struct usb_hub *hub, int port1, u16 portstatus) argument
2638 hub_port_wait_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument
2706 hub_port_finish_reset(struct usb_hub *hub, int port1, struct usb_device *udev, int *status) argument
2745 hub_port_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument
2894 check_port_resume_type(struct usb_device *udev, struct usb_hub *hub, int port1, int status, unsigned portchange, unsigned portstatus) argument
3095 int port1 = udev->portnum; local
3314 wait_for_ss_port_enable(struct usb_device *udev, struct usb_hub *hub, int *port1, u16 *portchange, u16 *portstatus) argument
3368 int port1 = udev->portnum; local
3524 int port1; local
3541 unsigned port1; local
4100 hub_port_debounce(struct usb_hub *hub, int port1, bool must_be_connected) argument
4236 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, int retry_counter) argument
4540 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) argument
4572 int port1; local
4614 hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus, u16 portchange) argument
5323 int port1 = udev->portnum; local
5630 usb_hub_find_child(struct usb_device *hdev, int port1) argument
5695 usb_get_hub_port_acpi_handle(struct usb_device *hdev, int port1) argument
[all...]
H A Dusb-acpi.c33 int port1 = index + 1; local
36 port1);
62 int port1 = index + 1; local
67 port_dev = hub->ports[port1 - 1];
69 port_handle = (acpi_handle) usb_get_hub_port_acpi_handle(hdev, port1);
159 int port1 = port_dev->portnum; local
176 raw = usb_hcd_find_raw_port_number(hcd, port1);
189 adev = acpi_find_child_device(adev, port1, false);
H A Dusb.c394 * @port1: one-based index of port; ignored for root hubs
406 struct usb_bus *bus, unsigned port1)
464 "%d", port1);
469 "%s.%d", parent->devpath, port1);
471 if (port1 < 15)
473 (port1 << ((parent->level - 1)*4));
485 dev->portnum = port1;
405 usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus, unsigned port1) argument
H A Dusb.h187 int port1);
H A Dhcd.c2226 int port1; local
2244 usb_hub_for_each_child(rhdev, port1, udev) {
2563 int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1) argument
2566 return port1;
2568 return hcd->driver->find_raw_port_number(hcd, port1);
/drivers/media/tuners/
H A Dtea5767.h31 unsigned int port1:1; member in struct:tea5767_ctrl
H A Dtda9887.c432 static unsigned int port1 = UNSET; variable
437 module_param(port1, int, 0644);
447 if (UNSET != port1) {
448 if (port1)
H A Dtea5767.c201 if (priv->ctrl.port1)
456 priv->ctrl.port1 = 1;
/drivers/usb/host/
H A Dsl811-hcd.c83 if (sl811->port1 & USB_PORT_STAT_POWER)
86 sl811->port1 = USB_PORT_STAT_POWER;
89 sl811->port1 = 0;
403 if (sl811->port1 & USB_PORT_STAT_SUSPEND)
720 sl811->port1 &= ~USB_PORT_STAT_CONNECTION;
722 sl811->port1 |= USB_PORT_STAT_CONNECTION;
724 sl811->port1 |= USB_PORT_STAT_C_CONNECTION << 16;
727 if (sl811->port1 & USB_PORT_STAT_SUSPEND) {
729 sl811->port1 |= USB_PORT_STAT_C_SUSPEND << 16;
736 if (sl811->port1
[all...]
H A Dsl811.h145 u32 port1; member in struct:sl811
H A Dxhci.h1851 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
H A Dxhci.c3950 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1) argument
3958 addr = xhci->usb2_ports[port1 - 1];
3960 addr = xhci->usb3_ports[port1 - 1];
/drivers/watchdog/
H A Dpcwd.c808 int port1, last_port1; /* Register 1 for REV C cards */ local
823 port1 = inb_p(base_addr + 1); /* For REV C boards */
824 if (port0 != 0xff || port1 != 0xff) {
831 last_port1 = port1;
834 port1 = inb_p(base_addr + 1);
838 (port1 ^ last_port1) & WD_REVC_HRBT) {
/drivers/platform/x86/
H A Dhdaps.c178 static int __hdaps_read_pair(unsigned int port1, unsigned int port2, argument
186 *x = inw(port1);
203 static int hdaps_read_pair(unsigned int port1, unsigned int port2, argument
209 ret = __hdaps_read_pair(port1, port2, val1, val2);
/drivers/usb/misc/
H A Dlvstest.c91 int port1, int feature)
94 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1,
99 int port1, int feature)
102 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1,
90 lvs_rh_clear_port_feature(struct usb_device *hdev, int port1, int feature) argument
98 lvs_rh_set_port_feature(struct usb_device *hdev, int port1, int feature) argument
H A Dcypress_cy7c63.c200 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR, get_port1_handler, set_port1_handler);
H A Dcytherm.c342 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR | S_IWGRP, show_port1, set_port1);
/drivers/char/
H A Dsonypi.c156 u16 port1; member in struct:sonypi_ioport_list
864 "sonypi: unknown event port1=0x%02x,port2=0x%02x\n",
874 "sonypi: event port1=0x%02x,port2=0x%02x\n", v1, v2);
1235 while (check_ioport && check->port1) {
1236 if (!request_region(check->port1,
1241 check->port1);
1244 release_region(check->port1, sonypi_device.region_size);
1248 while (ioport_list->port1) {
1250 if (request_region(ioport_list->port1,
1253 dev->ioport1 = ioport_list->port1;
[all...]
/drivers/parport/
H A Dparport_pc.c2440 unsigned port1, port2; local
2507 port1 = inb(VIA_CONFIG_DATA) << 2;
2510 port1);
2511 if (port1 == 0x3BC && have_epp) {
2516 port1 = 0x378;
2552 switch (port1) {
2562 port1);
2580 if (parport_pc_probe_port(port1, port2, irq, dma, &pdev->dev, 0)) {
2582 "parport_pc: VIA parallel port: io=0x%X", port1);
2592 port1, ir
[all...]
/drivers/net/ethernet/sfc/
H A Dfarch.c2045 __be16 rport, port1, port2; local
2077 port1 = gen_spec->loc_port;
2080 port1 = rport;
2083 spec->data[0] = ntohl(host1) << 16 | ntohs(port1);
2143 __be16 port1, port2; local
2159 port1 = htons(spec->data[0]);
2171 gen_spec->loc_port = port1;
2175 gen_spec->rem_port = port1;
/drivers/tty/serial/
H A Dserial_core.c2729 int uart_match_port(struct uart_port *port1, struct uart_port *port2) argument
2731 if (port1->iotype != port2->iotype)
2734 switch (port1->iotype) {
2736 return (port1->iobase == port2->iobase);
2738 return (port1->iobase == port2->iobase) &&
2739 (port1->hub6 == port2->hub6);
2744 return (port1->mapbase == port2->mapbase);
/drivers/usb/serial/
H A Dmxuport.c1194 struct usb_serial_port *port1 = serial->port[1]; local
1257 err = usb_serial_generic_submit_read_urbs(port1, GFP_KERNEL);
/drivers/ata/
H A Dsata_nv.c677 struct nv_adma_port_priv *port0, *port1; local
738 port1 = ap->host->ports[1]->private_data;
742 (port1->flags & NV_ADMA_ATAPI_SETUP_COMPLETE)) {

Completed in 384 milliseconds

12