/u-boot/include/linux/unaligned/ |
A D | le_byteshift.h | 6 static inline u16 __get_unaligned_le16(const u8 *p) in __get_unaligned_le16() 11 static inline u32 __get_unaligned_le32(const u8 *p) in __get_unaligned_le32() 16 static inline u64 __get_unaligned_le64(const u8 *p) in __get_unaligned_le64() 22 static inline void __put_unaligned_le16(u16 val, u8 *p) in __put_unaligned_le16() 28 static inline void __put_unaligned_le32(u32 val, u8 *p) in __put_unaligned_le32() 34 static inline void __put_unaligned_le64(u64 val, u8 *p) in __put_unaligned_le64() 40 static inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16() 45 static inline u32 get_unaligned_le32(const void *p) in get_unaligned_le32() 50 static inline u64 get_unaligned_le64(const void *p) in get_unaligned_le64() 55 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() [all …]
|
A D | access_ok.h | 6 static inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16() 11 static inline u32 get_unaligned_le32(const void *p) in get_unaligned_le32() 16 static inline u64 get_unaligned_le64(const void *p) in get_unaligned_le64() 21 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() 26 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() 31 static inline u64 get_unaligned_be64(const void *p) in get_unaligned_be64() 36 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() 41 static inline void put_unaligned_le32(u32 val, void *p) in put_unaligned_le32() 46 static inline void put_unaligned_le64(u64 val, void *p) in put_unaligned_le64() 51 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() [all …]
|
A D | be_byteshift.h | 6 static inline u16 __get_unaligned_be16(const u8 *p) in __get_unaligned_be16() 11 static inline u32 __get_unaligned_be32(const u8 *p) in __get_unaligned_be32() 16 static inline u64 __get_unaligned_be64(const u8 *p) in __get_unaligned_be64() 22 static inline void __put_unaligned_be16(u16 val, u8 *p) in __put_unaligned_be16() 28 static inline void __put_unaligned_be32(u32 val, u8 *p) in __put_unaligned_be32() 34 static inline void __put_unaligned_be64(u64 val, u8 *p) in __put_unaligned_be64() 40 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() 45 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() 50 static inline u64 get_unaligned_be64(const void *p) in get_unaligned_be64() 55 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() [all …]
|
/u-boot/drivers/usb/cdns3/ |
A D | gadget.h | 419 #define USB_ITPN(p) ((p) & USB_ITPN_MASK) argument 541 #define EP_TRADDR_TRADDR(p) ((p)) argument 612 #define EP_STS_STALL(p) ((p) & BIT(1)) argument 632 #define EP_STS_CCS(p) ((p) & BIT(11)) argument 642 #define EP_STS_HOSTPP(p) ((p) & BIT(16)) argument 818 #define DEV_U3PHY_WIDTH_8(p) \ argument 820 #define DEV_U3PHY_WIDTH_16(p) \ argument 822 #define DEV_U3PHY_WIDTH_32(p) \ argument 824 #define DEV_U3PHY_WIDTH_64(p) \ argument 1009 #define TRB_TYPE(p) ((p) << 10) argument [all …]
|
/u-boot/include/usb/ |
A D | xhci.h | 94 #define HC_LENGTH(p) XHCI_HC_LENGTH(p) argument 110 #define HCS_IST(p) (((p) >> 0) & 0xf) argument 134 #define HCC_PPC(p) ((p) & (1 << 3)) argument 140 #define HCC_LTC(p) ((p) & (1 << 6)) argument 142 #define HCC_NSS(p) ((p) & (1 << 7)) argument 253 #define MAX_DEVS(p) ((p) & 0xff) argument 399 #define ER_IRQ_PENDING(p) ((p) & 0x1) argument 528 #define LAST_CTX(p) ((p) << 27) argument 637 #define EP_TYPE(p) ((p) << 3) argument 876 #define TRB_TX_TYPE(p) ((p) << 16) argument [all …]
|
/u-boot/drivers/power/ |
A D | power_core.c | 22 int check_reg(struct pmic *p, u32 reg) in check_reg() 33 int pmic_set_output(struct pmic *p, u32 reg, int out, int on) in pmic_set_output() 53 struct pmic *p; in pmic_alloc() local 70 struct pmic *p; in pmic_get() local 83 static int pmic_dump(struct pmic *p) in pmic_dump() 116 struct pmic *p; in pmic_list_names() local 130 struct pmic *p; in do_pmic() local
|
A D | power_spi.c | 19 static u32 pmic_reg(struct pmic *p, u32 reg, u32 *val, u32 write) in pmic_reg() 64 int pmic_reg_write(struct pmic *p, u32 reg, u32 val) in pmic_reg_write() 69 int pmic_reg_read(struct pmic *p, u32 reg, u32 *val) in pmic_reg_read()
|
A D | power_i2c.c | 20 int pmic_reg_write(struct pmic *p, u32 reg, u32 val) in pmic_reg_write() 77 int pmic_reg_read(struct pmic *p, u32 reg, u32 *val) in pmic_reg_read() 131 int pmic_probe(struct pmic *p) in pmic_probe()
|
/u-boot/arch/nios2/include/asm/bitops/ |
A D | non-atomic.h | 18 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit() local 28 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __clear_bit() local 47 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit() local 64 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit() local 83 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit() local 95 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit() local
|
A D | atomic.h | 68 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in set_bit() local 89 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in clear_bit() local 110 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in change_bit() local 130 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_set_bit() local 154 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_clear_bit() local 177 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_change_bit() local
|
/u-boot/drivers/power/fuel_gauge/ |
A D | fg_max17042.c | 19 static int fg_write_regs(struct pmic *p, u8 addr, u16 *data, int num) in fg_write_regs() 33 static int fg_read_regs(struct pmic *p, u8 addr, u16 *data, int num) in fg_read_regs() 50 static int fg_write_and_verify(struct pmic *p, u8 addr, u16 data) in fg_write_and_verify() 67 static void por_fuelgauge_init(struct pmic *p) in por_fuelgauge_init() 195 static int power_update_battery(struct pmic *p, struct pmic *bat) in power_update_battery() 220 static int power_check_battery(struct pmic *p, struct pmic *bat) in power_check_battery() 268 struct pmic *p = pmic_alloc(); in power_fg_init() local
|
/u-boot/include/linux/byteorder/ |
A D | little_endian.h | 45 static inline __le64 __cpu_to_le64p(const __u64 *p) in __cpu_to_le64p() 49 static inline __u64 __le64_to_cpup(const __le64 *p) in __le64_to_cpup() 53 static inline __le32 __cpu_to_le32p(const __u32 *p) in __cpu_to_le32p() 57 static inline __u32 __le32_to_cpup(const __le32 *p) in __le32_to_cpup() 61 static inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p() 65 static inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup() 69 static inline __be64 __cpu_to_be64p(const __u64 *p) in __cpu_to_be64p() 73 static inline __u64 __be64_to_cpup(const __be64 *p) in __be64_to_cpup() 77 static inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p() 81 static inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup() [all …]
|
A D | big_endian.h | 45 static inline __le64 __cpu_to_le64p(const __u64 *p) in __cpu_to_le64p() 49 static inline __u64 __le64_to_cpup(const __le64 *p) in __le64_to_cpup() 53 static inline __le32 __cpu_to_le32p(const __u32 *p) in __cpu_to_le32p() 57 static inline __u32 __le32_to_cpup(const __le32 *p) in __le32_to_cpup() 61 static inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p() 65 static inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup() 69 static inline __be64 __cpu_to_be64p(const __u64 *p) in __cpu_to_be64p() 73 static inline __u64 __be64_to_cpup(const __be64 *p) in __be64_to_cpup() 77 static inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p() 81 static inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup() [all …]
|
/u-boot/lib/lzma/ |
A D | LzmaDec.c | 25 #define GET_BIT2(p, i, A0, A1) IF_BIT_0(p) \ argument 28 #define GET_BIT(p, i) GET_BIT2(p, i, ; , ;) argument 55 #define GET_BIT2_CHECK(p, i, A0, A1) IF_BIT_0_CHECK(p) \ argument 58 #define GET_BIT_CHECK(p, i) GET_BIT2_CHECK(p, i, ; , ;) argument 704 static void LzmaDec_InitRc(CLzmaDec *p, const Byte *data) in LzmaDec_InitRc() 727 void LzmaDec_Init(CLzmaDec *p) in LzmaDec_Init() 733 static void LzmaDec_InitStateReal(CLzmaDec *p) in LzmaDec_InitStateReal() 906 void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc) in LzmaDec_FreeProbs() 912 static void LzmaDec_FreeDict(CLzmaDec *p, ISzAlloc *alloc) in LzmaDec_FreeDict() 918 void LzmaDec_Free(CLzmaDec *p, ISzAlloc *alloc) in LzmaDec_Free() [all …]
|
/u-boot/common/ |
A D | dlmalloc.c | 406 #define prev_chunk(p)\ argument 423 #define inuse(p)\ argument 436 #define set_inuse(p)\ argument 439 #define clear_inuse(p)\ argument 444 #define inuse_bit_at_offset(p, s)\ argument 447 #define set_inuse_bit_at_offset(p, s)\ argument 570 mbinptr *p = &av_[2]; in malloc_bin_reloc() local 978 mchunkptr p; local 2103 mchunkptr p; local 2274 mchunkptr p; local [all …]
|
A D | ddr_spd.c | 51 const u8 *p = (const u8 *)spd; in ddr1_spd_check() local 59 const u8 *p = (const u8 *)spd; in ddr2_spd_check() local 88 char *p = (char *)spd; in ddr3_spd_check() local 119 char *p = (char *)spd; in ddr4_spd_check() local
|
/u-boot/drivers/power/mfd/ |
A D | pmic_max77693.c | 14 static int max77693_charger_state(struct pmic *p, int state, int current) in max77693_charger_state() 57 static int max77693_charger_bat_present(struct pmic *p) in max77693_charger_bat_present() 77 struct pmic *p = pmic_alloc(); in pmic_init_max77693() local
|
/u-boot/arch/arm/mach-imx/ |
A D | cmd_bmode.c | 19 const struct boot_mode *p = modes[i]; in search_modes() local 37 const struct boot_mode *p = modes[i]; in create_usage() local 70 const struct boot_mode *p; in do_boot_mode() local 97 void add_board_boot_modes(const struct boot_mode *p) in add_board_boot_modes()
|
/u-boot/scripts/kconfig/ |
A D | util.c | 85 void *p = malloc(size); in xmalloc() local 94 void *p = calloc(nmemb, size); in xcalloc() local 101 void *xrealloc(void *p, size_t size) in xrealloc() 112 char *p; in xstrdup() local 123 char *p; in xstrndup() local
|
/u-boot/drivers/mtd/ubi/ |
A D | crc32.c | 70 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() 82 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() 98 u8 *p = (u8 *)b; in crc32_le() local 121 u8 *p = (u8 *)b; in crc32_le() local 166 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be() 180 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be() 196 u8 *p = (u8 *)b; in crc32_be() local 219 u8 *p = (u8 *)b; in crc32_be() local
|
/u-boot/arch/arm/mach-imx/mx7/ |
A D | clock_slice.c | 378 struct clk_root_map *p = root_array; in select() local 393 struct clk_root_map *p = &root_array[entry]; in src_supported() local 438 struct clk_root_map *p; in clock_get_src() local 460 struct clk_root_map *p; in clock_set_prediv() local 493 struct clk_root_map *p; in clock_get_prediv() local 577 struct clk_root_map *p; in clock_set_autopostdiv() local 615 struct clk_root_map *p; in clock_get_autopostdiv() local 676 struct clk_root_map *p; in clock_root_cfg() local
|
/u-boot/arch/arm/mach-imx/imx8m/ |
A D | clock_slice.c | 1613 struct clk_root_map *p = root_array; in select() local 1667 struct clk_root_map *p; in clock_get_target_val() local 1690 struct clk_root_map *p; in clock_set_target_val() local 1768 struct clk_root_map *p; in clock_get_prediv() local 1806 struct clk_root_map *p; in clock_get_postdiv() local 1848 struct clk_root_map *p; in clock_get_src() local
|
/u-boot/arch/riscv/include/asm/ |
A D | barrier.h | 18 #define RISCV_FENCE(p, s) \ argument 31 #define __smp_store_release(p, v) \ argument 38 #define __smp_load_acquire(p) \ argument
|
/u-boot/drivers/usb/host/ |
A D | ehci-msm.c | 31 struct msm_ehci_priv *p = container_of(dev, struct msm_ehci_priv, ctrl); in msm_init_after_reset() local 48 struct msm_ehci_priv *p = dev_get_priv(dev); in ehci_usb_probe() local 73 struct msm_ehci_priv *p = dev_get_priv(dev); in ehci_usb_remove() local 128 struct msm_ehci_priv *p = ctrl->priv; in ci_init_after_reset() local
|
/u-boot/drivers/power/pmic/ |
A D | pmic_hi6553.c | 26 int pmic_reg_write(struct pmic *p, u32 reg, u32 val) in pmic_reg_write() 36 int pmic_reg_read(struct pmic *p, u32 reg, u32 *val) in pmic_reg_read() 116 struct pmic *p = pmic_alloc(); in power_hi6553_init() local
|