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

/drivers/usb/core/
H A Dhub.c217 static int clear_port_feature(struct usb_device *hdev, int port1, int feature) argument
220 USB_REQ_CLEAR_FEATURE, USB_RT_PORT, feature, port1,
227 static int set_port_feature(struct usb_device *hdev, int port1, int feature) argument
230 USB_REQ_SET_FEATURE, USB_RT_PORT, feature, port1,
240 int port1,
244 int status = set_port_feature(hub->hdev, (selector << 8) | port1,
249 port1,
356 static int get_port_status(struct usb_device *hdev, int port1, argument
364 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port1,
370 static int hub_port_status(struct usb_hub *hub, int port1, argument
238 set_port_led( struct usb_hub *hub, int port1, int selector ) argument
597 int port1; local
643 hub_port_disable(struct usb_hub *hub, int port1, int set_state) argument
664 hub_port_logical_disconnect(struct usb_hub *hub, int port1) argument
722 int port1; local
1429 find_port_owner(struct usb_device *hdev, unsigned port1, void ***ppowner) argument
1445 usb_hub_claim_port(struct usb_device *hdev, unsigned port1, void *owner) argument
1459 usb_hub_release_port(struct usb_device *hdev, unsigned port1, void *owner) argument
1776 unsigned port1 = udev->portnum; local
2117 hub_port_wait_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument
2214 hub_port_finish_reset(struct usb_hub *hub, int port1, struct usb_device *udev, int *status, bool warm) argument
2255 hub_port_reset(struct usb_hub *hub, int port1, struct usb_device *udev, unsigned int delay, bool warm) argument
2352 check_port_resume_type(struct usb_device *udev, struct usb_hub *hub, int port1, int status, unsigned portchange, unsigned portstatus) argument
2443 int port1 = udev->portnum; local
2641 int port1 = udev->portnum; local
2742 int port1 = udev->portnum; local
2766 unsigned port1; local
2858 hub_port_debounce(struct usb_hub *hub, int port1) argument
2950 hub_port_init(struct usb_hub *hub, struct usb_device *udev, int port1, int retry_counter) argument
3239 check_highspeed(struct usb_hub *hub, struct usb_device *udev, int port1) argument
3267 int port1; local
3310 hub_port_connect_change(struct usb_hub *hub, int port1, u16 portstatus, u16 portchange) argument
4008 int port1 = udev->portnum; local
[all...]
H A Dusb.c361 * @port1: one-based index of port; ignored for root hubs
370 struct usb_bus *bus, unsigned port1)
427 "%d", port1);
432 "%s.%d", parent->devpath, port1);
434 if (port1 < 15)
436 (port1 << ((parent->level - 1)*4));
448 dev->portnum = port1;
369 usb_alloc_dev(struct usb_device *parent, struct usb_bus *bus, unsigned port1) argument
/drivers/media/common/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.c87 if (sl811->port1 & USB_PORT_STAT_POWER)
90 sl811->port1 = USB_PORT_STAT_POWER;
93 sl811->port1 = 0;
404 if (sl811->port1 & USB_PORT_STAT_SUSPEND)
718 sl811->port1 &= ~USB_PORT_STAT_CONNECTION;
720 sl811->port1 |= USB_PORT_STAT_CONNECTION;
722 sl811->port1 |= USB_PORT_STAT_C_CONNECTION << 16;
725 if (sl811->port1 & USB_PORT_STAT_SUSPEND) {
727 sl811->port1 |= USB_PORT_STAT_C_SUSPEND << 16;
734 if (sl811->port1
[all...]
H A Dsl811.h145 u32 port1; member in struct:sl811
/drivers/net/ethernet/sfc/
H A Dfilter.c208 __be32 host1, __be16 port1,
211 spec->data[0] = ntohl(host1) << 16 | ntohs(port1);
217 __be32 *host1, __be16 *port1,
221 *port1 = htons(spec->data[0]);
237 __be16 port1; local
266 port1 = 0;
268 port1 = port;
272 __efx_filter_set_ipv4(spec, host1, port1, host, port);
280 __be16 port1; local
285 __efx_filter_get_ipv4(spec, &host1, &port1, hos
207 __efx_filter_set_ipv4(struct efx_filter_spec *spec, __be32 host1, __be16 port1, __be32 host2, __be16 port2) argument
216 __efx_filter_get_ipv4(const struct efx_filter_spec *spec, __be32 *host1, __be16 *port1, __be32 *host2, __be16 *port2) argument
[all...]
/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/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);
1240 while (check_ioport && check->port1) {
1241 if (!request_region(check->port1,
1246 check->port1);
1249 release_region(check->port1, sonypi_device.region_size);
1253 while (ioport_list->port1) {
1255 if (request_region(ioport_list->port1,
1258 dev->ioport1 = ioport_list->port1;
[all...]
/drivers/usb/misc/
H A Dcypress_cy7c63.c201 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR, get_port1_handler, set_port1_handler);
H A Dcytherm.c343 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR | S_IWGRP, show_port1, set_port1);
/drivers/parport/
H A Dparport_pc.c2685 unsigned port1, port2; local
2752 port1 = inb(VIA_CONFIG_DATA) << 2;
2755 port1);
2756 if (port1 == 0x3BC && have_epp) {
2761 port1 = 0x378;
2797 switch (port1) {
2807 port1);
2825 if (parport_pc_probe_port(port1, port2, irq, dma, &pdev->dev, 0)) {
2827 "parport_pc: VIA parallel port: io=0x%X", port1);
2837 port1, ir
[all...]
/drivers/tty/serial/
H A Dserial_core.c2430 int uart_match_port(struct uart_port *port1, struct uart_port *port2) argument
2432 if (port1->iotype != port2->iotype)
2435 switch (port1->iotype) {
2437 return (port1->iobase == port2->iobase);
2439 return (port1->iobase == port2->iobase) &&
2440 (port1->hub6 == port2->hub6);
2445 return (port1->mapbase == port2->mapbase);
/drivers/ata/
H A Dsata_nv.c678 struct nv_adma_port_priv *port0, *port1; local
739 port1 = ap->host->ports[1]->private_data;
743 (port1->flags & NV_ADMA_ATAPI_SETUP_COMPLETE)) {
/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c591 VPD_ENTRY(port1, 2); /* PHY1 complex */

Completed in 5484 milliseconds