Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cxl/core/
H A Dpci.c539 void *cdat_table, size_t *cdat_length) in cxl_cdat_read_table() argument
541 size_t length = *cdat_length + sizeof(__le32); in cxl_cdat_read_table()
587 *cdat_length -= length - sizeof(__le32); in cxl_cdat_read_table()
604 size_t cdat_length; in read_cdat_data() local
620 if (cxl_cdat_get_length(dev, cdat_doe, &cdat_length)) { in read_cdat_data()
625 cdat_table = devm_kzalloc(dev, cdat_length + sizeof(__le32), in read_cdat_data()
630 rc = cxl_cdat_read_table(dev, cdat_doe, cdat_table, &cdat_length); in read_cdat_data()
639 port->cdat.length = cdat_length; in read_cdat_data()