Home
last modified time | relevance | path

Searched refs:dsrc (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk104.c36 u32 dsrc; member
50 read_vco(struct gk104_clk *clk, u32 dsrc) in read_vco() argument
53 u32 ssrc = nvkm_rd32(device, dsrc); in read_vco()
106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
109 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div()
121 u32 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div()
126 return read_vco(clk, dsrc + (doff * 4)); in read_div()
234 calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() argument
243 *dsrc = 0x00000000; in calc_src()
245 *dsrc |= 0x00030000; in calc_src()
[all …]
Dgf100.c36 u32 dsrc; member
49 read_vco(struct gf100_clk *clk, u32 dsrc) in read_vco() argument
52 u32 ssrc = nvkm_rd32(device, dsrc); in read_vco()
98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
101 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div()
112 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div()
221 calc_src(struct gf100_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() argument
230 *dsrc = 0x00000000; in calc_src()
232 *dsrc |= 0x00030000; in calc_src()
235 *dsrc = 0x00000002; in calc_src()
[all …]
/drivers/mtd/nand/raw/
Dmeson_nand.c390 u8 *dsrc, *osrc; in meson_nfc_get_data_oob() local
395 dsrc = meson_nfc_data_ptr(nand, i); in meson_nfc_get_data_oob()
396 memcpy(buf, dsrc, nand->ecc.size); in meson_nfc_get_data_oob()
409 u8 *dsrc, *osrc; in meson_nfc_set_data_oob() local
414 dsrc = meson_nfc_data_ptr(nand, i); in meson_nfc_set_data_oob()
415 memcpy(dsrc, buf, nand->ecc.size); in meson_nfc_set_data_oob()