attached_device 20 drivers/mfd/mcp-core.c #define to_mcp(d) container_of(d, struct mcp, attached_device) attached_device 166 drivers/mfd/mcp-core.c struct mcp *mcp = container_of(dev, struct mcp, attached_device); attached_device 178 drivers/mfd/mcp-core.c device_initialize(&mcp->attached_device); attached_device 179 drivers/mfd/mcp-core.c mcp->attached_device.parent = parent; attached_device 180 drivers/mfd/mcp-core.c mcp->attached_device.bus = &mcp_bus_type; attached_device 181 drivers/mfd/mcp-core.c mcp->attached_device.dma_mask = parent->dma_mask; attached_device 182 drivers/mfd/mcp-core.c mcp->attached_device.release = mcp_release; attached_device 190 drivers/mfd/mcp-core.c mcp->attached_device.platform_data = pdata; attached_device 191 drivers/mfd/mcp-core.c dev_set_name(&mcp->attached_device, "mcp0"); attached_device 192 drivers/mfd/mcp-core.c return device_add(&mcp->attached_device); attached_device 198 drivers/mfd/mcp-core.c device_del(&mcp->attached_device); attached_device 204 drivers/mfd/mcp-core.c put_device(&mcp->attached_device); attached_device 365 drivers/mfd/ucb1x00-core.c struct ucb1x00_plat_data *pdata = ucb->mcp->attached_device.platform_data; attached_device 494 drivers/mfd/ucb1x00-core.c struct ucb1x00_plat_data *pdata = mcp->attached_device.platform_data; attached_device 520 drivers/mfd/ucb1x00-core.c ucb->dev.parent = &mcp->attached_device; attached_device 613 drivers/mfd/ucb1x00-core.c struct ucb1x00_plat_data *pdata = mcp->attached_device.platform_data; attached_device 21 include/linux/mfd/mcp.h struct device attached_device; attached_device 55 include/linux/mfd/mcp.h #define mcp_get_drvdata(mcp) dev_get_drvdata(&(mcp)->attached_device) attached_device 56 include/linux/mfd/mcp.h #define mcp_set_drvdata(mcp,d) dev_set_drvdata(&(mcp)->attached_device, d)