Searched defs:to_dev (Results 1 - 5 of 5) sorted by relevance

/drivers/dma/sh/
H A Drcar-audmapp.c71 #define to_dev(chan) container_of(chan->shdma_chan.dma_chan.device, \ macro
76 struct audmapp_device *audev = to_dev(auchan);
107 struct audmapp_device *audev = to_dev(auchan);
123 struct audmapp_device *audev = to_dev(auchan);
H A Drcar-hpbdma.c125 #define to_dev(sc) container_of(sc->shdma_chan.dma_chan.device, \ macro
248 struct hpb_dmae_device *hpbdev = to_dev(hpb_chan);
299 struct hpb_dmae_device *hpbdev = to_dev(hpb_chan);
317 struct hpb_dmae_device *hpbdev = to_dev(chan);
349 struct hpb_dmae_device *hpbdev = to_dev(chan);
403 struct hpb_dmae_device *hpbdev = to_dev(hpb_chan);
/drivers/net/bonding/
H A Dbond_sysfs.c45 #define to_dev(obj) container_of(obj, struct device, kobj) macro
/drivers/dma/ioat/
H A Ddma.h41 #define to_dev(ioat_chan) (&(ioat_chan)->device->pdev->dev) macro
205 struct device *dev = to_dev(chan);
/drivers/media/i2c/
H A Dmt9m032.c168 #define to_dev(sensor) \ macro
188 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns);

Completed in 130 milliseconds