Home
last modified time | relevance | path

Searched full:drc (Results 1 – 25 of 88) sorted by relevance

1234

/linux/drivers/gpu/drm/sun4i/
H A 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 …]
/linux/drivers/pci/hotplug/
H A Drpaphp_core.c165 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props()
166 names = of_get_property(dn, "ibm,drc-names", NULL); in get_children_props()
167 types = of_get_property(dn, "ibm,drc-types", NULL); in get_children_props()
168 domains = of_get_property(dn, "ibm,drc-power-domains", NULL); in get_children_props()
190 * current node. First obtain its my-drc-index property. Next,
191 * obtain the DRC info from its parent. Use the my-drc-index for
211 /* Iterate through parent properties, looking for my-drc-index */ in rpaphp_check_drc_props_v1()
232 struct of_drc_info drc; in rpaphp_check_drc_props_v2() local
237 info = of_find_property(dn->parent, "ibm,drc-info", NULL); in rpaphp_check_drc_props_v2()
248 of_read_drc_info_cell(&info, &value, &drc); in rpaphp_check_drc_props_v2()
[all …]
H A Drpadlpar_core.c275 * @drc_name: drc-name of newly added slot
322 * @drc_name: drc-name of newly added slot
347 * @drc_name: drc-name of newly added slot
410 * @drc_name: drc-name of newly added slot
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-errno.c39 return "ERROR_OTF_INPUT_FORMAT: Invalid format (DRC: YUV444, FD: YUV444, 422, 420)"; in fimc_is_param_strerr()
41 return "ERROR_OTF_INPUT_WIDTH: Invalid width (DRC: 128~8192, FD: 32~8190)"; in fimc_is_param_strerr()
43 return "ERROR_OTF_INPUT_HEIGHT: Invalid bit-width (DRC: 8~12bits, FD: 8bit)"; in fimc_is_param_strerr()
45 return "ERROR_OTF_INPUT_BIT_WIDTH: Invalid bit-width (DRC: 8~12bits, FD: 8bit)"; in fimc_is_param_strerr()
47 return "ERROR_DMA_INPUT_WIDTH: Invalid width (DRC: 128~8192, FD: 32~8190)"; in fimc_is_param_strerr()
49 return "ERROR_DMA_INPUT_HEIGHT: Invalid height (DRC: 64~8192, FD: 16~8190)"; in fimc_is_param_strerr()
51 return "ERROR_DMA_INPUT_FORMAT: Invalid format (DRC: YUV444 or YUV422, FD: YUV444,422,420)"; in fimc_is_param_strerr()
53 return "ERROR_DMA_INPUT_BIT_WIDTH: Invalid bit-width (DRC: 8~12bits, FD: 8bit)"; in fimc_is_param_strerr()
55 return "ERROR_DMA_INPUT_ORDER: Invalid order(DRC: YYCbCr,YCbYCr,FD:NO,YYCbCr,YCbYCr,CbCr,CrCb)"; in fimc_is_param_strerr()
57 return "ERROR_DMA_INPUT_PLANE: Invalid plane (DRC: 3, FD: 1, 2, 3)"; in fimc_is_param_strerr()
[all …]
H A 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()
232 /* Update drc size info (OTF only) */ 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()
[all …]
H A Dfimc-is-errno.h71 /* DRC 300 ~ 399 */
137 /* invalid format (DRC: YUV444, FD: YUV444, 422, 420) */
139 /* invalid width (DRC: 128~8192, FD: 32~8190) */
141 /* invalid height (DRC: 64~8192, FD: 16~8190) */
143 /* invalid bit-width (DRC: 8~12bits, FD: 8bit) */
149 /* invalid width (DRC: 128~8192, FD: 32~8190) */
151 /* invalid height (DRC: 64~8192, FD: 16~8190) */
153 /* invalid format (DRC: YUV444 or YUV422, FD: YUV444, 422, 420) */
155 /* invalid bit-width (DRC: 8~12bit, FD: 8bit) */
157 /* invalid order(DRC: YYCbCrorYCbYCr, FD:NO,YYCbCr,YCbYCr,CbCr,CrCb) */
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dallwinner,sun6i-a31-drc.yaml4 $id: http://devicetree.org/schemas/display/allwinner,sun6i-a31-drc.yaml#
14 The DRC (Dynamic Range Controller) allows to dynamically adjust
21 - allwinner,sun6i-a31-drc
22 - allwinner,sun6i-a31s-drc
23 - allwinner,sun8i-a23-drc
24 - allwinner,sun8i-a33-drc
25 - allwinner,sun9i-a80-drc
35 - description: The DRC interface clock
36 - description: The DRC module clock
37 - description: The DRC DRAM clock
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c51 info = of_find_property(dn, "ibm,drc-info", NULL); in cpu_to_drc_index()
53 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()
79 * The first element of ibm,drc-indexes array is the in cpu_to_drc_index()
84 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index()
90 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index()
120 info = of_find_property(dn, "ibm,drc-info", NULL); in drc_index_to_cpu()
[all …]
H A Dof_helpers.c54 /* Get drc-type:encode-string */ in of_read_drc_info_cell()
60 /* Get drc-name-prefix:encode-string */ in of_read_drc_info_cell()
66 /* Get drc-index-start:encode-int */ in of_read_drc_info_cell()
70 /* Get drc-name-suffix-start:encode-int */ in of_read_drc_info_cell()
85 /* Get drc-power-domain:encode-int */ in of_read_drc_info_cell()
/linux/sound/soc/codecs/
H A Dssm2518.c195 SOC_SINGLE("DRC Limiter Switch", SSM2518_REG_DRC_1, 5, 1, 0),
196 SOC_SINGLE("DRC Compressor Switch", SSM2518_REG_DRC_1, 4, 1, 0),
197 SOC_SINGLE("DRC Expander Switch", SSM2518_REG_DRC_1, 3, 1, 0),
198 SOC_SINGLE("DRC Noise Gate Switch", SSM2518_REG_DRC_1, 2, 1, 0),
199 SOC_DOUBLE("DRC Switch", SSM2518_REG_DRC_1, 0, 1, 1, 0),
201 SOC_SINGLE_TLV("DRC Limiter Threshold Volume",
203 SOC_SINGLE_TLV("DRC Compressor Lower Threshold Volume",
205 SOC_SINGLE_TLV("DRC Expander Upper Threshold Volume", SSM2518_REG_DRC_4,
207 SOC_SINGLE_TLV("DRC Noise Gate Threshold Volume",
209 SOC_SINGLE_TLV("DRC Upper Output Threshold Volume",
[all …]
H A Dwm8993.c144 { 123, 0x0F08 }, /* R123 - DRC Control 1 */
145 { 124, 0x0000 }, /* R124 - DRC Control 2 */
146 { 125, 0x0080 }, /* R125 - DRC Control 3 */
147 { 126, 0x0000 }, /* R126 - DRC Control 4 */
752 SOC_SINGLE("DRC Switch", WM8993_DRC_CONTROL_1, 15, 1, 0),
753 SOC_ENUM("DRC Path", drc_path),
754 SOC_SINGLE_TLV("DRC Compressor Threshold Volume", WM8993_DRC_CONTROL_2,
756 SOC_SINGLE_TLV("DRC Compressor Amplitude Volume", WM8993_DRC_CONTROL_3,
758 SOC_ENUM("DRC R0", drc_r0),
759 SOC_ENUM("DRC R1", drc_r1),
[all …]
H A Dwm9081.c56 { 32, 0x09AF }, /* R32 - DRC 1 */
57 { 33, 0x4201 }, /* R33 - DRC 2 */
58 { 34, 0x0000 }, /* R34 - DRC 3 */
59 { 35, 0x0000 }, /* R35 - DRC 4 */
397 SOC_SINGLE("DRC Switch", WM9081_DRC_1, 15, 1, 0),
398 SOC_ENUM("DRC High Slope", drc_high),
399 SOC_ENUM("DRC Low Slope", drc_low),
400 SOC_SINGLE_TLV("DRC Input Volume", WM9081_DRC_4, 5, 60, 1, drc_in_tlv),
401 SOC_SINGLE_TLV("DRC Output Volume", WM9081_DRC_4, 0, 30, 1, drc_out_tlv),
402 SOC_SINGLE_TLV("DRC Minimum Volume", WM9081_DRC_2, 2, 3, 1, drc_min_tlv),
[all …]
H A Dwm8903.c68 { 40, 0x09BF }, /* R40 - DRC 0 */
69 { 41, 0x3241 }, /* R41 - DRC 1 */
70 { 42, 0x0020 }, /* R42 - DRC 2 */
71 { 43, 0x0000 }, /* R43 - DRC 3 */
667 SOC_SINGLE("DRC Switch", WM8903_DRC_0, 15, 1, 0),
668 SOC_ENUM("DRC Compressor Slope R0", drc_slope_r0),
669 SOC_ENUM("DRC Compressor Slope R1", drc_slope_r1),
670 SOC_SINGLE_TLV("DRC Compressor Threshold Volume", WM8903_DRC_3, 5, 124, 1,
672 SOC_SINGLE_TLV("DRC Volume", WM8903_DRC_3, 0, 30, 1, drc_tlv_amp),
673 SOC_SINGLE_TLV("DRC Minimum Gain Volume", WM8903_DRC_1, 2, 3, 1, drc_tlv_min),
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp153c-dhcor-drc-compact.dts8 * DRC Compact PCB number: 627-100 or newer
16 #include "stm32mp15xx-dhcor-drc-compact.dtsi"
19 model = "DH electronics STM32MP153C DHCOR DRC Compact";
20 compatible = "dh,stm32mp153c-dhcor-drc-compact",
/linux/sound/ppc/
H A DKconfig25 bool "Toggle DRC automatically at headphone/line plug-in"
29 Say Y here to enable the automatic toggle of DRC (dynamic
31 If this feature is enabled, DRC is turned off when the
34 Note that you can turn on/off DRC manually even without this
/linux/Documentation/arch/powerpc/
H A Dpapr_hcalls.rst97 DRC & DRC Indexes
104 +--+ DRC1 | | DRC | Space |
113 an LPAR, PHYP creates a data-structure called Dynamic Resource Connector (DRC)
114 to manage LPAR access. An LPAR refers to a DRC via an opaque 32-bit number
115 called DRC-Index. The DRC-index value is provided to the LPAR via device-tree
150 Given a DRC Index of an NVDIMM, read N-bytes from the metadata area
162 Given a DRC Index of an NVDIMM, write N-bytes to the metadata area
173 Given a DRC-Index of an NVDIMM, map a continuous SCM blocks range
186 Given a DRC-Index of an NVDimm, unmap *numScmBlocksToUnbind* SCM blocks starting
197 Given a DRC-Index and an SCM Block index return the guest physical address to
[all …]
/linux/drivers/edac/
H A De7xxx_edac.c341 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument
343 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active()
347 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument
350 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity()
354 int dev_idx, u32 drc) in e7xxx_init_csrows() argument
366 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
367 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows()
368 drc_ddim = (drc >> 20) & 0x3; in e7xxx_init_csrows()
426 u32 drc; in e7xxx_probe1() local
432 pci_read_config_dword(pdev, E7XXX_DRC, &drc); in e7xxx_probe1()
[all …]
H A Di82875p_edac.c334 static inline int dual_channel_active(u32 drc) in dual_channel_active() argument
336 return (drc >> 21) & 0x1; in dual_channel_active()
341 void __iomem * ovrfl_window, u32 drc) in i82875p_init_csrows() argument
345 unsigned nr_chans = dual_channel_active(drc) + 1; in i82875p_init_csrows()
352 drc_ddim = (drc >> 18) & 0x1; in i82875p_init_csrows()
395 u32 drc; in i82875p_probe1() local
403 drc = readl(ovrfl_window + I82875P_DRC); in i82875p_probe1()
404 nr_chans = dual_channel_active(drc) + 1; in i82875p_probe1()
432 i82875p_init_csrows(mci, pdev, ovrfl_window, drc); in i82875p_probe1()
H A Di82975x_edac.c471 u32 drc[2]; in i82975x_probe1() local
515 drc[0] = readl(mch_window + I82975X_DRC_CH0M0); in i82975x_probe1()
516 drc[1] = readl(mch_window + I82975X_DRC_CH1M0); in i82975x_probe1()
518 i82975x_printk(KERN_INFO, "DRC_CH0 = %0x, %s\n", drc[0], in i82975x_probe1()
519 ((drc[0] >> 21) & 3) == 1 ? in i82975x_probe1()
521 i82975x_printk(KERN_INFO, "DRC_CH1 = %0x, %s\n", drc[1], in i82975x_probe1()
522 ((drc[1] >> 21) & 3) == 1 ? in i82975x_probe1()
532 if (!(((drc[0] >> 21) & 3) == 1 || ((drc[1] >> 21) & 3) == 1)) { in i82975x_probe1()
/linux/Documentation/devicetree/bindings/media/
H A Dsamsung,exynos4212-fimc-is.yaml16 processor, ISP, DRC and FD IP blocks and peripheral devices such as UART, I2C
45 - const: drc
71 - const: drc
180 "drc", "fd", "mcuisp",
188 iommu-names = "isp", "drc", "fd", "mcuctl";
/linux/Documentation/devicetree/bindings/tpm/
H A Dibm,vtpm.yaml55 ibm,my-drc-index:
75 - ibm,my-drc-index
99 ibm,my-drc-index = <0x30000003>;
/linux/include/linux/mfd/wm8994/
H A Dpdata.h33 * DRC configurations are specified with a label and a set of register
35 * enumerated control will be presented for each DRC block allowing
38 * Configurations may be generated by hand or by using the DRC control
/linux/include/sound/
H A Dwm8904.h120 * DRC configurations are specified with a label and a set of register
122 * enumerated control will be presented for each DRC block allowing
125 * Configurations may be generated by hand or by using the DRC control
/linux/drivers/s390/cio/
H A 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()
/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp.c126 SUN6I_ISP_ADDR_VALUE(isp_dev->tables.drc.address)); in sun6i_isp_tables_configure()
153 tables->drc.size = variant->table_drc_size; in sun6i_isp_tables_setup()
154 ret = sun6i_isp_table_setup(isp_dev, &tables->drc); in sun6i_isp_tables_setup()
171 sun6i_isp_table_cleanup(isp_dev, &tables->drc); in sun6i_isp_tables_cleanup()

1234