/drivers/gpu/drm/i915/gvt/ |
D | handlers.c | 87 static void read_vreg(struct intel_vgpu *vgpu, unsigned int offset, in read_vreg() 93 static void write_vreg(struct intel_vgpu *vgpu, unsigned int offset, in write_vreg() 100 unsigned int offset) in intel_gvt_find_mmio_info() 111 static int setup_mmio_info(struct intel_gvt *gvt, u32 offset, u32 size, in setup_mmio_info() 153 intel_gvt_render_mmio_to_engine(struct intel_gvt *gvt, unsigned int offset) in intel_gvt_render_mmio_to_engine() 166 #define offset_to_fence_num(offset) \ argument 216 unsigned int offset, void *p_data, unsigned int bytes) in gamw_echo_dev_rw_ia_write() 278 unsigned int offset, void *p_data, unsigned int bytes) in mul_force_wake_write() 311 static int gdrst_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gdrst_mmio_write() 360 static int gmbus_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus_mmio_read() [all …]
|
/drivers/staging/media/atomisp/pci/ |
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 …]
|
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 …]
|
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
|
/drivers/gpu/host1x/hw/ |
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 …]
|
/drivers/crypto/cavium/nitrox/ |
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 361 u64 offset; in nitrox_config_aqm_rings() local [all …]
|
/drivers/ssb/ |
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() 80 u32 gige_pcicfg_read32(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read32() 88 unsigned int offset, u8 value) in gige_pcicfg_write8() [all …]
|
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()
|
/drivers/net/wireless/broadcom/b43/ |
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() 162 static void b43_bus_ssb_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_ssb_write32() [all …]
|
/drivers/mfd/ |
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() 146 void rz_mtu3_32bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u32 val) in rz_mtu3_32bit_ch_write() 160 void rz_mtu3_shared_reg_write(struct rz_mtu3_channel *ch, u16 offset, u16 value) in rz_mtu3_shared_reg_write() 172 void rz_mtu3_shared_reg_update_bit(struct rz_mtu3_channel *ch, u16 offset, in rz_mtu3_shared_reg_update_bit() [all …]
|
/drivers/xen/xen-pciback/ |
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() 196 static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data) in bar_read() 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() [all …]
|
/drivers/gpio/ |
D | gpio-aspeed.c | 253 static const struct aspeed_gpio_bank *to_bank(unsigned int offset) in to_bank() 267 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props() 280 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio() 290 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input() 300 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset) in have_output() 340 unsigned int offset) in aspeed_gpio_copro_request() 364 unsigned int offset) in aspeed_gpio_copro_release() 383 static int aspeed_gpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get() 391 static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in __aspeed_gpio_set() 411 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in aspeed_gpio_set() [all …]
|
D | gpio-sprd.c | 48 static void sprd_gpio_update(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_update() 69 static int sprd_gpio_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_gpio_read() 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 [all …]
|
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 …]
|
D | gpio-pmic-eic-sprd.c | 59 u32 offset; member 65 static void sprd_pmic_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_update() 75 static int sprd_pmic_eic_read(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_read() 89 static int sprd_pmic_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_pmic_eic_request() 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() 136 static int sprd_pmic_eic_set_config(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_set_config() [all …]
|
D | gpio-eic-sprd.c | 139 static void sprd_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_eic_update() 160 static int sprd_eic_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_eic_read() 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() 196 static int sprd_eic_direction_input(struct gpio_chip *chip, unsigned int offset) in sprd_eic_direction_input() 202 static void sprd_eic_set(struct gpio_chip *chip, unsigned int offset, int value) in sprd_eic_set() 207 static int sprd_eic_set_debounce(struct gpio_chip *chip, unsigned int offset, in sprd_eic_set_debounce() 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 [all …]
|
/drivers/pinctrl/ |
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 …]
|
/drivers/bcma/ |
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()
|
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()
|
/drivers/char/ipmi/ |
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()
|
/drivers/net/ethernet/intel/e1000e/ |
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() 358 static s32 __e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, in __e1000e_read_phy_reg_igp() 396 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp() 410 s32 e1000e_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp_locked() 425 static s32 __e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, in __e1000e_write_phy_reg_igp() 461 s32 e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp() 475 s32 e1000e_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp_locked() [all …]
|
/drivers/misc/ocxl/ |
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()
|
/drivers/crypto/caam/ |
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()
|
/drivers/pinctrl/spear/ |
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 115 static int plgpio_direction_input(struct gpio_chip *chip, unsigned offset) in plgpio_direction_input() 134 static int plgpio_direction_output(struct gpio_chip *chip, unsigned offset, in plgpio_direction_output() 167 static int plgpio_get_value(struct gpio_chip *chip, unsigned offset) in plgpio_get_value() 184 static void plgpio_set_value(struct gpio_chip *chip, unsigned offset, int value) in plgpio_set_value() 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 [all …]
|
/drivers/pinctrl/sunplus/ |
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() 122 static inline u32 sppctl_get_moon_reg_and_bit_offset(unsigned int offset, u32 *reg_off) in sppctl_get_moon_reg_and_bit_offset() 138 static inline u32 sppctl_prep_moon_reg_and_offset(unsigned int offset, u32 *reg_off, int val) in sppctl_prep_moon_reg_and_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() 342 static void sppctl_gpio_input_inv_set(struct gpio_chip *chip, unsigned int offset) in sppctl_gpio_input_inv_set() 351 static void sppctl_gpio_output_inv_set(struct gpio_chip *chip, unsigned int offset) in sppctl_gpio_output_inv_set() 360 static int sppctl_gpio_output_od_get(struct gpio_chip *chip, unsigned int offset) in sppctl_gpio_output_od_get() [all …]
|