Home
last modified time | relevance | path

Searched refs:chnls (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/lightnvm/
H A Dcore.c32 struct nvm_ch_map *chnls; member
108 struct nvm_ch_map *ch_map = &dev_map->chnls[i]; in nvm_remove_tgt_dev()
125 kfree(dev_map->chnls); in nvm_remove_tgt_dev()
157 dev_map->chnls = kcalloc(num_ch, sizeof(struct nvm_ch_map), GFP_KERNEL); in nvm_create_tgt_dev()
158 if (!dev_map->chnls) in nvm_create_tgt_dev()
168 struct nvm_ch_map *ch_rmap = &dev_rmap->chnls[i + bch]; in nvm_create_tgt_dev()
170 struct nvm_ch_map *ch_map = &dev_map->chnls[i]; in nvm_create_tgt_dev()
229 kfree(dev_map->chnls[i].lun_offs); in nvm_create_tgt_dev()
232 kfree(dev_map->chnls); in nvm_create_tgt_dev()
514 rmap->chnls in nvm_register_map()
[all...]
H A Dpblk.h995 int secs, chnls, luns; in addr_to_gen_ppa() local
1004 paddr = div_u64_rem(paddr, uaddrf->ch_stripe, &chnls); in addr_to_gen_ppa()
1005 ppa.m.grp = chnls; in addr_to_gen_ppa()
/kernel/linux/linux-5.10/drivers/mailbox/
H A Domap-mailbox.c700 struct mbox_chan *chnls; in omap_mbox_probe() local
791 chnls = devm_kcalloc(&pdev->dev, info_count + 1, sizeof(*chnls), in omap_mbox_probe()
793 if (!chnls) in omap_mbox_probe()
828 mbox->chan = &chnls[i]; in omap_mbox_probe()
829 chnls[i].con_priv = mbox; in omap_mbox_probe()
847 mdev->controller.chans = chnls; in omap_mbox_probe()
/kernel/linux/linux-6.6/drivers/mailbox/
H A Domap-mailbox.c689 struct mbox_chan *chnls; in omap_mbox_probe() local
778 chnls = devm_kcalloc(&pdev->dev, info_count + 1, sizeof(*chnls), in omap_mbox_probe()
780 if (!chnls) in omap_mbox_probe()
815 mbox->chan = &chnls[i]; in omap_mbox_probe()
816 chnls[i].con_priv = mbox; in omap_mbox_probe()
834 mdev->controller.chans = chnls; in omap_mbox_probe()

Completed in 7 milliseconds