Searched refs:port_index (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/net/ |
H A D | xilinx_ethlite.c | 97 unsigned int port_index; /* dual port RAM index */ member 117 static void *txbuf_ptr(XlnxXpsEthLite *s, unsigned port_index) in txbuf_ptr() argument 119 return memory_region_get_ram_ptr(&s->port[port_index].txbuf); in txbuf_ptr() 122 static void *rxbuf_ptr(XlnxXpsEthLite *s, unsigned port_index) in rxbuf_ptr() argument 124 return memory_region_get_ram_ptr(&s->port[port_index].rxbuf); in rxbuf_ptr() 130 unsigned port_index = addr_to_port_index(addr); in port_tx_read() local 135 r = s->port[port_index].reg.tx_len; in port_tx_read() 138 r = s->port[port_index].reg.tx_gie; in port_tx_read() 141 r = s->port[port_index].reg.tx_ctrl; in port_tx_read() 154 unsigned port_index = addr_to_port_index(addr); in port_tx_write() local [all …]
|
/qemu/hw/scsi/ |
H A D | scsi-disk.c | 104 uint16_t port_index; member 739 if (s->port_index) { in scsi_disk_emulate_vpd_page() 747 stw_be_p(&outbuf[buflen + 2], s->port_index); in scsi_disk_emulate_vpd_page() 3198 DEFINE_PROP_UINT16("port_index", SCSIDiskState, port_index, 0), 3253 DEFINE_PROP_UINT16("port_index", SCSIDiskState, port_index, 0),
|