Home
last modified time | relevance | path

Searched refs:port1 (Results 1 – 91 of 91) sorted by relevance

/linux-4.4.14/drivers/usb/core/
Dport.c84 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 …]
Dhub.c396 int usb_clear_port_feature(struct usb_device *hdev, int port1, int feature) in usb_clear_port_feature() argument
399 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1, in usb_clear_port_feature()
406 static int set_port_feature(struct usb_device *hdev, int port1, int feature) in set_port_feature() argument
409 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1, in set_port_feature()
433 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led() argument
435 struct usb_port *port_dev = hub->ports[port1 - 1]; in set_port_led()
438 status = set_port_feature(hub->hdev, (selector << 8) | port1, in set_port_led()
541 static int get_port_status(struct usb_device *hdev, int port1, in get_port_status() argument
549 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port1, in get_port_status()
555 static int hub_port_status(struct usb_hub *hub, int port1, in hub_port_status() argument
[all …]
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) 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()
Dusb-acpi.c33 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()
Dusb.c420 struct usb_bus *bus, unsigned port1) in usb_alloc_dev() argument
478 "%d", port1); in usb_alloc_dev()
483 "%s.%d", parent->devpath, port1); in usb_alloc_dev()
485 if (port1 < 15) in usb_alloc_dev()
487 (port1 << ((parent->level - 1)*4)); in usb_alloc_dev()
499 dev->portnum = port1; in usb_alloc_dev()
Dusb.h185 int port1);
Dhcd.c2280 int port1; in hcd_bus_resume() local
2298 usb_hub_for_each_child(rhdev, port1, udev) { in hcd_bus_resume()
2613 int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1) in usb_hcd_find_raw_port_number() argument
2616 return port1; in usb_hcd_find_raw_port_number()
2618 return hcd->driver->find_raw_port_number(hcd, port1); in usb_hcd_find_raw_port_number()
/linux-4.4.14/drivers/usb/host/
Dsl811-hcd.c83 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 …]
Dsl811.h145 u32 port1; member
Dxhci.h1933 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
Dxhci.c3983 int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1) in xhci_find_raw_port_number() argument
3991 addr = xhci->usb2_ports[port1 - 1]; in xhci_find_raw_port_number()
3993 addr = xhci->usb3_ports[port1 - 1]; in xhci_find_raw_port_number()
/linux-4.4.14/arch/alpha/kernel/
Dsmc37c669.c958 unsigned int port1; member
1254 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device()
1283 base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; in SMC37c669_enable_device()
1331 base_addr.by_field.addr9_2 = local_config[ func ].port1 >> 2; in SMC37c669_enable_device()
1379 base_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; in SMC37c669_enable_device()
1405 ide_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; in SMC37c669_enable_device()
1690 cp->port1 = port; in SMC37c669_configure_device()
1855 *port = cp->port1;
1889 local_config[ SERIAL_0 ].port1, in SMC37c669_display_device_info()
1899 local_config[ SERIAL_1 ].port1, in SMC37c669_display_device_info()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dfsl-usb.txt20 "port1" (or both) must be defined for "fsl-usb2-mph" compatible
22 - port1 : boolean; if defined, indicates port1 is connected for
55 port1;
Dpxa-usb.txt10 - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3"
28 marvell,enable-port1;
/linux-4.4.14/drivers/watchdog/
Dpcwd.c808 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()
/linux-4.4.14/include/linux/
Dusb.h632 int port1);
640 #define usb_hub_for_each_child(hdev, port1, child) \ argument
641 for (port1 = 1, child = usb_hub_find_child(hdev, port1); \
642 port1 <= hdev->maxchild; \
643 child = usb_hub_find_child(hdev, ++port1)) \
790 int usb_hub_claim_port(struct usb_device *hdev, unsigned port1,
792 int usb_hub_release_port(struct usb_device *hdev, unsigned port1,
Dserial_core.h380 int uart_match_port(struct uart_port *port1, struct uart_port *port2);
/linux-4.4.14/drivers/platform/x86/
Dhdaps.c178 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()
/linux-4.4.14/drivers/usb/misc/
Dlvstest.c91 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()
Dcypress_cy7c63.c200 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR, get_port1_handler, set_port1_handler);
Dcytherm.c342 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR | S_IWGRP, show_port1, set_port1);
/linux-4.4.14/drivers/media/tuners/
Dtda9887.c432 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()
Dtea5767.h31 unsigned int port1:1; member
Dtea5767.c201 if (priv->ctrl.port1) in set_radio_freq()
456 priv->ctrl.port1 = 1; in tea5767_attach()
/linux-4.4.14/drivers/char/
Dsonypi.c156 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()
/linux-4.4.14/include/linux/mlx4/
Ddriver.h79 u8 port1; member
Ddevice.h1460 int mlx4_virt2phy_port_map(struct mlx4_dev *dev, u32 port1, u32 port2);
/linux-4.4.14/include/uapi/linux/
Dserial.h84 int port1; member
/linux-4.4.14/include/sound/
Demu8000.h69 unsigned long port1; /* Port usually base+0 */ member
Demu8000_reg.h29 #define EMU8000_DATA0(e) ((e)->port1)
/linux-4.4.14/sound/isa/sb/
Demu8000.c177 emu->port1); in snd_emu8000_detect()
457 emu->port1, size/1024); in size_dram()
1106 hw->port1 = port; in snd_emu8000_new()
1109 if (!(hw->res_port1 = request_region(hw->port1, 4, "Emu8000-1")) || in snd_emu8000_new()
1112 …snd_printk(KERN_ERR "sbawe: can't grab ports 0x%lx, 0x%lx, 0x%lx\n", hw->port1, hw->port2, hw->por… in snd_emu8000_new()
/linux-4.4.14/Documentation/devicetree/bindings/media/xilinx/
Dxlnx,video.txt34 dma-names = "port0", "port1";
/linux-4.4.14/arch/arm/boot/dts/
Dkirkwood-6281.dtsi70 phy-names = "port0", "port1";
Dkirkwood-6192.dtsi70 phy-names = "port0", "port1";
Dkirkwood-6282.dtsi120 phy-names = "port0", "port1";
Domap4-duovero.dtsi254 port1-mode = "ehci-phy";
Domap3-igep0020-common.dtsi231 port1-mode = "ehci-phy";
Domap4-var-som-om44.dtsi336 port1-mode = "ehci-phy";
Domap3-cm-t3x.dtsi202 port1-mode = "ehci-phy";
Dvexpress-v2m-rs1.dtsi65 port1-otg;
Dvexpress-v2m.dtsi64 port1-otg;
Domap4-panda-common.dtsi511 port1-mode = "ehci-phy";
Domap3-lilly-a83x.dtsi342 port1-mode = "ehci-phy";
/linux-4.4.14/tools/firewire/
Dnosy-dump.h35 uint32_t port1:2; member
/linux-4.4.14/drivers/parport/
Dparport_pc.c2440 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()
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dmpc8548cds_32b.dts74 port1 {
Dmpc8548cds_36b.dts74 port1 {
Dt2080qds.dts48 port1 {
Db4860qds.dts51 port1 {
Dppa8548.dts55 port1 {
Dt2080rdb.dts48 port1 {
Dt2080si-post.dtsi58 port1 {
Dcyrus_p5020.dts79 port1 {
Doca4080.dts115 port1 {
Dt4240rdb.dts204 port1 {
Dmpc8548si-post.dtsi100 port1 {
Dp4080ds.dts145 port1 {
Dp2041rdb.dts145 port1 {
Dp3041ds.dts158 port1 {
Dp5020ds.dts158 port1 {
Dt4240qds.dts301 port1 {
Dmpc8568si-post.dtsi93 port1 {
Dmpc8569si-post.dtsi81 port1 {
Db4860si-post.dtsi50 port1 {
Dmpc8568mds.dts292 port1 {
Dp5020si-post.dtsi181 port1 {
Dp2041si-post.dtsi152 port1 {
Dmpc8569mds.dts438 port1 {
Dp3041si-post.dtsi179 port1 {
Dp4080si-post.dtsi153 port1 {
Dt4240si-post.dtsi168 port1 {
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmain.c1267 u8 port1 = v2p->port1; in mlx4_port_map_set() local
1278 if (port1 == 0) in mlx4_port_map_set()
1279 port1 = priv->v2p.port1; in mlx4_port_map_set()
1283 if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
1285 (port1 == 2 && port2 == 1)) { in mlx4_port_map_set()
1289 } else if ((port1 == priv->v2p.port1) && in mlx4_port_map_set()
1293 err = mlx4_virt2phy_port_map(dev, port1, port2); in mlx4_port_map_set()
1296 port1, port2); in mlx4_port_map_set()
1297 priv->v2p.port1 = port1; in mlx4_port_map_set()
3315 priv->v2p.port1 = 1; in mlx4_load_one()
Dfw.c2358 int mlx4_virt2phy_port_map(struct mlx4_dev *dev, u32 port1, u32 port2) in mlx4_virt2phy_port_map() argument
2372 v2p->v_port1 = cpu_to_be32(port1); in mlx4_virt2phy_port_map()
Den_netdev.c2581 bond->port_map.port1, in mlx4_en_bond_work()
2606 bond->port_map.port1 = v2p_p1; in mlx4_en_queue_bond_work()
/linux-4.4.14/Documentation/usb/
Dpower-management.txt623 $prefix/3-1:1.0/3-1-port1/device
625 $prefix/3-1:1.0/3-1-port1/power/pm_qos_no_power_off
626 $prefix/3-1:1.0/3-1-port1/device/power/control
627 $prefix/3-1:1.0/3-1-port1/device/3-1.1:<intf0>/driver/unbind
628 $prefix/3-1:1.0/3-1-port1/device/3-1.1:<intf1>/driver/unbind
630 $prefix/3-1:1.0/3-1-port1/device/3-1.1:<intfN>/driver/unbind
636 $prefix/3-1:1.0/3-1-port1/peer -> ../../../../usb2/2-1/2-1:1.0/2-1-port1
637 ../../../../usb2/2-1/2-1:1.0/2-1-port1/peer -> ../../../../usb3/3-1/3-1:1.0/3-1-port1
/linux-4.4.14/drivers/usb/serial/
Dmxuport.c1190 struct usb_serial_port *port1 = serial->port[1]; in mxuport_attach() local
1253 err = usb_serial_generic_submit_read_urbs(port1, GFP_KERNEL); in mxuport_attach()
1265 struct usb_serial_port *port1 = serial->port[1]; in mxuport_release() local
1267 usb_serial_generic_close(port1); in mxuport_release()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dfarch.c2072 __be16 rport, port1, port2; in efx_farch_filter_from_gen_spec() local
2104 port1 = gen_spec->loc_port; in efx_farch_filter_from_gen_spec()
2107 port1 = rport; in efx_farch_filter_from_gen_spec()
2110 spec->data[0] = ntohl(host1) << 16 | ntohs(port1); in efx_farch_filter_from_gen_spec()
2170 __be16 port1, port2; in efx_farch_filter_to_gen_spec() local
2186 port1 = htons(spec->data[0]); in efx_farch_filter_to_gen_spec()
2198 gen_spec->loc_port = port1; in efx_farch_filter_to_gen_spec()
2202 gen_spec->rem_port = port1; in efx_farch_filter_to_gen_spec()
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Domap-usb-host.txt96 port1-mode = "ehci-phy";
/linux-4.4.14/drivers/tty/serial/
Dserial_core.c2822 int uart_match_port(struct uart_port *port1, struct uart_port *port2) in uart_match_port() argument
2824 if (port1->iotype != port2->iotype) in uart_match_port()
2827 switch (port1->iotype) { in uart_match_port()
2829 return (port1->iobase == port2->iobase); in uart_match_port()
2831 return (port1->iobase == port2->iobase) && in uart_match_port()
2832 (port1->hub6 == port2->hub6); in uart_match_port()
2838 return (port1->mapbase == port2->mapbase); in uart_match_port()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dsrio.txt88 port1 {
/linux-4.4.14/include/linux/usb/
Dhcd.h449 extern int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1);
/linux-4.4.14/drivers/media/pci/smipcie/
Dsmipcie-main.c470 struct smi_port *port1 = &dev->ts_port[1]; in smi_irq_handler() local
482 handled += smi_port_irq(port1, intr_status); in smi_irq_handler()
/linux-4.4.14/arch/arm64/boot/dts/arm/
Dvexpress-v2m-rs1.dtsi65 port1-otg;
/linux-4.4.14/drivers/ata/
Dsata_nv.c677 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()
/linux-4.4.14/arch/powerpc/boot/dts/
Dmpc8641_hpcn.dts654 port1 {
/linux-4.4.14/Documentation/serial/
Ddriver383 uart_match_port(port1,port2)
/linux-4.4.14/Documentation/
DIPMI.txt362 ports=<port1>,<port2>... addrs=<addr1>,<addr2>...
436 ipmi_si.ports=<port1>,<port2>... ipmi_si.addrs=<addr1>,<addr2>...
Dkernel-parameters.txt1969 lp=port1,port2,... specifies the parallel ports
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c2224 static DEVICE_ATTR_RO(port1);
/linux-4.4.14/Documentation/networking/
Dbonding.txt2163 |port1 port1|
2246 | |eth0 port1| | to other networks
2273 | |eth0 port1| +-------+ Host B |
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c591 VPD_ENTRY(port1, 2); /* PHY1 complex */