Home
last modified time | relevance | path

Searched refs:regoff (Results 1 – 6 of 6) sorted by relevance

/u-boot/board/gdsys/common/
A Dfpga.c14 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) in fpga_set_reg() argument
21 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) in fpga_get_reg() argument
/u-boot/drivers/pinctrl/mscc/
A Dmscc-common.c94 int f, offset, regoff; in mscc_pinmux_set_mux() local
107 regoff = info->mscc_gpios[MSCC_GPIO_ALT0]; in mscc_pinmux_set_mux()
110 regoff = info->mscc_gpios[MSCC_GPIO_ALT1]; in mscc_pinmux_set_mux()
114 mscc_setbits(offset, info->regs + regoff); in mscc_pinmux_set_mux()
116 mscc_clrbits(offset, info->regs + regoff); in mscc_pinmux_set_mux()
119 mscc_setbits(offset, info->regs + regoff + 4); in mscc_pinmux_set_mux()
121 mscc_clrbits(offset, info->regs + regoff + 4); in mscc_pinmux_set_mux()
/u-boot/drivers/gpio/
A Dmscc_sgpio.c39 u8 regoff[MAXREG]; member
59 .regoff = { 0x00, 0x09, 0x29, 0x2a, 0x2b },
67 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05 },
85 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_readl()
93 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_writel()
101 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_clrsetbits()
/u-boot/board/gdsys/mpc8308/
A Dhrcon.c63 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) in fpga_set_reg() argument
72 res = mclink_send(fpga - 1, regoff, data); in fpga_set_reg()
75 regoff, data, res); in fpga_set_reg()
84 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) in fpga_get_reg() argument
95 res = mclink_receive(fpga - 1, regoff, data); in fpga_get_reg()
98 regoff, res); in fpga_get_reg()
A Dstrider.c66 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) in fpga_set_reg() argument
75 res = mclink_send(fpga - 1, regoff, data); in fpga_set_reg()
78 regoff, data, res); in fpga_set_reg()
87 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) in fpga_get_reg() argument
98 res = mclink_receive(fpga - 1, regoff, data); in fpga_get_reg()
101 regoff, res); in fpga_get_reg()
/u-boot/include/
A Dgdsys_fpga.h21 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data);
22 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data);

Completed in 11 milliseconds