Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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.h286 void isa207_get_mem_data_src(union perf_mem_data_src *dsrc, u32 flags,
/linux-5.19.10/arch/powerpc/include/asm/
Dperf_event_server.h44 void (*get_mem_data_src)(union perf_mem_data_src *dsrc,
/linux-5.19.10/drivers/mtd/nand/raw/
Dmeson_nand.c356 u8 *dsrc, *osrc; in meson_nfc_get_data_oob() local
361 dsrc = meson_nfc_data_ptr(nand, i); in meson_nfc_get_data_oob()
362 memcpy(buf, dsrc, nand->ecc.size); in meson_nfc_get_data_oob()
375 u8 *dsrc, *osrc; in meson_nfc_set_data_oob() local
380 dsrc = meson_nfc_data_ptr(nand, i); in meson_nfc_set_data_oob()
381 memcpy(dsrc, buf, nand->ecc.size); in meson_nfc_set_data_oob()