Searched refs:opal_dev (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | sed-opal.h | 16 struct opal_dev; 22 void free_opal_dev(struct opal_dev *dev); 23 bool opal_unlock_from_suspend(struct opal_dev *dev); 24 struct opal_dev *init_opal_dev(void *data, sec_send_recv *send_recv); 25 int sed_ioctl(struct opal_dev *dev, unsigned int cmd, void __user *ioctl_ptr); 51 static inline void free_opal_dev(struct opal_dev *dev) in free_opal_dev() 60 static inline int sed_ioctl(struct opal_dev *dev, unsigned int cmd, in sed_ioctl() 65 static inline bool opal_unlock_from_suspend(struct opal_dev *dev) in opal_unlock_from_suspend()
|
/kernel/linux/linux-5.10/block/ |
D | sed-opal.c | 33 int (*fn)(struct opal_dev *dev, void *data); 36 typedef int (cont_fn)(struct opal_dev *dev); 76 struct opal_dev { struct 214 static int end_opal_session_error(struct opal_dev *dev); 215 static int opal_discovery0_step(struct opal_dev *dev); 320 static int opal_send_cmd(struct opal_dev *dev) in opal_send_cmd() 327 static int opal_recv_cmd(struct opal_dev *dev) in opal_recv_cmd() 334 static int opal_recv_check(struct opal_dev *dev) in opal_recv_check() 357 static int opal_send_recv(struct opal_dev *dev, cont_fn *cont) in opal_send_recv() 373 static void check_geometry(struct opal_dev *dev, const void *data) in check_geometry() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | sd.h | 75 struct opal_dev *opal_dev; member
|
D | sd.c | 1579 return sed_ioctl(sdkp->opal_dev, cmd, p); in sd_ioctl_common() 3500 sdkp->opal_dev = init_opal_dev(sdkp, &sd_sec_submit); in sd_probe() 3501 if (sdkp->opal_dev) in sd_probe() 3547 free_opal_dev(sdkp->opal_dev); in sd_remove() 3724 opal_unlock_from_suspend(sdkp->opal_dev); in sd_resume()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | nvme.h | 271 struct opal_dev *opal_dev; member
|
D | pci.c | 2574 free_opal_dev(dev->ctrl.opal_dev); in nvme_pci_free_ctrl() 2669 if (!dev->ctrl.opal_dev) in nvme_reset_work() 2670 dev->ctrl.opal_dev = in nvme_reset_work() 2673 opal_unlock_from_suspend(dev->ctrl.opal_dev); in nvme_reset_work() 2675 free_opal_dev(dev->ctrl.opal_dev); in nvme_reset_work() 2676 dev->ctrl.opal_dev = NULL; in nvme_reset_work()
|
D | core.c | 1722 ret = sed_ioctl(ctrl->opal_dev, cmd, argp); in nvme_handle_ctrl_ioctl()
|