/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pexp-defs.h | 31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument 43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument 44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument 46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument 92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument 97 #define CVMX_PEXP_NPEI_PKTX_IN_BP(offset) (CVMX_ADD_IO_SEG(0x00011F000000B800ull) + ((offset) & 31)… argument 135 #define CVMX_PEXP_SLI_CTL_PORTX(offset) (CVMX_ADD_IO_SEG(0x00011F0000010050ull) + ((offset) & 3) * … argument 140 #define CVMX_PEXP_SLI_DMAX_CNT(offset) (CVMX_ADD_IO_SEG(0x00011F0000010400ull) + ((offset) & 1) * 1… argument 142 #define CVMX_PEXP_SLI_DMAX_TIM(offset) (CVMX_ADD_IO_SEG(0x00011F0000010420ull) + ((offset) & 1) * 1… argument 176 #define CVMX_PEXP_SLI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000012400ull) + ((offset) & 31) *… argument [all …]
|
/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() 73 int sandbox_gpio_get_open_drain(struct udevice *dev, unsigned offset) in sandbox_gpio_get_open_drain() 83 int sandbox_gpio_get_direction(struct udevice *dev, unsigned offset) in sandbox_gpio_get_direction() 98 static int sb_gpio_direction_input(struct udevice *dev, unsigned offset) in sb_gpio_direction_input() 106 static int sb_gpio_direction_output(struct udevice *dev, unsigned offset, in sb_gpio_direction_output() 116 static int sb_gpio_get_value(struct udevice *dev, unsigned offset) in sb_gpio_get_value() 138 static int sb_gpio_get_open_drain(struct udevice *dev, unsigned offset) in sb_gpio_get_open_drain() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_isp_configs.c | 27 unsigned int offset = 0; in ia_css_configure_iterator() local 50 unsigned int offset = 0; in ia_css_configure_copy_output() local 75 unsigned int offset = 0; in ia_css_configure_crop() local 98 unsigned int offset = 0; in ia_css_configure_fpn() local 120 unsigned int offset = 0; in ia_css_configure_dvs() local 142 unsigned int offset = 0; in ia_css_configure_qplane() local 165 unsigned int offset = 0; in ia_css_configure_output0() local 188 unsigned int offset = 0; in ia_css_configure_output1() local 211 unsigned int offset = 0; in ia_css_configure_output() local 234 unsigned int offset = 0; in ia_css_configure_raw() local [all …]
|
H A D | ia_css_isp_states.c | 34 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.aa.offset; in ia_css_initialize_aa_state() local 56 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.cnr.offset; in ia_css_initialize_cnr_state() local 80 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.cnr2.offset; in ia_css_initialize_cnr2_state() local 104 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.dp.offset; in ia_css_initialize_dp_state() local 128 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.de.offset; in ia_css_initialize_de_state() local 152 unsigned int offset = binary->info->mem_offsets.offsets.state->dmem.tnr.offset; in ia_css_initialize_tnr_state() local 176 unsigned int offset = binary->info->mem_offsets.offsets.state->dmem.ref.offset; in ia_css_initialize_ref_state() local 200 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.ynr.offset; in ia_css_initialize_ynr_state() local
|
H A D | ia_css_isp_params.c | 77 unsigned int offset = in ia_css_process_aa() local 101 unsigned int offset = in ia_css_process_anr() local 136 unsigned int offset = in ia_css_process_anr2() local 171 unsigned int offset = in ia_css_process_bh() local 218 unsigned int offset = in ia_css_process_cnr() local 253 unsigned int offset = in ia_css_process_crop() local 288 unsigned int offset = in ia_css_process_csc() local 323 unsigned int offset = in ia_css_process_dp() local 356 unsigned int offset = in ia_css_process_bnr() local 391 unsigned int offset = in ia_css_process_de() local [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/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/linux/drivers/gpu/drm/i915/gvt/ |
H A D | handlers.c | 100 unsigned int offset) in intel_gvt_find_mmio_info() 166 #define offset_to_fence_num(offset) \ argument 891 #define FDI_RX_CTL_TO_PIPE(offset) \ argument 894 #define FDI_TX_CTL_TO_PIPE(offset) \ argument 941 #define DP_TP_CTL_TO_PORT(offset) \ argument 1005 #define DSPSURF_TO_PIPE(offset) \ argument 1028 #define SPRSURF_TO_PIPE(offset) \ argument 1370 unsigned int offset, u32 value) in write_virtual_sbi_register() 2798 unsigned int offset) in find_mmio_block() 2877 u32 offset, u32 size) in handle_mmio_block() [all …]
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | opcodes.h | 28 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() 36 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() 50 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() 61 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() 72 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() 77 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() 82 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() 87 static inline u32 host1x_opcode_mask(unsigned offset, unsigned mask) in host1x_opcode_mask() 92 static inline u32 host1x_opcode_imm(unsigned offset, unsigned value) in host1x_opcode_imm() 113 static inline u32 host1x_opcode_gather_nonincr(unsigned offset, unsigned count) in host1x_opcode_gather_nonincr() [all …]
|
/openbmc/linux/arch/mips/alchemy/common/ |
H A D | gpiolib.c | 38 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get() 43 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set() 48 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input() 53 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output() 60 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq() 66 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get() 72 unsigned offset, int value) in gpio1_set() 77 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input() 83 unsigned offset, int value) in gpio1_direction_output() 89 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq()
|
/openbmc/linux/drivers/ssb/ |
H A D | driver_gige.c | 32 static inline u8 gige_read8(struct ssb_gige *dev, u16 offset) in gige_read8() 37 static inline u16 gige_read16(struct ssb_gige *dev, u16 offset) in gige_read16() 42 static inline u32 gige_read32(struct ssb_gige *dev, u16 offset) in gige_read32() 48 u16 offset, u8 value) in gige_write8() 54 u16 offset, u16 value) in gige_write16() 60 u16 offset, u32 value) in gige_write32() 66 u8 gige_pcicfg_read8(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read8() 73 u16 gige_pcicfg_read16(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read16() 88 unsigned int offset, u8 value) in gige_pcicfg_write8() 96 unsigned int offset, u16 value) in gige_pcicfg_write16() [all …]
|
/openbmc/linux/include/linux/ |
H A D | rio_drv.h | 54 static inline int rio_local_read_config_32(struct rio_mport *port, u32 offset, in rio_local_read_config_32() 69 static inline int rio_local_write_config_32(struct rio_mport *port, u32 offset, in rio_local_write_config_32() 84 static inline int rio_local_read_config_16(struct rio_mport *port, u32 offset, in rio_local_read_config_16() 100 static inline int rio_local_write_config_16(struct rio_mport *port, u32 offset, in rio_local_write_config_16() 115 static inline int rio_local_read_config_8(struct rio_mport *port, u32 offset, in rio_local_read_config_8() 130 static inline int rio_local_write_config_8(struct rio_mport *port, u32 offset, in rio_local_write_config_8() 145 static inline int rio_read_config_32(struct rio_dev *rdev, u32 offset, in rio_read_config_32() 161 static inline int rio_write_config_32(struct rio_dev *rdev, u32 offset, in rio_write_config_32() 177 static inline int rio_read_config_16(struct rio_dev *rdev, u32 offset, in rio_read_config_16() 193 static inline int rio_write_config_16(struct rio_dev *rdev, u32 offset, in rio_write_config_16() [all …]
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_si_mem_io.c | 7 unsigned int offset) in intf_mem_inb() 12 static void intf_mem_outb(const struct si_sm_io *io, unsigned int offset, in intf_mem_outb() 19 unsigned int offset) in intf_mem_inw() 25 static void intf_mem_outw(const struct si_sm_io *io, unsigned int offset, in intf_mem_outw() 32 unsigned int offset) in intf_mem_inl() 38 static void intf_mem_outl(const struct si_sm_io *io, unsigned int offset, in intf_mem_outl() 45 static unsigned char mem_inq(const struct si_sm_io *io, unsigned int offset) in mem_inq() 51 static void mem_outq(const struct si_sm_io *io, unsigned int offset, in mem_outq()
|
/openbmc/linux/arch/x86/include/asm/numachip/ |
H A D | numachip_csr.h | 39 static inline void *lcsr_address(unsigned long offset) in lcsr_address() 45 static inline unsigned int read_lcsr(unsigned long offset) in read_lcsr() 50 static inline void write_lcsr(unsigned long offset, unsigned int val) in write_lcsr() 67 static inline void __iomem *numachip2_lcsr_address(unsigned long offset) in numachip2_lcsr_address() 73 static inline u32 numachip2_read32_lcsr(unsigned long offset) in numachip2_read32_lcsr() 78 static inline u64 numachip2_read64_lcsr(unsigned long offset) in numachip2_read64_lcsr() 83 static inline void numachip2_write32_lcsr(unsigned long offset, u32 val) in numachip2_write32_lcsr() 88 static inline void numachip2_write64_lcsr(unsigned long offset, u64 val) in numachip2_write64_lcsr()
|
/openbmc/linux/sound/soc/intel/common/ |
H A D | sst-dsp.c | 23 void sst_shim32_write(void __iomem *addr, u32 offset, u32 value) in sst_shim32_write() 29 u32 sst_shim32_read(void __iomem *addr, u32 offset) in sst_shim32_read() 35 void sst_shim32_write64(void __iomem *addr, u32 offset, u64 value) in sst_shim32_write64() 41 u64 sst_shim32_read64(void __iomem *addr, u32 offset) in sst_shim32_read64() 48 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write() 58 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read() 77 u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read_unlocked() 83 int sst_dsp_shim_update_bits_unlocked(struct sst_dsp *sst, u32 offset, in sst_dsp_shim_update_bits_unlocked() 119 int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset, in sst_dsp_shim_update_bits() 133 void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset, in sst_dsp_shim_update_bits_forced() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | bus.c | 44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16() 48 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32() 53 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16() 58 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32() 64 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_read() 70 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_write() 150 static u16 b43_bus_ssb_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_ssb_read16() 154 static u32 b43_bus_ssb_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_ssb_read32() 158 static void b43_bus_ssb_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_ssb_write16() 167 size_t count, u16 offset, u8 reg_width) in b43_bus_ssb_block_read() [all …]
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_hal.c | 44 u64 offset; in nitrox_config_emu_unit() local 70 u64 offset; in reset_pkt_input_ring() local 98 u64 offset; in enable_pkt_input_ring() local 128 u64 offset; in nitrox_config_pkt_input_rings() local 166 u64 offset; in reset_pkt_solicit_port() local 195 u64 offset; in enable_pkt_solicit_port() local 221 u64 offset; in config_pkt_solicit_port() local 315 u64 offset; in reset_aqm_ring() local 343 u64 offset; in enable_aqm_ring() local 443 u64 offset; in nitrox_config_rand_unit() local [all …]
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | mmio.c | 7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32() 32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64() 57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32() 83 int ocxl_global_mmio_write64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write64() 109 int ocxl_global_mmio_set32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set32() 140 int ocxl_global_mmio_set64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set64() 171 int ocxl_global_mmio_clear32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear32() 203 int ocxl_global_mmio_clear64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear64()
|
/openbmc/linux/drivers/bcma/ |
H A D | host_soc.c | 16 static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset) in bcma_host_soc_read8() 21 static u16 bcma_host_soc_read16(struct bcma_device *core, u16 offset) in bcma_host_soc_read16() 26 static u32 bcma_host_soc_read32(struct bcma_device *core, u16 offset) in bcma_host_soc_read32() 31 static void bcma_host_soc_write8(struct bcma_device *core, u16 offset, in bcma_host_soc_write8() 37 static void bcma_host_soc_write16(struct bcma_device *core, u16 offset, in bcma_host_soc_write16() 43 static void bcma_host_soc_write32(struct bcma_device *core, u16 offset, in bcma_host_soc_write32() 51 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_read() 95 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_write() 138 static u32 bcma_host_soc_aread32(struct bcma_device *core, u16 offset) in bcma_host_soc_aread32() 145 static void bcma_host_soc_awrite32(struct bcma_device *core, u16 offset, in bcma_host_soc_awrite32()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-da9062.c | 31 #define DA9062_TYPE(offset) (4 * (offset % 2)) argument 32 #define DA9062_PIN_SHIFT(offset) (4 * (offset % 2)) argument 46 unsigned int offset) in da9062_pctl_get_pin_mode() 62 unsigned int offset, unsigned int mode_req) in da9062_pctl_set_pin_mode() 81 static int da9062_gpio_get(struct gpio_chip *gc, unsigned int offset) in da9062_gpio_get() 110 static void da9062_gpio_set(struct gpio_chip *gc, unsigned int offset, in da9062_gpio_set() 120 static int da9062_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in da9062_gpio_get_direction() 143 unsigned int offset) in da9062_gpio_direction_input() 170 unsigned int offset, int value) in da9062_gpio_direction_output() 185 static int da9062_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in da9062_gpio_set_config() [all …]
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_header.c | 34 static void *command_init(struct pci_dev *dev, int offset) in command_init() 51 static int command_read(struct pci_dev *dev, int offset, u16 *value, void *data) in command_read() 62 static int command_write(struct pci_dev *dev, int offset, u16 value, void *data) in command_write() 127 static int rom_write(struct pci_dev *dev, int offset, u32 value, void *data) in rom_write() 160 static int bar_write(struct pci_dev *dev, int offset, u32 value, void *data) in bar_write() 210 static void *bar_init(struct pci_dev *dev, int offset) in bar_init() 247 static void bar_reset(struct pci_dev *dev, int offset, void *data) in bar_reset() 254 static void bar_release(struct pci_dev *dev, int offset, void *data) in bar_release() 259 static int xen_pcibk_read_vendor(struct pci_dev *dev, int offset, in xen_pcibk_read_vendor() 267 static int xen_pcibk_read_device(struct pci_dev *dev, int offset, in xen_pcibk_read_device() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | rz-mtu3.c | 57 static bool rz_mtu3_is_16bit_shared_reg(u16 offset) in rz_mtu3_is_16bit_shared_reg() 65 u16 rz_mtu3_shared_reg_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_shared_reg_read() 77 u8 rz_mtu3_8bit_ch_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_8bit_ch_read() 89 u16 rz_mtu3_16bit_ch_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_16bit_ch_read() 105 u32 rz_mtu3_32bit_ch_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_32bit_ch_read() 120 void rz_mtu3_8bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u8 val) in rz_mtu3_8bit_ch_write() 131 void rz_mtu3_16bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u16 val) in rz_mtu3_16bit_ch_write() 172 void rz_mtu3_shared_reg_update_bit(struct rz_mtu3_channel *ch, u16 offset, in rz_mtu3_shared_reg_update_bit() 189 u16 offset; in rz_mtu3_get_tstr_offset() local 252 u16 offset; in rz_mtu3_start_stop_ch() local [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | sg_sw_qm.h | 14 u16 offset) in __dma_to_qm_sg() 23 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one() 30 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one_last() 37 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one_ext() 45 u16 offset) in dma_to_qm_sg_one_last_ext() 58 struct qm_sg_entry *qm_sg_ptr, u16 offset) in sg_to_qm_sg() 79 struct qm_sg_entry *qm_sg_ptr, u16 offset) in sg_to_qm_sg_last()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-cs5535.c | 83 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set() 94 void cs5535_gpio_set(unsigned offset, unsigned int reg) in cs5535_gpio_set() 105 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear() 116 void cs5535_gpio_clear(unsigned offset, unsigned int reg) in cs5535_gpio_clear() 127 int cs5535_gpio_isset(unsigned offset, unsigned int reg) in cs5535_gpio_isset() 165 void cs5535_gpio_setup_event(unsigned offset, int pair, int pme) in cs5535_gpio_setup_event() 203 static int chip_gpio_request(struct gpio_chip *c, unsigned offset) in chip_gpio_request() 230 static int chip_gpio_get(struct gpio_chip *chip, unsigned offset) in chip_gpio_get() 235 static void chip_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in chip_gpio_set() 243 static int chip_direction_input(struct gpio_chip *c, unsigned offset) in chip_direction_input() [all …]
|
H A D | gpio-sprd.c | 48 static void sprd_gpio_update(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_update() 78 static int sprd_gpio_request(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_request() 84 static void sprd_gpio_free(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_free() 90 unsigned int offset) in sprd_gpio_direction_input() 98 unsigned int offset, int value) in sprd_gpio_direction_output() 106 static int sprd_gpio_get(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_get() 111 static void sprd_gpio_set(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_set() 120 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_mask() local 129 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_ack() local 137 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_unmask() local [all …]
|