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

12

/vbox/src/VBox/Devices/PC/ipxe/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.c125 void vring_kick(unsigned int ioaddr, struct vring_virtqueue *vq, int num_added) argument
134 vp_notify(ioaddr, vq->queue_index);
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Disa.h16 uint16_t ioaddr; member in struct:isa_device
H A Ddevice.h39 unsigned long ioaddr; member in struct:device_description
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
72 vp_get_isr(unsigned int ioaddr) argument
77 vp_reset(unsigned int ioaddr) argument
83 vp_notify(unsigned int ioaddr, int queue_index) argument
88 vp_del_vq(unsigned int ioaddr, int queue_index) argument
[all...]
H A Disapnp.h195 uint16_t ioaddr; member in struct:isapnp_device
/vbox/src/recompiler/
H A Dsoftmmu_template.h121 target_phys_addr_t ioaddr; local
136 ioaddr = env->iotlb[mmu_idx][index];
137 res = glue(io_read, SUFFIX)(ioaddr, addr, retaddr);
178 target_phys_addr_t ioaddr; local
190 ioaddr = env->iotlb[mmu_idx][index];
191 res = glue(io_read, SUFFIX)(ioaddr, addr, retaddr);
260 target_phys_addr_t ioaddr; local
275 ioaddr = env->iotlb[mmu_idx][index];
276 glue(io_write, SUFFIX)(ioaddr, val, addr, retaddr);
314 target_phys_addr_t ioaddr; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/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.c39 unsigned short ioaddr; member in struct:pnic
63 outw ( input_length, pnic->ioaddr + PNIC_REG_LEN );
65 outsb ( pnic->ioaddr + PNIC_REG_DATA, input, input_length );
68 outw ( command, pnic->ioaddr + PNIC_REG_CMD );
70 status = inw ( pnic->ioaddr + PNIC_REG_STAT );
72 _output_length = inw ( pnic->ioaddr + PNIC_REG_LEN );
90 insb ( pnic->ioaddr + PNIC_REG_DATA, output, _output_length );
242 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 Dvirtio-net.c89 unsigned long ioaddr; member in struct:virtnet_nic
138 vring_kick ( virtnet->ioaddr, vq, 1 );
174 unsigned long ioaddr = virtnet->ioaddr; local
179 vp_reset ( ioaddr );
189 if ( vp_find_vq ( ioaddr, i, &virtnet->virtqueue[i] ) == -1 ) {
207 features = vp_get_features ( ioaddr );
208 vp_set_features ( ioaddr, features & ( 1 << VIRTIO_NET_F_MAC ) );
209 vp_set_status ( ioaddr, VIRTIO_CONFIG_S_DRIVER | VIRTIO_CONFIG_S_DRIVER_OK );
222 vp_reset ( virtnet->ioaddr );
348 unsigned long ioaddr = pci->ioaddr; local
[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) {
878 if (pci->ioaddr == 0)
895 inf_3c90x->IOAddr = pci->ioaddr;
H A Deepro100.c187 if ( pci->ioaddr == 0 )
206 priv->ioaddr = pci->ioaddr;
268 unsigned long ioaddr = priv->ioaddr; local
277 intr_status = inw ( ioaddr + SCBStatus );
278 outw ( intr_status, ioaddr + SCBStatus );
279 inw ( ioaddr + SCBStatus );
301 unsigned long ioaddr = priv->ioaddr; local
449 unsigned long ioaddr = priv->ioaddr; local
583 unsigned long ioaddr = priv->ioaddr; local
647 unsigned long ioaddr = priv->ioaddr; local
676 unsigned long ioaddr = priv->ioaddr; local
953 unsigned long ioaddr = priv->ioaddr; local
1083 unsigned long ioaddr = priv->ioaddr; local
[all...]
H A Dpcnet32.c156 unsigned long ioaddr = priv->pci_dev->ioaddr; local
163 priv->a->write_bcr ( ioaddr, 33,
167 val_out = priv->a->read_bcr ( ioaddr, 34 );
176 unsigned long ioaddr = priv->pci_dev->ioaddr; local
182 priv->a->write_bcr ( ioaddr, 33,
186 priv->a->write_bcr ( ioaddr, 34, val );
323 unsigned long ioaddr; local
328 ioaddr
440 unsigned long ioaddr; local
515 unsigned long ioaddr = priv->pci_dev->ioaddr; local
553 unsigned long ioaddr = priv->pci_dev->ioaddr; local
596 unsigned long ioaddr = priv->pci_dev->ioaddr; local
668 unsigned long ioaddr = priv->pci_dev->ioaddr; local
694 unsigned long ioaddr = priv->pci_dev->ioaddr; local
758 unsigned long ioaddr = priv->pci_dev->ioaddr; local
917 unsigned long ioaddr = priv->pci_dev->ioaddr; local
950 unsigned long ioaddr = priv->pci_dev->ioaddr; local
970 unsigned long ioaddr = priv->pci_dev->ioaddr; local
988 unsigned long ioaddr = priv->pci_dev->ioaddr; local
1041 unsigned long ioaddr; local
1138 unsigned long ioaddr = pdev->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
517 smc_reset(int ioaddr) argument
[all...]
H A Ddavicom.c130 static unsigned long ioaddr;
157 static int read_eeprom(unsigned long ioaddr, int location, int addr_len);
206 io_dcr9 = ioaddr + CSR9;
250 io_dcr9 = ioaddr + CSR9;
345 outl(csr6, ioaddr + CSR6);
365 outl(csr6, ioaddr + CSR6);
381 static int read_eeprom(unsigned long ioaddr, int location, int addr_len)
385 long ee_addr = ioaddr + CSR9;
476 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr
129 static unsigned long ioaddr; variable
376 read_eeprom(unsigned long ioaddr, int location, int addr_len) argument
[all...]
H A Depic100.c66 static int ioaddr; variable
114 if (pci->ioaddr == 0)
122 ioaddr = pci->ioaddr;
125 nic->ioaddr = pci->ioaddr & ~3;
128 command = ioaddr + COMMAND; /* Control Register */
129 intstat = ioaddr + INTSTAT; /* Interrupt Status */
130 intmask = ioaddr + INTMASK; /* Interrupt Mask */
131 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
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dnic.h54 unsigned int ioaddr; member in struct:nic
183 if ( ! _probe_addr ( isa->ioaddr ) ) \
H A Dpcmcia.h33 int ioaddr; member in struct:pccsock_t
/vbox/src/VBox/Devices/PC/ipxe/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;
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/igbvf/
H A Digbvf.h298 uint32_t ioaddr; member in struct:igbvf_adapter

Completed in 91 milliseconds

12