Lines Matching refs:pio
143 const struct nvkm_falcon_func_pio *pio = nvkm_falcon_pio(falcon, &mem_type, &mem_base); in nvkm_falcon_pio_rd() local
147 if (WARN_ON(!pio || !pio->rd)) in nvkm_falcon_pio_rd()
151 if (WARN_ON(!len || (len & (pio->min - 1)))) in nvkm_falcon_pio_rd()
154 pio->rd_init(falcon, port, mem_base); in nvkm_falcon_pio_rd()
156 xfer_len = min(len, pio->max); in nvkm_falcon_pio_rd()
157 pio->rd(falcon, port, img, xfer_len); in nvkm_falcon_pio_rd()
178 const struct nvkm_falcon_func_pio *pio = nvkm_falcon_pio(falcon, &mem_type, &mem_base); in nvkm_falcon_pio_wr() local
182 if (WARN_ON(!pio || !pio->wr)) in nvkm_falcon_pio_wr()
186 if (WARN_ON(!len || (len & (pio->min - 1)))) in nvkm_falcon_pio_wr()
189 pio->wr_init(falcon, port, sec, mem_base); in nvkm_falcon_pio_wr()
191 xfer_len = min(len, pio->max); in nvkm_falcon_pio_wr()
192 pio->wr(falcon, port, img, xfer_len, tag++); in nvkm_falcon_pio_wr()