Searched refs:drc (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/sun4i/ |
D | sun6i_drc.c | 28 struct sun6i_drc *drc; in sun6i_drc_bind() local 31 drc = devm_kzalloc(dev, sizeof(*drc), GFP_KERNEL); in sun6i_drc_bind() 32 if (!drc) in sun6i_drc_bind() 34 dev_set_drvdata(dev, drc); in sun6i_drc_bind() 36 drc->reset = devm_reset_control_get(dev, NULL); in sun6i_drc_bind() 37 if (IS_ERR(drc->reset)) { in sun6i_drc_bind() 39 return PTR_ERR(drc->reset); in sun6i_drc_bind() 42 ret = reset_control_deassert(drc->reset); in sun6i_drc_bind() 48 drc->bus_clk = devm_clk_get(dev, "ahb"); in sun6i_drc_bind() 49 if (IS_ERR(drc->bus_clk)) { in sun6i_drc_bind() [all …]
|
/drivers/media/platform/exynos4-is/ |
D | fimc-is-param.c | 126 __hw_param_copy(&par->drc.control, &cfg->drc.control); in __fimc_is_hw_update_param() 130 __hw_param_copy(&par->drc.otf_input, &cfg->drc.otf_input); in __fimc_is_hw_update_param() 134 __hw_param_copy(&par->drc.dma_input, &cfg->drc.dma_input); in __fimc_is_hw_update_param() 138 __hw_param_copy(&par->drc.otf_output, &cfg->drc.otf_output); in __fimc_is_hw_update_param() 223 struct drc_param *drc; in __is_set_frame_size() local 227 drc = &is->config[index].drc; in __is_set_frame_size() 236 drc->otf_input.width = mf->width; in __is_set_frame_size() 237 drc->otf_input.height = mf->height; in __is_set_frame_size() 238 drc->otf_output.width = mf->width; in __is_set_frame_size() 239 drc->otf_output.height = mf->height; in __is_set_frame_size() [all …]
|
D | fimc-is.h | 228 struct drc_param drc; member
|
D | fimc-is-param.h | 764 struct drc_param drc; member
|
/drivers/edac/ |
D | e7xxx_edac.c | 343 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument 345 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active() 349 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument 352 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity() 356 int dev_idx, u32 drc) in e7xxx_init_csrows() argument 368 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows() 369 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows() 370 drc_ddim = (drc >> 20) & 0x3; in e7xxx_init_csrows() 428 u32 drc; in e7xxx_probe1() local 434 pci_read_config_dword(pdev, E7XXX_DRC, &drc); in e7xxx_probe1() [all …]
|
D | i82875p_edac.c | 336 static inline int dual_channel_active(u32 drc) in dual_channel_active() argument 338 return (drc >> 21) & 0x1; in dual_channel_active() 343 void __iomem * ovrfl_window, u32 drc) in i82875p_init_csrows() argument 347 unsigned nr_chans = dual_channel_active(drc) + 1; in i82875p_init_csrows() 354 drc_ddim = (drc >> 18) & 0x1; in i82875p_init_csrows() 397 u32 drc; in i82875p_probe1() local 405 drc = readl(ovrfl_window + I82875P_DRC); in i82875p_probe1() 406 nr_chans = dual_channel_active(drc) + 1; in i82875p_probe1() 435 i82875p_init_csrows(mci, pdev, ovrfl_window, drc); in i82875p_probe1()
|
D | i82975x_edac.c | 480 u32 drc[2]; in i82975x_probe1() local 520 drc[0] = readl(mch_window + I82975X_DRC_CH0M0); in i82975x_probe1() 521 drc[1] = readl(mch_window + I82975X_DRC_CH1M0); in i82975x_probe1() 523 i82975x_printk(KERN_INFO, "DRC_CH0 = %0x, %s\n", drc[0], in i82975x_probe1() 524 ((drc[0] >> 21) & 3) == 1 ? in i82975x_probe1() 526 i82975x_printk(KERN_INFO, "DRC_CH1 = %0x, %s\n", drc[1], in i82975x_probe1() 527 ((drc[1] >> 21) & 3) == 1 ? in i82975x_probe1() 537 if (!(((drc[0] >> 21) & 3) == 1 || ((drc[1] >> 21) & 3) == 1)) { in i82975x_probe1()
|
D | e752x_edac.c | 1077 u32 dra, drc, cumul_size, i, nr_pages; in e752x_init_csrows() local 1085 pci_read_config_dword(pdev, E752X_DRC, &drc); in e752x_init_csrows() 1088 drc_ddim = (drc >> 20) & 0x3; in e752x_init_csrows()
|
/drivers/s390/cio/ |
D | ccwreq.c | 66 if (rc && rc != -ENODEV && req->drc) in ccwreq_stop() 67 rc = req->drc; in ccwreq_stop() 131 req->drc = 0; in ccw_request_start() 346 req->drc = -ETIME; in ccw_request_timeout()
|
D | io_sch.h | 87 int drc; member
|