Lines Matching refs:mc_dev
374 static int fsl_mc_command_check(struct fsl_mc_device *mc_dev,
392 dev_err(&mc_dev->dev, "MC command 0x%04x: cmdid not accepted\n", cmdid);
404 dev_err(&mc_dev->dev, "MC command 0x%04x: garbage beyond max size of %d bytes!\n",
415 dev_err(&mc_dev->dev, "MC command 0x%04x: token 0x%04x is invalid!\n",
425 dev_err(&mc_dev->dev, "MC command 0x%04x: unknown module ID 0x%x\n",
436 dev_err(&mc_dev->dev, "MC command 0x%04x: needs CAP_NET_ADMIN!\n",
445 static int fsl_mc_uapi_send_command(struct fsl_mc_device *mc_dev, unsigned long arg,
455 error = fsl_mc_command_check(mc_dev, &mc_cmd);
485 root_mc_device = &mc_bus->mc_dev;
552 root_mc_device = &mc_bus->mc_dev;
575 struct fsl_mc_device *mc_dev = &mc_bus->mc_dev;
580 mc_uapi->misc.name = dev_name(&mc_dev->dev);
587 mc_uapi->static_mc_io = mc_bus->mc_dev.mc_io;