Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-mtk-snfi.c537 int spare_idx = -1; in mtk_snand_setup_pagefmt() local
603 spare_idx = i; in mtk_snand_setup_pagefmt()
608 if (spare_idx < 0) { in mtk_snand_setup_pagefmt()
616 (spare_idx << spare_size_shift) | in mtk_snand_setup_pagefmt()
/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1466 qp_table->idx_table.spare_idx = kcalloc(hr_dev->caps.num_qps, in hns_roce_init_qp_table()
1468 if (!qp_table->idx_table.spare_idx) in hns_roce_init_qp_table()
1498 kfree(hr_dev->qp_table.idx_table.spare_idx); in hns_roce_cleanup_qp_table()
Dhns_roce_device.h471 u32 *spare_idx; member
Dhns_roce_hw_v2.c4660 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx() local
4669 spare_idx[*tail] = ibqp->qp_num; in get_dip_ctx_idx()
4689 hr_dip->dip_idx = *dip_idx = spare_idx[*head]; in get_dip_ctx_idx()