/openbmc/u-boot/drivers/gpio/ |
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 | 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 | 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()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-pmic-eic-sprd.c | 59 u32 offset; member 75 static int sprd_pmic_eic_read(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_read() 95 static void sprd_pmic_eic_free(struct gpio_chip *chip, unsigned int offset) in sprd_pmic_eic_free() 100 static int sprd_pmic_eic_get(struct gpio_chip *chip, unsigned int offset) in sprd_pmic_eic_get() 106 unsigned int offset) in sprd_pmic_eic_direction_input() 112 static void sprd_pmic_eic_set(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_set() 119 unsigned int offset, in sprd_pmic_eic_set_debounce() 152 u32 offset = irqd_to_hwirq(data); in sprd_pmic_eic_irq_mask() local 164 u32 offset = irqd_to_hwirq(data); in sprd_pmic_eic_irq_unmask() local 213 u32 offset = irqd_to_hwirq(data); in sprd_pmic_eic_bus_sync_unlock() local [all …]
|
H A D | gpio-lp873x.c | 25 unsigned int offset) in lp873x_gpio_get_direction() 32 unsigned int offset) in lp873x_gpio_direction_input() 39 unsigned int offset, int value) in lp873x_gpio_direction_output() 49 static int lp873x_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp873x_gpio_get() 61 static void lp873x_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp873x_gpio_set() 71 static int lp873x_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp873x_gpio_request() 95 static int lp873x_gpio_set_config(struct gpio_chip *gc, unsigned offset, in lp873x_gpio_set_config()
|
H A D | gpio-aspeed.c | 340 unsigned int offset) in aspeed_gpio_copro_request() 364 unsigned int offset) in aspeed_gpio_copro_release() 511 u32 *bit, int *offset) in irqd_to_aspeed_gpio_data() 536 int rc, offset; in aspeed_gpio_irq_ack() local 563 int rc, offset; in aspeed_gpio_irq_set_mask() local 616 int rc, offset; in aspeed_gpio_set_type() local 703 unsigned int offset; in aspeed_init_irq_valid_mask() local 721 unsigned int offset, bool enable) in aspeed_gpio_reset_tolerance() 807 unsigned int offset) in unregister_allocated_timer() 826 unsigned int offset) in timer_allocation_registered() [all …]
|
H A D | gpio-lp87565.c | 21 static int lp87565_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp87565_gpio_get() 33 static void lp87565_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp87565_gpio_set() 43 unsigned int offset) in lp87565_gpio_get_direction() 59 unsigned int offset) in lp87565_gpio_direction_input() 69 unsigned int offset, int value) in lp87565_gpio_direction_output() 80 static int lp87565_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp87565_gpio_request() 108 static int lp87565_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in lp87565_gpio_set_config()
|
/openbmc/linux/arch/mips/boot/compressed/ |
H A D | uart-16550.c | 13 #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) argument 18 #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) argument 23 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) argument 34 static inline unsigned int serial_in(int offset) in serial_in() 39 static inline void serial_out(int offset, int value) in serial_out()
|
/openbmc/linux/drivers/bcma/ |
H A D | host_pci.c | 42 static u8 bcma_host_pci_read8(struct bcma_device *core, u16 offset) in bcma_host_pci_read8() 48 static u16 bcma_host_pci_read16(struct bcma_device *core, u16 offset) in bcma_host_pci_read16() 54 static u32 bcma_host_pci_read32(struct bcma_device *core, u16 offset) in bcma_host_pci_read32() 60 static void bcma_host_pci_write8(struct bcma_device *core, u16 offset, in bcma_host_pci_write8() 67 static void bcma_host_pci_write16(struct bcma_device *core, u16 offset, in bcma_host_pci_write16() 74 static void bcma_host_pci_write32(struct bcma_device *core, u16 offset, in bcma_host_pci_write32() 83 size_t count, u16 offset, u8 reg_width) in bcma_host_pci_block_read() 107 u16 offset, u8 reg_width) in bcma_host_pci_block_write() 130 static u32 bcma_host_pci_aread32(struct bcma_device *core, u16 offset) in bcma_host_pci_aread32() 137 static void bcma_host_pci_awrite32(struct bcma_device *core, u16 offset, in bcma_host_pci_awrite32()
|
/openbmc/linux/sound/soc/sof/ |
H A D | ops.c | 15 bool snd_sof_pci_update_bits_unlocked(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits_unlocked() 38 bool snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits() 52 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_unlocked() 72 u32 offset, u64 mask, u64 value) in snd_sof_dsp_update_bits64_unlocked() 90 bool snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits() 104 bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits64() 120 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced_unlocked() 135 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced() 151 void snd_sof_dsp_panic(struct snd_sof_dev *sdev, u32 offset, bool non_recoverable) in snd_sof_dsp_panic()
|
/openbmc/linux/drivers/ssb/ |
H A D | host_soc.c | 16 static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) in ssb_host_soc_read8() 24 static u16 ssb_host_soc_read16(struct ssb_device *dev, u16 offset) in ssb_host_soc_read16() 32 static u32 ssb_host_soc_read32(struct ssb_device *dev, u16 offset) in ssb_host_soc_read32() 42 size_t count, u16 offset, u8 reg_width) in ssb_host_soc_block_read() 89 static void ssb_host_soc_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_host_soc_write8() 97 static void ssb_host_soc_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_host_soc_write16() 105 static void ssb_host_soc_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_host_soc_write32() 115 size_t count, u16 offset, u8 reg_width) in ssb_host_soc_block_write()
|
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_restore.c | 69 unsigned int offset; in restore_decr() local 89 unsigned int offset; in write_ppu_mb() local 103 unsigned int offset; in write_ppuint_mb() local 117 unsigned int offset; in restore_fpcr() local 131 unsigned int offset; in restore_srr0() local 144 unsigned int offset; in restore_event_mask() local 157 unsigned int offset; in restore_tag_mask() local 172 unsigned int offset; in restore_complete() local
|
/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/linux/arch/mips/kernel/ |
H A D | relocate.c | 42 int __weak plat_post_relocation(long offset) in plat_post_relocation() 74 static void __init apply_r_mips_64_rel(u32 *loc_new, long offset) in apply_r_mips_64_rel() 79 static void __init apply_r_mips_32_rel(u32 *loc_new, long offset) in apply_r_mips_32_rel() 84 static int __init apply_r_mips_26_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_26_rel() 115 long offset) in apply_r_mips_hi16_rel() 126 long offset) in reloc_handler() 149 static int __init do_relocations(void *kbase_old, void *kbase_new, long offset) in do_relocations() 179 static int __init relocate_exception_table(long offset) in relocate_exception_table() 269 unsigned long offset; in determine_relocation_address() local 310 static inline void __init update_kaslr_offset(unsigned long *addr, long offset) in update_kaslr_offset() [all …]
|
/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/linux/arch/m68k/coldfire/ |
H A D | gpio.c | 110 static int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) in mcfgpio_direction_input() 115 static int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) in mcfgpio_get_value() 120 static int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, in mcfgpio_direction_output() 126 static void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, in mcfgpio_set_value() 132 static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) in mcfgpio_request() 137 static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) in mcfgpio_free() 142 static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) in mcfgpio_to_irq()
|
/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/linux/drivers/char/ipmi/ |
H A D | ipmi_si_port_io.c | 6 static unsigned char port_inb(const struct si_sm_io *io, unsigned int offset) in port_inb() 13 static void port_outb(const struct si_sm_io *io, unsigned int offset, in port_outb() 21 static unsigned char port_inw(const struct si_sm_io *io, unsigned int offset) in port_inw() 28 static void port_outw(const struct si_sm_io *io, unsigned int offset, in port_outw() 36 static unsigned char port_inl(const struct si_sm_io *io, unsigned int offset) in port_inl() 43 static void port_outl(const struct si_sm_io *io, unsigned int offset, in port_outl()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_osdep.h | 22 #define GBE_CONFIG_FLASH_WRITE(base, offset, count, data) \ argument 25 #define GBE_CONFIG_FLASH_READ(base, offset, count, data) \ argument 36 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument 41 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument 49 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument 54 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument 59 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument 64 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument
|
/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/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 129 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic() 208 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic() 288 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88() 313 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88() 396 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp() 461 s32 e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp() 533 s32 e1000e_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_kmrn_reg() 602 s32 e1000e_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_kmrn_reg() 1604 u16 phy_data, offset, mask; in e1000e_check_downshift() local 1670 u16 data, offset, mask; in e1000_check_polarity_igp() local [all …]
|
/openbmc/linux/drivers/gpu/drm/arm/display/include/ |
H A D | malidp_io.h | 13 malidp_read32(u32 __iomem *base, u32 offset) in malidp_read32() 19 malidp_write32(u32 __iomem *base, u32 offset, u32 v) in malidp_write32() 25 malidp_write64(u32 __iomem *base, u32 offset, u64 v) in malidp_write64() 32 malidp_write32_mask(u32 __iomem *base, u32 offset, u32 m, u32 v) in malidp_write32_mask() 41 malidp_write_group(u32 __iomem *base, u32 offset, int num, const u32 *values) in malidp_write_group()
|
/openbmc/linux/arch/x86/pci/ |
H A D | early.c | 11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() 19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte() 27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16() 35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config() 42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte() 48 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | io_trapped.h | 32 __ioremap_trapped(unsigned long offset, unsigned long size) in __ioremap_trapped() 37 #define __ioremap_trapped(offset, size) NULL argument 44 __ioport_map_trapped(unsigned long offset, unsigned long size) in __ioport_map_trapped() 49 #define __ioport_map_trapped(offset, size) NULL argument 55 #define __ioremap_trapped(offset, size) NULL argument 56 #define __ioport_map_trapped(offset, size) NULL argument
|