Searched refs:dcon (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 55 static s32 dcon_write(struct dcon_priv *dcon, u8 reg, u16 val) in dcon_write() argument 57 return i2c_smbus_write_word_data(dcon->client, reg, val); in dcon_write() 60 static s32 dcon_read(struct dcon_priv *dcon, u8 reg) in dcon_read() argument 62 return i2c_smbus_read_word_data(dcon->client, reg); in dcon_read() 67 static int dcon_hw_init(struct dcon_priv *dcon, int is_init) in dcon_hw_init() argument 72 ver = dcon_read(dcon, DCON_REG_ID); in dcon_hw_init() 83 rc = pdata->init(dcon); in dcon_hw_init() 91 dev_err(&dcon->client->dev, in dcon_hw_init() 98 dcon_write(dcon, 0x3a, 0xc040); in dcon_hw_init() 99 dcon_write(dcon, 0x41, 0x0000); in dcon_hw_init() [all …]
|
D | Makefile | 1 olpc-dcon-objs += olpc_dcon.o 2 olpc-dcon-$(CONFIG_FB_OLPC_DCON_1) += olpc_dcon_xo_1.o 3 olpc-dcon-$(CONFIG_FB_OLPC_DCON_1_5) += olpc_dcon_xo_1_5.o 4 obj-$(CONFIG_FB_OLPC_DCON) += olpc-dcon.o
|
D | olpc_dcon_xo_1.c | 20 static int dcon_init_xo_1(struct dcon_priv *dcon) in dcon_init_xo_1() argument 58 dcon->curr_src = cs5535_gpio_isset(OLPC_GPIO_DCON_LOAD, GPIO_OUTPUT_VAL) in dcon_init_xo_1() 61 dcon->pending_src = dcon->curr_src; in dcon_init_xo_1() 69 dcon->curr_src == DCON_SOURCE_CPU); in dcon_init_xo_1() 85 if (request_irq(DCON_IRQ, &dcon_interrupt, 0, "DCON", dcon)) { in dcon_init_xo_1()
|
D | olpc_dcon_xo_1_5.c | 60 static int dcon_init_xo_1_5(struct dcon_priv *dcon) in dcon_init_xo_1_5() argument 98 dcon->curr_src = (inl(VX855_GENL_PURPOSE_OUTPUT) & 0x1000) ? in dcon_init_xo_1_5() 100 dcon->pending_src = dcon->curr_src; in dcon_init_xo_1_5() 106 if (request_irq(irq, &dcon_interrupt, IRQF_SHARED, "DCON", dcon)) { in dcon_init_xo_1_5()
|
/linux-3.4.99/arch/arm/plat-s3c24xx/ |
D | dma.c | 74 unsigned long dcon; member 91 regs->dcon = dma_rdreg(chan, S3C2410_DMA_DCON); in dmadbg_capture() 102 regs->dcon); in dmadbg_dumpregs() 248 chan->dcon | reload | (buf->size/chan->xfer_unit)); in s3c2410_dma_loadbuffer() 572 dma_wrreg(chan, S3C2410_DMA_DCON, chan->dcon | S3C2410_DCON_NORELOAD); in s3c2410_dma_lastxfer() 1027 unsigned int dcon; in s3c2410_dma_config() local 1034 dcon = chan->dcon & dma_sel.dcon_mask; in s3c2410_dma_config() 1035 pr_debug("%s: dcon is %08x\n", __func__, dcon); in s3c2410_dma_config() 1044 dcon |= S3C2410_DCON_HANDSHAKE; in s3c2410_dma_config() 1045 dcon |= S3C2410_DCON_SYNC_PCLK; in s3c2410_dma_config() [all …]
|
/linux-3.4.99/drivers/mmc/host/ |
D | s3cmci.c | 972 u32 dcon, imsk, stoptries = 3; in s3cmci_setup_data() local 1006 dcon = data->blocks & S3C2410_SDIDCON_BLKNUM_MASK; in s3cmci_setup_data() 1009 dcon |= S3C2410_SDIDCON_DMAEN; in s3cmci_setup_data() 1012 dcon |= S3C2410_SDIDCON_WIDEBUS; in s3cmci_setup_data() 1015 dcon |= S3C2410_SDIDCON_BLOCKMODE; in s3cmci_setup_data() 1018 dcon |= S3C2410_SDIDCON_TXAFTERRESP; in s3cmci_setup_data() 1019 dcon |= S3C2410_SDIDCON_XFER_TXSTART; in s3cmci_setup_data() 1023 dcon |= S3C2410_SDIDCON_RXAFTERCMD; in s3cmci_setup_data() 1024 dcon |= S3C2410_SDIDCON_XFER_RXSTART; in s3cmci_setup_data() 1028 dcon |= S3C2440_SDIDCON_DS_WORD; in s3cmci_setup_data() [all …]
|
/linux-3.4.99/arch/arm/mach-s3c24xx/include/mach/ |
D | dma.h | 190 unsigned long dcon; /* default value of DCON */ member
|
/linux-3.4.99/arch/arm/mach-s3c24xx/ |
D | dma-s3c2410.c | 107 chan->dcon = map->channels[chan->number] & ~DMA_CH_VALID; in s3c2410_dma_select()
|
D | dma-s3c2440.c | 124 chan->dcon = map->channels[chan->number] & ~DMA_CH_VALID; in s3c2440_dma_select()
|