Lines Matching refs:pdev_info
231 struct myrb_pdev_state *pdev_info) in myrb_exec_type3D() argument
238 pdev_info_addr = dma_map_single(&cb->pdev->dev, pdev_info, in myrb_exec_type3D()
257 myrb_translate_devstate(pdev_info); in myrb_exec_type3D()
1699 struct myrb_pdev_state *pdev_info; in myrb_pdev_slave_alloc() local
1705 pdev_info = kzalloc(sizeof(*pdev_info), GFP_KERNEL|GFP_DMA); in myrb_pdev_slave_alloc()
1706 if (!pdev_info) in myrb_pdev_slave_alloc()
1710 sdev, pdev_info); in myrb_pdev_slave_alloc()
1715 kfree(pdev_info); in myrb_pdev_slave_alloc()
1718 if (!pdev_info->present) { in myrb_pdev_slave_alloc()
1721 kfree(pdev_info); in myrb_pdev_slave_alloc()
1726 sdev->channel, sdev->id, pdev_info->state); in myrb_pdev_slave_alloc()
1727 sdev->hostdata = pdev_info; in myrb_pdev_slave_alloc()
1810 struct myrb_pdev_state *pdev_info = sdev->hostdata; in raid_state_show() local
1815 sdev, pdev_info); in raid_state_show()
1821 if (!pdev_info->present) in raid_state_show()
1824 name = myrb_devstate_name(pdev_info->state); in raid_state_show()
1829 pdev_info->state); in raid_state_show()
1839 struct myrb_pdev_state *pdev_info; in raid_state_store() local
1853 pdev_info = sdev->hostdata; in raid_state_store()
1854 if (!pdev_info) { in raid_state_store()
1859 if (!pdev_info->present) { in raid_state_store()
1865 if (pdev_info->state == new_state) in raid_state_store()