| /bsp/rockchip/common/rk_hal/lib/hal/src/pinctrl/ |
| A D | hal_pinctrl_v2.c | 55 #define _TO_OFFSET(p, w) ((p) * (w)) argument 133 #define SET_DS_0(_B, _P, p, v, w) _PINCTRL_WRITE(DS_0(_B, _P), RK_GEN_VAL(p, v, w)) argument 134 #define SET_DS_1(_B, _P, p, v, w) _PINCTRL_WRITE(DS_1(_B, _P), RK_GEN_VAL(p, v, w)) argument 153 #define SET_DS_0(_B, _P, p, v, w) _PINCTRL_WRITE(DS_0(_B, _P), RK_GEN_VAL(p, v, w)) argument 154 #define SET_DS_1(_B, _P, p, v, w) _PINCTRL_WRITE(DS_1(_B, _P), RK_GEN_VAL(p, v, w)) argument 188 #define SET_P_0(_B, _P, p, v, w) _PINCTRL_WRITE(P_0(_B, _P), RK_GEN_VAL(p, v, w)) argument 189 #define SET_P_1(_B, _P, p, v, w) _PINCTRL_WRITE(P_1(_B, _P), RK_GEN_VAL(p, v, w)) argument 208 #define SET_P_0(_B, _P, p, v, w) _PINCTRL_WRITE(P_0(_B, _P), RK_GEN_VAL(p, v, w)) argument 209 #define SET_P_1(_B, _P, p, v, w) _PINCTRL_WRITE(P_1(_B, _P), RK_GEN_VAL(p, v, w)) argument 210 #define SET_P_2(_B, _P, p, v, w) _PINCTRL_WRITE(P_2(_B, _P), RK_GEN_VAL(p, v, w)) argument [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/ |
| A D | ehci_def.h | 35 #define HC_LENGTH(ehci, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument 40 #define HCS_DEBUG_PORT(p) (((p)>>20)&0xf) /* bits 23:20, debug port? */ argument 42 #define HCS_N_CC(p) (((p)>>12)&0xf) /* bits 15:12, #companion HCs */ argument 44 #define HCS_PORTROUTED(p) ((p)&(1 << 7)) /* true: port routing */ argument 45 #define HCS_PPC(p) ((p)&(1 << 4)) /* true: port power control */ argument 46 #define HCS_N_PORTS(p) (((p)>>0)&0xf) /* bits 3:0, ports on HC */ argument 50 #define HCC_32FRAME_PERIODIC_LIST(p) ((p)&(1 << 19)) argument 51 #define HCC_PER_PORT_CHANGE_EVENT(p) ((p)&(1 << 18)) argument 52 #define HCC_LPM(p) ((p)&(1 << 17)) argument 53 #define HCC_HW_PREFETCH(p) ((p)&(1 << 16)) argument [all …]
|
| A D | usb_os_platform.c | 38 volatile uint32_t *p = addr; in usb_set_bit() local 49 volatile uint32_t *p = addr; in usb_clear_bit() local 60 volatile uint32_t *p = addr; in usb_test_bit() local
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/sys/ |
| A D | endian.h | 158 uint8_t const *p = (uint8_t const *)pp; in be16dec() local 166 uint8_t const *p = (uint8_t const *)pp; in be32dec() local 174 uint8_t const *p = (uint8_t const *)pp; in be64dec() local 182 uint8_t const *p = (uint8_t const *)pp; in le16dec() local 190 uint8_t const *p = (uint8_t const *)pp; in le32dec() local 206 uint8_t *p = (uint8_t *)pp; in be16enc() local 215 uint8_t *p = (uint8_t *)pp; in be32enc() local 226 uint8_t *p = (uint8_t *)pp; in be64enc() local 235 uint8_t *p = (uint8_t *)pp; in le16enc() local 244 uint8_t *p = (uint8_t *)pp; in le32enc() local [all …]
|
| /bsp/phytium/libraries/drivers/ |
| A D | drv_xmac.c | 74 int FXmacPqEnqueue(PqQueue *q, void *p) in FXmacPqEnqueue() 145 struct pbuf *p; in FXmacProcessSentBds() local 308 struct pbuf *p; in SetupRxBds() local 403 struct pbuf *p; in FXmacRecvHandler() local 499 struct pbuf *p; in FXmacInitDma() local 641 struct pbuf *p; in FreeOnlyTxPbufs() local 659 struct pbuf *p; in FreeOnlyRxPbufs() local 676 struct pbuf *p; in FreeTxRxPbufs() local 1186 struct pbuf *p; in FXmacOsRx() local 1222 struct pbuf *p; in FXmacOsTx() local [all …]
|
| A D | drv_xmac_msg.c | 80 int FXmacPqEnqueue(PqQueue *q, void *p) in FXmacPqEnqueue() 150 struct pbuf *p; in FXmacMsgProcessSentBds() local 201 FError FXmacMsgSgsend(FXmacMsgOs *instance_p, struct pbuf *p) in FXmacMsgSgsend() 313 struct pbuf *p; in SetupRxBds() local 412 struct pbuf *p; in FXmacMsgRecvHandler() local 516 struct pbuf *p; in FXmacMsgInitDma() local 1227 struct pbuf *p; in FXmacMsgOsRx() local 1240 static FError FXmacMsgOsOutput(FXmacMsgOs *instance_p, struct pbuf *p) in FXmacMsgOsOutput() 1263 struct pbuf *p; in FXmacMsgOsTx() local 1412 rt_err_t rt_xmac_msg_tx(rt_device_t dev, struct pbuf *p) in rt_xmac_msg_tx() [all …]
|
| /bsp/airm2m/air105/libraries/HAL_Driver/Src/ |
| A D | bsp_common.c | 38 uint32_t i, p; in LoopBuffer_Query() local 109 uint32_t i, p, cut_off = 0; in LoopBuffer_Write() local 750 const uint8_t *p = (const uint8_t *)ptr; in BytesGet8() local 764 uint8_t *p = (uint8_t *)ptr; in BytesPut8() local 778 const uint8_t *p = (const uint8_t *)ptr; in BytesGetBe16() local 792 uint8_t *p = (uint8_t *)ptr; in BytesPutBe16() local 821 uint8_t *p = (uint8_t *)ptr; in BytesPutBe32() local 852 uint8_t *p = (uint8_t *)ptr; in BytesPutLe16() local 881 uint8_t *p = (uint8_t *)ptr; in BytesPutLe32() local 912 uint8_t *p = (uint8_t *)ptr; in BytesPutLe64() local [all …]
|
| /bsp/allwinner/libraries/libos/include/misc/ |
| A D | support.h | 28 #define p2n(p) ((ptrdiff_t)((ptrdiff_t*)(p))) argument 172 static inline void set_bit(unsigned int bit, volatile unsigned long *p) in set_bit() 182 static inline void clear_bit(unsigned int bit, volatile unsigned long *p) in clear_bit() 192 static inline void change_bit(unsigned int bit, volatile unsigned long *p) in change_bit() 202 static inline int test_and_set_bit(unsigned int bit, volatile unsigned long *p) in test_and_set_bit() 215 static inline int test_and_clear_bit(unsigned int bit, volatile unsigned long *p) in test_and_clear_bit() 228 static inline int test_and_change_bit(unsigned int bit, volatile unsigned long *p) in test_and_change_bit()
|
| /bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/xemacpsif/ |
| A D | xemacpsif_dma.c | 204 struct pbuf *p; in process_sent_bds() local 272 XStatus emacps_sgsend(xemacpsif_s *xemacpsif, struct pbuf *p) in emacps_sgsend() 375 struct pbuf *p; in setup_rx_bds() local 446 struct pbuf *p; in emacps_recv_handler() local 550 struct pbuf *p; in init_dma() local 801 struct pbuf *p; in free_txrx_pbufs() local 824 struct pbuf *p; in free_onlytx_pbufs() local
|
| A D | xemacpsif.c | 104 struct pbuf *p) in _unbuffered_low_level_output() 139 static err_t low_level_output(struct netif *netif, struct pbuf *p) in low_level_output() 184 struct pbuf *p; in low_level_input() local 204 static err_t xemacpsif_output(struct netif *netif, struct pbuf *p, in xemacpsif_output() 227 struct pbuf *p; in xemacpsif_input() local
|
| /bsp/rockchip/common/drivers/ |
| A D | drv_gpio.c | 55 #define PIN_NUM(p) ((p & GPIO_PIN_MASK) >> GPIO_PIN_SHIFT) argument 56 #define PIN_BANK(p) ((p & GPIO_BANK_MASK) >> GPIO_BANK_SHIFT) argument 83 #define get_st_gpio(p) (GPIO_GROUP[PIN_BANK(p)]) argument 84 #define get_st_pin(p) (HAL_BIT(PIN_NUM(p))) argument
|
| /bsp/mini4020/drivers/ |
| A D | lcdc.c | 42 unsigned short p; in lcd_set_pixel() local 57 unsigned short p; in lcd_draw_hline() local 71 unsigned short p; in lcd_draw_vline() local
|
| /bsp/nuvoton/libraries/nuc980/rtt_port/ |
| A D | drv_emac.c | 58 struct pbuf_custom p; // lwip pbuf member 145 static void nu_emac_pkt_dump(const char *msg, const struct pbuf *p) in nu_emac_pkt_dump() 223 const uint8_t *p = (const uint8_t *)ip4_addr; in nu_igmp_mac_filter() local 407 static rt_err_t nu_emac_tx(rt_device_t dev, struct pbuf *p) in nu_emac_tx() 456 void nu_emac_pbuf_free(struct pbuf *p) in nu_emac_pbuf_free() 475 struct pbuf *p = RT_NULL; in nu_emac_rx() local
|
| /bsp/allwinner/libraries/sunxi-hal/osal/src/ |
| A D | hal_mem.c | 31 void hal_free(void *p) in hal_free() 41 void hal_free_align(void *p) in hal_free_align()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/osal/os/FreeRTOS/ |
| A D | os_debug.c | 58 const unsigned int *p = addr; in print_hex_dump_words() local 78 const unsigned char *p = addr; in print_hex_dump_bytes() local
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/osal/os/RT-Thread/ |
| A D | os_debug.c | 57 const unsigned int *p = addr; in print_hex_dump_words() local 76 const unsigned char *p = addr; in print_hex_dump_bytes() local
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/msgbox/platform/ |
| A D | msgbox-sun8iw20.h | 107 static inline void *MSGBOX_FIFO_STA_REG(int m, int n, int p) in MSGBOX_FIFO_STA_REG() 114 static inline void *MSGBOX_MSG_STA_REG(int m, int n, int p) in MSGBOX_MSG_STA_REG() 121 static inline void *MSGBOX_MSG_REG(int m, int n, int p) in MSGBOX_MSG_REG()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi-ng/ |
| A D | ccu_mp.c | 32 unsigned int *m, unsigned int *p) in ccu_mp_find_best() 133 unsigned int m, p; in ccu_mp_round_rate() local 188 unsigned int m, p; in ccu_mp_recalc_rate() local 231 unsigned int m, p; in ccu_mp_set_rate() local
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_common.c | 6 const uint8_t *p = src; in arch_memcpy() local 18 const uint32_t *p = src; in arch_memcpy4() local 52 uint8_t *p = (uint8_t *)s; in arch_memset() local
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/drv_webcam/webcam_core/ |
| A D | dev_webcam.c | 216 __webcam_mode_t *p=pbuffer; in DEV_WEBCAM_Ioctrl() local 225 __webcam_mode_t *p=pbuffer; in DEV_WEBCAM_Ioctrl() local 234 __webcam_mode_all_t *p = pbuffer; in DEV_WEBCAM_Ioctrl() local
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Misc/ |
| A D | assessibility.c | 64 unsigned short get_unaligned_le16( const void *p ) in get_unaligned_le16() 74 unsigned int get_unaligned_le32( const void *p ) in get_unaligned_le32()
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_emac.c | 91 static void nu_emac_pkt_dump(const char *msg, const struct pbuf *p) in nu_emac_pkt_dump() 170 const uint8_t *p = (const uint8_t *)ip4_addr; in nu_igmp_mac_filter() local 316 static rt_err_t nu_emac_tx(rt_device_t dev, struct pbuf *p) in nu_emac_tx() 365 struct pbuf *p = RT_NULL; in nu_emac_rx() local
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/include/ |
| A D | hpl_usb_host.h | 157 #define usb_h_pipe_max_pkt_size(p) (p->max_pkt_size) argument 160 #define usb_h_pipe_dev_addr(p) (p->dev) argument 163 #define usb_h_pipe_ep_addr(p) (p->ep) argument 166 #define usb_h_pipe_state(p) (p->x.general.state) argument 169 #define usb_h_pipe_status(p) (p->x.general.status) argument
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/include/ |
| A D | hpl_usb_host.h | 157 #define usb_h_pipe_max_pkt_size(p) (p->max_pkt_size) argument 160 #define usb_h_pipe_dev_addr(p) (p->dev) argument 163 #define usb_h_pipe_ep_addr(p) (p->ep) argument 166 #define usb_h_pipe_state(p) (p->x.general.state) argument 169 #define usb_h_pipe_status(p) (p->x.general.status) argument
|
| /bsp/apm32/libraries/Drivers/ |
| A D | drv_eth.c | 261 const uint8_t *p = (const uint8_t *)ip4_addr; in igmp_mac_filter() local 287 const uint8_t *p = (const uint8_t *)&ip6_addr->addr[3]; in mld_mac_filter() local 446 rt_err_t rt_apm32_eth_tx( rt_device_t dev, struct pbuf* p) in rt_apm32_eth_tx() 529 struct pbuf* p; in rt_apm32_eth_rx() local
|