Home
last modified time | relevance | path

Searched refs:oft (Results 1 – 4 of 4) sorted by relevance

/u-boot/drivers/gpio/
A Dhsdk-creg-gpio.c31 static int hsdk_creg_gpio_set_value(struct udevice *dev, unsigned oft, int val) in hsdk_creg_gpio_set_value() argument
34 u8 reg_shift = oft * hcg->bit_per_gpio + hcg->shift; in hsdk_creg_gpio_set_value()
45 static int hsdk_creg_gpio_direction_output(struct udevice *dev, unsigned oft, in hsdk_creg_gpio_direction_output() argument
48 hsdk_creg_gpio_set_value(dev, oft, val); in hsdk_creg_gpio_direction_output()
53 static int hsdk_creg_gpio_direction_input(struct udevice *dev, unsigned oft) in hsdk_creg_gpio_direction_input() argument
62 static int hsdk_creg_gpio_get_value(struct udevice *dev, unsigned int oft) in hsdk_creg_gpio_get_value() argument
67 val >>= oft * hcg->bit_per_gpio + hcg->shift; in hsdk_creg_gpio_get_value()
/u-boot/drivers/net/
A Ddm9000x.c284 int i, oft, lnk; in dm9000_init() local
350 for (i = 0, oft = DM9000_PAR; i < 6; i++, oft++) in dm9000_init()
351 DM9000_iow(oft, dev->enetaddr[i]); in dm9000_init()
352 for (i = 0, oft = 0x16; i < 8; i++, oft++) in dm9000_init()
353 DM9000_iow(oft, 0xff); in dm9000_init()
356 for (i = 0, oft = 0x10; i < 6; i++, oft++) in dm9000_init()
357 DM9000_DBG("%02x:", DM9000_ior(oft)); in dm9000_init()
/u-boot/drivers/clk/
A Dclk-hsdk-cgu.c139 const u32 oft; member
624 for (i = 0; cfg->idiv[i].oft != 0; i++) { in common_div_clk_set()
625 clk->curr_domain.idiv_regs = clk->cgu_regs + cfg->idiv[i].oft; in common_div_clk_set()
/u-boot/
A DREADME3965 => print oft
3966 oft=oftrees/mpc8540ads.dtb
3967 => tftp $oftaddr $oft

Completed in 11 milliseconds