Home
last modified time | relevance | path

Searched refs:en (Results 1 – 25 of 72) sorted by relevance

123

/drivers/gpu/drm/nouveau/core/core/
Denum.c32 nouveau_enum_find(const struct nouveau_enum *en, u32 value) in nouveau_enum_find() argument
34 while (en->name) { in nouveau_enum_find()
35 if (en->value == value) in nouveau_enum_find()
36 return en; in nouveau_enum_find()
37 en++; in nouveau_enum_find()
44 nouveau_enum_print(const struct nouveau_enum *en, u32 value) in nouveau_enum_print() argument
46 en = nouveau_enum_find(en, value); in nouveau_enum_print()
47 if (en) in nouveau_enum_print()
48 pr_cont("%s", en->name); in nouveau_enum_print()
51 return en; in nouveau_enum_print()
/drivers/gpu/drm/nouveau/core/subdev/fb/
Dnv50.c343 const struct nouveau_enum *en, *cl; in nv50_fb_intr() local
375 en = nouveau_enum_find(vm_engine, st0); in nv50_fb_intr()
377 if (en && en->data2) { in nv50_fb_intr()
378 const struct nouveau_enum *orig_en = en; in nv50_fb_intr()
379 while (en->name && en->value == st0 && en->data2) { in nv50_fb_intr()
380 engine = nouveau_engine(subdev, en->data2); in nv50_fb_intr()
386 en++; in nv50_fb_intr()
389 en = orig_en; in nv50_fb_intr()
399 if (en) in nv50_fb_intr()
400 pr_cont("%s/", en->name); in nv50_fb_intr()
[all …]
/drivers/staging/media/davinci_vpfe/
Ddavinci_vpfe_user.h136 unsigned char en; member
296 unsigned char en; member
341 unsigned char en; member
375 unsigned char en; member
460 unsigned char en; member
635 unsigned char en; member
697 unsigned char en; member
728 unsigned char en; member
771 unsigned char en; member
953 unsigned char en; member
[all …]
Ddm365_ipipe_hw.c423 regw_ip(base_addr, dpc->en, DPC_LUT_EN); in ipipe_set_lutdpc_regs()
425 if (dpc->en != 1) in ipipe_set_lutdpc_regs()
479 regw_ip(base_addr, (otfdpc->en & 1), DPC_OTF_EN); in ipipe_set_otfdpc_regs()
480 if (!otfdpc->en) in ipipe_set_otfdpc_regs()
538 regw_ip(base_addr, noise_filter->en & 1, offset + D2F_EN); in ipipe_set_d2f_regs()
539 if (!noise_filter->en) in ipipe_set_d2f_regs()
579 regw_ip(base_addr, gic->en & 1, GIC_EN); in ipipe_set_gic_regs()
581 if (!gic->en) in ipipe_set_gic_regs()
783 regw_ip(base_addr, lut_3d->en, D3LUT_EN); in ipipe_set_3d_lut_regs()
785 if (!lut_3d->en) in ipipe_set_3d_lut_regs()
[all …]
Ddm365_ipipe.c55 if (lutdpc->en > 1 || lutdpc->repl_white > 1 || in ipipe_validate_lutdpc_params()
59 if (lutdpc->en && !lutdpc->table) in ipipe_validate_lutdpc_params()
83 lutdpc->en = dpc_param->en; in ipipe_set_lutdpc_params()
102 lut_param->en = lutdpc->en; in ipipe_get_lutdpc_params()
139 if (dpc_param->en > 1) in ipipe_validate_otfdpc_params()
208 if (nf_param->en > 1 || nf_param->shft_val > D2F_SHFT_VAL_MASK || in ipipe_validate_nf_params()
290 if (gic->en > 1 || gic->gain > GIC_GAIN_MASK || in ipipe_validate_gic_params()
726 if (!lut->en) in ipipe_validate_3d_lut_params()
744 lut_param->en = lut->en; in ipipe_get_3d_lut_params()
884 if (!gbce->en) in ipipe_validate_gbce_params()
[all …]
Ddm365_ipipe.h43 unsigned char en; member
55 unsigned char en; member
177 void vpfe_ipipe_enable(struct vpfe_device *vpfe_dev, int en);
Ddm365_isif.c92 static void isif_enable_output_to_sdram(struct vpfe_isif_device *isif, int en) in isif_enable_output_to_sdram() argument
95 en << ISIF_SYNCEN_WEN_SHIFT, SYNCEN); in isif_enable_output_to_sdram()
119 static void isif_enable(struct vpfe_isif_device *isif, int en) in isif_enable() argument
121 if (!en) in isif_enable()
131 en, SYNCEN); in isif_enable()
448 if (csc->en) { in isif_validate_df_csc_params()
493 if (!dfc->en) in isif_validate_dfc_params()
547 if (!bclamp->en) in isif_validate_bclamp_params()
682 if (!bc->en) in isif_config_bclamp()
822 if (!vdfc->en) in isif_config_dfc()
[all …]
Ddm365_ipipeif.c83 if (dpc->en) { in ipipeif_config_dpc()
84 val = (dpc->en & 1) << IPIPEIF_DPC2_EN_SHIFT; in ipipeif_config_dpc()
410 ipipeif->config.if_5_1.dpc.en = config->if_5_1.dpc.en; in ipipeif_set_config()
446 config->if_5_1.dpc.en = ipipeif->config.if_5_1.dpc.en; in ipipeif_get_config()
/drivers/regulator/
Dpcap-regulator.c99 const u8 en; member
110 .en = _en, \
183 if (vreg->en == NA) in pcap_regulator_enable()
186 return ezx_pcap_set_bits(pcap, vreg->reg, 1 << vreg->en, 1 << vreg->en); in pcap_regulator_enable()
194 if (vreg->en == NA) in pcap_regulator_disable()
197 return ezx_pcap_set_bits(pcap, vreg->reg, 1 << vreg->en, 0); in pcap_regulator_disable()
206 if (vreg->en == NA) in pcap_regulator_is_enabled()
210 return (tmp >> vreg->en) & 1; in pcap_regulator_is_enabled()
/drivers/media/
Dmedia-entity.c124 #define stack_peek(en) ((en)->stack[(en)->top - 1].entity) argument
125 #define link_top(en) ((en)->stack[(en)->top].link) argument
126 #define stack_top(en) ((en)->stack[(en)->top].entity) argument
/drivers/edac/
Docteon_edac-lmc.c131 union cvmx_lmcx_int_en en; in octeon_lmc_edac_probe() local
157 en.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mc)); in octeon_lmc_edac_probe()
158 en.s.intr_ded_ena = 0; /* We poll */ in octeon_lmc_edac_probe()
159 en.s.intr_sec_ena = 0; in octeon_lmc_edac_probe()
160 cvmx_write_csr(CVMX_LMCX_MEM_CFG0(mc), en.u64); in octeon_lmc_edac_probe()
/drivers/media/platform/davinci/
Dvpss.c105 int (*enable_clock)(enum vpss_clock_sel clock_sel, int en);
238 static int dm355_enable_clock(enum vpss_clock_sel clock_sel, int en) in dm355_enable_clock() argument
270 if (!en) in dm355_enable_clock()
280 static int dm365_enable_clock(enum vpss_clock_sel clock_sel, int en) in dm365_enable_clock() argument
354 if (!en) { in dm365_enable_clock()
366 int vpss_enable_clock(enum vpss_clock_sel clock_sel, int en) in vpss_enable_clock() argument
371 return oper_cfg.hw_ops.enable_clock(clock_sel, en); in vpss_enable_clock()
Disif.c49 .en = 0,
56 .en = 0,
60 .en = 0,
63 .en = 0,
191 static void isif_enable(int en) in isif_enable() argument
193 if (!en) { in isif_enable()
202 reg_modify(ISIF_SYNCEN_VDHDEN_MASK, en, SYNCEN); in isif_enable()
205 static void isif_enable_output_to_sdram(int en) in isif_enable_output_to_sdram() argument
207 reg_modify(ISIF_SYNCEN_WEN_MASK, en << ISIF_SYNCEN_WEN_SHIFT, SYNCEN); in isif_enable_output_to_sdram()
334 if (bc->en) { in isif_config_bclamp()
[all …]
Dccdc_hw_device.h40 void (*enable) (int en);
44 void (*enable_out_to_sdram) (int en);
/drivers/rtc/
Drtc-pcap.c116 static int pcap_rtc_irq_enable(struct device *dev, int pirq, unsigned int en) in pcap_rtc_irq_enable() argument
121 if (en) in pcap_rtc_irq_enable()
129 static int pcap_rtc_alarm_irq_enable(struct device *dev, unsigned int en) in pcap_rtc_alarm_irq_enable() argument
131 return pcap_rtc_irq_enable(dev, PCAP_IRQ_TODA, en); in pcap_rtc_alarm_irq_enable()
/drivers/dma/
Domap-dma.c47 uint32_t en; /* number of elements (24-bit) */ member
108 omap_set_dma_transfer_params(c->dma_ch, d->es, sg->en, sg->fn, in omap_dma_start_sg()
211 return sg->en * sg->fn; in omap_dma_sg_size()
312 unsigned i, j = 0, es, en, frame_bytes, sync_type; in omap_dma_prep_slave_sg() local
366 en = burst; in omap_dma_prep_slave_sg()
367 frame_bytes = es_bytes[es] * en; in omap_dma_prep_slave_sg()
370 d->sg[j].en = en; in omap_dma_prep_slave_sg()
438 d->sg[0].en = period_len / es_bytes[es]; in omap_dma_prep_dma_cyclic()
/drivers/net/wireless/p54/
DKconfig12 <http://wireless.kernel.org/en/users/Drivers/p54>
24 <http://wireless.kernel.org/en/users/Drivers/p54>
38 <http://wireless.kernel.org/en/users/Drivers/p54>
/drivers/media/platform/s5p-tv/
Dmixer.h344 void mxr_vsync_set_update(struct mxr_device *mdev, int en);
353 void mxr_reg_graph_layer_stream(struct mxr_device *mdev, int idx, int en);
358 void mxr_reg_vp_layer_stream(struct mxr_device *mdev, int en);
Dmixer_reg.c60 void mxr_vsync_set_update(struct mxr_device *mdev, int en) in mxr_vsync_set_update() argument
63 mxr_write_mask(mdev, MXR_STATUS, en ? MXR_STATUS_SYNC_ENABLE : 0, in mxr_vsync_set_update()
65 vp_write(mdev, VP_SHADOW_UPDATE, en ? VP_SHADOW_UPDATE_ENABLE : 0); in mxr_vsync_set_update()
419 void mxr_reg_graph_layer_stream(struct mxr_device *mdev, int idx, int en) in mxr_reg_graph_layer_stream() argument
424 void mxr_reg_vp_layer_stream(struct mxr_device *mdev, int en) in mxr_reg_vp_layer_stream() argument
/drivers/staging/octeon/
Dethernet-sgmii.c51 gmx_cfg.s.en = 1; in cvm_oct_sgmii_open()
71 gmx_cfg.s.en = 0; in cvm_oct_sgmii_stop()
Dethernet-xaui.c51 gmx_cfg.s.en = 1; in cvm_oct_xaui_open()
70 gmx_cfg.s.en = 0; in cvm_oct_xaui_stop()
/drivers/net/wireless/ath/
DKconfig14 http://wireless.kernel.org/en/users/Drivers/ath
18 http://wireless.kernel.org/en/users/Drivers/Atheros
/drivers/gpu/drm/nouveau/core/engine/fifo/
Dnvc0.c418 const struct nouveau_enum *en; in nvc0_fifo_isr_vm_fault() local
440 en = nouveau_enum_print(nvc0_fifo_fault_unit, unit); in nvc0_fifo_isr_vm_fault()
449 if (en && en->data2) { in nvc0_fifo_isr_vm_fault()
450 engine = nouveau_engine(priv, en->data2); in nvc0_fifo_isr_vm_fault()
Dnve0.c421 const struct nouveau_enum *en; in nve0_fifo_isr_vm_fault() local
429 en = nouveau_enum_print(nve0_fifo_fault_unit, unit); in nve0_fifo_isr_vm_fault()
438 if (en && en->data2) { in nve0_fifo_isr_vm_fault()
439 engine = nouveau_engine(priv, en->data2); in nve0_fifo_isr_vm_fault()
/drivers/staging/media/cxd2099/
Dcxd2099.c41 struct dvb_ca_en50221 en; member
279 if (!ci->en.read_data) in cam_mode()
706 ci->en = en_templ; in cxd2099_attach()
707 ci->en.data = ci; in cxd2099_attach()
710 return &ci->en; in cxd2099_attach()

123