Home
last modified time | relevance | path

Searched refs:port0 (Results 1 – 14 of 14) sorted by relevance

/drivers/watchdog/
Dpcwd.c221 int port0, last_port0; /* Double read for stabilising */ in send_isa_command() local
231 port0 = inb_p(pcwd_private.io_addr); in send_isa_command()
233 last_port0 = port0; in send_isa_command()
234 port0 = inb_p(pcwd_private.io_addr); in send_isa_command()
236 if (port0 == last_port0) in send_isa_command()
244 cmd, port0, last_port0); in send_isa_command()
246 return port0; in send_isa_command()
807 int port0, last_port0; /* Reg 0, in case it's REV A */ in pcwd_isa_match() local
822 port0 = inb_p(base_addr); /* For REV A boards */ in pcwd_isa_match()
824 if (port0 != 0xff || port1 != 0xff) { in pcwd_isa_match()
[all …]
/drivers/usb/serial/
Dmxuport.c1147 struct usb_serial_port *port0, in mxuport_alloc_write_urb() argument
1157 port->bulk_out_buffers[j] = kmalloc(port0->bulk_out_size, GFP_KERNEL); in mxuport_alloc_write_urb()
1173 struct usb_serial_port *port0) in mxuport_alloc_write_urbs() argument
1179 ret = mxuport_alloc_write_urb(serial, port, port0, j); in mxuport_alloc_write_urbs()
1189 struct usb_serial_port *port0 = serial->port[0]; in mxuport_attach() local
1218 port->bulk_out_size = port0->bulk_out_size; in mxuport_attach()
1220 port0->bulk_out_endpointAddress; in mxuport_attach()
1222 err = mxuport_alloc_write_urbs(serial, port, port0); in mxuport_attach()
1249 err = usb_serial_generic_submit_read_urbs(port0, GFP_KERNEL); in mxuport_attach()
1255 usb_serial_generic_close(port0); in mxuport_attach()
[all …]
Dmos7840.c865 struct moschip_port *port0; in mos7840_open() local
876 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_open()
878 if (mos7840_port == NULL || port0 == NULL) in mos7840_open()
883 port0->open_ports++; in mos7840_open()
1037 if (port0->open_ports == 1) { in mos7840_open()
1173 struct moschip_port *port0; in mos7840_close() local
1185 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_close()
1187 if (mos7840_port == NULL || port0 == NULL) in mos7840_close()
1205 port0->open_ports--; in mos7840_close()
1206 dev_dbg(&port->dev, "%s in close%d\n", __func__, port0->open_ports); in mos7840_close()
[all …]
Dio_edgeport.c826 struct usb_serial_port *port0 = serial->port[0]; in edge_open() local
830 port0->interrupt_in_buffer; in edge_open()
832 port0->interrupt_in_endpointAddress; in edge_open()
833 edge_serial->interrupt_read_urb = port0->interrupt_in_urb; in edge_open()
834 edge_serial->bulk_in_buffer = port0->bulk_in_buffer; in edge_open()
836 port0->bulk_in_endpointAddress; in edge_open()
837 edge_serial->read_urb = port0->read_urb; in edge_open()
839 port0->bulk_out_endpointAddress; in edge_open()
845 port0->interrupt_in_endpointAddress), in edge_open()
846 port0->interrupt_in_buffer, in edge_open()
[all …]
Dquatech2.c669 struct usb_serial_port *port0; in qt2_setup_urbs() local
673 port0 = serial->port[0]; in qt2_setup_urbs()
682 port0->bulk_in_endpointAddress), in qt2_setup_urbs()
/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h293 struct port_info *port0 = adap2pinfo(adap, 0); in phy2portid() local
295 return &port0->phy == phy ? 0 : 1; in phy2portid()
Dt3_hw.c590 VPD_ENTRY(port0, 2); /* PHY0 complex */
/drivers/net/ethernet/sun/
Dsunvnet_common.h122 void sunvnet_clean_timer_expire_common(unsigned long port0);
Dsunvnet_common.c977 void sunvnet_clean_timer_expire_common(unsigned long port0) in sunvnet_clean_timer_expire_common() argument
979 struct vnet_port *port = (struct vnet_port *)port0; in sunvnet_clean_timer_expire_common()
/drivers/usb/misc/
Dcypress_cy7c63.c197 static DEVICE_ATTR(port0, S_IRUGO | S_IWUSR, get_port0_handler, set_port0_handler);
Dcytherm.c272 static DEVICE_ATTR(port0, S_IRUGO | S_IWUSR | S_IWGRP, show_port0, set_port0);
/drivers/media/pci/smipcie/
Dsmipcie-main.c469 struct smi_port *port0 = &dev->ts_port[0]; in smi_irq_handler() local
478 handled += smi_port_irq(port0, intr_status); in smi_irq_handler()
/drivers/ata/
Dsata_nv.c677 struct nv_adma_port_priv *port0, *port1; in nv_adma_slave_config() local
737 port0 = ap->host->ports[0]->private_data; in nv_adma_slave_config()
741 if ((port0->flags & NV_ADMA_ATAPI_SETUP_COMPLETE) || in nv_adma_slave_config()
/drivers/scsi/cxlflash/
Dmain.c2337 static DEVICE_ATTR_RO(port0);