Searched refs:port_no (Results 1 - 25 of 100) sorted by relevance

1234

/linux-master/arch/mips/include/asm/mach-bcm63xx/
H A Dbcm63xx_dev_usb_usbd.h13 int port_no; member in struct:bcm63xx_usbd_platform_data
/linux-master/drivers/tty/ipwireless/
H A Dsetup_protocol.h54 unsigned char port_no; member in struct:tl_setup_config_msg
66 unsigned char port_no; member in struct:tl_setup_open_msg
71 unsigned char port_no; member in struct:tl_setup_close_msg
/linux-master/net/openvswitch/
H A Ddatapath.h203 struct vport *ovs_lookup_vport(const struct datapath *dp, u16 port_no);
205 static inline struct vport *ovs_vport_rcu(const struct datapath *dp, int port_no) argument
208 return ovs_lookup_vport(dp, port_no);
211 static inline struct vport *ovs_vport_ovsl_rcu(const struct datapath *dp, int port_no) argument
214 return ovs_lookup_vport(dp, port_no);
217 static inline struct vport *ovs_vport_ovsl(const struct datapath *dp, int port_no) argument
220 return ovs_lookup_vport(dp, port_no);
H A Dvport.h66 * @port_no: Index into @dp's @ports array.
79 u16 port_no; member in struct:vport
99 * @port_no: New vport's port number.
109 u16 port_no; member in struct:vport_parms
/linux-master/drivers/ata/
H A Dsata_qstor.c173 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
183 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
300 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
365 unsigned int port_no = (sff1 >> 8) & 0x03; local
366 struct ata_port *ap = host->ports[port_no];
394 unsigned int handled = 0, port_no; local
396 for (port_no = 0; port_no < host->n_ports; ++port_no) {
397 struct ata_port *ap = host->ports[port_no];
491 unsigned int port_no; local
546 int rc, port_no; local
[all...]
H A Dpdc_adma.c34 #define ADMA_ATA_REGS(base, port_no) ((base) + ((port_no) * 0x40))
37 #define ADMA_REGS(base, port_no) ((base) + 0x80 + ((port_no) * 0x20))
41 ADMA_REGS((ap)->host->iomap[ADMA_MMIO_BAR], ap->port_no)
389 unsigned int handled = 0, port_no; local
391 for (port_no = 0; port_no < host->n_ports; ++port_no) {
392 struct ata_port *ap = host->ports[port_no];
439 unsigned int handled = 0, port_no; local
537 unsigned int port_no; local
554 int rc, port_no; local
[all...]
H A Dpata_efar.c46 if (!pci_test_config_bits(pdev, &efar_enable_bits[ap->port_no]))
66 if (tmp & (2 >> ap->port_no))
88 unsigned int master_port = ap->port_no ? 0x42 : 0x40;
125 int shift = 4 * ap->port_no;
133 slave_data &= ap->port_no ? 0x0F : 0xF0;
142 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno));
161 u8 master_port = ap->port_no ? 0x42 : 0x40;
164 int devid = adev->devno + 2 * ap->port_no;
218 slave_data &= ap->port_no ? 0x0F : 0xF0;
220 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no
[all...]
H A Dpata_rdc.c46 mask = 0x30 << (2 * ap->port_no);
70 if (!pci_test_config_bits(pdev, &rdc_enable_bits[ap->port_no]))
94 unsigned int master_port= ap->port_no ? 0x42 : 0x40;
131 slave_data &= (ap->port_no ? 0x0f : 0xf0);
134 << (ap->port_no ? 4 : 0);
153 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno));
174 u8 master_port = ap->port_no ? 0x42 : 0x40;
177 int devid = adev->devno + 2 * ap->port_no;
253 slave_data &= (ap->port_no ? 0x0f : 0xf0);
255 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no
[all...]
H A Dahci_seattle.c97 val |= 1 << ACTIVITY_BIT_POS((ap->port_no));
99 val &= ~(1 << ACTIVITY_BIT_POS((ap->port_no)));
102 val |= 1 << LOCATE_BIT_POS((ap->port_no));
104 val &= ~(1 << LOCATE_BIT_POS((ap->port_no)));
107 val |= 1 << FAULT_BIT_POS((ap->port_no));
109 val &= ~(1 << FAULT_BIT_POS((ap->port_no)));
H A Dpata_artop.c62 !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
80 if (tmp & (1 << ap->port_no))
102 int dn = adev->devno + 2 * ap->port_no;
129 int dn = adev->devno + 2 * ap->port_no;
156 int dn = adev->devno + 2 * ap->port_no;
188 pci_read_config_byte(pdev, 0x44 + ap->port_no, &ultra);
190 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultra);
208 int dn = adev->devno + 2 * ap->port_no;
259 pci_read_config_byte(pdev, 0x44 + ap->port_no, &ultra);
267 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultr
[all...]
H A Dpata_atiixp.c59 pci_read_config_byte(pdev, ATIIXP_IDE_UDMA_MODE + ap->port_no, &udma);
86 if (!pci_test_config_bits(pdev, &atiixp_enable_bits[ap->port_no]))
108 int dn = 2 * ap->port_no + adev->devno;
109 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1);
156 int dn = 2 * ap->port_no + adev->devno;
172 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1);
218 int dn = (2 * ap->port_no) + adev->devno;
245 int dn = (2 * ap->port_no) + qc->dev->devno;
H A Dpata_cmd64x.c80 if (r & (1 << ap->port_no))
113 int arttim = arttim_port[ap->port_no][adev->devno];
114 int drwtim = drwtim_port[ap->port_no][adev->devno];
122 if (ap->port_no) {
200 int pciU = UDIDETCR0 + 8 * ap->port_no;
201 int pciD = BMIDESR0 + 8 * ap->port_no;
242 int irq_mask = ap->port_no ? ARTTIM23_INTR_CH1 : CFR_INTR_CH0;
243 int irq_reg = ap->port_no ? ARTTIM23 : CFR;
262 int irq_reg = ap->port_no ? ARTTIM23 : CFR;
282 int irq_mask = ap->port_no
[all...]
H A Dpata_pdc202xx_old.c33 if (cis & (1 << (10 + ap->port_no)))
51 if (ap->port_no) {
80 int port = 0x60 + 8 * ap->port_no + 4 * adev->devno;
127 int port = 0x60 + 8 * ap->port_no + 4 * adev->devno;
180 int sel66 = ap->port_no ? 0x08: 0x02;
184 void __iomem *atapi_reg = master + 0x20 + (4 * ap->port_no);
231 int sel66 = ap->port_no ? 0x08: 0x02;
235 void __iomem *atapi_reg = master + 0x20 + (4 * ap->port_no);
H A Dpata_sl82c105.c61 if (ap->port_no && !pci_test_config_bits(pdev, &sl82c105_enable_bits[ap->port_no]))
85 int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno);
122 int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno);
215 struct ata_port *alt = host->ports[1 ^ qc->ap->port_no];
233 u32 val, mask = ap->port_no ? CTRL_IDE_IRQB : CTRL_IDE_IRQA;
H A Dpata_hpt3x2n.c146 if (ata66 & (2 >> ap->port_no))
171 if (!pci_test_config_bits(pdev, &hpt3x2n_enable_bits[ap->port_no]))
175 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37);
179 pci_read_config_byte(pdev, 0x51 + 4 * ap->port_no, &mcr2);
181 pci_write_config_byte(pdev, 0x51 + 4 * ap->port_no, mcr2);
190 int addr = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
245 int mscreg = 0x50 + 4 * ap->port_no;
250 if (bwsr_stat & (1 << ap->port_no))
273 void __iomem *bmdma = ap->ioaddr.bmdma_addr - ap->port_no * 8;
310 struct ata_port *alt = ap->host->ports[ap->port_no
[all...]
H A Dpata_serverworks.c72 if (pdev->subsystem_device & (1 << (ap->port_no + 14)))
200 int offset = 1 + 2 * ap->port_no - adev->devno;
201 int devbits = (2 * ap->port_no + adev->devno) * 4;
230 int offset = 1 + 2 * ap->port_no - adev->devno;
231 int devbits = 2 * ap->port_no + adev->devno;
237 pci_read_config_byte(pdev, 0x56 + ap->port_no, &ultra);
251 pci_write_config_byte(pdev, 0x56 + ap->port_no, ultra);
H A Dpata_cmd640.c70 if (ap->port_no && pair) {
97 if (ap->port_no == 0) {
136 if (ap->port_no != 0 && adev->devno != timing->last) {
167 int irq_reg = ap->port_no ? ARTIM23 : CFR;
168 u8 irq_stat, irq_mask = ap->port_no ? 0x10 : 0x04;
H A Dpata_oldpiix.c47 if (!pci_test_config_bits(pdev, &oldpiix_enable_bits[ap->port_no]))
68 unsigned int idetm_port= ap->port_no ? 0x42 : 0x40;
129 u8 idetm_port = ap->port_no ? 0x42 : 0x40;
H A Dpata_hpt37x.c347 if (ata66 & (2 >> ap->port_no))
363 unsigned int mcrbase = 0x50 + 4 * ap->port_no;
375 if (ata66 & (2 >> ap->port_no))
399 if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no]))
403 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37);
410 pci_read_config_byte(pdev, 0x51 + 4 * ap->port_no, &mcr2);
418 pci_write_config_byte(pdev, 0x51 + 4 * ap->port_no, mcr2);
427 int addr = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
491 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37);
501 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no,
[all...]
H A Dpata_jmicron.c48 int port_mask = 1<< (4 * ap->port_no);
49 int port = ap->port_no;
H A Dpata_marvell.c67 if (pdev->device == 0x6145 && ap->port_no == 0 &&
77 switch(ap->port_no)
H A Dpata_ns87410.c35 if (!pci_test_config_bits(pdev, &ns87410_enable_bits[ap->port_no]))
53 int port = 0x40 + 4 * ap->port_no;
H A Dpata_cs5520.c69 pci_write_config_byte(pdev, 0x62 + ap->port_no,
74 pci_write_config_byte(pdev, 0x64 + 4*ap->port_no + slave,
78 pci_write_config_byte(pdev, 0x66 + 4*ap->port_no + slave,
210 rc = devm_request_irq(&pdev->dev, irq[ap->port_no],
/linux-master/net/bridge/
H A Dbr_stp_timer.c57 (unsigned int) p->port_no, p->dev->name,
85 (unsigned int) p->port_no, p->dev->name);
133 (unsigned int) p->port_no, p->dev->name);
H A Dbr_stp.c50 p->port_no, netdev_name(p->dev));
55 (unsigned int) p->port_no, p->dev->name);
58 (unsigned int) p->port_no, p->dev->name,
88 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no) argument
94 if (p->port_no == port_no)
157 (unsigned int) p->port_no, p->dev->name);
179 root_port = p->port_no;
481 if (p->port_no == br->root_port) {
546 if (p->port_no
[all...]

Completed in 198 milliseconds

1234