/openbmc/linux/arch/csky/abiv1/ |
H A D | alignment.c | 32 static int ldb_asm(uint32_t addr, uint32_t *valp) in ldb_asm() 65 static int stb_asm(uint32_t addr, uint32_t val) in stb_asm() 95 static int ldh_c(struct pt_regs *regs, uint32_t rz, uint32_t addr) in ldh_c() 117 static int sth_c(struct pt_regs *regs, uint32_t rz, uint32_t addr) in sth_c() 142 static int ldw_c(struct pt_regs *regs, uint32_t rz, uint32_t addr) in ldw_c() 176 static int stw_c(struct pt_regs *regs, uint32_t rz, uint32_t addr) in stw_c() 220 uint32_t addr = 0; in csky_alignment() local
|
/openbmc/qemu/hw/i386/ |
H A D | amd_iommu.c | 99 static uint16_t amdvi_readw(AMDVIState *s, hwaddr addr) in amdvi_readw() 104 static uint32_t amdvi_readl(AMDVIState *s, hwaddr addr) in amdvi_readl() 109 static uint64_t amdvi_readq(AMDVIState *s, hwaddr addr) in amdvi_readq() 235 hwaddr addr, uint16_t info) in amdvi_page_fault() 279 hwaddr addr) in amdvi_log_illegalcom_error() 387 hwaddr addr = cpu_to_le64(extract64(cmd[0], 3, 49)) << 3; in amdvi_completion_wait() local 595 static void amdvi_mmio_trace(hwaddr addr, unsigned size) in amdvi_mmio_trace() 750 hwaddr addr) in amdvi_mmio_reg_write() 894 uint64_t addr = (pte & AMDVI_DEV_PT_ROOT_MASK) >> 12; in pte_override_page_mask() local 928 hwaddr addr) in amdvi_page_walk() [all …]
|
/openbmc/u-boot/drivers/video/meson/ |
H A D | meson_dw_hdmi.c | 61 static unsigned int dw_hdmi_top_read(struct dw_hdmi *hdmi, unsigned int addr) in dw_hdmi_top_read() 77 unsigned int addr, unsigned int data) in dw_hdmi_top_write() 88 unsigned int addr, in dw_hdmi_top_write_bits() 99 static u8 dw_hdmi_dwc_read(struct dw_hdmi *hdmi, int addr) in dw_hdmi_dwc_read() 114 static inline void dw_hdmi_dwc_write(struct dw_hdmi *hdmi, u8 data, int addr) in dw_hdmi_dwc_write() 125 unsigned int addr, in dw_hdmi_dwc_write_bits() 138 unsigned int addr, unsigned int data) in dw_hdmi_hhi_write() 145 unsigned int addr) in dw_hdmi_hhi_read() 151 unsigned int addr, in dw_hdmi_hhi_update_bits()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_if.c | 43 u32 msix_ctrl, addr; in hinic_msix_attr_set() local 69 u32 msix_ctrl, addr; in hinic_msix_attr_cnt_clear() local 160 u32 addr, attr1; in hwif_ready() local 222 u32 addr, attr0, attr1, attr2; in read_hwif_attr() local 243 u32 addr, val, ppf_election; in set_ppf() local 279 u32 addr, val, dma_attr_entry; in set_dma_attr() local 322 u32 addr, attr0; in hinic_global_func_id_hw() local 332 u32 addr, attr0; in hinic_pf_id_of_vf_hw() local 342 u32 addr, attr0, attr1; in __print_selftest_reg() local
|
/openbmc/linux/arch/powerpc/kernel/trace/ |
H A D | ftrace.c | 35 unsigned long ftrace_call_adjust(unsigned long addr) in ftrace_call_adjust() 46 static ppc_inst_t ftrace_create_branch_inst(unsigned long ip, unsigned long addr, int link) in ftrace_create_branch_inst() 109 static int ftrace_get_call_inst(struct dyn_ftrace *rec, unsigned long addr, ppc_inst_t *call_inst) in ftrace_get_call_inst() 139 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in ftrace_modify_call() 147 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 164 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 178 unsigned long ip, new_addr, addr; in ftrace_replace_code() local 230 unsigned long addr, ip = rec->ip; in ftrace_init_nop() local 354 unsigned long addr = FTRACE_REGS_ADDR; in ftrace_dyn_arch_init() local
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_timing_generator_v.c | 101 uint32_t addr = mmCRTCV_BLANK_CONTROL; in dce110_timing_generator_v_blank_crtc() local 121 uint32_t addr = mmCRTCV_BLANK_CONTROL; in dce110_timing_generator_v_unblank_crtc() local 142 uint32_t addr = 0; in dce110_timing_generator_v_is_in_vertical_blank() local 255 uint32_t addr = 0; in dce110_timing_generator_v_program_blanking() local 388 uint32_t addr = mmCRTCV_START_LINE_CONTROL; in dce110_timing_generator_v_enable_advanced_request() local 454 uint32_t addr = mmCRTCV_BLACK_COLOR; in dce110_timing_generator_v_program_blank_color() local 481 uint32_t addr; in dce110_timing_generator_v_set_overscan_color_black() local 525 uint32_t addr = mmCRTCV_BLACK_COLOR; in dce110_tg_v_program_blank_color() local 555 uint32_t addr; in dce110_timing_generator_v_set_overscan_color() local 604 uint32_t addr = mmCRTCV_STATUS_FRAME_COUNT; in dce110_timing_generator_v_get_vblank_counter() local
|
/openbmc/linux/mm/kasan/ |
H A D | shadow.c | 51 void *memset(void *addr, int c, size_t len) in memset() 82 void *__asan_memset(void *addr, int c, ssize_t len) in __asan_memset() 124 void kasan_poison(const void *addr, size_t size, u8 value, bool init) in kasan_poison() 155 void kasan_poison_last_granule(const void *addr, size_t size) in kasan_poison_last_granule() 167 void kasan_unpoison(const void *addr, size_t size, bool init) in kasan_unpoison() 198 static bool shadow_mapped(unsigned long addr) in shadow_mapped() 314 static int kasan_populate_vmalloc_pte(pte_t *ptep, unsigned long addr, in kasan_populate_vmalloc_pte() 341 int kasan_populate_vmalloc(unsigned long addr, unsigned long size) in kasan_populate_vmalloc() 416 static int kasan_depopulate_vmalloc_pte(pte_t *ptep, unsigned long addr, in kasan_depopulate_vmalloc_pte() 600 int kasan_alloc_module_shadow(void *addr, size_t size, gfp_t gfp_mask) in kasan_alloc_module_shadow()
|
/openbmc/linux/arch/x86/mm/ |
H A D | kasan_init_64.c | 38 static void __init kasan_populate_pmd(pmd_t *pmd, unsigned long addr, in kasan_populate_pmd() 73 static void __init kasan_populate_pud(pud_t *pud, unsigned long addr, in kasan_populate_pud() 103 static void __init kasan_populate_p4d(p4d_t *p4d, unsigned long addr, in kasan_populate_p4d() 123 static void __init kasan_populate_pgd(pgd_t *pgd, unsigned long addr, in kasan_populate_pgd() 142 static void __init kasan_populate_shadow(unsigned long addr, unsigned long end, in kasan_populate_shadow() 192 static inline p4d_t *early_p4d_offset(pgd_t *pgd, unsigned long addr) in early_p4d_offset() 205 unsigned long addr, in kasan_early_p4d_populate() 234 unsigned long addr = KASAN_SHADOW_START & PGDIR_MASK; in kasan_map_early_shadow() local 246 unsigned long addr, in kasan_shallow_populate_p4ds() 266 unsigned long addr, next; in kasan_shallow_populate_pgds() local
|
/openbmc/qemu/system/ |
H A D | ioport.c | 51 static void unassigned_io_write(void *opaque, hwaddr addr, uint64_t val, in unassigned_io_write() 62 void cpu_outb(uint32_t addr, uint8_t val) in cpu_outb() 69 void cpu_outw(uint32_t addr, uint16_t val) in cpu_outw() 79 void cpu_outl(uint32_t addr, uint32_t val) in cpu_outl() 89 uint8_t cpu_inb(uint32_t addr) in cpu_inb() 99 uint16_t cpu_inw(uint32_t addr) in cpu_inw() 110 uint32_t cpu_inl(uint32_t addr) in cpu_inl() 177 static uint64_t portio_read(void *opaque, hwaddr addr, unsigned size) in portio_read() 200 static void portio_write(void *opaque, hwaddr addr, uint64_t data, in portio_write() 336 void portio_list_set_address(PortioList *piolist, uint32_t addr) in portio_list_set_address()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | hugetlbpage.c | 32 unsigned long addr, in huge_pte_alloc() 85 unsigned long addr, in huge_pte_offset() 149 unsigned long addr, in get_clear_contig() 170 unsigned long addr, in get_clear_contig_flush() 201 unsigned long addr, in clear_flush() 224 unsigned long addr, in set_huge_pte_at() 264 unsigned long addr, in huge_ptep_set_access_flags() 295 unsigned long addr, in huge_ptep_get_and_clear() 310 unsigned long addr, in huge_ptep_set_wrprotect() 335 unsigned long addr, in huge_ptep_clear_flush() [all …]
|
/openbmc/linux/arch/sparc/mm/ |
H A D | hugetlbpage.c | 27 unsigned long addr, in hugetlb_get_unmapped_area_bottomup() 65 unsigned long addr = addr0; in hugetlb_get_unmapped_area_topdown() local 97 hugetlb_get_unmapped_area(struct file *file, unsigned long addr, in hugetlb_get_unmapped_area() 282 unsigned long addr, unsigned long sz) in huge_pte_alloc() 305 unsigned long addr, unsigned long sz) in huge_pte_offset() 331 void __set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in __set_huge_pte_at() 367 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 423 unsigned long addr) in hugetlb_free_pte_range() 433 unsigned long addr, unsigned long end, in hugetlb_free_pmd_range() 470 unsigned long addr, unsigned long end, in hugetlb_free_pud_range() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | parallel.c | 86 parallel_ioport_write_sw(void *opaque, uint32_t addr, uint32_t val) in parallel_ioport_write_sw() 124 static void parallel_ioport_write_hw(void *opaque, uint32_t addr, uint32_t val) in parallel_ioport_write_hw() 202 parallel_ioport_eppdata_write_hw2(void *opaque, uint32_t addr, uint32_t val) in parallel_ioport_eppdata_write_hw2() 227 parallel_ioport_eppdata_write_hw4(void *opaque, uint32_t addr, uint32_t val) in parallel_ioport_eppdata_write_hw4() 251 static uint32_t parallel_ioport_read_sw(void *opaque, uint32_t addr) in parallel_ioport_read_sw() 287 static uint32_t parallel_ioport_read_hw(void *opaque, uint32_t addr) in parallel_ioport_read_hw() 361 parallel_ioport_eppdata_read_hw2(void *opaque, uint32_t addr) in parallel_ioport_eppdata_read_hw2() 389 parallel_ioport_eppdata_read_hw4(void *opaque, uint32_t addr) in parallel_ioport_eppdata_read_hw4() 422 static uint32_t parallel_ioport_ecp_read(void *opaque, uint32_t addr) in parallel_ioport_ecp_read() 562 static uint64_t parallel_mm_readfn(void *opaque, hwaddr addr, unsigned size) in parallel_mm_readfn() [all …]
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | byteorder.h | 32 static __inline__ unsigned ld_le16(const volatile unsigned short *addr) in ld_le16() 37 static __inline__ void st_le16(volatile unsigned short *addr, in st_le16() 43 static __inline__ unsigned ld_le32(const volatile unsigned *addr) in ld_le32() 48 static __inline__ void st_le32(volatile unsigned *addr, const unsigned val) in st_le32()
|
/openbmc/qemu/hw/display/ |
H A D | vga-access.h | 25 static inline uint8_t vga_read_byte(VGACommonState *vga, uint32_t addr) in vga_read_byte() 30 static inline uint16_t vga_read_word_le(VGACommonState *vga, uint32_t addr) in vga_read_word_le() 37 static inline uint16_t vga_read_word_be(VGACommonState *vga, uint32_t addr) in vga_read_word_be() 44 static inline uint32_t vga_read_dword_le(VGACommonState *vga, uint32_t addr) in vga_read_dword_le()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | set_memory.h | 30 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() 31 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw() 32 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x() 33 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx() 34 static inline int set_memory_rw_nx(unsigned long addr, int numpages) { return 0; } in set_memory_rw_nx()
|
/openbmc/qemu/include/semihosting/ |
H A D | uaccess.h | 22 #define get_user_u64(val, addr) \ argument 28 #define get_user_u32(val, addr) \ argument 34 #define get_user_u8(val, addr) \ argument 42 #define put_user_u64(val, addr) \ argument 46 #define put_user_u32(val, addr) \ argument
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mmio.c | 80 static u32 mt7996_reg_map_l1(struct mt7996_dev *dev, u32 addr) in mt7996_reg_map_l1() 94 static u32 mt7996_reg_map_l2(struct mt7996_dev *dev, u32 addr) in mt7996_reg_map_l2() 108 static u32 __mt7996_reg_addr(struct mt7996_dev *dev, u32 addr) in __mt7996_reg_addr() 131 static u32 __mt7996_reg_remap_addr(struct mt7996_dev *dev, u32 addr) in __mt7996_reg_remap_addr() 155 u32 addr = __mt7996_reg_addr(dev, offset); in mt7996_memcpy_fromio() local 171 u32 addr = __mt7996_reg_addr(dev, offset), val; in mt7996_rr() local 186 u32 addr = __mt7996_reg_addr(dev, offset); in mt7996_wr() local 201 u32 addr = __mt7996_reg_addr(dev, offset); in mt7996_rmw() local
|
/openbmc/linux/arch/arm64/kernel/probes/ |
H A D | simulate-insn.c | 88 simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs) in simulate_adr_adrp() 106 simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs) in simulate_b_bl() 118 simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs) in simulate_b_cond() 129 simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs) in simulate_br_blr_ret() 142 simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs) in simulate_cbz_cbnz() 157 simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs) in simulate_tbz_tbnz() 172 simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs) in simulate_ldr_literal() 188 simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs) in simulate_ldrsw_literal()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | pca9698.c | 28 static int pca9698_read40(u8 addr, u8 offset, u8 *buffer) in pca9698_read40() 35 static int pca9698_write40(u8 addr, u8 offset, u8 *buffer) in pca9698_write40() 65 int pca9698_direction_input(u8 addr, unsigned gpio) in pca9698_direction_input() 79 int pca9698_direction_output(u8 addr, unsigned gpio, int value) in pca9698_direction_output() 97 int pca9698_get_value(u8 addr, unsigned gpio) in pca9698_get_value() 114 int pca9698_set_value(u8 addr, unsigned gpio, int value) in pca9698_set_value()
|
/openbmc/linux/net/core/ |
H A D | dev_addr_lists_test.c | 68 u8 addr[ETH_ALEN]; in dev_addr_test_basic() local 85 u8 addr[ETH_ALEN]; in dev_addr_test_sync_one() local 112 u8 addr[ETH_ALEN]; in dev_addr_test_add_del() local 151 u8 addr[ETH_ALEN]; in dev_addr_test_del_main() local 170 u8 addr[ETH_ALEN]; in dev_addr_test_add_set() local 199 u8 addr[ETH_ALEN]; in dev_addr_test_add_excl() local
|
/openbmc/linux/arch/m68k/mm/ |
H A D | kmap.c | 43 static inline void free_io_area(void *addr) in free_io_area() 59 static void __free_io_area(void *addr, unsigned long size) in __free_io_area() 110 unsigned long addr; in get_io_area() local 133 static inline void free_io_area(void *addr) in free_io_area() 299 void iounmap(void __iomem *addr) in iounmap() 324 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) in kernel_set_cachemode()
|
/openbmc/linux/drivers/soundwire/ |
H A D | bus.c | 359 u32 addr, size_t count, u16 dev_num, u8 flags, u8 *buf) in sdw_fill_msg() 476 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm() 483 sdw_bread_no_pm(struct sdw_bus *bus, u16 dev_num, u32 addr) in sdw_bread_no_pm() 553 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm() 580 int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update() 663 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read() 685 int sdw_write(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write() 800 u64 addr, struct sdw_slave_id *id) in sdw_extract_slave_id() 824 u64 addr; in sdw_program_device_num() local 1248 u32 addr; in sdw_configure_dpn_intr() local [all …]
|
/openbmc/linux/fs/quota/ |
H A D | quota.c | 202 void __user *addr) in quota_getquota() 238 void __user *addr) in quota_getnextquota() 288 void __user *addr) in quota_setquota() 313 static int quota_enable(struct super_block *sb, void __user *addr) in quota_enable() 324 static int quota_disable(struct super_block *sb, void __user *addr) in quota_disable() 625 void __user *addr) in quota_setxquota() 706 void __user *addr) in quota_getxquota() 732 void __user *addr) in quota_getnextxquota() 768 void __user *addr, const struct path *path) in do_quotactl() 918 qid_t, id, void __user *, addr) in SYSCALL_DEFINE4() argument [all …]
|
/openbmc/qemu/target/sparc/ |
H A D | ldst_helper.c | 229 uint64_t addr) in replace_tlb_1bit_lru() 335 int asi, target_ulong addr) in asi_address_mask() 361 static void do_check_align(CPUSPARCState *env, target_ulong addr, in do_check_align() 417 static void sparc_raise_mmu_fault(CPUState *cs, hwaddr addr, in sparc_raise_mmu_fault() 478 static void sparc_raise_mmu_fault(CPUState *cs, hwaddr addr, in sparc_raise_mmu_fault() 512 static void leon3_cache_control_st(CPUSPARCState *env, target_ulong addr, in leon3_cache_control_st() 578 uint64_t helper_ld_asi(CPUSPARCState *env, target_ulong addr, in helper_ld_asi() 799 void helper_st_asi(CPUSPARCState *env, target_ulong addr, uint64_t val, in helper_st_asi() 1193 uint64_t helper_ld_asi(CPUSPARCState *env, target_ulong addr, in helper_ld_asi() 1313 uint64_t helper_ld_asi(CPUSPARCState *env, target_ulong addr, in helper_ld_asi() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | hisi_thermal.c | 161 static inline void hi6220_thermal_set_lag(void __iomem *addr, int value) in hi6220_thermal_set_lag() 167 static inline void hi6220_thermal_alarm_clear(void __iomem *addr, int value) in hi6220_thermal_alarm_clear() 177 static inline void hi6220_thermal_alarm_set(void __iomem *addr, int temp) in hi6220_thermal_alarm_set() 183 static inline void hi6220_thermal_reset_set(void __iomem *addr, int temp) in hi6220_thermal_reset_set() 193 static inline void hi6220_thermal_enable(void __iomem *addr, int value) in hi6220_thermal_enable() 198 static inline int hi6220_thermal_get_temperature(void __iomem *addr) in hi6220_thermal_get_temperature() 212 static inline void hi3660_thermal_set_lag(void __iomem *addr, in hi3660_thermal_set_lag() 219 static inline void hi3660_thermal_alarm_clear(void __iomem *addr, in hi3660_thermal_alarm_clear() 225 static inline void hi3660_thermal_alarm_enable(void __iomem *addr, in hi3660_thermal_alarm_enable() 231 static inline void hi3660_thermal_alarm_set(void __iomem *addr, in hi3660_thermal_alarm_set() [all …]
|