/drivers/gpu/drm/sun4i/ |
D | sun6i_drc.c | 25 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 …]
|
/drivers/media/platform/exynos4-is/ |
D | fimc-is-param.c | 123 __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 …]
|
D | fimc-is.h | 225 struct drc_param drc; member
|
D | fimc-is-param.h | 761 struct drc_param drc; member
|
/drivers/edac/ |
D | e7xxx_edac.c | 342 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 …]
|
D | i82875p_edac.c | 335 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()
|
D | i82975x_edac.c | 472 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()
|
D | e752x_edac.c | 1076 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()
|
/drivers/pci/hotplug/ |
D | rpaphp_core.c | 230 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()
|
/drivers/s390/cio/ |
D | ccwreq.c | 67 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()
|
D | io_sch.h | 93 int drc; member
|