Searched refs:widx (Results 1 – 2 of 2) sorted by relevance
1695 u_int32_t widx, ridx, nfree; local1697 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);
3619 uint16_t widx = 0; in em_write_eeprom_spi() local3623 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()