Home
last modified time | relevance | path

Searched refs:REG_CONTROL (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-microchip-core.c76 #define REG_CONTROL (0x00) macro
129 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_disable()
133 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_disable()
156 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_enable_ints()
159 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_enable_ints()
164 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_disable_ints()
167 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_disable_ints()
204 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_set_xfer_size()
207 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_set_xfer_size()
241 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_set_framesize()
[all …]
H A Dspi-microchip-core-qspi.c90 #define REG_CONTROL (0x00) macro
128 u32 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode()
156 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode()
168 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op()
175 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op()
187 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op()
201 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_write_op()
203 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_write_op()
215 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_write_op()
285 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_setup_clock()
[all …]
/openbmc/linux/drivers/bluetooth/
H A Dbluecard_cs.c126 #define REG_CONTROL 0x22 macro
266 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup()
309 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup()
313 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup()
513 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_interrupt()
547 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_interrupt()
727 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_open()
740 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_open()
745 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_open()
750 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_open()
[all …]
/openbmc/linux/drivers/net/ethernet/i825xx/
H A Dether1.c301 writeb(CTRL_RST|CTRL_ACK, REG_CONTROL); in ether1_reset()
450 writeb(CTRL_RST|CTRL_ACK, REG_CONTROL); in ether1_init_for_open()
509 writeb(CTRL_RST, REG_CONTROL); in ether1_init_for_open()
510 writeb(0, REG_CONTROL); in ether1_init_for_open()
511 writeb(CTRL_CA, REG_CONTROL); in ether1_init_for_open()
759 writeb(CTRL_CA, REG_CONTROL); in ether1_xmit_done()
905 writeb(CTRL_CA | CTRL_ACK, REG_CONTROL); in ether1_interrupt()
917 writeb(CTRL_CA, REG_CONTROL); in ether1_interrupt()
929 writeb(CTRL_CA, REG_CONTROL); in ether1_interrupt()
938 writeb(CTRL_ACK, REG_CONTROL); in ether1_interrupt()
H A Dether1.h25 #define REG_CONTROL (priv(dev)->base + 0x0004) macro
/openbmc/linux/drivers/clocksource/
H A Dbcm2835_timer.c22 #define REG_CONTROL 0x00 macro
107 timer->control = base + REG_CONTROL; in bcm2835_timer_init()
/openbmc/linux/drivers/regulator/
H A Dtps62360-regulator.c33 #define REG_CONTROL 4 macro
240 ret = regmap_write(tps->regmap, REG_CONTROL, 0xE0); in tps62360_init_dcdc()
242 ret = regmap_write(tps->regmap, REG_CONTROL, 0x0); in tps62360_init_dcdc()
246 __func__, REG_CONTROL, ret); in tps62360_init_dcdc()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326_reg.h99 #define REG_CONTROL(ie) CRA(0x2,ie&1,0x0f) /* FIFO control */ macro
/openbmc/linux/drivers/media/i2c/
H A Dtda1997x_regs.h433 #define REG_CONTROL 0x80FF macro
H A Dtda1997x.c2117 reg = tda1997x_cec_read(sd, REG_CONTROL & 0xff); in tda1997x_core_init()
2119 tda1997x_cec_write(sd, REG_CONTROL & 0xff, reg); in tda1997x_core_init()