Searched defs:ioaddr (Results 1 - 25 of 37) sorted by relevance

12

/external/syslinux/gpxe/src/drivers/bus/
H A Dvirtio-pci.c19 int vp_find_vq(unsigned int ioaddr, int queue_index, argument
27 outw(queue_index, ioaddr + VIRTIO_PCI_QUEUE_SEL);
31 num = inw(ioaddr + VIRTIO_PCI_QUEUE_NUM);
44 if (inl(ioaddr + VIRTIO_PCI_QUEUE_PFN)) {
61 ioaddr + VIRTIO_PCI_QUEUE_PFN);
H A Dvirtio-ring.c123 void vring_kick(unsigned int ioaddr, struct vring_virtqueue *vq, int num_added) argument
132 vp_notify(ioaddr, vq->queue_index);
/external/syslinux/gpxe/src/include/gpxe/
H A Ddevice.h35 unsigned long ioaddr; member in struct:device_description
H A Disa.h16 uint16_t ioaddr; member in struct:isa_device
H A Deisa.h44 uint16_t ioaddr; member in struct:eisa_device
H A Dvirtio-pci.h40 static inline u32 vp_get_features(unsigned int ioaddr) argument
42 return inl(ioaddr + VIRTIO_PCI_HOST_FEATURES);
45 static inline void vp_set_features(unsigned int ioaddr, u32 features) argument
47 outl(features, ioaddr + VIRTIO_PCI_GUEST_FEATURES);
50 static inline void vp_get(unsigned int ioaddr, unsigned offset, argument
57 ptr[i] = inb(ioaddr + VIRTIO_PCI_CONFIG + offset + i);
60 static inline u8 vp_get_status(unsigned int ioaddr) argument
62 return inb(ioaddr + VIRTIO_PCI_STATUS);
65 static inline void vp_set_status(unsigned int ioaddr, u8 status) argument
69 outb(status, ioaddr
73 vp_reset(unsigned int ioaddr) argument
79 vp_notify(unsigned int ioaddr, int queue_index) argument
84 vp_del_vq(unsigned int ioaddr, int queue_index) argument
[all...]
H A Disapnp.h186 uint16_t ioaddr; member in struct:isapnp_device
/external/syslinux/gpxe/src/drivers/net/
H A D3c5x9.c42 outw(RX_DISABLE, nic->ioaddr + EP_COMMAND);
43 outw(RX_DISCARD_TOP_PACK, nic->ioaddr + EP_COMMAND);
44 while (inw(nic->ioaddr + EP_STATUS) & S_COMMAND_IN_PROGRESS)
46 outw(TX_DISABLE, nic->ioaddr + EP_COMMAND);
47 outw(STOP_TRANSCEIVER, nic->ioaddr + EP_COMMAND);
49 outw(RX_RESET, nic->ioaddr + EP_COMMAND);
50 outw(TX_RESET, nic->ioaddr + EP_COMMAND);
51 outw(C_INTR_LATCH, nic->ioaddr + EP_COMMAND);
52 outw(SET_RD_0_MASK, nic->ioaddr + EP_COMMAND);
53 outw(SET_INTR_MASK, nic->ioaddr
322 get_e( uint16_t ioaddr, int offset ) argument
[all...]
H A Dpnic.c30 unsigned short ioaddr; member in struct:pnic
54 outw ( input_length, pnic->ioaddr + PNIC_REG_LEN );
56 outsb ( pnic->ioaddr + PNIC_REG_DATA, input, input_length );
59 outw ( command, pnic->ioaddr + PNIC_REG_CMD );
61 status = inw ( pnic->ioaddr + PNIC_REG_STAT );
63 _output_length = inw ( pnic->ioaddr + PNIC_REG_LEN );
81 insb ( pnic->ioaddr + PNIC_REG_DATA, output, _output_length );
234 pnic->ioaddr = pci->ioaddr;
H A D3c509.c46 uint16_t ioaddr; member in struct:t509_device
104 static inline void t509_activate ( uint16_t ioaddr ) {
105 outb ( 0xe0 | ( ioaddr >> 4 ), t509_id_port );
108 static inline void t509_deactivate_and_reset_tag ( uint16_t ioaddr ) {
109 outb ( GLOBAL_RESET, ioaddr + EP_COMMAND );
245 * The device will be enabled at whatever ioaddr is specified in the
247 * ioaddr read from the EEPROM.
253 t509_activate ( t509->ioaddr );
254 DBG ( "T509 activated device %02x at ioaddr %04x\n",
255 t509->tag, t509->ioaddr );
[all...]
H A Dne2k_isa.c114 static int ne_probe1(isa_probe_addr_t ioaddr) { argument
119 state = inb(ioaddr);
120 outb(ioaddr, D8390_COMMAND_RD2 | D8390_COMMAND_PS1 | D8390_COMMAND_STP);
121 regd = inb(ioaddr + D8390_P0_TCR);
123 if (inb(ioaddr + D8390_P0_TCR)) {
124 outb(ioaddr, state);
125 outb(ioaddr + 0x0d, regd);
145 nic->ioaddr = isa->ioaddr;
146 eth_nic_base = isa->ioaddr;
[all...]
H A D3c90x.c66 * @v ioaddr IOAddress of the NIC
70 static void a3c90x_internal_IssueCommand(int ioaddr, int cmd, int param) argument
78 outw(val, ioaddr + regCommandIntStatus_w);
82 if (inw(ioaddr + regCommandIntStatus_w) & INT_CMDINPROGRESS) {
884 if (pci->ioaddr == 0)
901 inf_3c90x->IOAddr = pci->ioaddr;
H A Deepro100.c179 if ( pci->ioaddr == 0 )
198 priv->ioaddr = pci->ioaddr;
260 unsigned long ioaddr = priv->ioaddr; local
269 intr_status = inw ( ioaddr + SCBStatus );
270 outw ( intr_status, ioaddr + SCBStatus );
271 inw ( ioaddr + SCBStatus );
293 unsigned long ioaddr = priv->ioaddr; local
447 unsigned long ioaddr = priv->ioaddr; local
620 unsigned long ioaddr = priv->ioaddr; local
684 unsigned long ioaddr = priv->ioaddr; local
713 unsigned long ioaddr = priv->ioaddr; local
990 unsigned long ioaddr = priv->ioaddr; local
1120 unsigned long ioaddr = priv->ioaddr; local
[all...]
H A Dsmc9000.c70 static word smc_read_phy_register(int ioaddr, byte phyaddr, byte phyreg) argument
134 oldBank = inw( ioaddr+BANK_SELECT );
137 SMC_SELECT_BANK(ioaddr, 3);
140 mii_reg = inw( ioaddr+MII_REG );
149 outw( mii_reg | bits[i], ioaddr+MII_REG );
154 outw( mii_reg | bits[i] | MII_MCLK, ioaddr+MII_REG );
156 bits[i] |= inw( ioaddr+MII_REG ) & MII_MDI;
161 outw( mii_reg, ioaddr+MII_REG );
165 SMC_SELECT_BANK(ioaddr, oldBank);
189 static void smc_write_phy_register(int ioaddr, argument
301 smc_detect_phy(int ioaddr, byte *pphyaddr) argument
353 smc_phy_configure(int ioaddr) argument
520 smc_reset(int ioaddr) argument
[all...]
H A Ddavicom.c133 static unsigned long ioaddr;
160 static int read_eeprom(unsigned long ioaddr, int location, int addr_len);
223 io_dcr9 = ioaddr + CSR9;
267 io_dcr9 = ioaddr + CSR9;
362 outl(csr6, ioaddr + CSR6);
382 outl(csr6, ioaddr + CSR6);
398 static int read_eeprom(unsigned long ioaddr, int location, int addr_len)
402 long ee_addr = ioaddr + CSR9;
493 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr
132 static unsigned long ioaddr; variable
393 read_eeprom(unsigned long ioaddr, int location, int addr_len) argument
[all...]
H A Depic100.c67 static int ioaddr; variable
115 if (pci->ioaddr == 0)
123 ioaddr = pci->ioaddr;
126 nic->ioaddr = pci->ioaddr & ~3;
129 command = ioaddr + COMMAND; /* Control Register */
130 intstat = ioaddr + INTSTAT; /* Interrupt Status */
131 intmask = ioaddr + INTMASK; /* Interrupt Mask */
132 genctl = ioaddr
[all...]
H A Dsis900.c62 static unsigned long ioaddr;
218 /* long ioaddr = net_dev->base_addr; */
219 long ee_addr = ioaddr + mear;
304 rfcrSave = inl(rfcr + ioaddr);
306 outl(rfcrSave | RELOAD, ioaddr + cr);
307 outl(0, ioaddr + cr);
310 outl(rfcrSave & ~RFEN, rfcr + ioaddr);
314 outl((i << RFADDR_shift), ioaddr + rfcr);
315 *( ((u16 *)nic->node_addr) + i) = inw(ioaddr + rfdr);
319 outl(rfcrSave | RFEN, rfcr + ioaddr);
61 static unsigned long ioaddr; variable
[all...]
H A Deepro100.h146 unsigned long ioaddr; member in struct:ifec_private
H A Dnatsemi.h25 unsigned short ioaddr; member in struct:natsemi_private
H A Dpcnet32.c56 static u32 ioaddr; /* Globally used for the card's io address */ variable
419 lp->a.reset(ioaddr);
422 lp->a.write_bcr(ioaddr, 20, 2);
425 val = lp->a.read_bcr(ioaddr, 2) & ~2;
428 lp->a.write_bcr(ioaddr, 2, val);
432 val = lp->a.read_bcr(ioaddr, 9) & ~3;
441 read_csr(ioaddr,
442 88) | (lp->a.read_csr(ioaddr,
448 lp->a.write_bcr(ioaddr, 9, val);
452 val = lp->a.read_csr(ioaddr, 12
[all...]
H A Dsis190.c82 static void __mdio_cmd(void *ioaddr, u32 ctl) argument
100 static void mdio_write(void *ioaddr, int phy_id, int reg, int val) argument
102 __mdio_cmd(ioaddr, EhnMIIreq | EhnMIIwrite |
107 static int mdio_read(void *ioaddr, int phy_id, int reg) argument
109 __mdio_cmd(ioaddr, EhnMIIreq | EhnMIIread |
129 static u16 mdio_read_latched(void *ioaddr, int phy_id, int reg) argument
131 mdio_read(ioaddr, phy_id, reg);
132 return mdio_read(ioaddr, phy_id, reg);
135 static u16 sis190_read_eeprom(void *ioaddr, u32 reg) argument
156 static void sis190_irq_mask_and_ack(void *ioaddr) argument
163 sis190_asic_down(void *ioaddr) argument
354 void *ioaddr = tp->mmio_addr; local
406 void *ioaddr = tp->mmio_addr; local
419 sis190_soft_reset(void *ioaddr) argument
430 void *ioaddr = tp->mmio_addr; local
458 void *ioaddr = tp->mmio_addr; local
598 void *ioaddr = tp->mmio_addr; local
641 void *ioaddr = tp->mmio_addr; local
700 void *ioaddr = tp->mmio_addr; local
753 void *ioaddr = tp->mmio_addr; local
788 void *ioaddr = tp->mmio_addr; local
816 void *ioaddr = tp->mmio_addr; local
877 void *ioaddr; local
927 void *ioaddr = tp->mmio_addr; local
1029 void *ioaddr = tp->mmio_addr; local
1068 void *ioaddr = tp->mmio_addr; local
1093 void *ioaddr = tp->mmio_addr; local
1118 void *ioaddr; local
1160 void *ioaddr = tp->mmio_addr; local
[all...]
/external/syslinux/gpxe/src/include/
H A Dnic.h45 unsigned int ioaddr; member in struct:nic
175 if ( ! _probe_addr ( isa->ioaddr ) ) \
H A Dpcmcia.h33 int ioaddr; member in struct:pccsock_t
/external/syslinux/gpxe/src/core/
H A Di82365.c91 ioaddr_t ioaddr; member in struct:socket_info_t
125 ioaddr_t port = pccsock[sock].ioaddr;
139 ioaddr_t port = pccsock[sock].ioaddr;
147 pccsock[pccsocks].ioaddr = port;
209 pccsock[pccsocks].ioaddr = port;
/external/syslinux/gpxe/src/drivers/net/e1000/
H A De1000.h278 uint32_t ioaddr; member in struct:e1000_adapter

Completed in 303 milliseconds

12