/openbmc/u-boot/drivers/gpio/ |
H A D | sandbox.c | 25 static u8 *get_gpio_flags(struct udevice *dev, unsigned offset) in get_gpio_flags() 39 static int get_gpio_flag(struct udevice *dev, unsigned offset, int flag) in get_gpio_flag() 44 static int set_gpio_flag(struct udevice *dev, unsigned offset, int flag, in set_gpio_flag() 61 int sandbox_gpio_get_value(struct udevice *dev, unsigned offset) in sandbox_gpio_get_value() 68 int sandbox_gpio_set_value(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_value() 73 int sandbox_gpio_get_open_drain(struct udevice *dev, unsigned offset) in sandbox_gpio_get_open_drain() 78 int sandbox_gpio_set_open_drain(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_open_drain() 83 int sandbox_gpio_get_direction(struct udevice *dev, unsigned offset) in sandbox_gpio_get_direction() 88 int sandbox_gpio_set_direction(struct udevice *dev, unsigned offset, int output) in sandbox_gpio_set_direction() 98 static int sb_gpio_direction_input(struct udevice *dev, unsigned offset) in sb_gpio_direction_input() [all …]
|
H A D | imx_rgpio2p.c | 32 static int imx_rgpio2p_is_output(struct gpio_regs *regs, int offset) in imx_rgpio2p_is_output() 41 static void imx_rgpio2p_bank_direction(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_direction() 58 static void imx_rgpio2p_bank_set_value(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_set_value() 67 static int imx_rgpio2p_bank_get_value(struct gpio_regs *regs, int offset) in imx_rgpio2p_bank_get_value() 72 static int imx_rgpio2p_direction_input(struct udevice *dev, unsigned offset) in imx_rgpio2p_direction_input() 82 static int imx_rgpio2p_direction_output(struct udevice *dev, unsigned offset, in imx_rgpio2p_direction_output() 96 static int imx_rgpio2p_get_value(struct udevice *dev, unsigned offset) in imx_rgpio2p_get_value() 103 static int imx_rgpio2p_set_value(struct udevice *dev, unsigned offset, in imx_rgpio2p_set_value() 113 static int imx_rgpio2p_get_function(struct udevice *dev, unsigned offset) in imx_rgpio2p_get_function()
|
H A D | bcm6345_gpio.c | 21 static int bcm6345_gpio_get_value(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_value() 28 static int bcm6345_gpio_set_value(struct udevice *dev, unsigned offset, in bcm6345_gpio_set_value() 41 static int bcm6345_gpio_set_direction(void __iomem *dirout, unsigned offset, in bcm6345_gpio_set_direction() 52 static int bcm6345_gpio_direction_input(struct udevice *dev, unsigned offset) in bcm6345_gpio_direction_input() 59 static int bcm6345_gpio_direction_output(struct udevice *dev, unsigned offset, in bcm6345_gpio_direction_output() 69 static int bcm6345_gpio_get_function(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_function()
|
H A D | intel_ich6_gpio.c | 57 static int _ich6_gpio_set_value(struct ich6_bank_priv *bank, unsigned offset, in _ich6_gpio_set_value() 78 static int _ich6_gpio_set_direction(uint16_t base, unsigned offset, int dir) in _ich6_gpio_set_direction() 99 int offset; in gpio_ich6_ofdata_to_platdata() local 143 static int ich6_gpio_request(struct udevice *dev, unsigned offset, in ich6_gpio_request() 164 static int ich6_gpio_direction_input(struct udevice *dev, unsigned offset) in ich6_gpio_direction_input() 171 static int ich6_gpio_direction_output(struct udevice *dev, unsigned offset, in ich6_gpio_direction_output() 184 static int ich6_gpio_get_value(struct udevice *dev, unsigned offset) in ich6_gpio_get_value() 197 static int ich6_gpio_set_value(struct udevice *dev, unsigned offset, in ich6_gpio_set_value() 204 static int ich6_gpio_get_function(struct udevice *dev, unsigned offset) in ich6_gpio_get_function()
|
H A D | gpio-uniphier.c | 41 static void uniphier_gpio_get_bank_and_mask(unsigned int offset, in uniphier_gpio_get_bank_and_mask() 71 static void uniphier_gpio_offset_write(struct udevice *dev, unsigned int offset, in uniphier_gpio_offset_write() 83 unsigned int offset, unsigned int reg) in uniphier_gpio_offset_read() 95 static int uniphier_gpio_get_function(struct udevice *dev, unsigned int offset) in uniphier_gpio_get_function() 102 unsigned int offset) in uniphier_gpio_direction_input() 110 unsigned int offset, int value) in uniphier_gpio_direction_output() 118 static int uniphier_gpio_get_value(struct udevice *dev, unsigned int offset) in uniphier_gpio_get_value() 124 unsigned int offset, int value) in uniphier_gpio_set_value()
|
H A D | intel_broadwell_gpio.c | 32 int offset; member 35 static int broadwell_gpio_request(struct udevice *dev, unsigned offset, in broadwell_gpio_request() 58 static int broadwell_gpio_direction_input(struct udevice *dev, unsigned offset) in broadwell_gpio_direction_input() 68 static int broadwell_gpio_get_value(struct udevice *dev, unsigned offset) in broadwell_gpio_get_value() 77 static int broadwell_gpio_set_value(struct udevice *dev, unsigned offset, in broadwell_gpio_set_value() 91 static int broadwell_gpio_direction_output(struct udevice *dev, unsigned offset, in broadwell_gpio_direction_output() 103 static int broadwell_gpio_get_function(struct udevice *dev, unsigned offset) in broadwell_gpio_get_function()
|
H A D | gpio-rcar.c | 36 static int rcar_gpio_get_value(struct udevice *dev, unsigned offset) in rcar_gpio_get_value() 51 static int rcar_gpio_set_value(struct udevice *dev, unsigned offset, in rcar_gpio_set_value() 64 static void rcar_gpio_set_direction(void __iomem *regs, unsigned offset, in rcar_gpio_set_direction() 86 static int rcar_gpio_direction_input(struct udevice *dev, unsigned offset) in rcar_gpio_direction_input() 95 static int rcar_gpio_direction_output(struct udevice *dev, unsigned offset, in rcar_gpio_direction_output() 107 static int rcar_gpio_get_function(struct udevice *dev, unsigned offset) in rcar_gpio_get_function() 117 static int rcar_gpio_request(struct udevice *dev, unsigned offset, in rcar_gpio_request()
|
H A D | tegra186_gpio.c | 21 uint32_t offset; member 43 static int tegra186_gpio_set_out(struct udevice *dev, unsigned offset, in tegra186_gpio_set_out() 69 static int tegra186_gpio_set_val(struct udevice *dev, unsigned offset, bool val) in tegra186_gpio_set_val() 85 static int tegra186_gpio_direction_input(struct udevice *dev, unsigned offset) in tegra186_gpio_direction_input() 90 static int tegra186_gpio_direction_output(struct udevice *dev, unsigned offset, in tegra186_gpio_direction_output() 101 static int tegra186_gpio_get_value(struct udevice *dev, unsigned offset) in tegra186_gpio_get_value() 119 static int tegra186_gpio_set_value(struct udevice *dev, unsigned offset, in tegra186_gpio_set_value() 125 static int tegra186_gpio_get_function(struct udevice *dev, unsigned offset) in tegra186_gpio_get_function()
|
H A D | mxc_gpio.c | 166 static int mxc_gpio_is_output(struct gpio_regs *regs, int offset) in mxc_gpio_is_output() 175 static void mxc_gpio_bank_direction(struct gpio_regs *regs, int offset, in mxc_gpio_bank_direction() 192 static void mxc_gpio_bank_set_value(struct gpio_regs *regs, int offset, in mxc_gpio_bank_set_value() 205 static int mxc_gpio_bank_get_value(struct gpio_regs *regs, int offset) in mxc_gpio_bank_get_value() 211 static int mxc_gpio_direction_input(struct udevice *dev, unsigned offset) in mxc_gpio_direction_input() 222 static int mxc_gpio_direction_output(struct udevice *dev, unsigned offset, in mxc_gpio_direction_output() 237 static int mxc_gpio_get_value(struct udevice *dev, unsigned offset) in mxc_gpio_get_value() 245 static int mxc_gpio_set_value(struct udevice *dev, unsigned offset, in mxc_gpio_set_value() 255 static int mxc_gpio_get_function(struct udevice *dev, unsigned offset) in mxc_gpio_get_function()
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | mem_io.h | 27 #define SCU_RD(offset) readl(SCU_BASE + offset) argument 28 #define SCU_WR(value, offset) writel(value, SCU_BASE + offset) argument 30 #define MAC1_RD(offset) readl(MAC1_BASE + offset) argument 31 #define MAC1_WR(value, offset) writel(value, MAC1_BASE + offset) argument 32 #define MAC2_RD(offset) readl(MAC2_BASE + offset) argument 33 #define MAC2_WR(value, offset) writel(value, MAC2_BASE + offset) argument 35 #define MAC3_RD(offset) readl(MAC3_BASE + offset) argument 36 #define MAC3_WR(value, offset) writel(value, MAC3_BASE + offset) argument 37 #define MAC4_RD(offset) readl(MAC4_BASE + offset) argument 38 #define MAC4_WR(value, offset) writel(value, MAC4_BASE + offset) argument [all …]
|
/openbmc/u-boot/drivers/bios_emulator/x86emu/ |
H A D | decode.c | 304 uint offset) in fetch_data_byte() 323 uint offset) in fetch_data_word() 342 uint offset) in fetch_data_long() 363 uint offset) in fetch_data_byte_abs() 384 uint offset) in fetch_data_word_abs() 405 uint offset) in fetch_data_long_abs() 426 uint offset, in store_data_byte() 448 uint offset, in store_data_word() 470 uint offset, in store_data_long() 493 uint offset, in store_data_byte_abs() [all …]
|
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | fdt.c | 77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() 98 int offset = startoffset; in fdt_next_tag() local 147 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_() 156 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_() 165 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 205 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode() 216 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_io.h | 45 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw() 48 static inline u32 musb_readl(const void __iomem *addr, unsigned offset) in musb_readl() 52 static inline void musb_writew(void __iomem *addr, unsigned offset, u16 data) in musb_writew() 55 static inline void musb_writel(void __iomem *addr, unsigned offset, u32 data) in musb_writel() 64 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() 78 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb() 93 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() 96 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb()
|
/openbmc/qemu/hw/net/ |
H A D | npcm_pcs.c | 149 static uint16_t npcm_pcs_read_sr_ctl(NPCMPCSState *s, hwaddr offset) in npcm_pcs_read_sr_ctl() 164 static uint16_t npcm_pcs_read_sr_mii(NPCMPCSState *s, hwaddr offset) in npcm_pcs_read_sr_mii() 179 static uint16_t npcm_pcs_read_sr_tim(NPCMPCSState *s, hwaddr offset) in npcm_pcs_read_sr_tim() 194 static uint16_t npcm_pcs_read_vr_mii(NPCMPCSState *s, hwaddr offset) in npcm_pcs_read_vr_mii() 209 static void npcm_pcs_write_sr_ctl(NPCMPCSState *s, hwaddr offset, uint16_t v) in npcm_pcs_write_sr_ctl() 224 static void npcm_pcs_write_sr_mii(NPCMPCSState *s, hwaddr offset, uint16_t v) in npcm_pcs_write_sr_mii() 244 static void npcm_pcs_write_sr_tim(NPCMPCSState *s, hwaddr offset, uint16_t v) in npcm_pcs_write_sr_tim() 259 static void npcm_pcs_write_vr_mii(NPCMPCSState *s, hwaddr offset, uint16_t v) in npcm_pcs_write_vr_mii() 274 static uint64_t npcm_pcs_read(void *opaque, hwaddr offset, unsigned size) in npcm_pcs_read() 312 static void npcm_pcs_write(void *opaque, hwaddr offset, in npcm_pcs_write()
|
/openbmc/u-boot/drivers/pinctrl/mscc/ |
H A D | mscc-common.c | 25 static void mscc_writel(unsigned int offset, void *addr) in mscc_writel() 33 static unsigned int mscc_readl(unsigned int offset, void *addr) in mscc_readl() 41 static void mscc_setbits(unsigned int offset, void *addr) in mscc_setbits() 49 static void mscc_clrbits(unsigned int offset, void *addr) in mscc_clrbits() 91 int f, offset, regoff; in mscc_pinmux_set_mux() local 176 static int mscc_gpio_get(struct udevice *dev, unsigned int offset) in mscc_gpio_get() 192 static int mscc_gpio_set(struct udevice *dev, unsigned int offset, int value) in mscc_gpio_set() 206 static int mscc_gpio_get_direction(struct udevice *dev, unsigned int offset) in mscc_gpio_get_direction() 216 static int mscc_gpio_direction_input(struct udevice *dev, unsigned int offset) in mscc_gpio_direction_input() 226 unsigned int offset, int value) in mscc_gpio_direction_output()
|
/openbmc/u-boot/include/ |
H A D | spi_flash.h | 120 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read() 126 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write() 132 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase() 139 u32 offset, size_t len) in spi_flash_ctrl_wlock() 145 u32 offset, size_t len) in spi_flash_ctrl_wunlock() 163 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read() 172 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write() 181 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase()
|
/openbmc/qemu/hw/nvram/ |
H A D | nrf51_nvm.c | 83 static uint64_t ficr_read(void *opaque, hwaddr offset, unsigned int size) in ficr_read() 89 static void ficr_write(void *opaque, hwaddr offset, uint64_t value, in ficr_write() 171 static uint64_t uicr_read(void *opaque, hwaddr offset, unsigned int size) in uicr_read() 179 static void uicr_write(void *opaque, hwaddr offset, uint64_t value, in uicr_write() 197 static uint64_t io_read(void *opaque, hwaddr offset, unsigned int size) in io_read() 218 static void io_write(void *opaque, hwaddr offset, uint64_t value, in io_write() 275 static uint64_t flash_read(void *opaque, hwaddr offset, unsigned size) in flash_read() 285 static void flash_write(void *opaque, hwaddr offset, uint64_t value, in flash_write()
|
/openbmc/u-boot/drivers/video/meson/ |
H A D | meson_vpu.h | 47 #define hhi_update_bits(offset, mask, value) \ argument 50 #define hhi_write(offset, value) \ argument 53 #define hhi_read(offset) \ argument 56 #define dmc_update_bits(offset, mask, value) \ argument 59 #define dmc_write(offset, value) \ argument 62 #define dmc_read(offset) \ argument
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_flash.c | 116 uint32_t offset) in flash_is_erased() 134 int set_flash_bytemap(struct mbox_context *context, uint32_t offset, in set_flash_bytemap() 159 int erase_flash(struct mbox_context *context, uint32_t offset, uint32_t count) in erase_flash() 231 int64_t copy_flash(struct mbox_context *context, uint32_t offset, void *mem, in copy_flash() 270 int write_flash(struct mbox_context *context, uint32_t offset, void *buf, in write_flash()
|
/openbmc/qemu/block/ |
H A D | reqlist.c | 20 void reqlist_init_req(BlockReqList *reqs, BlockReq *req, int64_t offset, in reqlist_init_req() 31 BlockReq *reqlist_find_conflict(BlockReqList *reqs, int64_t offset, in reqlist_find_conflict() 45 bool coroutine_fn reqlist_wait_one(BlockReqList *reqs, int64_t offset, in reqlist_wait_one() 59 void coroutine_fn reqlist_wait_all(BlockReqList *reqs, int64_t offset, in reqlist_wait_all()
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_dist.c | 94 int offset, uint32_t val) in gicd_write_bitmap_reg() 118 int offset, uint32_t val) in gicd_write_set_bitmap_reg() 142 int offset, uint32_t val) in gicd_write_clear_bitmap_reg() 166 int offset) in gicd_read_bitmap_reg() 301 static bool gicd_readb(GICv3State *s, hwaddr offset, in gicd_readb() 321 static bool gicd_writeb(GICv3State *s, hwaddr offset, in gicd_writeb() 349 static bool gicd_readw(GICv3State *s, hwaddr offset, in gicd_readw() 361 static bool gicd_writew(GICv3State *s, hwaddr offset, in gicd_writew() 373 static bool gicd_readl(GICv3State *s, hwaddr offset, in gicd_readl() 605 static bool gicd_writel(GICv3State *s, hwaddr offset, in gicd_writel() [all …]
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/phosphor-fan/ |
H A D | monitor.json | 17 "offset": 0 number 25 "offset": 0 number 43 "offset": 0 number 51 "offset": 0 number 69 "offset": 0 number 77 "offset": 0 number 95 "offset": 0 number 103 "offset": 0 number 121 "offset": 0 number 129 "offset": 0 number [all …]
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan/ |
H A D | monitor.json | 17 "offset": 0 number 25 "offset": 0 number 43 "offset": 0 number 51 "offset": 0 number 69 "offset": 0 number 77 "offset": 0 number 95 "offset": 0 number 103 "offset": 0 number 121 "offset": 0 number 129 "offset": 0 number [all …]
|
/openbmc/u-boot/include/dt-bindings/clock/ |
H A D | am3.h | 17 #define AM3_CLKCTRL_INDEX(offset) ((offset) - AM3_CLKCTRL_OFFSET) argument 23 #define AM3_L4_PER_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_PER_CLKCTRL_OFFSET) argument 78 #define AM3_L4_WKUP_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_WKUP_CLKCTRL_OFFSET) argument 94 #define AM3_MPU_CLKCTRL_INDEX(offset) ((offset) - AM3_MPU_CLKCTRL_OFFSET) argument 102 #define AM3_GFX_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_GFX_L3_CLKCTRL_OFFSET) argument 107 #define AM3_L4_CEFUSE_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_CEFUSE_CLKCTRL_OFFSET) argument 114 #define AM3_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4LS_CLKCTRL_OFFSET) argument 149 #define AM3_L3S_CLKCTRL_INDEX(offset) ((offset) - AM3_L3S_CLKCTRL_OFFSET) argument 158 #define AM3_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_CLKCTRL_OFFSET) argument 172 #define AM3_L4HS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4HS_CLKCTRL_OFFSET) argument [all …]
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | io.cpp | 16 bool DevMemDevice::read(const std::size_t offset, const std::size_t length, in read() 54 bool DevMemDevice::write(const std::size_t offset, const std::size_t length, in write() 109 bool PpcMemDevice::read(const std::size_t offset, const std::size_t length, in read() 133 bool PpcMemDevice::write(const std::size_t offset, const std::size_t length, in write()
|