Home
last modified time | relevance | path

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

/Linux-v6.6/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 …]
/Linux-v6.6/arch/powerpc/perf/
Disa207-common.c308 void isa207_get_mem_data_src(union perf_mem_data_src *dsrc, u32 flags, in isa207_get_mem_data_src() argument
318 dsrc->val = 0; in isa207_get_mem_data_src()
330 dsrc->val = isa207_find_source(idx, sub_idx); in isa207_get_mem_data_src()
347 dsrc->val |= P(OP, LOAD); in isa207_get_mem_data_src()
350 dsrc->val |= P(OP, STORE); in isa207_get_mem_data_src()
353 dsrc->val |= P(OP, NA); in isa207_get_mem_data_src()
357 dsrc->val |= (val == 1) ? P(OP, LOAD) : P(OP, STORE); in isa207_get_mem_data_src()
Disa207-common.h287 void isa207_get_mem_data_src(union perf_mem_data_src *dsrc, u32 flags,
/Linux-v6.6/arch/powerpc/include/asm/
Dperf_event_server.h44 void (*get_mem_data_src)(union perf_mem_data_src *dsrc,
/Linux-v6.6/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()