Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/quatech_usb2/
Dquatech_usb2.c314 struct usb_serial_port *port0; /* first port structure on device */ in qt2_attach() local
359 port0 = serial->port[0]; /* get the first port's device structure */ in qt2_attach()
446 struct usb_serial_port *port0; /* first port structure on device */ in qt2_open() local
472 port0 = serial->port[0]; /* get the first port's device structure */ in qt2_open()
473 if (port_paranoia_check(port0, __func__)) { in qt2_open()
479 port0_extra = qt2_get_port_private(port0); in qt2_open()
531 dbg("port0 bulk in endpoint is %#.2x", port0->bulk_in_endpointAddress); in qt2_open()
533 port0->bulk_out_endpointAddress); in qt2_open()
563 port0->bulk_out_endpointAddress), in qt2_open()
574 usb_fill_bulk_urb(port0->read_urb, serial->dev, in qt2_open()
[all …]
/linux-2.6.39/drivers/watchdog/
Dpcwd.c220 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()
245 cmd, port0, last_port0); in send_isa_command()
247 return port0; in send_isa_command()
825 int port0, last_port0; /* Reg 0, in case it's REV A */ in pcwd_isa_match() local
841 port0 = inb_p(base_addr); /* For REV A boards */ in pcwd_isa_match()
843 if (port0 != 0xff || port1 != 0xff) { in pcwd_isa_match()
[all …]
/linux-2.6.39/Documentation/devicetree/bindings/usb/
Dfsl-usb.txt16 - port0 : boolean; if defined, indicates port0 is connected for
22 "port0" (or both) must be defined for "fsl-usb2-mph" compatible
52 port0;
/linux-2.6.39/drivers/staging/serqt_usb2/
Dserqt_usb2.c881 struct quatech_port *port0; in qt_open() local
897 port0 = qt_get_port_private(serial->port[0]); in qt_open()
899 if (quatech_port == NULL || port0 == NULL) in qt_open()
904 port0->open_ports++; in qt_open()
906 result = qt_get_device(serial, &port0->DeviceData); in qt_open()
939 if (port0->open_ports == 1) { in qt_open()
1055 struct quatech_port *port0; in qt_close() local
1067 port0 = qt_get_port_private(serial->port[0]); in qt_close()
1086 port0->open_ports--; in qt_close()
1089 port0->open_ports, port->number); in qt_close()
[all …]
/linux-2.6.39/drivers/scsi/
Dultrastor.c873 int port0 = (config.slot << 12) | 0xc80; in DEF_SCSI_QCMD() local
881 unsigned char p = inb(port0 + i); in DEF_SCSI_QCMD()
888 ogm_status = inb(port0 + 22); in DEF_SCSI_QCMD()
889 ogm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 23)); in DEF_SCSI_QCMD()
890 icm_status = inb(port0 + 27); in DEF_SCSI_QCMD()
891 icm_addr = (unsigned int)isa_bus_to_virt(inl(port0 + 28)); in DEF_SCSI_QCMD()
/linux-2.6.39/drivers/net/cxgb3/
Dadapter.h302 struct port_info *port0 = adap2pinfo(adap, 0); in phy2portid() local
304 return &port0->phy == phy ? 0 : 1; in phy2portid()
Dt3_hw.c590 VPD_ENTRY(port0, 2); /* PHY0 complex */
/linux-2.6.39/drivers/usb/serial/
Dmos7840.c880 struct moschip_port *port0; in mos7840_open() local
897 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_open()
899 if (mos7840_port == NULL || port0 == NULL) in mos7840_open()
904 port0->open_ports++; in mos7840_open()
1064 if (port0->open_ports == 1) { in mos7840_open()
1200 struct moschip_port *port0; in mos7840_close() local
1218 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_close()
1220 if (mos7840_port == NULL || port0 == NULL) in mos7840_close()
1256 port0->open_ports--; in mos7840_close()
1258 port0->open_ports, port->number); in mos7840_close()
[all …]
Dio_edgeport.c839 struct usb_serial_port *port0 = serial->port[0]; in edge_open() local
843 port0->interrupt_in_buffer; in edge_open()
845 port0->interrupt_in_endpointAddress; in edge_open()
846 edge_serial->interrupt_read_urb = port0->interrupt_in_urb; in edge_open()
847 edge_serial->bulk_in_buffer = port0->bulk_in_buffer; in edge_open()
849 port0->bulk_in_endpointAddress; in edge_open()
850 edge_serial->read_urb = port0->read_urb; in edge_open()
852 port0->bulk_out_endpointAddress; in edge_open()
858 port0->interrupt_in_endpointAddress), in edge_open()
859 port0->interrupt_in_buffer, in edge_open()
[all …]
Dmos7720.c1017 struct usb_serial_port *port0; in mos7720_open() local
1032 port0 = serial->port[0]; in mos7720_open()
/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_sup.c676 ha->flt_region_fcp_prio = ha->flags.port0 ? in qla2xxx_get_flt_info()
727 if (ha->flags.port0) in qla2xxx_get_flt_info()
733 if (!ha->flags.port0) in qla2xxx_get_flt_info()
737 if (ha->flags.port0) in qla2xxx_get_flt_info()
741 if (!ha->flags.port0) in qla2xxx_get_flt_info()
748 if (ha->flags.port0) in qla2xxx_get_flt_info()
752 if (!ha->flags.port0) in qla2xxx_get_flt_info()
759 if (ha->flags.port0) in qla2xxx_get_flt_info()
763 if (!ha->flags.port0) in qla2xxx_get_flt_info()
791 ha->flt_region_vpd = ha->flags.port0 ? in qla2xxx_get_flt_info()
[all …]
Dqla_os.c1762 ha->flags.port0 = 1; in qla2x00_set_isp_flags()
1764 ha->flags.port0 = 0; in qla2x00_set_isp_flags()
Dqla_def.h2422 uint32_t port0 :1; member
Dqla_isr.c418 if ((mbx & MBX_3) && (ha->flags.port0)) in qla2x00_async_event()
Dqla_init.c4368 if (ha->flags.port0) { in qla24xx_nvram_config()
/linux-2.6.39/tools/firewire/
Dnosy-dump.h36 uint32_t port0:2; member
/linux-2.6.39/drivers/usb/misc/
Dcypress_cy7c63.c199 static DEVICE_ATTR(port0, S_IRUGO | S_IWUSR, get_port0_handler, set_port0_handler);
Dcytherm.c283 static DEVICE_ATTR(port0, S_IRUGO | S_IWUSR | S_IWGRP, show_port0, set_port0);
/linux-2.6.39/arch/powerpc/boot/dts/
Dasp834x-redboot.dts170 port0;
Dsbc8349.dts147 port0;
Dmpc8349emitx.dts202 port0;
Dmpc834x_mds.dts156 port0;
/linux-2.6.39/drivers/ata/
Dsata_nv.c679 struct nv_adma_port_priv *port0, *port1; in nv_adma_slave_config() local
739 port0 = ap->host->ports[0]->private_data; in nv_adma_slave_config()
743 if ((port0->flags & NV_ADMA_ATAPI_SETUP_COMPLETE) || in nv_adma_slave_config()
/linux-2.6.39/sound/usb/
Dmidi.c947 int port0 = ep->current_port; in snd_usbmidi_emagic_output() local
954 int portnum = (port0 + i) & 15; in snd_usbmidi_emagic_output()