Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 18 of 18) sorted by relevance

/components/utilities/libadt/hashmap/
A Dhashmap.h24 rt_inline rt_uint32_t rt_hashmap_32(rt_uint32_t val, rt_uint32_t bits) in rt_hashmap_32() argument
27 return (val * RT_HASHMAP_GOLDEN_RATIO_32) >> (32 - bits); in rt_hashmap_32()
30 rt_inline rt_uint32_t rt_hashmap_64(rt_uint64_t val, rt_uint32_t bits) in rt_hashmap_64() argument
34 return val * RT_HASHMAP_GOLDEN_RATIO_64 >> (64 - bits); in rt_hashmap_64()
37 return rt_hashmap_32((rt_uint32_t)val ^ ((val >> 32) * RT_HASHMAP_GOLDEN_RATIO_32), bits); in rt_hashmap_64()
/components/utilities/libadt/bitmap/
A Dbitmap.h19 #define RT_BITMAP_LEN(bits) (((bits) + (RT_BITMAP_BITS_MIN) - 1) / (RT_BITMAP_BITS_MIN)) argument
21 #define RT_BITMAP_DECLARE(name, bits) rt_bitmap_t name[RT_BITMAP_LEN(bits)] argument
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dmppe.c169 state->bits = MPPE_BIT_ENCRYPTED; in mppe_init()
184 state->bits |= MPPE_BIT_FLUSHED; in mppe_comp_reset()
231 (state->bits & MPPE_BIT_FLUSHED)) { /* CCP Reset-Request */ in mppe_compress()
237 state->bits |= MPPE_BIT_FLUSHED; in mppe_compress()
239 pl[0] |= state->bits; in mppe_compress()
240 state->bits &= ~MPPE_BIT_FLUSHED; /* reset for next xmit */ in mppe_compress()
A DPPPD_FOLLOWUP317 2014-02-18 - pppd: Add option "stop-bits" to set number of serial port stop bits.
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dmppe.c169 state->bits = MPPE_BIT_ENCRYPTED; in mppe_init()
184 state->bits |= MPPE_BIT_FLUSHED; in mppe_comp_reset()
231 (state->bits & MPPE_BIT_FLUSHED)) { /* CCP Reset-Request */ in mppe_compress()
237 state->bits |= MPPE_BIT_FLUSHED; in mppe_compress()
239 pl[0] |= state->bits; in mppe_compress()
240 state->bits &= ~MPPE_BIT_FLUSHED; /* reset for next xmit */ in mppe_compress()
A DPPPD_FOLLOWUP317 2014-02-18 - pppd: Add option "stop-bits" to set number of serial port stop bits.
/components/drivers/pci/endpoint/
A Dmem.c45 mem->bits = mems->size / mems->page_size; in rt_pci_ep_mem_array_init()
46 mem->map = rt_calloc(RT_BITMAP_LEN(mem->bits), sizeof(*mem->map)); in rt_pci_ep_mem_array_init()
95 max_bits = mem->bits - size; in bitmap_region_alloc()
/components/drivers/dma/
A Ddma_pool.c272 max_bits = pool->bits - size; in dma_pool_alloc()
531 pool->bits = (pool->region.end - pool->start) / ARCH_PAGE_SIZE; in dma_pool_install()
533 if (!pool->bits) in dma_pool_install()
539 pool->map = rt_calloc(RT_BITMAP_LEN(pool->bits), sizeof(*pool->map)); in dma_pool_install()
/components/lwp/terminal/freebsd/
A Dtty.c1120 int bits = *(int *)data; in tty_generic_ioctl() local
1121 ttydevsw_modem(tp, (bits & (TIOCM_DTR | TIOCM_RTS)) >> 1, in tty_generic_ioctl()
1122 ((~bits) & (TIOCM_DTR | TIOCM_RTS)) >> 1); in tty_generic_ioctl()
1126 int bits = *(int *)data; in tty_generic_ioctl() local
1127 ttydevsw_modem(tp, (bits & (TIOCM_DTR | TIOCM_RTS)) >> 1, 0); in tty_generic_ioctl()
1131 int bits = *(int *)data; in tty_generic_ioctl() local
1132 ttydevsw_modem(tp, 0, (bits & (TIOCM_DTR | TIOCM_RTS)) >> 1); in tty_generic_ioctl()
/components/drivers/pic/
A DKconfig50 Recommended to be based on the bit length (full bits) of maximum usage.
/components/net/lwip/lwip-2.1.2/src/include/netif/ppp/
A Dmppe.h162 u8_t bits; /* MPPE control bits */ member
/components/net/lwip/lwip-2.0.3/src/include/netif/ppp/
A Dmppe.h158 u8_t bits; /* MPPE control bits */ member
/components/drivers/virtio/
A Dvirtio_input.c41 rt_uint8_t select, rt_uint8_t subsel, rt_ubase_t *bits, rt_uint32_t bitcount) in virtio_input_cfg_bits() argument
92 _set_bit(bit, bits); in virtio_input_cfg_bits()
/components/drivers/include/drivers/
A Dpci_endpoint.h106 rt_size_t bits; member
A Ddma.h140 rt_size_t bits; member
/components/net/lwip/lwip-1.4.1/
A DCHANGELOG2417 is only 8 bits wide. This affects the api, as there, the protocol was
/components/net/lwip/lwip-2.0.3/
A DCHANGELOG3373 is only 8 bits wide. This affects the api, as there, the protocol was
/components/net/lwip/lwip-2.1.2/
A DCHANGELOG3626 is only 8 bits wide. This affects the api, as there, the protocol was

Completed in 33 milliseconds