Searched refs:mcdev (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/fwctl/mlx5/ |
| H A D | main.c | 11 #define mlx5ctl_err(mcdev, format, ...) \ argument 12 dev_err(&mcdev->fwctl.dev, format, ##__VA_ARGS__) 14 #define mlx5ctl_dbg(mcdev, format, ...) \ argument 15 dev_dbg(&mcdev->fwctl.dev, "PID %u: " format, current->pid, \ 93 static int mlx5ctl_alloc_uid(struct mlx5ctl_dev *mcdev, u32 cap) in mlx5ctl_alloc_uid() argument 103 mlx5ctl_dbg(mcdev, "%s: caps 0x%x\n", __func__, cap); in mlx5ctl_alloc_uid() 107 ret = mlx5_cmd_exec(mcdev->mdev, in, sizeof(in), out, sizeof(out)); in mlx5ctl_alloc_uid() 112 mlx5ctl_dbg(mcdev, "allocated uid %u with caps 0x%x\n", uid, cap); in mlx5ctl_alloc_uid() 116 static void mlx5ctl_release_uid(struct mlx5ctl_dev *mcdev, u16 uid) in mlx5ctl_release_uid() argument 119 struct mlx5_core_dev *mdev = mcdev->mdev; in mlx5ctl_release_uid() [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-mc13783.c | 178 struct mc13xxx *mcdev = dev_get_drvdata(dev->parent); in mc13xxx_led_probe() local 190 leds->master = mcdev; in mc13xxx_led_probe() 214 ret = mc13xxx_reg_write(mcdev, leds->devtype->ledctrl_base + i, in mc13xxx_led_probe()
|