Home
last modified time | relevance | path

Searched refs:cntl (Results 1 – 26 of 26) sorted by relevance

/linux-4.1.27/arch/arm/mach-omap1/
Dtime.c63 u32 cntl; /* CNTL_TIMER, R/W */ member
82 writel(readl(&timer->cntl) | MPU_TIMER_AR, &timer->cntl); in omap_mpu_set_autoreset()
89 writel(readl(&timer->cntl) & ~MPU_TIMER_AR, &timer->cntl); in omap_mpu_remove_autoreset()
101 writel(MPU_TIMER_CLOCK_ENABLE, &timer->cntl); in omap_mpu_timer_start()
105 writel(timerflags, &timer->cntl); in omap_mpu_timer_start()
112 writel(readl(&timer->cntl) & ~MPU_TIMER_ST, &timer->cntl); in omap_mpu_timer_stop()
/linux-4.1.27/include/linux/amba/
Dclcd.h102 u32 cntl; member
115 u32 cntl; member
204 if (fb->panel->cntl & CNTL_LCDDUAL) in clcdfb_decode()
217 if (fb->panel->cntl & CNTL_LCDTFT) /* TFT */ in clcdfb_decode()
221 else if (fb->panel->cntl & CNTL_LCDMONO8) /* STN monochrome, 8bit */ in clcdfb_decode()
230 val = fb->panel->cntl; in clcdfb_decode()
278 regs->cntl = val; in clcdfb_decode()
/linux-4.1.27/drivers/video/fbdev/
Damba-clcd-versatile.c26 .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
50 .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
75 .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
99 .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
124 .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
Damba-clcd.c97 static void clcdfb_enable(struct clcd_fb *fb, u32 cntl) in clcdfb_enable() argument
110 cntl |= CNTL_LCDEN; in clcdfb_enable()
111 writel(cntl, fb->regs + fb->off_cntl); in clcdfb_enable()
118 cntl |= CNTL_LCDPWR; in clcdfb_enable()
119 writel(cntl, fb->regs + fb->off_cntl); in clcdfb_enable()
138 caps = fb->panel->cntl & CNTL_BGR ? in clcdfb_set_bitfields()
145 if (!(fb->panel->cntl & CNTL_LCDTFT)) in clcdfb_set_bitfields()
311 fb->clcd_cntl = regs.cntl; in clcdfb_set_par()
313 clcdfb_enable(fb, regs.cntl); in clcdfb_set_par()
633 fb->panel->cntl |= CNTL_LCDTFT | CNTL_LCDVCOMP(1); in clcdfb_of_init_tft_panel()
[all …]
Dmacfb.c69 unsigned char cntl; /* a guess as to purpose */ member
249 nubus_writeb(0xFF, &rbv_cmap_regs->cntl); in rbv_setpalette()
/linux-4.1.27/drivers/i2c/busses/
Di2c-ibm_iic.c92 in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts), in dump_iic_regs()
165 out_8(&iic->cntl, 0); in iic_dev_init()
385 out_8(&iic->cntl, CNTL_HMT); in iic_abort_xfer()
468 u8 cntl = (in_8(&iic->cntl) & CNTL_AMD) | CNTL_PT; in iic_xfer_bytes() local
470 cntl |= CNTL_RW; in iic_xfer_bytes()
475 u8 cmd = cntl | ((count - 1) << CNTL_TCT_SHIFT); in iic_xfer_bytes()
477 if (!(cntl & CNTL_RW)) in iic_xfer_bytes()
489 out_8(&iic->cntl, cmd); in iic_xfer_bytes()
508 if (cntl & CNTL_RW) in iic_xfer_bytes()
528 out_8(&iic->cntl, CNTL_AMD); in iic_address()
[all …]
Di2c-ibm_iic.h32 u8 cntl; member
/linux-4.1.27/drivers/net/ethernet/micrel/
Dks8851_mll.c1057 u16 cntl; in ks_start_rx() local
1060 cntl = ks_rdreg16(ks, KS_RXCR1); in ks_start_rx()
1061 cntl |= RXCR1_RXE ; in ks_start_rx()
1062 ks_wrreg16(ks, KS_RXCR1, cntl); in ks_start_rx()
1072 u16 cntl; in ks_stop_rx() local
1075 cntl = ks_rdreg16(ks, KS_RXCR1); in ks_stop_rx()
1076 cntl &= ~RXCR1_RXE ; in ks_stop_rx()
1077 ks_wrreg16(ks, KS_RXCR1, cntl); in ks_stop_rx()
1147 u16 cntl; in ks_set_promis() local
1150 cntl = ks_rdreg16(ks, KS_RXCR1); in ks_set_promis()
[all …]
/linux-4.1.27/arch/arm/mach-nspire/
Dclcd.c37 .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1),
59 .cntl = CNTL_LCDMONO8,
/linux-4.1.27/arch/arm/mach-footbridge/
Ddc21285.c190 unsigned int cntl; in dc21285_serr_irq() local
196 cntl = *CSR_SA110_CNTL & 0xffffdf07; in dc21285_serr_irq()
197 *CSR_SA110_CNTL = cntl | SA110_CNTL_RXSERR; in dc21285_serr_irq()
/linux-4.1.27/arch/arm/mach-integrator/
Dimpd1.c95 .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1),
123 .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1),
151 .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1),
183 .cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1),
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dcontext.c137 if (ctx->cntl) in spu_unmap_mappings()
138 unmap_mapping_range(ctx->cntl, 0, SPUFS_CNTL_MAP_SIZE, 1); in spu_unmap_mappings()
Dspufs.h85 struct address_space *cntl; /* 'control' area mappings. */ member
Dfile.c491 ctx->cntl = inode->i_mapping; in spufs_cntl_open()
507 ctx->cntl = NULL; in spufs_cntl_release()
/linux-4.1.27/arch/arm/mach-omap1/include/mach/
Dmtd-xip.h22 u32 cntl; /* CNTL_TIMER, R/W */ member
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dcommon.h65 u8 cntl; member
Dwmi.c197 llc_hdr->cntl = 0x03; in ath6kl_wmi_dix_2_dot3()
/linux-4.1.27/arch/arm/mach-netx/
Dnxeb500hmi.c56 .cntl = CNTL_LCDTFT | CNTL_BGR,
Dnxdb500.c56 .cntl = CNTL_LCDTFT | CNTL_BGR,
/linux-4.1.27/drivers/media/platform/soc_camera/
Dmx2_camera.c751 u32 cntl; in mx2_stop_streaming() local
755 cntl = readl(pcdev->base_emma + PRP_CNTL); in mx2_stop_streaming()
757 writel(cntl & ~PRP_CNTL_CH1EN, in mx2_stop_streaming()
760 writel(cntl & ~PRP_CNTL_CH2EN, in mx2_stop_streaming()
1395 u32 cntl = readl(pcdev->base_emma + PRP_CNTL); in mx27_camera_emma_irq() local
1396 writel(cntl & ~(PRP_CNTL_CH1EN | PRP_CNTL_CH2EN), in mx27_camera_emma_irq()
1398 writel(cntl, pcdev->base_emma + PRP_CNTL); in mx27_camera_emma_irq()
/linux-4.1.27/drivers/scsi/
Dadvansys.c306 uchar cntl; member
350 uchar cntl; member
413 uchar cntl; member
665 ushort cntl; member
1843 uchar cntl; /* Ucode flags and state (ASC_MC_QC_*). */ member
2684 q->cntl, (ulong)le32_to_cpu(q->data_addr), (ulong)q->vdata_addr); in asc_prt_adv_scsi_req_q()
3066 " cntl 0x%x, no_scam 0x%x\n", ep->cntl, ep->no_scam); in asc_prt_asc_board_eeprom()
6402 scsiq->cntl = 0; in AdvISR()
6940 scsi_sg_q.cntl = QCSG_SG_XFER_LIST; in AscIsrChipHalted()
6964 scsi_sg_q.cntl |= QCSG_SG_XFER_MORE; in AscIsrChipHalted()
[all …]
/linux-4.1.27/drivers/gpu/drm/radeon/
Dkv_dpm.h59 u32 cntl; member
Dkv_dpm.c275 WREG32_SMC(local_cac_reg->cntl, data);
/linux-4.1.27/arch/arm/mach-lpc32xx/
Dphy3250.c79 .cntl = (CNTL_BGR | CNTL_LCDTFT | CNTL_LCDVCOMP(1) |
/linux-4.1.27/arch/arm/mach-versatile/
Dcore.c563 regs->cntl &= ~CNTL_BGR; in versatile_clcd_decode()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_display.c8649 uint32_t cntl = 0, size = 0; in i845_update_cursor() local
8669 cntl |= CURSOR_ENABLE | in i845_update_cursor()
8680 intel_crtc->cursor_cntl != cntl)) { in i845_update_cursor()
8699 if (intel_crtc->cursor_cntl != cntl) { in i845_update_cursor()
8700 I915_WRITE(_CURACNTR, cntl); in i845_update_cursor()
8702 intel_crtc->cursor_cntl = cntl; in i845_update_cursor()
8712 uint32_t cntl; in i9xx_update_cursor() local
8714 cntl = 0; in i9xx_update_cursor()
8716 cntl = MCURSOR_GAMMA_ENABLE; in i9xx_update_cursor()
8719 cntl |= CURSOR_MODE_64_ARGB_AX; in i9xx_update_cursor()
[all …]