Home
last modified time | relevance | path

Searched refs:widx (Results 1 – 2 of 2) sorted by relevance

/mirbsd/src/sys/dev/pci/
Dif_txp.c1695 u_int32_t widx, ridx, nfree; local
1697 widx = sc->sc_cmdring.lastwrite;
1700 if (widx == ridx) {
1704 if (widx > ridx)
1706 (widx - ridx + sizeof(struct txp_cmd_desc));
1708 nfree = ridx - widx - sizeof(struct txp_cmd_desc);
Dif_em_hw.c3619 uint16_t widx = 0; in em_write_eeprom_spi() local
3623 while (widx < words) { in em_write_eeprom_spi()
3643 em_shift_out_ee_bits(hw, (uint16_t)((offset + widx)*2), in em_write_eeprom_spi()
3649 while (widx < words) { in em_write_eeprom_spi()
3650 uint16_t word_out = data[widx]; in em_write_eeprom_spi()
3653 widx++; in em_write_eeprom_spi()
3659 if((((offset + widx)*2) % eeprom->page_size) == 0) { in em_write_eeprom_spi()