Searched refs:seg_idx (Results 1 – 2 of 2) sorted by relevance
110 size_t seg_idx = in_idx * segments_per_pixel + i; in ssd1322_conv_mono01_grayscale() local111 size_t shift = BITS_PER_SEGMENT * (seg_idx % SEGMENTS_PER_BYTE); in ssd1322_conv_mono01_grayscale()114 buf_out[seg_idx / SEGMENTS_PER_BYTE] = color; in ssd1322_conv_mono01_grayscale()116 buf_out[seg_idx / SEGMENTS_PER_BYTE] |= color << shift; in ssd1322_conv_mono01_grayscale()
196 static void seg_tx_done(struct seg_tx *tx, uint8_t seg_idx) in seg_tx_done() argument198 k_mem_slab_free(&segs, (void *)tx->seg[seg_idx]); in seg_tx_done()199 tx->seg[seg_idx] = NULL; in seg_tx_done()