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

12345678

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/h8300/platform/h8s/
H A Dirq.c40 unsigned char port_no; member in struct:irq_pins
70 port = irq_assign_table1[irq - EXT_IRQ0].port_no; \
73 port = irq_assign_table0[irq - EXT_IRQ0].port_no; \
82 unsigned int port_no,bit_no; local
83 IRQ_GPIO_MAP(ptn, irq, port_no, bit_no);
84 if (H8300_GPIO_RESERVE(port_no, bit_no) == 0)
86 H8300_GPIO_DDR(port_no, bit_no, H8300_GPIO_INPUT);
98 unsigned short port_no,bit_no; local
101 IRQ_GPIO_MAP(ptn, irq, port_no, bit_no);
102 H8300_GPIO_FREE(port_no, bit_n
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/h8300/platform/h8s/
H A Dirq.c40 unsigned char port_no; member in struct:irq_pins
70 port = irq_assign_table1[irq - EXT_IRQ0].port_no; \
73 port = irq_assign_table0[irq - EXT_IRQ0].port_no; \
82 unsigned int port_no,bit_no; local
83 IRQ_GPIO_MAP(ptn, irq, port_no, bit_no);
84 if (H8300_GPIO_RESERVE(port_no, bit_no) == 0)
86 H8300_GPIO_DDR(port_no, bit_no, H8300_GPIO_INPUT);
98 unsigned short port_no,bit_no; local
101 IRQ_GPIO_MAP(ptn, irq, port_no, bit_no);
102 H8300_GPIO_FREE(port_no, bit_n
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/pcmcia/ipwireless/
H A Dsetup_protocol.h53 unsigned char port_no; member in struct:tl_setup_config_msg
65 unsigned char port_no; member in struct:tl_setup_open_msg
70 unsigned char port_no; member in struct:tl_setup_close_msg
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/pcmcia/ipwireless/
H A Dsetup_protocol.h53 unsigned char port_no; member in struct:tl_setup_config_msg
65 unsigned char port_no; member in struct:tl_setup_open_msg
70 unsigned char port_no; member in struct:tl_setup_close_msg
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/ide/
H A Dide-legacy.c5 u8 port_no, const struct ide_port_info *d,
11 if (port_no == 0) {
38 hws[port_no] = hw;
4 ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw, u8 port_no, const struct ide_port_info *d, unsigned long config) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/ide/
H A Dide-legacy.c5 u8 port_no, const struct ide_port_info *d,
11 if (port_no == 0) {
38 hws[port_no] = hw;
4 ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw, u8 port_no, const struct ide_port_info *d, unsigned long config) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/ata/
H A Dsata_qstor.c191 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
201 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
321 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
388 unsigned int port_no = (sff1 >> 8) & 0x03; local
389 struct ata_port *ap = host->ports[port_no];
394 sff1, sff0, port_no, sHST, sDST);
417 unsigned int handled = 0, port_no; local
419 for (port_no = 0; port_no < host->n_ports; ++port_no) {
519 unsigned int port_no; local
596 int rc, port_no; local
[all...]
H A Dpdc_adma.c51 #define ADMA_ATA_REGS(base, port_no) ((base) + ((port_no) * 0x40))
54 #define ADMA_REGS(base, port_no) ((base) + 0x80 + ((port_no) * 0x20))
58 ADMA_REGS((ap)->host->iomap[ADMA_MMIO_BAR], ap->port_no)
414 unsigned int handled = 0, port_no; local
416 for (port_no = 0; port_no < host->n_ports; ++port_no) {
417 struct ata_port *ap = host->ports[port_no];
464 unsigned int handled = 0, port_no; local
569 unsigned int port_no; local
606 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 idetm_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.c60 mask = 0x30 << (2 * ap->port_no);
84 if (!pci_test_config_bits(pdev, &rdc_enable_bits[ap->port_no]))
105 unsigned int master_port= ap->port_no ? 0x42 : 0x40;
140 slave_data &= (ap->port_no ? 0x0f : 0xf0);
143 << (ap->port_no ? 4 : 0);
162 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno));
180 u8 master_port = ap->port_no ? 0x42 : 0x40;
183 int devid = adev->devno + 2 * ap->port_no;
257 slave_data &= (ap->port_no ? 0x0f : 0xf0);
259 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no
[all...]
H A Dpata_artop.c51 if (!pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
78 !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
96 if (tmp & (1 << ap->port_no))
118 int dn = adev->devno + 2 * ap->port_no;
145 int dn = adev->devno + 2 * ap->port_no;
172 int dn = adev->devno + 2 * ap->port_no;
204 pci_read_config_byte(pdev, 0x44 + ap->port_no, &ultra);
206 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultra);
224 int dn = adev->devno + 2 * ap->port_no;
275 pci_read_config_byte(pdev, 0x44 + ap->port_no,
[all...]
H A Dpata_atiixp.c43 pci_read_config_byte(pdev, ATIIXP_IDE_UDMA_MODE + ap->port_no, &udma);
66 int dn = 2 * ap->port_no + adev->devno;
67 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1);
114 int dn = 2 * ap->port_no + adev->devno;
130 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1);
176 int dn = (2 * ap->port_no) + adev->devno;
203 int dn = (2 * ap->port_no) + qc->dev->devno;
H A Dpata_cmd64x.c76 if (r & (1 << ap->port_no))
109 int arttim = arttim_port[ap->port_no][adev->devno];
110 int drwtim = drwtim_port[ap->port_no][adev->devno];
118 if (ap->port_no) {
196 int pciU = UDIDETCR0 + 8 * ap->port_no;
197 int pciD = BMIDESR0 + 8 * ap->port_no;
240 int dma_mask = ap->port_no ? ARTTIM23_INTR_CH1 : CFR_INTR_CH0;
241 int dma_reg = ap->port_no ? ARTTIM23 : CFR;
H A Dpata_serverworks.c71 if (pdev->subsystem_device & (1 << (ap->port_no + 14)))
88 if (pdev->subsystem_device & (1 << (ap->port_no + 14)))
244 int offset = 1 + 2 * ap->port_no - adev->devno;
245 int devbits = (2 * ap->port_no + adev->devno) * 4;
274 int offset = 1 + 2 * ap->port_no - adev->devno;
275 int devbits = 2 * ap->port_no + adev->devno;
281 pci_read_config_byte(pdev, 0x56 + ap->port_no, &ultra);
295 pci_write_config_byte(pdev, 0x56 + ap->port_no, ultra);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/ata/
H A Dsata_qstor.c191 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
201 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
321 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000);
388 unsigned int port_no = (sff1 >> 8) & 0x03; local
389 struct ata_port *ap = host->ports[port_no];
394 sff1, sff0, port_no, sHST, sDST);
417 unsigned int handled = 0, port_no; local
419 for (port_no = 0; port_no < host->n_ports; ++port_no) {
519 unsigned int port_no; local
596 int rc, port_no; local
[all...]
H A Dpdc_adma.c51 #define ADMA_ATA_REGS(base, port_no) ((base) + ((port_no) * 0x40))
54 #define ADMA_REGS(base, port_no) ((base) + 0x80 + ((port_no) * 0x20))
58 ADMA_REGS((ap)->host->iomap[ADMA_MMIO_BAR], ap->port_no)
414 unsigned int handled = 0, port_no; local
416 for (port_no = 0; port_no < host->n_ports; ++port_no) {
417 struct ata_port *ap = host->ports[port_no];
464 unsigned int handled = 0, port_no; local
569 unsigned int port_no; local
606 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 idetm_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.c60 mask = 0x30 << (2 * ap->port_no);
84 if (!pci_test_config_bits(pdev, &rdc_enable_bits[ap->port_no]))
105 unsigned int master_port= ap->port_no ? 0x42 : 0x40;
140 slave_data &= (ap->port_no ? 0x0f : 0xf0);
143 << (ap->port_no ? 4 : 0);
162 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno));
180 u8 master_port = ap->port_no ? 0x42 : 0x40;
183 int devid = adev->devno + 2 * ap->port_no;
257 slave_data &= (ap->port_no ? 0x0f : 0xf0);
259 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no
[all...]
H A Dpata_artop.c51 if (!pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
78 !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
96 if (tmp & (1 << ap->port_no))
118 int dn = adev->devno + 2 * ap->port_no;
145 int dn = adev->devno + 2 * ap->port_no;
172 int dn = adev->devno + 2 * ap->port_no;
204 pci_read_config_byte(pdev, 0x44 + ap->port_no, &ultra);
206 pci_write_config_byte(pdev, 0x44 + ap->port_no, ultra);
224 int dn = adev->devno + 2 * ap->port_no;
275 pci_read_config_byte(pdev, 0x44 + ap->port_no,
[all...]
H A Dpata_atiixp.c43 pci_read_config_byte(pdev, ATIIXP_IDE_UDMA_MODE + ap->port_no, &udma);
66 int dn = 2 * ap->port_no + adev->devno;
67 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1);
114 int dn = 2 * ap->port_no + adev->devno;
130 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1);
176 int dn = (2 * ap->port_no) + adev->devno;
203 int dn = (2 * ap->port_no) + qc->dev->devno;
H A Dpata_cmd64x.c76 if (r & (1 << ap->port_no))
109 int arttim = arttim_port[ap->port_no][adev->devno];
110 int drwtim = drwtim_port[ap->port_no][adev->devno];
118 if (ap->port_no) {
196 int pciU = UDIDETCR0 + 8 * ap->port_no;
197 int pciD = BMIDESR0 + 8 * ap->port_no;
240 int dma_mask = ap->port_no ? ARTTIM23_INTR_CH1 : CFR_INTR_CH0;
241 int dma_reg = ap->port_no ? ARTTIM23 : CFR;
H A Dpata_serverworks.c71 if (pdev->subsystem_device & (1 << (ap->port_no + 14)))
88 if (pdev->subsystem_device & (1 << (ap->port_no + 14)))
244 int offset = 1 + 2 * ap->port_no - adev->devno;
245 int devbits = (2 * ap->port_no + adev->devno) * 4;
274 int offset = 1 + 2 * ap->port_no - adev->devno;
275 int devbits = 2 * ap->port_no + adev->devno;
281 pci_read_config_byte(pdev, 0x56 + ap->port_no, &ultra);
295 pci_write_config_byte(pdev, 0x56 + ap->port_no, ultra);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/bridge/libbridge/
H A Dlibbridge.h56 u_int16_t port_no; member in struct:fdb_entry
63 unsigned port_no; member in struct:port_info
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/bridge/libbridge/
H A Dlibbridge.h56 u_int16_t port_no; member in struct:fdb_entry
63 unsigned port_no; member in struct:port_info
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/bridge/libbridge/
H A Dlibbridge.h56 u_int16_t port_no; member in struct:fdb_entry
63 unsigned port_no; member in struct:port_info

Completed in 228 milliseconds

12345678