Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 940) sorted by relevance

12345678910>>...38

/device/soc/winnermicro/wm800/board/platform/drivers/io/
Dwm_io.c35 u16 offset; in io_cfg_option1() local
53 u16 offset; in io_cfg_option2() local
71 u16 offset; in io_cfg_option3() local
89 u16 offset; in io_cfg_option4() local
107 u16 offset; in io_cfg_option5() local
126 u16 offset; in io_cfg_option6() local
148 u16 offset; in io_cfg_option7() local
211 u16 offset; in tls_io_cfg_get() local
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/
Dhalmac_dbg.c57 monitor_reg_read_8(struct halmac_adapter *adapter, u32 offset, in monitor_reg_read_8()
69 monitor_reg_read_16(struct halmac_adapter *adapter, u32 offset, in monitor_reg_read_16()
81 monitor_reg_read_32(struct halmac_adapter *adapter, u32 offset, in monitor_reg_read_32()
94 u32 offset, u32 size, u8 *value, in monitor_reg_sdio_cmd53_read_n()
104 monitor_reg_write_8(struct halmac_adapter *adapter, u32 offset, in monitor_reg_write_8()
114 monitor_reg_write_16(struct halmac_adapter *adapter, u32 offset, in monitor_reg_write_16()
124 monitor_reg_write_32(struct halmac_adapter *adapter, u32 offset, in monitor_reg_write_32()
/device/soc/rockchip/rk3588/kernel/drivers/gpio/
Dgpio-rockchip.c75 u32 value, unsigned int offset) in rockchip_gpio_writel()
86 unsigned int offset) in rockchip_gpio_readl()
101 unsigned int offset) in rockchip_gpio_writel_bit()
122 u32 bit, unsigned int offset) in rockchip_gpio_readl_bit()
139 unsigned int offset) in rockchip_gpio_get_direction()
152 unsigned int offset, bool input) in rockchip_gpio_set_direction()
165 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, in rockchip_gpio_set()
176 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get()
189 unsigned int offset, in rockchip_gpio_set_debounce()
250 unsigned int offset) in rockchip_gpio_direction_input()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpio/
Dgpio-rockchip.c72 …ic inline void rockchip_gpio_writel(struct rockchip_pin_bank *bank, u32 value, unsigned int offset) in rockchip_gpio_writel()
83 static inline u32 rockchip_gpio_readl(struct rockchip_pin_bank *bank, unsigned int offset) in rockchip_gpio_readl()
97 …d rockchip_gpio_writel_bit(struct rockchip_pin_bank *bank, u32 bit, u32 value, unsigned int offset) in rockchip_gpio_writel_bit()
119 …ic inline u32 rockchip_gpio_readl_bit(struct rockchip_pin_bank *bank, u32 bit, unsigned int offset) in rockchip_gpio_readl_bit()
135 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_set()
145 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get()
157 static int rockchip_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rockchip_gpio_get_direction()
167 static int rockchip_gpio_set_direction(struct gpio_chip *chip, unsigned int offset, bool input) in rockchip_gpio_set_direction()
177 static int rockchip_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_direction_input()
182 static int rockchip_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_direction_output()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
Dgpio-rockchip.c72 …ic inline void rockchip_gpio_writel(struct rockchip_pin_bank *bank, u32 value, unsigned int offset) in rockchip_gpio_writel()
83 static inline u32 rockchip_gpio_readl(struct rockchip_pin_bank *bank, unsigned int offset) in rockchip_gpio_readl()
97 …d rockchip_gpio_writel_bit(struct rockchip_pin_bank *bank, u32 bit, u32 value, unsigned int offset) in rockchip_gpio_writel_bit()
119 …ic inline u32 rockchip_gpio_readl_bit(struct rockchip_pin_bank *bank, u32 bit, unsigned int offset) in rockchip_gpio_readl_bit()
135 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_set()
145 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get()
157 static int rockchip_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rockchip_gpio_get_direction()
167 static int rockchip_gpio_set_direction(struct gpio_chip *chip, unsigned int offset, bool input) in rockchip_gpio_set_direction()
177 static int rockchip_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_direction_input()
182 static int rockchip_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_direction_output()
[all …]
/device/soc/winnermicro/wm800/board/platform/drivers/gpio/
Dwm_gpio.c97 u16 offset; in tls_gpio_cfg() local
153 u16 offset; in tls_gpio_read() local
191 u16 offset; in tls_gpio_write() local
231 u16 offset; in tls_gpio_irq_enable() local
313 u16 offset; in tls_gpio_irq_disable() local
350 u16 offset; in tls_get_gpio_irq_status() local
379 u16 offset; in tls_clr_gpio_irq_status() local
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Src/
Dstm32mp1xx_hal_exti.c155 uint32_t offset; in HAL_EXTI_SetConfigLine() local
315 uint32_t offset; in HAL_EXTI_GetConfigLine() local
439 uint32_t offset; in HAL_EXTI_ClearConfigLine() local
580 uint32_t offset; in HAL_EXTI_IRQHandler() local
635 uint32_t offset; in HAL_EXTI_GetPending() local
673 uint32_t offset; in HAL_EXTI_ClearPending() local
704 uint32_t offset; in HAL_EXTI_GenerateSWI() local
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/include/
Ddrv_osal_lib.h301 #define symc_read(offset) module_reg_read(CRYPTO_MODULE_ID_SYMC, offset) argument
302 #define symc_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_SYMC, offset, val) argument
305 #define hash_read(offset) module_reg_read(CRYPTO_MODULE_ID_HASH, offset) argument
306 #define hash_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_HASH, offset, val) argument
309 #define ifep_rsa_read(offset) module_reg_read(CRYPTO_MODULE_ID_IFEP_RSA, offset) argument
310 #define ifep_rsa_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_IFEP_RSA, offset, val) argument
313 #define trng_read(offset) module_reg_read(CRYPTO_MODULE_ID_TRNG, offset) argument
314 #define trng_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_TRNG, offset, val) argument
317 #define sm2_read(offset) module_reg_read(CRYPTO_MODULE_ID_SM2, offset) argument
318 #define sm2_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_SM2, offset, val) argument
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/
D8250_dw.c77 static inline int dw8250_modify_msr(struct uart_port *p, int offset, int value) in dw8250_modify_msr()
100 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr() local
156 static void dw8250_serial_out38x(struct uart_port *p, int offset, int value) in dw8250_serial_out38x()
172 static void dw8250_serial_out(struct uart_port *p, int offset, int value) in dw8250_serial_out()
183 static unsigned int dw8250_serial_in(struct uart_port *p, int offset) in dw8250_serial_in()
191 static unsigned int dw8250_serial_inq(struct uart_port *p, int offset) in dw8250_serial_inq()
200 static void dw8250_serial_outq(struct uart_port *p, int offset, int value) in dw8250_serial_outq()
215 static void dw8250_serial_out32(struct uart_port *p, int offset, int value) in dw8250_serial_out32()
226 static unsigned int dw8250_serial_in32(struct uart_port *p, int offset) in dw8250_serial_in32()
233 static void dw8250_serial_out32be(struct uart_port *p, int offset, int value) in dw8250_serial_out32be()
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
Ddrv_mmz_intf.c80 HI_SIZE_T offset = 0; in remap_mmb() local
103 HI_SIZE_T offset = 0; in remap_mmb_cached() local
231 HI_U32 offset; in get_nonsecsmmu_by_secsmmu() local
248 HI_U32 offset; in get_phys_by_secsmmu() local
265 HI_U32 offset; in get_sec_smmu_by_phys() local
282 HI_U32 offset; in get_sec_smmu_by_nosmmu() local
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/
Dr8168_asf.c240 void rtl8168_asf_ip_address(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_ip_address()
264 void rtl8168_asf_config_regs(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_config_regs()
282 void rtl8168_asf_capability_masks(struct rtl8168_private *tp, int arg, int offset, unsigned int *da… in rtl8168_asf_capability_masks()
332 void rtl8168_asf_time_period(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_time_period()
352 void rtl8168_asf_key_access(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_key_access()
380 void rtl8168_asf_rw_hexadecimal(struct rtl8168_private *tp, int arg, int offset, int len, unsigned … in rtl8168_asf_rw_hexadecimal()
/device/board/osware/imx8mm/drivers/audio/soc/src/
Dsai_driver.c163 unsigned char offset = sai->reg_offset; in fsl_sai_rx_irq() local
198 unsigned char offset = sai->reg_offset; in fsl_sai_isr() local
351 unsigned char offset = sai->reg_offset; in fsl_sai_readable_reg() local
392 unsigned char offset = sai->reg_offset; in fsl_sai_volatile_reg() local
437 unsigned char offset = sai->reg_offset; in fsl_sai_writeable_reg() local
486 int fbidx = 0, nbidx = 0, offset = 0; in fsl_sai_calc_dl_off() local
561 unsigned char offset = sai->reg_offset; in fsl_sai_check_ver() local
617 unsigned char offset = sai->reg_offset; in fsl_sai_set_bclk() local
828 unsigned char offset = sai->reg_offset; in SaiSetHwParamsRegister() local
945 unsigned char offset = 0; in SaiSetSysclkTr() local
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf_firmware_no_mali.c106 static inline u32 input_page_read(const u32 *const input, const u32 offset) in input_page_read()
113 static inline void input_page_write(u32 *const input, const u32 offset, in input_page_write()
121 static inline u32 output_page_read(const u32 *const output, const u32 offset) in output_page_read()
128 static inline void output_page_write(u32 *const output, const u32 offset, in output_page_write()
276 const struct kbase_csf_cmd_stream_info *const info, const u32 offset, in kbase_csf_firmware_cs_input()
292 const u32 offset) in kbase_csf_firmware_cs_input_read()
302 const struct kbase_csf_cmd_stream_info *const info, const u32 offset, in kbase_csf_firmware_cs_input_mask()
315 const struct kbase_csf_cmd_stream_info *const info, const u32 offset) in kbase_csf_firmware_cs_output()
326 const u32 offset, const u32 value) in kbase_csf_firmware_csg_input()
342 const u32 offset) in kbase_csf_firmware_csg_input_read()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_pwm.c64 uint8_t offset; in hal_pwm_enable() local
176 uint8_t offset; in hal_pwm_disable() local
224 uint8_t offset; in hal_pwm_breathing_led_enable() local
306 uint8_t offset; in hal_pwm_breathing_led_disable() local
/device/soc/rockchip/rk3588/kernel/drivers/pinctrl/
Dpinctrl-rk806.c195 static int rk806_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk806_gpio_get()
216 unsigned int offset, in rk806_gpio_set()
235 unsigned int offset) in rk806_gpio_direction_input()
241 unsigned int offset, in rk806_gpio_direction_output()
249 unsigned int offset) in rk806_gpio_get_direction()
350 unsigned int offset, in _rk806_pinctrl_set_mux()
376 int offset = group; in rk806_pinctrl_set_mux() local
383 unsigned int offset, bool input) in rk806_pmx_gpio_set_direction()
406 unsigned int offset) in rk806_pinctrl_gpio_request_enable()
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/
Dpinctrl-rk805.c267 static int rk805_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get()
286 static void rk805_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in rk805_gpio_set()
300 static int rk805_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_direction_input()
305 static int rk805_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) in rk805_gpio_direction_output()
311 static int rk805_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get_direction()
436 static int _rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned int offset, int mux) in _rk805_pinctrl_set_mux()
466 static int _rk817_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned int offset, int mux) in _rk817_pinctrl_set_mux()
488 int offset = group; in rk805_pinctrl_set_mux() local
505 unsigned int offset, bool input) in rk805_pmx_gpio_set_direction()
526 unsigned int offset) in rk805_pinctrl_gpio_request_enable()
/device/board/osware/imx8mm/drivers/audio/soc/include/
Dsai_driver.h80 #define FSL_SAI_TCSR(offset) (0x00 + (offset)) /* SAI Transmit Control */ argument
81 #define FSL_SAI_TCR1(offset) (0x04 + (offset)) /* SAI Transmit Configuration 1 */ argument
82 #define FSL_SAI_TCR2(offset) (0x08 + (offset)) /* SAI Transmit Configuration 2 */ argument
83 #define FSL_SAI_TCR3(offset) (0x0c + (offset)) /* SAI Transmit Configuration 3 */ argument
84 #define FSL_SAI_TCR4(offset) (0x10 + (offset)) /* SAI Transmit Configuration 4 */ argument
85 #define FSL_SAI_TCR5(offset) (0x14 + (offset)) /* SAI Transmit Configuration 5 */ argument
108 #define FSL_SAI_RCSR(offset) (0x80 + (offset)) /* SAI Receive Control */ argument
109 #define FSL_SAI_RCR1(offset) (0x84 + (offset)) /* SAI Receive Configuration 1 */ argument
110 #define FSL_SAI_RCR2(offset) (0x88 + (offset)) /* SAI Receive Configuration 2 */ argument
111 #define FSL_SAI_RCR3(offset) (0x8c + (offset)) /* SAI Receive Configuration 3 */ argument
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_low_level_mem.c60 void inline _mali_osk_mem_iowrite32_relaxed(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32_relaxed()
65 u32 inline _mali_osk_mem_ioread32(volatile mali_io_address addr, u32 offset) in _mali_osk_mem_ioread32()
70 void inline _mali_osk_mem_iowrite32(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32()
80 void _mali_osk_cache_ensure_uncached_range_flushed(void *uncached_mapping, u32 offset, u32 size) in _mali_osk_cache_ensure_uncached_range_flushed()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_low_level_mem.c61 void inline _mali_osk_mem_iowrite32_relaxed(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32_relaxed()
66 u32 inline _mali_osk_mem_ioread32(volatile mali_io_address addr, u32 offset) in _mali_osk_mem_ioread32()
71 void inline _mali_osk_mem_iowrite32(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32()
81 void _mali_osk_cache_ensure_uncached_range_flushed(void *uncached_mapping, u32 offset, u32 size) in _mali_osk_cache_ensure_uncached_range_flushed()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/
Dboot_upg_tool.c26 hi_u32 kernel_comprss_flash_read(hi_u32 offset, hi_u8 *buffer, hi_u32 size) in kernel_comprss_flash_read()
44 hi_u32 kernel_comprss_flash_write(hi_u32 offset, hi_u8 *buffer, hi_u32 size) in kernel_comprss_flash_write()
63 hi_u32 kernel_comprss_flash_hash(hi_u32 offset, hi_u8 *buffer, hi_u32 size) in kernel_comprss_flash_hash()
136 for (uintptr_t offset = 0; offset < total_size;) { in boot_upg_hash_one_content() local
167 for (uintptr_t offset = 0; offset < size;) { in boot_upg_hash_more_content() local
/device/board/hpmicro/hpm6750evk2/liteos_m/littlefs/
Dhpm_littlefs_drv.c25 int HpmLittlefsRead(int partition, UINT32 *offset, void *buf, UINT32 size) in HpmLittlefsRead()
44 int HpmLittlefsProg(int partition, UINT32 *offset, const void *buf, UINT32 size) in HpmLittlefsProg()
64 int HpmLittlefsErase(int partition, UINT32 offset, UINT32 size) in HpmLittlefsErase()
111 uint32_t offset; in SelfTest() local
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_efuse.h82 #define IS_MASKED_MP(ic, txt, offset) (EFUSE_IsAddressMasked_MP_##ic##txt(offset)) argument
83 #define IS_MASKED_TC(ic, txt, offset) (EFUSE_IsAddressMasked_TC_##ic##txt(offset)) argument
86 #define GET_MASK_ARRAY_MP(ic, txt, offset) (EFUSE_GetMaskArray_MP_##ic##txt(offset)) argument
87 #define GET_MASK_ARRAY_TC(ic, txt, offset) (EFUSE_GetMaskArray_TC_##ic##txt(offset)) argument
90 #define IS_MASKED(ic, txt, offset) (IS_MASKED_MP(ic, txt, offset)) argument
95 #define IS_BT_MASKED_MP(ic, txt, offset) (EFUSE_IsBTAddressMasked_MP_##ic##txt(offset)) argument
98 #define GET_BT_MASK_ARRAY_MP(ic, txt, offset) (EFUSE_GetBTMaskArray_MP_##ic##txt(offset)) argument
100 #define IS_BT_MASKED(ic, txt, offset) (IS_BT_MASKED_MP(ic,txt, offset)) argument
117 u8 offset; member
242 #define efuse_logical_map_read(adapter, type, offset, value) EFUSE_ShadowRead((adapter), (type), (o… argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/device/backend/
Dmali_kbase_device_hw_csf.c183 static bool kbase_is_register_accessible(u32 offset) in kbase_is_register_accessible()
196 void kbase_reg_write(struct kbase_device *kbdev, u32 offset, u32 value) in kbase_reg_write()
215 u32 kbase_reg_read(struct kbase_device *kbdev, u32 offset) in kbase_reg_read()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/g2d/g2d_legacy/
Dg2d_bsp_sun8iw11.c25 #define read_bvalue(offset) get_bvalue(base_addr + offset) argument
27 #define write_bvalue(offset, value) put_bvalue(base_addr + offset, value) argument
29 #define read_hvalue(offset) get_hvalue(base_addr + offset) argument
31 #define write_hvalue(offset, value) put_hvalue(base_addr + offset, value) argument
33 #define read_wvalue(offset) get_wvalue(base_addr + offset) argument
35 #define write_wvalue(offset, value) put_wvalue(base_addr + offset, value) argument
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/flash/
Dflash_partition.c150 bk_err_t bk_flash_partition_erase(bk_partition_t partition, uint32_t offset, uint32_t size) in bk_flash_partition_erase()
171 bk_err_t bk_flash_partition_write(bk_partition_t partition, const uint8_t *buffer, uint32_t offset,… in bk_flash_partition_write()
193 bk_err_t bk_flash_partition_read(bk_partition_t partition, uint8_t *out_buffer, uint32_t offset, ui… in bk_flash_partition_read()

12345678910>>...38