Lines Matching full:sg
26 struct scatterlist sg[10]; in example_init() local
58 * We need two different SG entries: one for the free space area at the in example_init()
62 sg_init_table(sg, ARRAY_SIZE(sg)); in example_init()
63 nents = kfifo_dma_in_prepare(&fifo, sg, ARRAY_SIZE(sg), FIFO_SIZE); in example_init()
75 "sg[%d] -> " in example_init()
77 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init()
79 if (sg_is_last(&sg[i])) in example_init()
93 nents = kfifo_dma_out_prepare(&fifo, sg, ARRAY_SIZE(sg), 8); in example_init()
104 "sg[%d] -> " in example_init()
106 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init()
108 if (sg_is_last(&sg[i])) in example_init()