Home
last modified time | relevance | path

Searched refs:drc (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun6i_drc.c25 struct sun6i_drc *drc; in sun6i_drc_bind() local
28 drc = devm_kzalloc(dev, sizeof(*drc), GFP_KERNEL); in sun6i_drc_bind()
29 if (!drc) in sun6i_drc_bind()
31 dev_set_drvdata(dev, drc); in sun6i_drc_bind()
33 drc->reset = devm_reset_control_get(dev, NULL); in sun6i_drc_bind()
34 if (IS_ERR(drc->reset)) { in sun6i_drc_bind()
36 return PTR_ERR(drc->reset); in sun6i_drc_bind()
39 ret = reset_control_deassert(drc->reset); in sun6i_drc_bind()
45 drc->bus_clk = devm_clk_get(dev, "ahb"); in sun6i_drc_bind()
46 if (IS_ERR(drc->bus_clk)) { in sun6i_drc_bind()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-is-param.c123 __hw_param_copy(&par->drc.control, &cfg->drc.control); in __fimc_is_hw_update_param()
127 __hw_param_copy(&par->drc.otf_input, &cfg->drc.otf_input); in __fimc_is_hw_update_param()
131 __hw_param_copy(&par->drc.dma_input, &cfg->drc.dma_input); in __fimc_is_hw_update_param()
135 __hw_param_copy(&par->drc.otf_output, &cfg->drc.otf_output); in __fimc_is_hw_update_param()
220 struct drc_param *drc; in __is_set_frame_size() local
224 drc = &is->config[index].drc; in __is_set_frame_size()
233 drc->otf_input.width = mf->width; in __is_set_frame_size()
234 drc->otf_input.height = mf->height; in __is_set_frame_size()
235 drc->otf_output.width = mf->width; in __is_set_frame_size()
236 drc->otf_output.height = mf->height; in __is_set_frame_size()
[all …]
Dfimc-is.h225 struct drc_param drc; member
Dfimc-is-param.h761 struct drc_param drc; member
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dpseries_energy.c53 struct of_drc_info drc; in cpu_to_drc_index() local
66 of_read_drc_info_cell(&info, &value, &drc); in cpu_to_drc_index()
67 if (strncmp(drc.drc_type, "CPU", 3)) in cpu_to_drc_index()
70 if (thread_index < drc.last_drc_index) in cpu_to_drc_index()
74 ret = drc.drc_index_start + (thread_index * drc.sequential_inc); in cpu_to_drc_index()
122 struct of_drc_info drc; in drc_index_to_cpu() local
135 of_read_drc_info_cell(&info, &value, &drc); in drc_index_to_cpu()
136 if (strncmp(drc.drc_type, "CPU", 3)) in drc_index_to_cpu()
139 if (drc_index > drc.last_drc_index) { in drc_index_to_cpu()
140 cpu += drc.num_sequential_elems; in drc_index_to_cpu()
[all …]
Dhotplug-cpu.c360 struct of_drc_info drc; in drc_info_valid_index() local
378 if (of_read_drc_info_cell(&info, &value, &drc)) in drc_info_valid_index()
381 if (strncmp(drc.drc_type, "CPU", 3)) in drc_info_valid_index()
384 if (drc_index > drc.last_drc_index) in drc_info_valid_index()
387 index = drc.drc_index_start; in drc_info_valid_index()
388 for (j = 0; j < drc.num_sequential_elems; j++) { in drc_info_valid_index()
392 index += drc.sequential_inc; in drc_info_valid_index()
413 u32 drc; in valid_cpu_drc_index() local
416 index++, &drc); in valid_cpu_drc_index()
421 if (drc == drc_index) in valid_cpu_drc_index()
[all …]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Drpaphp_core.c230 struct of_drc_info drc; in rpaphp_check_drc_props_v2() local
246 of_read_drc_info_cell(&info, &value, &drc); in rpaphp_check_drc_props_v2()
251 if (my_index >= drc.drc_index_start && my_index <= drc.last_drc_index) { in rpaphp_check_drc_props_v2()
252 int index = my_index - drc.drc_index_start; in rpaphp_check_drc_props_v2()
253 sprintf(cell_drc_name, "%s%d", drc.drc_name_prefix, in rpaphp_check_drc_props_v2()
254 drc.drc_name_suffix_start + index); in rpaphp_check_drc_props_v2()
262 (drc_type && !strcmp(drc_type, drc.drc_type)))) in rpaphp_check_drc_props_v2()
336 struct of_drc_info drc; in rpaphp_drc_info_add_slot() local
352 of_read_drc_info_cell(&info, &cur, &drc); in rpaphp_drc_info_add_slot()
353 if (!is_php_type(drc.drc_type)) in rpaphp_drc_info_add_slot()
[all …]
/kernel/linux/linux-5.10/drivers/edac/
De7xxx_edac.c342 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument
344 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active()
348 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument
351 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity()
355 int dev_idx, u32 drc) in e7xxx_init_csrows() argument
367 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
368 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows()
369 drc_ddim = (drc >> 20) & 0x3; in e7xxx_init_csrows()
427 u32 drc; in e7xxx_probe1() local
433 pci_read_config_dword(pdev, E7XXX_DRC, &drc); in e7xxx_probe1()
[all …]
Di82875p_edac.c335 static inline int dual_channel_active(u32 drc) in dual_channel_active() argument
337 return (drc >> 21) & 0x1; in dual_channel_active()
342 void __iomem * ovrfl_window, u32 drc) in i82875p_init_csrows() argument
346 unsigned nr_chans = dual_channel_active(drc) + 1; in i82875p_init_csrows()
353 drc_ddim = (drc >> 18) & 0x1; in i82875p_init_csrows()
396 u32 drc; in i82875p_probe1() local
404 drc = readl(ovrfl_window + I82875P_DRC); in i82875p_probe1()
405 nr_chans = dual_channel_active(drc) + 1; in i82875p_probe1()
433 i82875p_init_csrows(mci, pdev, ovrfl_window, drc); in i82875p_probe1()
Di82975x_edac.c472 u32 drc[2]; in i82975x_probe1() local
516 drc[0] = readl(mch_window + I82975X_DRC_CH0M0); in i82975x_probe1()
517 drc[1] = readl(mch_window + I82975X_DRC_CH1M0); in i82975x_probe1()
519 i82975x_printk(KERN_INFO, "DRC_CH0 = %0x, %s\n", drc[0], in i82975x_probe1()
520 ((drc[0] >> 21) & 3) == 1 ? in i82975x_probe1()
522 i82975x_printk(KERN_INFO, "DRC_CH1 = %0x, %s\n", drc[1], in i82975x_probe1()
523 ((drc[1] >> 21) & 3) == 1 ? in i82975x_probe1()
533 if (!(((drc[0] >> 21) & 3) == 1 || ((drc[1] >> 21) & 3) == 1)) { in i82975x_probe1()
De752x_edac.c1076 u32 dra, drc, cumul_size, i, nr_pages; in e752x_init_csrows() local
1084 pci_read_config_dword(pdev, E752X_DRC, &drc); in e752x_init_csrows()
1087 drc_ddim = (drc >> 20) & 0x3; in e752x_init_csrows()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dccwreq.c67 if (rc && rc != -ENODEV && req->drc) in ccwreq_stop()
68 rc = req->drc; in ccwreq_stop()
132 req->drc = 0; in ccw_request_start()
348 req->drc = -ETIME; in ccw_request_timeout()
Dio_sch.h93 int drc; member
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/security/tpm/
Dibmvtpm.txt10 - ibm,my-drc-index : integer index for the connector between the device
33 ibm,my-drc-index = <0x30000003>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Dexynos4-fimc-is.txt19 "mpll", "sysreg", "isp", "drc", "fd", "mcuisp", "gicisp",
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8994.c323 static void wm8994_set_drc(struct snd_soc_component *component, int drc) in wm8994_set_drc() argument
328 int base = wm8994_drc_base[drc]; in wm8994_set_drc()
329 int cfg = wm8994->drc_cfg[drc]; in wm8994_set_drc()
365 int drc = wm8994_get_drc(kcontrol->id.name); in wm8994_put_drc_enum() local
368 if (drc < 0) in wm8994_put_drc_enum()
369 return drc; in wm8994_put_drc_enum()
374 wm8994->drc_cfg[drc] = value; in wm8994_put_drc_enum()
376 wm8994_set_drc(component, drc); in wm8994_put_drc_enum()
386 int drc = wm8994_get_drc(kcontrol->id.name); in wm8994_get_drc_enum() local
388 if (drc < 0) in wm8994_get_drc_enum()
[all …]
Dadau1373.c1328 unsigned int nr, uint8_t *drc) in adau1373_load_drc_settings() argument
1333 regmap_write(adau1373->regmap, ADAU1373_DRC(nr) + i, drc[i]); in adau1373_load_drc_settings()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun8i-a23.dtsi78 compatible = "allwinner,sun8i-a23-drc";
Dsun9i-a80.dtsi807 drc0: drc@3400000 {
808 compatible = "allwinner,sun9i-a80-drc";
841 drc1: drc@3440000 {
842 compatible = "allwinner,sun9i-a80-drc";
Dsun6i-a31.dtsi1175 drc1: drc@1e50000 {
1176 compatible = "allwinner,sun6i-a31-drc";
1258 drc0: drc@1e70000 {
1259 compatible = "allwinner,sun6i-a31-drc";
Dexynos4412.dtsi640 "drc", "fd", "mcuisp",
648 iommu-names = "isp", "drc", "fd", "mcuctl";
Dsun8i-a33.dtsi386 compatible = "allwinner,sun8i-a33-drc";
Dsun8i-a23-a33.dtsi678 drc0: drc@1e70000 {