Home
last modified time | relevance | path

Searched refs:pdevice (Results 1 – 4 of 4) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/can/
Dcan_manager.c237 static struct CanCntlr *CanCntlrFromPlatformDevice(const struct PlatformDevice *pdevice) in CanCntlrFromPlatformDevice() argument
239 return CONTAINER_OF(pdevice, struct CanCntlr, device); in CanCntlrFromPlatformDevice()
245 struct PlatformDevice *pdevice = NULL; in CanCntlrGetByName() local
253 pdevice = PlatformManagerGetDeviceByName(manager, name); in CanCntlrGetByName()
254 if (pdevice == NULL) { in CanCntlrGetByName()
259 return CanCntlrFromPlatformDevice(pdevice); in CanCntlrGetByName()
265 struct PlatformDevice *pdevice = NULL; in CanCntlrGetByNumber() local
273 pdevice = PlatformManagerGetDeviceByNumber(manager, number); in CanCntlrGetByNumber()
274 if (pdevice == NULL) { in CanCntlrGetByNumber()
279 return CanCntlrFromPlatformDevice(pdevice); in CanCntlrGetByNumber()
/drivers/hdf_core/framework/support/platform/include/can/
Dcan_core.h88 struct PlatformDevice *pdevice = PlatformDeviceFromHdfDev(device); in CanCntlrFromHdfDev() local
89 return (pdevice == NULL) ? NULL : CONTAINER_OF(pdevice, struct CanCntlr, device); in CanCntlrFromHdfDev()
/drivers/hdf_core/framework/support/platform/src/fwk/
Dplatform_manager.c260 bool (*match)(struct PlatformDevice *pdevice, void *data)) in PlatformManagerFindDevice() argument
263 struct PlatformDevice *pdevice = NULL; in PlatformManagerFindDevice() local
280 pdevice = tmp; in PlatformManagerFindDevice()
286 return pdevice; in PlatformManagerFindDevice()
/drivers/hdf_core/framework/support/platform/include/fwk/
Dplatform_manager.h101 bool (*match)(struct PlatformDevice *pdevice, void *data));