Home
last modified time | relevance | path

Searched refs:xfer_alloc_table (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/firmware/arm_scmi/
H A Ddriver.c74 unsigned long *xfer_alloc_table; member
380 xfer_id = find_next_zero_bit(minfo->xfer_alloc_table, in scmi_xfer_token_set()
388 xfer_id = find_next_zero_bit(minfo->xfer_alloc_table, in scmi_xfer_token_set()
417 clear_bit(xfer->hdr.seq, minfo->xfer_alloc_table); in scmi_xfer_token_clear()
437 set_bit(xfer->hdr.seq, minfo->xfer_alloc_table); in scmi_xfer_inflight_register_unlocked()
463 if (!test_bit(xfer->hdr.seq, minfo->xfer_alloc_table)) in scmi_xfer_inflight_register()
684 if (test_bit(xfer_id, minfo->xfer_alloc_table)) in scmi_xfer_lookup_unlocked()
2229 info->xfer_alloc_table = devm_bitmap_zalloc(dev, MSG_TOKEN_MAX, in __scmi_xfer_info_init()
2231 if (!info->xfer_alloc_table) in __scmi_xfer_info_init()
/openbmc/linux/drivers/firmware/
H A Dti_sci.c63 unsigned long *xfer_alloc_table; member
245 if (!test_bit(xfer_id, minfo->xfer_alloc_table)) { in ti_sci_rx_callback()
321 bit_pos = find_first_zero_bit(minfo->xfer_alloc_table, in ti_sci_get_one_xfer()
323 set_bit(bit_pos, minfo->xfer_alloc_table); in ti_sci_get_one_xfer()
376 clear_bit(xfer_id, minfo->xfer_alloc_table); in ti_sci_put_one_xfer()
3358 minfo->xfer_alloc_table = devm_bitmap_zalloc(dev, in ti_sci_probe()
3361 if (!minfo->xfer_alloc_table) in ti_sci_probe()