Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/olpc_dcon/
Dolpc_dcon.c47 static s32 dcon_write(struct dcon_priv *dcon, u8 reg, u16 val) in dcon_write() argument
49 return i2c_smbus_write_word_data(dcon->client, reg, val); in dcon_write()
52 static s32 dcon_read(struct dcon_priv *dcon, u8 reg) in dcon_read() argument
54 return i2c_smbus_read_word_data(dcon->client, reg); in dcon_read()
59 static int dcon_hw_init(struct dcon_priv *dcon, int is_init) in dcon_hw_init() argument
64 ver = dcon_read(dcon, DCON_REG_ID); in dcon_hw_init()
73 rc = pdata->init(dcon); in dcon_hw_init()
81 dev_err(&dcon->client->dev, in dcon_hw_init()
88 dcon_write(dcon, 0x3a, 0xc040); in dcon_hw_init()
89 dcon_write(dcon, DCON_REG_MEM_OPT_A, 0x0000); /* clear option bits */ in dcon_hw_init()
[all …]
Dolpc_dcon_xo_1_5.c86 static int dcon_init_xo_1_5(struct dcon_priv *dcon) in dcon_init_xo_1_5() argument
94 gpios_table.dev_id = dev_name(&dcon->client->dev); in dcon_init_xo_1_5()
99 gpios[i] = devm_gpiod_get(&dcon->client->dev, pin[i].name, in dcon_init_xo_1_5()
116 dcon->curr_src = (inl(VX855_GENL_PURPOSE_OUTPUT) & 0x1000) ? in dcon_init_xo_1_5()
118 dcon->pending_src = dcon->curr_src; in dcon_init_xo_1_5()
122 if (request_irq(irq, &dcon_interrupt, IRQF_SHARED, "DCON", dcon)) { in dcon_init_xo_1_5()
Dolpc_dcon_xo_1.c39 static int dcon_init_xo_1(struct dcon_priv *dcon) in dcon_init_xo_1() argument
46 gpios[i] = devm_gpiod_get(&dcon->client->dev, pin[i].name, in dcon_init_xo_1()
69 dcon->curr_src = cs5535_gpio_isset(OLPC_GPIO_DCON_LOAD, GPIO_OUTPUT_VAL) in dcon_init_xo_1()
72 dcon->pending_src = dcon->curr_src; in dcon_init_xo_1()
80 dcon->curr_src == DCON_SOURCE_CPU); in dcon_init_xo_1()
96 if (request_irq(DCON_IRQ, &dcon_interrupt, 0, "DCON", dcon)) { in dcon_init_xo_1()
DMakefile2 olpc-dcon-objs += olpc_dcon.o olpc_dcon_xo_1.o olpc_dcon_xo_1_5.o
3 obj-$(CONFIG_FB_OLPC_DCON) += olpc-dcon.o
DTODO5 2. The dcon low-power display mode can then be integrated using the
Dolpc_dcon.h94 int (*init)(struct dcon_priv *dcon);
/linux-6.1.9/drivers/dma/
Ds3c24xx-dma.c173 u32 dcon; member
421 txd->dcon = S3C24XX_DCON_INT | S3C24XX_DCON_NORELOAD; in s3c24xx_dma_get_txd()
446 u32 dcon = txd->dcon; in s3c24xx_dma_start_next_sg() local
452 dcon |= S3C24XX_DCON_DSZ_BYTE | dsg->len; in s3c24xx_dma_start_next_sg()
455 dcon |= S3C24XX_DCON_DSZ_HALFWORD | (dsg->len / 2); in s3c24xx_dma_start_next_sg()
458 dcon |= S3C24XX_DCON_DSZ_WORD | (dsg->len / 4); in s3c24xx_dma_start_next_sg()
475 dcon |= csel << S3C24XX_DCON_HWSRC_SHIFT; in s3c24xx_dma_start_next_sg()
476 dcon |= S3C24XX_DCON_HWTRIG; in s3c24xx_dma_start_next_sg()
487 writel_relaxed(dcon, phy->base + S3C24XX_DCON); in s3c24xx_dma_start_next_sg()
871 txd->dcon |= S3C24XX_DCON_DEMAND | S3C24XX_DCON_SYNC_HCLK | in s3c24xx_dma_prep_memcpy()
[all …]
/linux-6.1.9/drivers/mmc/host/
Ds3cmci.c950 u32 dcon, imsk, stoptries = 3; in s3cmci_setup_data() local
978 dcon = data->blocks & S3C2410_SDIDCON_BLKNUM_MASK; in s3cmci_setup_data()
981 dcon |= S3C2410_SDIDCON_DMAEN; in s3cmci_setup_data()
984 dcon |= S3C2410_SDIDCON_WIDEBUS; in s3cmci_setup_data()
986 dcon |= S3C2410_SDIDCON_BLOCKMODE; in s3cmci_setup_data()
989 dcon |= S3C2410_SDIDCON_TXAFTERRESP; in s3cmci_setup_data()
990 dcon |= S3C2410_SDIDCON_XFER_TXSTART; in s3cmci_setup_data()
994 dcon |= S3C2410_SDIDCON_RXAFTERCMD; in s3cmci_setup_data()
995 dcon |= S3C2410_SDIDCON_XFER_RXSTART; in s3cmci_setup_data()
999 dcon |= S3C2440_SDIDCON_DS_WORD; in s3cmci_setup_data()
[all …]