| /OK3568_Linux_fs/kernel/include/linux/unaligned/ |
| H A D | generic.h | 29 #define __put_unaligned_le(val, ptr) ({ \ argument 50 #define __put_unaligned_be(val, ptr) ({ \ argument 91 static inline void __put_unaligned_be24(const u32 val, u8 *p) in __put_unaligned_be24() 98 static inline void put_unaligned_be24(const u32 val, void *p) in put_unaligned_be24() 103 static inline void __put_unaligned_le24(const u32 val, u8 *p) in __put_unaligned_le24() 110 static inline void put_unaligned_le24(const u32 val, void *p) in put_unaligned_le24()
|
| H A D | be_byteshift.h | 23 static inline void __put_unaligned_be16(u16 val, u8 *p) in __put_unaligned_be16() 29 static inline void __put_unaligned_be32(u32 val, u8 *p) in __put_unaligned_be32() 35 static inline void __put_unaligned_be64(u64 val, u8 *p) in __put_unaligned_be64() 56 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() 61 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() 66 static inline void put_unaligned_be64(u64 val, void *p) in put_unaligned_be64()
|
| H A D | access_ok.h | 38 static __always_inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() 43 static __always_inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() 48 static __always_inline void put_unaligned_le64(u64 val, void *p) in put_unaligned_le64() 53 static __always_inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() 58 static __always_inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() 63 static __always_inline void put_unaligned_be64(u64 val, void *p) in put_unaligned_be64()
|
| H A D | le_byteshift.h | 23 static inline void __put_unaligned_le16(u16 val, u8 *p) in __put_unaligned_le16() 29 static inline void __put_unaligned_le32(u32 val, u8 *p) in __put_unaligned_le32() 35 static inline void __put_unaligned_le64(u64 val, u8 *p) in __put_unaligned_le64() 56 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() 61 static inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() 66 static inline void put_unaligned_le64(u64 val, void *p) in put_unaligned_le64()
|
| /OK3568_Linux_fs/kernel/tools/include/tools/ |
| H A D | be_byteshift.h | 23 static inline void __put_unaligned_be16(uint16_t val, uint8_t *p) in __put_unaligned_be16() 29 static inline void __put_unaligned_be32(uint32_t val, uint8_t *p) in __put_unaligned_be32() 35 static inline void __put_unaligned_be64(uint64_t val, uint8_t *p) in __put_unaligned_be64() 56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() 61 static inline void put_unaligned_be32(uint32_t val, void *p) in put_unaligned_be32() 66 static inline void put_unaligned_be64(uint64_t val, void *p) in put_unaligned_be64()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/ |
| H A D | ocelot_io.c | 16 u32 val; in __ocelot_read_ix() local 26 void __ocelot_write_ix(struct ocelot *ocelot, u32 val, u32 reg, u32 offset) in __ocelot_write_ix() 37 void __ocelot_rmw_ix(struct ocelot *ocelot, u32 val, u32 mask, u32 reg, in __ocelot_rmw_ix() 54 u32 val; in ocelot_port_readl() local 63 void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg) in ocelot_port_writel() 74 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask, u32 reg) in ocelot_port_rmwl() 85 u32 val; in __ocelot_target_read_ix() local 93 u32 val, u32 reg, u32 offset) in __ocelot_target_write_ix()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/bt8xx/ |
| H A D | bttv-audio-hook.c | 88 unsigned int val, con; in gvbctv5pci_audio() local 159 int val; in avermedia_tvphone_audio() local 190 int val = 0; in avermedia_tv_stereo_audio() local 223 int val = 0; in lt9415_audio() local 294 unsigned long val; in winfast2000_audio() local 338 unsigned int val = 0; in pvbt878p9b_audio() local 379 unsigned int val; in fv2000s_audio() local 418 unsigned long val; in windvr_audio() local
|
| /OK3568_Linux_fs/kernel/drivers/clocksource/ |
| H A D | timer-mediatek.c | 27 #define GPT_IRQ_ENABLE(val) BIT((val) - 1) argument 29 #define GPT_IRQ_ACK(val) BIT((val) - 1) argument 31 #define GPT_CTRL_REG(val) (0x10 * (val)) argument 32 #define GPT_CTRL_OP(val) (((val) & 0x3) << 4) argument 40 #define GPT_CLK_REG(val) (0x04 + (0x10 * (val))) argument 41 #define GPT_CLK_SRC(val) (((val) & 0x1) << 4) argument 47 #define GPT_CNT_REG(val) (0x08 + (0x10 * (val))) argument 48 #define GPT_CMP_REG(val) (0x0C + (0x10 * (val))) argument 137 u32 val; in mtk_gpt_clkevt_time_stop() local 153 u32 val; in mtk_gpt_clkevt_time_start() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/mvsas/ |
| H A D | mv_chips.h | 15 #define mw32(reg, val) writel((val), regs + reg) argument 16 #define mw32_f(reg, val) do { \ argument 21 #define iow32(reg, val) outl(val, (unsigned long)(regs + reg)) argument 23 #define iow16(reg, val) outw((unsigned long)(val, regs + reg)) argument 25 #define iow8(reg, val) outb((unsigned long)(val, regs + reg)) argument 35 static inline void mvs_cw32(struct mvs_info *mvi, u32 addr, u32 val) in mvs_cw32() 49 static inline void mvs_write_phy_ctl(struct mvs_info *mvi, u32 port, u32 val) in mvs_write_phy_ctl() 68 u32 port, u32 val) in mvs_write_port() 85 u32 port, u32 val) in mvs_write_port_cfg_data() 106 u32 port, u32 val) in mvs_write_port_vsr_data() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | neon_utils.hpp | 82 inline float32x4_t cv_vrecpq_f32(float32x4_t val) in cv_vrecpq_f32() 90 inline float32x2_t cv_vrecp_f32(float32x2_t val) in cv_vrecp_f32() 98 inline float32x4_t cv_vrsqrtq_f32(float32x4_t val) in cv_vrsqrtq_f32() 106 inline float32x2_t cv_vrsqrt_f32(float32x2_t val) in cv_vrsqrt_f32() 114 inline float32x4_t cv_vsqrtq_f32(float32x4_t val) in cv_vsqrtq_f32() 119 inline float32x2_t cv_vsqrt_f32(float32x2_t val) in cv_vsqrt_f32()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | neon_utils.hpp | 82 inline float32x4_t cv_vrecpq_f32(float32x4_t val) in cv_vrecpq_f32() 90 inline float32x2_t cv_vrecp_f32(float32x2_t val) in cv_vrecp_f32() 98 inline float32x4_t cv_vrsqrtq_f32(float32x4_t val) in cv_vrsqrtq_f32() 106 inline float32x2_t cv_vrsqrt_f32(float32x2_t val) in cv_vrsqrt_f32() 114 inline float32x4_t cv_vsqrtq_f32(float32x4_t val) in cv_vsqrtq_f32() 119 inline float32x2_t cv_vsqrt_f32(float32x2_t val) in cv_vsqrt_f32()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | neon_utils.hpp | 82 inline float32x4_t cv_vrecpq_f32(float32x4_t val) in cv_vrecpq_f32() 90 inline float32x2_t cv_vrecp_f32(float32x2_t val) in cv_vrecp_f32() 98 inline float32x4_t cv_vrsqrtq_f32(float32x4_t val) in cv_vrsqrtq_f32() 106 inline float32x2_t cv_vrsqrt_f32(float32x2_t val) in cv_vrsqrt_f32() 114 inline float32x4_t cv_vsqrtq_f32(float32x4_t val) in cv_vsqrtq_f32() 119 inline float32x2_t cv_vsqrt_f32(float32x2_t val) in cv_vsqrt_f32()
|
| /OK3568_Linux_fs/kernel/arch/mips/pci/ |
| H A D | ops-bcm63xx.c | 39 static int preprocess_write(u32 orig_data, u32 val, int where, in preprocess_write() 68 u32 val; in bcm63xx_setup_cfg_access() local 102 u32 *val) in bcm63xx_do_cfg_read() 123 u32 val) in bcm63xx_do_cfg_write() 148 int where, int size, u32 *val) in bcm63xx_pci_read() 162 int where, int size, u32 val) in bcm63xx_pci_write() 208 static int fake_cb_bridge_read(int where, int size, u32 *val) in fake_cb_bridge_read() 291 static int fake_cb_bridge_write(int where, int size, u32 val) in fake_cb_bridge_write() 363 int where, int size, u32 *val) in bcm63xx_cb_read() 387 int where, int size, u32 val) in bcm63xx_cb_write() [all …]
|
| H A D | ops-rc32434.c | 73 int where, u8 *val) in read_config_byte() 84 int where, u16 *val) in read_config_word() 95 int where, u32 *val) in read_config_dword() 130 u8 val) in write_config_byte() 149 u16 val) in write_config_word() 169 u32 val) in write_config_dword() 178 int where, int size, u32 *val) in pci_config_read() 191 int where, int size, u32 val) in pci_config_write()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dsi/ |
| H A D | mmss_cc.xml.h | 72 static inline uint32_t MMSS_CC_CLK_CC_MND_MODE(uint32_t val) in MMSS_CC_CLK_CC_MND_MODE() 78 static inline uint32_t MMSS_CC_CLK_CC_PMXO_SEL(uint32_t val) in MMSS_CC_CLK_CC_PMXO_SEL() 86 static inline uint32_t MMSS_CC_CLK_MD_D(uint32_t val) in MMSS_CC_CLK_MD_D() 92 static inline uint32_t MMSS_CC_CLK_MD_M(uint32_t val) in MMSS_CC_CLK_MD_M() 100 static inline uint32_t MMSS_CC_CLK_NS_SRC(uint32_t val) in MMSS_CC_CLK_NS_SRC() 106 static inline uint32_t MMSS_CC_CLK_NS_PRE_DIV_FUNC(uint32_t val) in MMSS_CC_CLK_NS_PRE_DIV_FUNC() 112 static inline uint32_t MMSS_CC_CLK_NS_VAL(uint32_t val) in MMSS_CC_CLK_NS_VAL()
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/ |
| H A D | global1.c | 16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read() 23 int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g1_write() 31 bit, int val) in mv88e6xxx_g1_wait_bit() 38 u16 mask, u16 val) in mv88e6xxx_g1_wait_mask() 81 u16 val; in mv88e6xxx_g1_wait_eeprom_done() local 140 u16 val; in mv88e6185_g1_reset() local 166 u16 val; in mv88e6250_g1_reset() local 196 u16 val; in mv88e6185_g1_ppu_enable() local 214 u16 val; in mv88e6185_g1_ppu_disable() local 232 u16 val; in mv88e6185_g1_set_max_frame_size() local [all …]
|
| /OK3568_Linux_fs/kernel/tools/virtio/linux/ |
| H A D | virtio_config.h | 64 static inline u16 virtio16_to_cpu(struct virtio_device *vdev, __virtio16 val) in virtio16_to_cpu() 69 static inline __virtio16 cpu_to_virtio16(struct virtio_device *vdev, u16 val) in cpu_to_virtio16() 74 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() 79 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() 84 static inline u64 virtio64_to_cpu(struct virtio_device *vdev, __virtio64 val) in virtio64_to_cpu() 89 static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) in cpu_to_virtio64()
|
| /OK3568_Linux_fs/kernel/drivers/clk/ |
| H A D | clk-tango4.c | 17 #define extract_pll_n(val) ((val >> 0) & ((1u << 7) - 1)) argument 18 #define extract_pll_k(val) ((val >> 13) & ((1u << 3) - 1)) argument 19 #define extract_pll_m(val) ((val >> 16) & ((1u << 3) - 1)) argument 20 #define extract_pll_isel(val) ((val >> 24) & ((1u << 3) - 1)) argument 25 u32 val, mul, div; in make_pll() local 39 u32 val, mul, div; in make_cd() local
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | msr.h | 54 #define DECLARE_ARGS(val, low, high) unsigned long low, high argument 55 #define EAX_EDX_VAL(val, low, high) ((low) | (high) << 32) argument 56 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument 58 #define DECLARE_ARGS(val, low, high) unsigned long long val argument 59 #define EAX_EDX_VAL(val, low, high) (val) argument 60 #define EAX_EDX_RET(val, low, high) "=A" (val) argument 77 static inline void do_trace_write_msr(unsigned int msr, u64 val, int failed) {} in do_trace_write_msr() 78 static inline void do_trace_read_msr(unsigned int msr, u64 val, int failed) {} in do_trace_read_msr() 79 static inline void do_trace_rdpmc(unsigned int msr, u64 val, int failed) {} in do_trace_rdpmc() 119 #define native_wrmsrl(msr, val) \ argument [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-s32v234/ |
| H A D | mc_cgm_regs.h | 22 #define MC_CGM_SC_DCn_PREDIV(val) (MC_CGM_SC_DCn_PREDIV_MASK & ((val) << MC_CGM_SC_DCn_PREDIV_OFFSE… argument 31 #define MC_CGM_ACn_DCm_PREDIV(val) (MC_CGM_ACn_DCm_PREDIV_MASK & ((val) << MC_CGM_ACn_DCm_PREDIV_O… argument 79 #define PLLDIG_PLLDV_RFDPHI_SET(val) (PLLDIG_PLLDV_RFDPHI_MASK & (((val) & PLLDIG_PLLDV_RFDPHI_MAXV… argument 84 #define PLLDIG_PLLDV_RFDPHI1_SET(val) (PLLDIG_PLLDV_RFDPHI1_MASK & (((val) & PLLDIG_PLLDV_RFDPHI1_M… argument 89 #define PLLDIG_PLLDV_PREDIV_SET(val) (PLLDIG_PLLDV_PREDIV_MASK & (((val) & PLLDIG_PLLDV_PREDIV_MAXV… argument 96 #define PLLDIG_PLLFD_MFN_SET(val) (PLLDIG_PLLFD_MFN_MASK & (val)) argument 102 #define PLLDIG_PLLCAL1_NDAC1_SET(val) (PLLDIG_PLLCAL1_NDAC1_MASK & ((val) << PLLDIG_PLLCAL1_NDAC1_O… argument 113 #define DFS_DLLPRG1_V2IGC_SET(val) (DFS_DLLPRG1_V2IGC_MASK & ((val) << DFS_DLLPRG1_V2IGC_OFFSET)) argument 117 #define DFS_DLLPRG1_LCKWT_SET(val) (DFS_DLLPRG1_LCKWT_MASK & ((val) << DFS_DLLPRG1_LCKWT_OFFSET)) argument 121 #define DFS_DLLPRG1_DACIN_SET(val) (DFS_DLLPRG1_DACIN_MASK & ((val) << DFS_DLLPRG1_DACIN_OFFSET)) argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/probes/kprobes/ |
| H A D | test-thumb.c | 41 #define TEST_THUMB_TO_ARM_INTERWORK_P(code1, reg, val, code2) \ argument 91 #define DATA_PROCESSING16(op,val) \ in kprobe_thumb16_test_cases() argument 478 #define _DATA_PROCESSING32_DNM(op,s,val) \ in kprobe_thumb32_test_cases() argument 490 #define DATA_PROCESSING32_DNM(op,val) \ in kprobe_thumb32_test_cases() argument 494 #define DATA_PROCESSING32_NM(op,val) \ in kprobe_thumb32_test_cases() argument 506 #define _DATA_PROCESSING32_DM(op,s,val) \ in kprobe_thumb32_test_cases() argument 519 #define DATA_PROCESSING32_DM(op,val) \ in kprobe_thumb32_test_cases() argument
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7/ |
| H A D | clock_slice.c | 437 u32 val; in clock_get_src() local 492 u32 val; in clock_get_prediv() local 551 u32 val; in clock_get_postdiv() local 576 u32 val; in clock_set_autopostdiv() local 614 u32 val; in clock_get_autopostdiv() local 651 int clock_get_target_val(enum clk_root_index clock_id, u32 *val) in clock_get_target_val() 661 int clock_set_target_val(enum clk_root_index clock_id, u32 val) in clock_set_target_val() 675 u32 val; in clock_root_cfg() local 727 u32 val; in clock_root_enabled() local
|
| /OK3568_Linux_fs/kernel/sound/i2c/other/ |
| H A D | ak4xxx-adda.c | 27 unsigned char val) in snd_akm4xxx_write() 341 #define AK_GET_CHIP(val) (((val) >> 8) & 0xff) argument 342 #define AK_GET_ADDR(val) ((val) & 0xff) argument 343 #define AK_GET_SHIFT(val) (((val) >> 16) & 0x0f) argument 344 #define AK_GET_VOL_CVT(val) (((val) >> 21) & 1) argument 345 #define AK_GET_IPGA(val) (((val) >> 20) & 1) argument 346 #define AK_GET_NEEDSMSB(val) (((val) >> 22) & 1) argument 347 #define AK_GET_INVERT(val) (((val) >> 23) & 1) argument 348 #define AK_GET_MASK(val) (((val) >> 24) & 0xff) argument 404 unsigned int val = ucontrol->value.integer.value[0]; in snd_akm4xxx_volume_put() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_if.h | 29 #define HINIC_DMA_ATTR_SET(val, member) \ argument 33 #define HINIC_DMA_ATTR_CLEAR(val, member) \ argument 50 #define HINIC_FA0_GET(val, member) \ argument 70 #define HINIC_FA1_GET(val, member) \ argument 76 #define HINIC_FA2_GET(val, member) \ argument 85 #define HINIC_FA4_GET(val, member) \ argument 88 #define HINIC_FA4_SET(val, member) \ argument 91 #define HINIC_FA4_CLEAR(val, member) \ argument 97 #define HINIC_FA5_SET(val, member) \ argument 100 #define HINIC_FA5_CLEAR(val, member) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | proc.c | 62 unsigned char val; in proc_bus_pci_read() local 71 unsigned short val; in proc_bus_pci_read() local 80 unsigned int val; in proc_bus_pci_read() local 89 unsigned short val; in proc_bus_pci_read() local 98 unsigned char val; in proc_bus_pci_read() local 139 unsigned char val; in proc_bus_pci_write() local 148 __le16 val; in proc_bus_pci_write() local 157 __le32 val; in proc_bus_pci_write() local 166 __le16 val; in proc_bus_pci_write() local 175 unsigned char val; in proc_bus_pci_write() local
|