Lines Matching defs:dev
36 * @dev: driver core device object
37 * @cdev: char dev core object for ioctl operations
47 struct device dev;
58 static inline struct cxl_memdev *to_cxl_memdev(struct device *dev)
60 return container_of(dev, struct cxl_memdev, dev);
65 return to_cxl_port(cxled->cxld.dev.parent);
70 return to_cxl_port(cxlrd->cxlsd.cxld.dev.parent);
76 struct cxl_port *port = to_cxl_port(cxled->cxld.dev.parent);
81 bool is_cxl_memdev(const struct device *dev);
103 return xa_load(&port->endpoints, (unsigned long)&cxlmd->dev);
401 * @dev: The device associated with this CXL state
402 * @cxlmd: The device representing the CXL.mem capabilities of @dev
415 struct device *dev;
457 * @mbox_send: @dev specific transport for transmitting mailbox commands
863 struct cxl_memdev_state *cxl_memdev_state_create(struct device *dev);