Searched refs:ridx (Results 1 – 4 of 4) sorted by relevance
60 uint32_t ridx = idx - track_base_idx[ctx]; in track_produce() local61 uint32_t word = ridx / MASK_BITS; in track_produce()62 uint32_t bit = ridx & (MASK_BITS - 1); in track_produce()73 uint32_t ridx = idx - base_idx; in track_consume() local74 uint32_t word = ridx / MASK_BITS; in track_consume()75 uint32_t bit = ridx & (MASK_BITS - 1); in track_consume()
86 size_t ridx; member330 (data->ridx == data->active_msg->len - 1)) { in i2c_r_last_byte()800 if (data->ridx < data->active_msg->len) { in i2c_tran_read()803 data->ridx++; in i2c_tran_read()807 if (data->ridx == data->active_msg->len) { in i2c_tran_read()984 data->ridx = 0; in i2c_it8xxx2_transfer()
125 size_t ridx; member458 if (((data->ridx + 1) == data->active_msg->len) && in i2c_pio_trans_data()500 if (data->ridx < data->active_msg->len) { in enhanced_i2c_tran_read()503 data->ridx++; in enhanced_i2c_tran_read()505 if (data->ridx == data->active_msg->len) { in enhanced_i2c_tran_read()614 data->ridx = 0; in i2c_enhance_pio_transfer()
259 int ridx; in its_queue_full() local262 ridx = sys_read32(data->base + GITS_CREADR) / sizeof(struct its_cmd_block); in its_queue_full()265 return (((widx + 1) % ITS_CMD_QUEUE_NR_ENTRIES) == ridx); in its_queue_full()