Home
last modified time | relevance | path

Searched refs:dcon (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/staging/olpc_dcon/
Dolpc_dcon.c57 static s32 dcon_write(struct dcon_priv *dcon, u8 reg, u16 val) in dcon_write() argument
59 return i2c_smbus_write_word_data(dcon->client, reg, val); in dcon_write()
62 static s32 dcon_read(struct dcon_priv *dcon, u8 reg) in dcon_read() argument
64 return i2c_smbus_read_word_data(dcon->client, reg); in dcon_read()
69 static int dcon_hw_init(struct dcon_priv *dcon, int is_init) in dcon_hw_init() argument
71 struct i2c_client *client = dcon->client; in dcon_hw_init()
86 rc = pdata->init(dcon); in dcon_hw_init()
119 dcon->disp_mode = MODE_PASSTHRU | MODE_BL_ENABLE | in dcon_hw_init()
122 dcon->disp_mode |= MODE_COL_AA; in dcon_hw_init()
124 i2c_smbus_write_word_data(client, DCON_REG_MODE, dcon->disp_mode); in dcon_hw_init()
[all …]
DMakefile1 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
Dolpc_dcon_xo_1.c20 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()
Dolpc_dcon_xo_1_5.c61 static int dcon_init_xo_1_5(struct dcon_priv *dcon) in dcon_init_xo_1_5() argument
100 dcon->curr_src = (inl(VX855_GENL_PURPOSE_OUTPUT) & 0x1000) ? in dcon_init_xo_1_5()
102 dcon->pending_src = dcon->curr_src; in dcon_init_xo_1_5()
108 if (request_irq(irq, &dcon_interrupt, IRQF_SHARED, "DCON", dcon)) { in dcon_init_xo_1_5()
/linux-2.6.39/arch/arm/plat-s3c24xx/
Ddma.c75 unsigned long dcon; member
92 regs->dcon = dma_rdreg(chan, S3C2410_DMA_DCON); in dmadbg_capture()
103 regs->dcon); in dmadbg_dumpregs()
249 chan->dcon | reload | (buf->size/chan->xfer_unit)); in s3c2410_dma_loadbuffer()
573 dma_wrreg(chan, S3C2410_DMA_DCON, chan->dcon | S3C2410_DCON_NORELOAD); in s3c2410_dma_lastxfer()
1028 unsigned int dcon; in s3c2410_dma_config() local
1031 __func__, channel, xferunit, dcon); in s3c2410_dma_config()
1036 pr_debug("%s: Initial dcon is %08x\n", __func__, dcon); in s3c2410_dma_config()
1038 dcon = chan->dcon & dma_sel.dcon_mask; in s3c2410_dma_config()
1040 pr_debug("%s: New dcon is %08x\n", __func__, dcon); in s3c2410_dma_config()
[all …]
/linux-2.6.39/drivers/mmc/host/
Ds3cmci.c972 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-2.6.39/arch/arm/mach-s3c2410/include/mach/
Ddma.h178 unsigned long dcon; /* default value of DCON */ member
/linux-2.6.39/arch/arm/mach-s3c2410/
Ddma.c121 chan->dcon = map->channels[chan->number] & ~DMA_CH_VALID; in s3c2410_dma_select()
/linux-2.6.39/arch/arm/mach-s3c2440/
Ddma.c141 chan->dcon = map->channels[chan->number] & ~DMA_CH_VALID; in s3c2440_dma_select()