Searched refs:ringbuf_alloc (Results 1 – 2 of 2) sorted by relevance
48 #define ringbuf_alloc(r, sz) \ macro
274 ringbuf_alloc(&o->ringbuf, MICROPY_PY_BLUETOOTH_RINGBUF_SIZE); in bluetooth_ble_make_new()347 mp_int_t ringbuf_alloc = mp_obj_get_int(e->value); in bluetooth_ble_config() local348 if (ringbuf_alloc < 16 || ringbuf_alloc > 0xffff) { in bluetooth_ble_config()351 … size_t irq_data_alloc = MICROPY_PY_BLUETOOTH_MAX_EVENT_DATA_BYTES_LEN(ringbuf_alloc); in bluetooth_ble_config()354 uint8_t *ringbuf = m_new(uint8_t, ringbuf_alloc); in bluetooth_ble_config()366 self->ringbuf.size = ringbuf_alloc; in bluetooth_ble_config()
Completed in 12 milliseconds