/openbmc/linux/arch/arm/mach-s3c/ |
H A D | gpio-samsung.c | 264 unsigned offset, int value) in samsung_gpiolib_2bit_output() 308 unsigned int offset) in samsung_gpiolib_4bit_input() 327 unsigned int offset, int value) in samsung_gpiolib_4bit_output() 377 unsigned int offset) in samsung_gpiolib_4bit2_input() 399 unsigned int offset, int value) in samsung_gpiolib_4bit2_output() 434 unsigned offset, int value) in samsung_gpiolib_set() 452 static int samsung_gpiolib_get(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_get() 539 unsigned int offset) in samsung_gpiolib_add_2bit_chips() 612 int samsung_gpiolib_to_irq(struct gpio_chip *chip, unsigned int offset) in samsung_gpiolib_to_irq() 824 int offset; in s3c_gpio_cfgpin() local [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | allwinner-r40-dramc.c | 34 #define REG_INDEX(offset) (offset / sizeof(uint32_t)) argument 119 uint32_t offset) in address_to_autodetect_cells() 181 static uint64_t allwinner_r40_dramcom_read(void *opaque, hwaddr offset, in allwinner_r40_dramcom_read() 197 static void allwinner_r40_dramcom_write(void *opaque, hwaddr offset, in allwinner_r40_dramcom_write() 224 static uint64_t allwinner_r40_dramctl_read(void *opaque, hwaddr offset, in allwinner_r40_dramctl_read() 240 static void allwinner_r40_dramctl_write(void *opaque, hwaddr offset, in allwinner_r40_dramctl_write() 264 static uint64_t allwinner_r40_dramphy_read(void *opaque, hwaddr offset, in allwinner_r40_dramphy_read() 280 static void allwinner_r40_dramphy_write(void *opaque, hwaddr offset, in allwinner_r40_dramphy_write() 330 static uint64_t allwinner_r40_detect_read(void *opaque, hwaddr offset, in allwinner_r40_detect_read() 345 static void allwinner_r40_detect_write(void *opaque, hwaddr offset, in allwinner_r40_detect_write() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-bd9571mwv.c | 25 unsigned int offset) in bd9571mwv_gpio_get_direction() 40 unsigned int offset) in bd9571mwv_gpio_direction_input() 50 unsigned int offset, int value) in bd9571mwv_gpio_direction_output() 63 static int bd9571mwv_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd9571mwv_gpio_get() 75 static void bd9571mwv_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd9571mwv_gpio_set()
|
H A D | gpio-tps65219.c | 26 static int tps65219_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get_direction() 41 static int tps65219_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get() 70 static void tps65219_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_set() 85 static int tps65219_gpio_change_direction(struct gpio_chip *gc, unsigned int offset, in tps65219_gpio_change_direction() 117 static int tps65219_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_direction_input() 133 static int tps65219_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_direction_output()
|
H A D | gpio-spear-spics.c | 55 static int spics_get_value(struct gpio_chip *chip, unsigned offset) in spics_get_value() 60 static void spics_set_value(struct gpio_chip *chip, unsigned offset, int value) in spics_set_value() 79 static int spics_direction_input(struct gpio_chip *chip, unsigned offset) in spics_direction_input() 84 static int spics_direction_output(struct gpio_chip *chip, unsigned offset, in spics_direction_output() 91 static int spics_request(struct gpio_chip *chip, unsigned offset) in spics_request() 106 static void spics_free(struct gpio_chip *chip, unsigned offset) in spics_free()
|
H A D | gpio-tqmx86.c | 65 static int tqmx86_gpio_get(struct gpio_chip *chip, unsigned int offset) in tqmx86_gpio_get() 72 static void tqmx86_gpio_set(struct gpio_chip *chip, unsigned int offset, in tqmx86_gpio_set() 85 unsigned int offset) in tqmx86_gpio_direction_input() 95 unsigned int offset, in tqmx86_gpio_direction_output() 107 unsigned int offset) in tqmx86_gpio_get_direction() 115 static void tqmx86_gpio_irq_config(struct tqmx86_gpio_data *gpio, int offset) in tqmx86_gpio_irq_config() 137 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_mask() local 152 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_unmask() local 169 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_set_type() local
|
H A D | gpio-tps65912.c | 24 unsigned offset) in tps65912_gpio_get_direction() 40 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_direction_input() 49 unsigned offset, int value) in tps65912_gpio_direction_output() 61 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get() 76 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_set()
|
H A D | gpio-wm831x.c | 29 static int wm831x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_direction_in() 43 static int wm831x_gpio_get(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_get() 59 static void wm831x_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm831x_gpio_set() 69 unsigned offset, int value) in wm831x_gpio_direction_out() 91 static int wm831x_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_to_irq() 100 static int wm831x_gpio_set_debounce(struct wm831x *wm831x, unsigned offset, in wm831x_gpio_set_debounce() 129 static int wm831x_set_config(struct gpio_chip *chip, unsigned int offset, in wm831x_set_config()
|
H A D | gpio-octeon.c | 25 static unsigned int bit_cfg_reg(unsigned int offset) in bit_cfg_reg() 42 static int octeon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in octeon_gpio_dir_in() 50 static void octeon_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in octeon_gpio_set() 58 static int octeon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, in octeon_gpio_dir_out() 73 static int octeon_gpio_get(struct gpio_chip *chip, unsigned offset) in octeon_gpio_get()
|
H A D | gpio-sch311x.c | 132 static int sch311x_gpio_request(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_request() 148 static void sch311x_gpio_free(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_free() 158 static int sch311x_gpio_get(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_get() 171 unsigned offset, int value) in __sch311x_gpio_set() 181 static void sch311x_gpio_set(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_set() 191 static int sch311x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_direction_in() 205 static int sch311x_gpio_direction_out(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_direction_out() 222 static int sch311x_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_get_direction() 237 static int sch311x_gpio_set_config(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_set_config()
|
/openbmc/linux/kernel/ |
H A D | iomem.c | 9 static void *arch_memremap_wb(resource_size_t offset, unsigned long size) in arch_memremap_wb() 20 static bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, in arch_memremap_can_ram_remap() 27 static void *try_ram_remap(resource_size_t offset, size_t size, in try_ram_remap() 68 void *memremap(resource_size_t offset, size_t size, unsigned long flags) in memremap() 136 void *devm_memremap(struct device *dev, resource_size_t offset, in devm_memremap()
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | gpio.c | 43 static void gpio_get_data_reg(struct sh_pfc_chip *chip, unsigned int offset, in gpio_get_data_reg() 130 static int gpio_pin_request(struct gpio_chip *gc, unsigned offset) in gpio_pin_request() 141 static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) in gpio_pin_free() 146 static void gpio_pin_set_value(struct sh_pfc_chip *chip, unsigned offset, in gpio_pin_set_value() 165 static int gpio_pin_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_pin_direction_input() 170 static int gpio_pin_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_pin_direction_output() 178 static int gpio_pin_get(struct gpio_chip *gc, unsigned offset) in gpio_pin_get() 192 static void gpio_pin_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_pin_set() 197 static int gpio_pin_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_pin_to_irq() 252 static int gpio_function_request(struct gpio_chip *gc, unsigned offset) in gpio_function_request()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables.c | 366 u16 b43_ofdmtab_read16(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read16() 387 u16 offset, u16 value) in b43_ofdmtab_write16() 403 u32 b43_ofdmtab_read32(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read32() 425 u16 offset, u32 value) in b43_ofdmtab_write32() 443 u16 b43_gtab_read(struct b43_wldev *dev, u16 table, u16 offset) in b43_gtab_read() 449 void b43_gtab_write(struct b43_wldev *dev, u16 table, u16 offset, u16 value) in b43_gtab_write()
|
H A D | tables_lpphy.c | 21 u16 offset; member 581 u32 b43_lptab_read(struct b43_wldev *dev, u32 offset) in b43_lptab_read() 612 void b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lptab_read_bulk() 647 void b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lptab_write() 676 void b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lptab_write_bulk() 2342 static void lpphy_rev0_1_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_rev0_1_write_gain_table() 2358 static void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_rev2plus_write_gain_table() 2385 void lpphy_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_write_gain_table() 2394 void lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count, in lpphy_write_gain_table_bulk()
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-device-utils.c | 31 static uint64_t caps_reg_read(void *opaque, hwaddr offset, unsigned size) in caps_reg_read() 45 static uint64_t dev_reg_read(void *opaque, hwaddr offset, unsigned size) in dev_reg_read() 63 static uint64_t mailbox_reg_read(void *opaque, hwaddr offset, unsigned size) in mailbox_reg_read() 110 static void mailbox_mem_writel(uint32_t *reg_state, hwaddr offset, in mailbox_mem_writel() 129 static void mailbox_mem_writeq(uint64_t *reg_state, hwaddr offset, in mailbox_mem_writeq() 151 static void mailbox_reg_write(void *opaque, hwaddr offset, uint64_t value, in mailbox_reg_write() 230 static uint64_t mdev_reg_read(void *opaque, hwaddr offset, unsigned size) in mdev_reg_read() 237 static void ro_reg_write(void *opaque, hwaddr offset, uint64_t value, in ro_reg_write()
|
/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/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_save.c | 27 unsigned int offset; in save_event_mask() local 38 unsigned int offset; in save_tag_mask() local 70 unsigned int offset; in save_fpcr() local 82 unsigned int offset; in save_decr() local 94 unsigned int offset; in save_srr0() local
|
/openbmc/linux/arch/mips/rb532/ |
H A D | gpio.c | 71 unsigned offset, void __iomem *ioaddr) in rb532_set_bit() 90 static inline int rb532_get_bit(unsigned offset, void __iomem *ioaddr) in rb532_get_bit() 97 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get() 109 unsigned offset, int value) in rb532_gpio_set() 120 static int rb532_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in rb532_gpio_direction_input() 137 unsigned offset, int value) in rb532_gpio_direction_output()
|
/openbmc/linux/include/linux/ |
H A D | coresight.h | 383 u32 offset) in csdev_access_relaxed_read32() 471 static inline u32 csdev_access_read32(struct csdev_access *csa, u32 offset) in csdev_access_read32() 480 u32 val, u32 offset) in csdev_access_relaxed_write32() 499 u32 offset) in csdev_access_relaxed_read64() 516 u64 val, u32 offset) in csdev_access_relaxed_write64() 535 u32 offset) in csdev_access_relaxed_read64() 548 u64 val, u32 offset) in csdev_access_relaxed_write64() 608 static inline int coresight_timeout(struct csdev_access *csa, u32 offset, in coresight_timeout() 649 u32 val, u32 offset) in coresight_relaxed_write32() 654 u32 offset) in coresight_relaxed_read64() [all …]
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mmio.h | 22 const unsigned int offset) in rt2x00mmio_register_read() 28 const unsigned int offset, in rt2x00mmio_register_multiread() 35 const unsigned int offset, in rt2x00mmio_register_write() 42 const unsigned int offset, in rt2x00mmio_register_multiwrite()
|
H A D | rt2x00usb.h | 151 const u16 offset, in rt2x00usb_vendor_request_sw() 187 const unsigned int offset) in rt2x00usb_register_read() 205 const unsigned int offset) in rt2x00usb_register_read_lock() 225 const unsigned int offset, in rt2x00usb_register_multiread() 243 const unsigned int offset, in rt2x00usb_register_write() 262 const unsigned int offset, in rt2x00usb_register_write_lock() 282 const unsigned int offset, in rt2x00usb_register_multiwrite()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 68 static int vpd_address_write(struct pci_dev *dev, int offset, u16 value, in vpd_address_write() 94 static int pm_caps_read(struct pci_dev *dev, int offset, u16 *value, in pm_caps_read() 114 static int pm_ctrl_write(struct pci_dev *dev, int offset, u16 new_value, in pm_ctrl_write() 148 static void *pm_ctrl_init(struct pci_dev *dev, int offset) in pm_ctrl_init() 206 static void *msi_field_init(struct pci_dev *dev, int offset) in msi_field_init() 211 static void *msix_field_init(struct pci_dev *dev, int offset) in msix_field_init() 216 static int msi_msix_flags_write(struct pci_dev *dev, int offset, u16 new_value, in msi_msix_flags_write()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | r600_hdmi.c | 178 void r600_hdmi_update_acr(struct drm_encoder *encoder, long offset, in r600_hdmi_update_acr() 218 void r600_set_avi_packet(struct radeon_device *rdev, u32 offset, in r600_set_avi_packet() 251 uint32_t offset = dig->afmt->offset; in r600_hdmi_update_audio_infoframe() local 269 uint32_t offset = dig->afmt->offset; in r600_hdmi_is_audio_buffer_filled() local 302 uint32_t offset = dig->afmt->offset; in r600_hdmi_audio_workaround() local 341 void r600_set_vbi_packet(struct drm_encoder *encoder, u32 offset) in r600_set_vbi_packet() 352 void r600_set_audio_packet(struct drm_encoder *encoder, u32 offset) in r600_set_audio_packet() 394 void r600_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) in r600_set_mute() 421 uint32_t offset; in r600_hdmi_update_audio_settings() local
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-gpio.c | 98 unsigned int offset) in solo_gpiochip_get_direction() 120 unsigned int offset) in solo_gpiochip_direction_input() 126 unsigned int offset, int value) in solo_gpiochip_direction_output() 132 unsigned int offset) in solo_gpiochip_get() 143 unsigned int offset, int value) in solo_gpiochip_set()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mmio.c | 9 static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) in mt76_mmio_rr() 19 static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76_mmio_wr() 25 static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76_mmio_rmw() 32 static void mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_write_copy() 38 static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_read_copy()
|