/openbmc/linux/drivers/gpio/ |
H A D | gpio-lp3943.c | 45 static int lp3943_gpio_request(struct gpio_chip *chip, unsigned int offset) in lp3943_gpio_request() 57 static void lp3943_gpio_free(struct gpio_chip *chip, unsigned int offset) in lp3943_gpio_free() 65 static int lp3943_gpio_set_mode(struct lp3943_gpio *lp3943_gpio, u8 offset, in lp3943_gpio_set_mode() 75 static int lp3943_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) in lp3943_gpio_direction_input() 85 struct gpio_chip *chip, unsigned int offset) in lp3943_get_gpio_in_status() 110 struct gpio_chip *chip, unsigned int offset) in lp3943_get_gpio_out_status() 131 static int lp3943_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp3943_gpio_get() 150 static void lp3943_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in lp3943_gpio_set() 163 static int lp3943_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, in lp3943_gpio_direction_output()
|
H A D | gpio-eic-sprd.c | 139 static void sprd_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_eic_update() 169 static int sprd_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_eic_request() 175 static void sprd_eic_free(struct gpio_chip *chip, unsigned int offset) in sprd_eic_free() 180 static int sprd_eic_get(struct gpio_chip *chip, unsigned int offset) in sprd_eic_get() 222 static int sprd_eic_set_config(struct gpio_chip *chip, unsigned int offset, in sprd_eic_set_config() 238 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_mask() local 265 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_unmask() local 292 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_ack() local 316 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_set_type() local 473 unsigned int offset) in sprd_eic_toggle_trigger() [all …]
|
H A D | gpio-tps65218.c | 23 static int tps65218_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_get() 37 static void tps65218_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set() 54 static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_output() 62 static int tps65218_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_input() 67 static int tps65218_gpio_request(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_request() 138 static int tps65218_gpio_set_config(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set_config()
|
H A D | gpio-max730x.c | 48 static int max7301_direction_input(struct gpio_chip *chip, unsigned offset) in max7301_direction_input() 78 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) in __max7301_set() 89 static int max7301_direction_output(struct gpio_chip *chip, unsigned offset, in max7301_direction_output() 118 static int max7301_get(struct gpio_chip *chip, unsigned offset) in max7301_get() 146 static void max7301_set(struct gpio_chip *chip, unsigned offset, int value) in max7301_set() 206 int offset = (i - 1) * 4 + j; in __max730x_probe() local
|
H A D | gpio-rc5t583.c | 24 static int rc5t583_gpio_get(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_get() 38 static void rc5t583_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in rc5t583_gpio_set() 48 static int rc5t583_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_dir_input() 62 static int rc5t583_gpio_dir_output(struct gpio_chip *gc, unsigned offset, in rc5t583_gpio_dir_output() 78 static int rc5t583_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_to_irq() 88 static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_free()
|
/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() 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() 819 static bool gicd_writeq(GICv3State *s, hwaddr offset, in gicd_writeq() [all …]
|
/openbmc/linux/include/dt-bindings/clock/ |
H A D | am3.h | 9 #define AM3_CLKCTRL_INDEX(offset) ((offset) - AM3_CLKCTRL_OFFSET) argument 13 #define AM3_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4LS_CLKCTRL_OFFSET) argument 48 #define AM3_L3S_CLKCTRL_INDEX(offset) ((offset) - AM3_L3S_CLKCTRL_OFFSET) argument 57 #define AM3_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_CLKCTRL_OFFSET) argument 71 #define AM3_L4HS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4HS_CLKCTRL_OFFSET) argument 76 #define AM3_PRUSS_OCP_CLKCTRL_INDEX(offset) ((offset) - AM3_PRUSS_OCP_CLKCTRL_OFFSET) argument 84 #define AM3_LCDC_CLKCTRL_INDEX(offset) ((offset) - AM3_LCDC_CLKCTRL_OFFSET) argument 89 #define AM3_CLK_24MHZ_CLKCTRL_INDEX(offset) ((offset) - AM3_CLK_24MHZ_CLKCTRL_OFFSET) argument 106 #define AM3_L3_AON_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_AON_CLKCTRL_OFFSET) argument 111 #define AM3_L4_WKUP_AON_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_WKUP_AON_CLKCTRL_OFFSET) argument
|
/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/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-asm.h | 93 #define CVMX_PREPARE_FOR_STORE(address, offset) \ argument 101 #define CVMX_DONT_WRITE_BACK(address, offset) \ argument 117 #define CVMX_CACHE(op, address, offset) \ argument 121 #define CVMX_CACHE_LCKL2(address, offset) CVMX_CACHE(31, address, offset) argument 123 #define CVMX_CACHE_WBIL2(address, offset) CVMX_CACHE(23, address, offset) argument 125 #define CVMX_CACHE_WBIL2I(address, offset) CVMX_CACHE(3, address, offset) argument 127 #define CVMX_CACHE_LTGL2I(address, offset) CVMX_CACHE(7, address, offset) argument
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | vmx_onhyperv.h | 28 int offset = evmcs_field_offset(field, clean_field); in get_evmcs_offset() local 37 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write64() local 50 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write32() local 62 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write16() local 73 int offset = get_evmcs_offset(field, NULL); in evmcs_read64() local 83 int offset = get_evmcs_offset(field, NULL); in evmcs_read32() local 93 int offset = get_evmcs_offset(field, NULL); in evmcs_read16() local
|
/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 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 185 #define AM3_LCDC_CLKCTRL_INDEX(offset) ((offset) - AM3_LCDC_CLKCTRL_OFFSET) argument [all …]
|
/openbmc/linux/drivers/pinctrl/spear/ |
H A D | pinctrl-plgpio.c | 84 u32 offset = PIN_OFFSET(pin); in is_plgpio_set() local 95 u32 offset = PIN_OFFSET(pin); in plgpio_reg_set() local 105 u32 offset = PIN_OFFSET(pin); in plgpio_reg_reset() local 204 static int plgpio_request(struct gpio_chip *chip, unsigned offset) in plgpio_request() 256 static void plgpio_free(struct gpio_chip *chip, unsigned offset) in plgpio_free() 291 int offset = d->hwirq; in plgpio_irq_disable() local 311 int offset = d->hwirq; in plgpio_irq_enable() local 331 int offset = d->hwirq; in plgpio_irq_set_type() local 375 int regs_count, count, pin, offset, i = 0; in plgpio_irq_handler() local 431 int offset = pin; in spear310_p2o() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | swapops.h | 86 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry() 168 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry() 173 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry() 189 static inline swp_entry_t make_readable_device_exclusive_entry(pgoff_t offset) in make_readable_device_exclusive_entry() 194 static inline swp_entry_t make_writable_device_exclusive_entry(pgoff_t offset) in make_writable_device_exclusive_entry() 210 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry() 215 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry() 274 static inline swp_entry_t make_readable_migration_entry(pgoff_t offset) in make_readable_migration_entry() 284 static inline swp_entry_t make_writable_migration_entry(pgoff_t offset) in make_writable_migration_entry() 339 static inline swp_entry_t make_readable_migration_entry(pgoff_t offset) in make_readable_migration_entry() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | gpuobj.c | 33 nvkm_gpuobj_rd32_fast(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_rd32_fast() 39 nvkm_gpuobj_wr32_fast(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_wr32_fast() 46 nvkm_gpuobj_heap_map(struct nvkm_gpuobj *gpuobj, u64 offset, in nvkm_gpuobj_heap_map() 54 nvkm_gpuobj_heap_rd32(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_heap_rd32() 60 nvkm_gpuobj_heap_wr32(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_heap_wr32() 108 nvkm_gpuobj_map(struct nvkm_gpuobj *gpuobj, u64 offset, in nvkm_gpuobj_map() 117 nvkm_gpuobj_rd32(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_rd32() 123 nvkm_gpuobj_wr32(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_wr32() 175 u32 offset; in nvkm_gpuobj_ctor() local
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan/mtjade/ |
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-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/u-boot/drivers/gpio/ |
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()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | gpio_txx9.c | 19 static int txx9_gpio_get(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_get() 24 static void txx9_gpio_set_raw(unsigned int offset, int value) in txx9_gpio_set_raw() 35 static void txx9_gpio_set(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_set() 45 static int txx9_gpio_dir_in(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_dir_in() 56 static int txx9_gpio_dir_out(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_dir_out()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | cap.c | 21 u32 value, offset; in tb_port_enable_tmu() local 72 int tb_port_next_cap(struct tb_port *port, unsigned int offset) in tb_port_next_cap() 89 int offset = 0; in __tb_port_find_cap() local 145 int tb_switch_next_cap(struct tb_switch *sw, unsigned int offset) in tb_switch_next_cap() 190 int offset = 0; in tb_switch_find_cap() local 223 int offset = 0; in tb_switch_find_vse_cap() local
|
/openbmc/linux/arch/ia64/include/asm/uv/ |
H A D | uv_hub.h | 172 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr() 183 unsigned long offset) in uv_global_mmr32_address() 189 static inline void uv_write_global_mmr32(int pnode, unsigned long offset, in uv_write_global_mmr32() 196 unsigned long offset) in uv_read_global_mmr32() 206 unsigned long offset) in uv_global_mmr64_address() 212 static inline void uv_write_global_mmr64(int pnode, unsigned long offset, in uv_write_global_mmr64() 219 unsigned long offset) in uv_read_global_mmr64() 228 static inline unsigned long *uv_local_mmr_address(unsigned long offset) in uv_local_mmr_address() 233 static inline unsigned long uv_read_local_mmr(unsigned long offset) in uv_read_local_mmr() 238 static inline void uv_write_local_mmr(unsigned long offset, unsigned long val) in uv_write_local_mmr()
|
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 95 int offset; in fdt_get_max_phandle() local 188 int offset = 0; in fdt_path_offset_namelen() local 274 int offset; in fdt_first_property_offset() local 312 int offset, in fdt_get_property_by_offset() 328 int offset, in fdt_get_property_namelen_() 358 int offset, in fdt_get_property_namelen() 462 int offset, depth, namelen; in fdt_get_path() local 514 int offset, depth; in fdt_supernode_atdepth_offset() local 572 int offset; in fdt_node_offset_by_prop_value() local 597 int offset; in fdt_node_offset_by_phandle() local [all …]
|
/openbmc/linux/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 117 int offset = -1; in fdt_find_max_phandle() local 254 int offset = 0; in fdt_path_offset_namelen() local 340 int offset; in fdt_first_property_offset() local 379 int offset, in fdt_get_property_by_offset() 395 int offset, in fdt_get_property_namelen_() 426 int offset, in fdt_get_property_namelen() 545 int offset, depth, namelen; in fdt_get_path() local 597 int offset, depth; in fdt_supernode_atdepth_offset() local 658 int offset; in fdt_node_offset_by_prop_value() local 683 int offset; in fdt_node_offset_by_phandle() local [all …]
|
/openbmc/linux/drivers/pinctrl/sunplus/ |
H A D | sppctl.c | 111 static inline u32 sppctl_get_reg_and_bit_offset(unsigned int offset, u32 *reg_off) in sppctl_get_reg_and_bit_offset() 176 u32 reg, offset; in sppctl_func_set() local 260 static int sppctl_first_get(struct gpio_chip *chip, unsigned int offset) in sppctl_first_get() 295 static int sppctl_master_get(struct gpio_chip *chip, unsigned int offset) in sppctl_master_get() 305 static void sppctl_first_master_set(struct gpio_chip *chip, unsigned int offset, in sppctl_first_master_set() 392 static int sppctl_gpio_inv_get(struct gpio_chip *chip, unsigned int offset) in sppctl_gpio_inv_get() 452 static int sppctl_gpio_get(struct gpio_chip *chip, unsigned int offset) in sppctl_gpio_get() 472 static int sppctl_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in sppctl_gpio_set_config() 693 static inline int sppctl_fully_pinmux_conv(unsigned int offset) in sppctl_fully_pinmux_conv() 731 struct pinctrl_gpio_range *range, unsigned int offset) in sppctl_gpio_request_enable() [all …]
|
/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
|