Lines Matching refs:boot_dev
1600 struct leapraid_boot_dev *boot_dev, in leapraid_check_boot_dev_internal() argument
1608 if (!boot_dev) in leapraid_check_boot_dev_internal()
1611 pg_dev = boot_dev->pg_dev; in leapraid_check_boot_dev_internal()
1663 static void leapraid_try_set_boot_dev(struct leapraid_boot_dev *boot_dev, in leapraid_try_set_boot_dev() argument
1670 if (boot_dev->dev) in leapraid_try_set_boot_dev()
1674 slot, boot_dev, in leapraid_try_set_boot_dev()
1675 boot_dev->form); in leapraid_try_set_boot_dev()
1678 boot_dev->dev = dev; in leapraid_try_set_boot_dev()
1679 boot_dev->chnl = chnl; in leapraid_try_set_boot_dev()
1684 struct leapraid_boot_dev *boot_dev, in leapraid_clear_boot_dev() argument
1692 if (boot_dev->dev != dev || boot_dev->chnl != chnl) in leapraid_clear_boot_dev()
1695 cached_dev = boot_dev->dev; in leapraid_clear_boot_dev()
1696 cached_chnl = boot_dev->chnl; in leapraid_clear_boot_dev()
1697 boot_dev->dev = NULL; in leapraid_clear_boot_dev()
1698 boot_dev->chnl = 0; in leapraid_clear_boot_dev()