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.c871 struct moschip_port *port0; in mos7840_open() local
882 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_open()
884 if (mos7840_port == NULL || port0 == NULL) in mos7840_open()
889 port0->open_ports++; in mos7840_open()
1043 if (port0->open_ports == 1) { in mos7840_open()
1179 struct moschip_port *port0; in mos7840_close() local
1191 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_close()
1193 if (mos7840_port == NULL || port0 == NULL) in mos7840_close()
1211 port0->open_ports--; in mos7840_close()
1212 dev_dbg(&port->dev, "%s in close%d\n", __func__, port0->open_ports); in mos7840_close()
[all …]
Dio_edgeport.c831 struct usb_serial_port *port0 = serial->port[0]; in edge_open() local
835 port0->interrupt_in_buffer; in edge_open()
837 port0->interrupt_in_endpointAddress; in edge_open()
838 edge_serial->interrupt_read_urb = port0->interrupt_in_urb; in edge_open()
839 edge_serial->bulk_in_buffer = port0->bulk_in_buffer; in edge_open()
841 port0->bulk_in_endpointAddress; in edge_open()
842 edge_serial->read_urb = port0->read_urb; in edge_open()
844 port0->bulk_out_endpointAddress; in edge_open()
850 port0->interrupt_in_endpointAddress), in edge_open()
851 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/scsi/
Dultrastor.c872 int port0 = (config.slot << 12) | 0xc80; in DEF_SCSI_QCMD() local
880 unsigned char p = inb(port0 + i); in DEF_SCSI_QCMD()
887 ogm_status = inb(port0 + 22); in DEF_SCSI_QCMD()
888 ogm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 23)); in DEF_SCSI_QCMD()
889 icm_status = inb(port0 + 27); in DEF_SCSI_QCMD()
890 icm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 28)); in DEF_SCSI_QCMD()
/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/usb/misc/
Dcypress_cy7c63.c198 static DEVICE_ATTR(port0, S_IRUGO | S_IWUSR, get_port0_handler, set_port0_handler);
Dcytherm.c282 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/net/ethernet/sun/
Dsunvnet.c982 static void vnet_clean_timer_expire(unsigned long port0) in vnet_clean_timer_expire() argument
984 struct vnet_port *port = (struct vnet_port *)port0; in vnet_clean_timer_expire()
/drivers/scsi/cxlflash/
Dmain.c2278 static DEVICE_ATTR_RO(port0);