/drivers/usb/core/ |
D | port.c | 84 int port1 = port_dev->portnum; in usb_port_runtime_resume() local 90 set_bit(port1, hub->power_bits); in usb_port_runtime_resume() 102 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume() 114 if (hub_port_debounce_be_connected(hub, port1) < 0) { in usb_port_runtime_resume() 117 set_bit(port1, hub->warm_reset_bits); in usb_port_runtime_resume() 121 if (!test_and_set_bit(port1, hub->child_usage_bits)) { in usb_port_runtime_resume() 139 int port1 = port_dev->portnum; in usb_port_runtime_suspend() local 155 retval = usb_hub_set_port_power(hdev, hub, port1, false); in usb_port_runtime_suspend() 156 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_CONNECTION); in usb_port_runtime_suspend() 158 usb_clear_port_feature(hdev, port1, USB_PORT_FEAT_C_ENABLE); in usb_port_runtime_suspend() [all …]
|
D | hub.c | 407 int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature) in usb_clear_port_feature() argument 410 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, in usb_clear_port_feature() 417 static int set_port_feature(struct usb_device *hdev, int port1, int feature) in set_port_feature() argument 420 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, in set_port_feature() 444 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led() argument 446 struct usb_port *port_dev = hub->ports[port1 - 1]; in set_port_led() 449 status = set_port_feature(hub->hdev, (selector << 8) | port1, in set_port_led() 552 static int get_port_status(struct usb_device *hdev, int port1, in get_port_status() argument 560 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port1, in get_port_status() 566 static int hub_port_status(struct usb_hub *hub, int port1, in hub_port_status() argument [all …]
|
D | hub.h | 113 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) in hub_port_debounce_be_connected() argument 150 return hub_port_debounce(hub, port1, true); in hub_port_debounce_be_connected() 154 int port1) in hub_port_debounce_be_stable() argument 156 return hub_port_debounce(hub, port1, false); in hub_port_debounce_be_stable()
|
D | usb-acpi.c | 33 int port1 = index + 1; in usb_acpi_power_manageable() local 36 port1); in usb_acpi_power_manageable() 62 int port1 = index + 1; in usb_acpi_set_power_state() local 67 port_dev = hub->ports[port1 - 1]; in usb_acpi_set_power_state() 69 port_handle = (acpi_handle) usb_get_hub_port_acpi_handle(hdev, port1); in usb_acpi_set_power_state() 159 int port1 = port_dev->portnum; in usb_acpi_find_companion() local 176 raw = usb_hcd_find_raw_port_number(hcd, port1); in usb_acpi_find_companion() 189 adev = acpi_find_child_device(adev, port1, false); in usb_acpi_find_companion()
|
D | usb.c | 406 struct usb_bus *bus, unsigned port1) in usb_alloc_dev() argument 464 "%d", port1); in usb_alloc_dev() 469 "%s.%d", parent->devpath, port1); in usb_alloc_dev() 471 if (port1 < 15) in usb_alloc_dev() 473 (port1 << ((parent->level - 1)*4)); in usb_alloc_dev() 485 dev->portnum = port1; in usb_alloc_dev()
|
D | usb.h | 187 int port1);
|
D | hcd.c | 2229 int port1; in hcd_bus_resume() local 2247 usb_hub_for_each_child(rhdev, port1, udev) { in hcd_bus_resume() 2577 int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1) in usb_hcd_find_raw_port_number() argument 2580 return port1; in usb_hcd_find_raw_port_number() 2582 return hcd->driver->find_raw_port_number(hcd, port1); in usb_hcd_find_raw_port_number()
|
/drivers/usb/host/ |
D | sl811-hcd.c | 83 if (sl811->port1 & USB_PORT_STAT_POWER) in port_power() 86 sl811->port1 = USB_PORT_STAT_POWER; in port_power() 89 sl811->port1 = 0; in port_power() 403 if (sl811->port1 & USB_PORT_STAT_SUSPEND) in start_transfer() 720 sl811->port1 &= ~USB_PORT_STAT_CONNECTION; in sl811h_irq() 722 sl811->port1 |= USB_PORT_STAT_CONNECTION; in sl811h_irq() 724 sl811->port1 |= USB_PORT_STAT_C_CONNECTION << 16; in sl811h_irq() 727 if (sl811->port1 & USB_PORT_STAT_SUSPEND) { in sl811h_irq() 729 sl811->port1 |= USB_PORT_STAT_C_SUSPEND << 16; in sl811h_irq() 736 if (sl811->port1 & USB_PORT_STAT_ENABLE) in sl811h_irq() [all …]
|
D | sl811.h | 145 u32 port1; member
|
D | xhci.h | 1859 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
|
D | xhci.c | 3962 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1) in xhci_find_raw_port_number() argument 3970 addr = xhci->usb2_ports[port1 - 1]; in xhci_find_raw_port_number() 3972 addr = xhci->usb3_ports[port1 - 1]; in xhci_find_raw_port_number()
|
/drivers/watchdog/ |
D | pcwd.c | 808 int port1, last_port1; /* Register 1 for REV C cards */ in pcwd_isa_match() local 823 port1 = inb_p(base_addr + 1); /* For REV C boards */ in pcwd_isa_match() 824 if (port0 != 0xff || port1 != 0xff) { in pcwd_isa_match() 831 last_port1 = port1; in pcwd_isa_match() 834 port1 = inb_p(base_addr + 1); in pcwd_isa_match() 838 (port1 ^ last_port1) & WD_REVC_HRBT) { in pcwd_isa_match()
|
/drivers/platform/x86/ |
D | hdaps.c | 178 static int __hdaps_read_pair(unsigned int port1, unsigned int port2, in __hdaps_read_pair() argument 186 *x = inw(port1); in __hdaps_read_pair() 203 static int hdaps_read_pair(unsigned int port1, unsigned int port2, in hdaps_read_pair() argument 209 ret = __hdaps_read_pair(port1, port2, val1, val2); in hdaps_read_pair()
|
/drivers/usb/misc/ |
D | lvstest.c | 91 int port1, int feature) in lvs_rh_clear_port_feature() argument 94 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, in lvs_rh_clear_port_feature() 99 int port1, int feature) in lvs_rh_set_port_feature() argument 102 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, in lvs_rh_set_port_feature()
|
D | cypress_cy7c63.c | 200 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR, get_port1_handler, set_port1_handler);
|
D | cytherm.c | 342 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR | S_IWGRP, show_port1, set_port1);
|
/drivers/media/tuners/ |
D | tda9887.c | 432 static unsigned int port1 = UNSET; variable 437 module_param(port1, int, 0644); 447 if (UNSET != port1) { in tda9887_set_insmod() 448 if (port1) in tda9887_set_insmod()
|
D | tea5767.h | 31 unsigned int port1:1; member
|
D | tea5767.c | 201 if (priv->ctrl.port1) in set_radio_freq() 456 priv->ctrl.port1 = 1; in tea5767_attach()
|
/drivers/char/ |
D | sonypi.c | 156 u16 port1; member 1235 while (check_ioport && check->port1) { in sonypi_setup_ioports() 1236 if (!request_region(check->port1, in sonypi_setup_ioports() 1241 check->port1); in sonypi_setup_ioports() 1244 release_region(check->port1, sonypi_device.region_size); in sonypi_setup_ioports() 1248 while (ioport_list->port1) { in sonypi_setup_ioports() 1250 if (request_region(ioport_list->port1, in sonypi_setup_ioports() 1253 dev->ioport1 = ioport_list->port1; in sonypi_setup_ioports()
|
/drivers/parport/ |
D | parport_pc.c | 2440 unsigned port1, port2; in sio_via_probe() local 2507 port1 = inb(VIA_CONFIG_DATA) << 2; in sio_via_probe() 2510 port1); in sio_via_probe() 2511 if (port1 == 0x3BC && have_epp) { in sio_via_probe() 2516 port1 = 0x378; in sio_via_probe() 2552 switch (port1) { in sio_via_probe() 2562 port1); in sio_via_probe() 2580 if (parport_pc_probe_port(port1, port2, irq, dma, &pdev->dev, 0)) { in sio_via_probe() 2582 "parport_pc: VIA parallel port: io=0x%X", port1); in sio_via_probe() 2592 port1, irq, dma); in sio_via_probe()
|
/drivers/net/ethernet/sfc/ |
D | farch.c | 2047 __be16 rport, port1, port2; in efx_farch_filter_from_gen_spec() local 2079 port1 = gen_spec->loc_port; in efx_farch_filter_from_gen_spec() 2082 port1 = rport; in efx_farch_filter_from_gen_spec() 2085 spec->data[0] = ntohl(host1) << 16 | ntohs(port1); in efx_farch_filter_from_gen_spec() 2145 __be16 port1, port2; in efx_farch_filter_to_gen_spec() local 2161 port1 = htons(spec->data[0]); in efx_farch_filter_to_gen_spec() 2173 gen_spec->loc_port = port1; in efx_farch_filter_to_gen_spec() 2177 gen_spec->rem_port = port1; in efx_farch_filter_to_gen_spec()
|
/drivers/usb/serial/ |
D | mxuport.c | 1194 struct usb_serial_port *port1 = serial->port[1]; in mxuport_attach() local 1257 err = usb_serial_generic_submit_read_urbs(port1, GFP_KERNEL); in mxuport_attach() 1269 struct usb_serial_port *port1 = serial->port[1]; in mxuport_release() local 1271 usb_serial_generic_close(port1); in mxuport_release()
|
/drivers/tty/serial/ |
D | serial_core.c | 2731 int uart_match_port(struct uart_port *port1, struct uart_port *port2) in uart_match_port() argument 2733 if (port1->iotype != port2->iotype) in uart_match_port() 2736 switch (port1->iotype) { in uart_match_port() 2738 return (port1->iobase == port2->iobase); in uart_match_port() 2740 return (port1->iobase == port2->iobase) && in uart_match_port() 2741 (port1->hub6 == port2->hub6); in uart_match_port() 2746 return (port1->mapbase == port2->mapbase); in uart_match_port()
|
/drivers/ata/ |
D | sata_nv.c | 677 struct nv_adma_port_priv *port0, *port1; in nv_adma_slave_config() local 738 port1 = ap->host->ports[1]->private_data; in nv_adma_slave_config() 742 (port1->flags & NV_ADMA_ATAPI_SETUP_COMPLETE)) { in nv_adma_slave_config()
|