Lines Matching refs:idr
134 struct idr tx_idr;
135 struct idr rx_idr;
731 struct idr *idr; in scmi_mbox_chan_setup() local
736 idr = tx ? &info->tx_idr : &info->rx_idr; in scmi_mbox_chan_setup()
739 cinfo = idr_find(idr, SCMI_PROTOCOL_BASE); in scmi_mbox_chan_setup()
783 ret = idr_alloc(idr, cinfo, prot_id, prot_id + 1, GFP_KERNEL); in scmi_mbox_chan_setup()
904 struct idr *idr = data; in scmi_mbox_free_channel() local
911 idr_remove(idr, id); in scmi_mbox_free_channel()
920 struct idr *idr = &info->tx_idr; in scmi_remove() local
933 ret = idr_for_each(idr, scmi_mbox_free_channel, idr); in scmi_remove()
936 idr = &info->rx_idr; in scmi_remove()
937 ret = idr_for_each(idr, scmi_mbox_free_channel, idr); in scmi_remove()