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