dev_ctx            86 drivers/crypto/ux500/cryp/cryp_core.c 	struct cryp_device_context dev_ctx;
dev_ctx           409 drivers/crypto/ux500/cryp/cryp_core.c 		cryp_restore_device_context(device_data, &ctx->dev_ctx);
dev_ctx           412 drivers/crypto/ux500/cryp/cryp_core.c 		control_register = ctx->dev_ctx.cr;
dev_ctx           414 drivers/crypto/ux500/cryp/cryp_core.c 		control_register = ctx->dev_ctx.cr;
dev_ctx           688 drivers/crypto/ux500/cryp/cryp_core.c 				&device_data->current_ctx->dev_ctx,
dev_ctx           742 drivers/crypto/ux500/cryp/cryp_core.c 					&device_data->current_ctx->dev_ctx);
dev_ctx           806 drivers/crypto/ux500/cryp/cryp_core.c 	cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode);
dev_ctx           867 drivers/crypto/ux500/cryp/cryp_core.c 	cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode);
dev_ctx          1531 drivers/media/platform/s5p-mfc/s5p_mfc.c 	.dev_ctx	= MFC_CTX_BUF_SIZE_V6,
dev_ctx          1560 drivers/media/platform/s5p-mfc/s5p_mfc.c 	.dev_ctx	= MFC_CTX_BUF_SIZE_V7,
dev_ctx          1584 drivers/media/platform/s5p-mfc/s5p_mfc.c 	.dev_ctx	= MFC_CTX_BUF_SIZE_V8,
dev_ctx          1618 drivers/media/platform/s5p-mfc/s5p_mfc.c 	.dev_ctx        = MFC_CTX_BUF_SIZE_V10,
dev_ctx            43 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c 	mfc_write(dev, buf_size->dev_ctx, S5P_FIMV_CONTEXT_MEM_SIZE_V6);
dev_ctx           211 drivers/media/platform/s5p-mfc/s5p_mfc_common.h 	unsigned int dev_ctx;
dev_ctx           401 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->ctx_buf.size = buf_size->dev_ctx;
dev_ctx           408 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	memset(dev->ctx_buf.virt, 0, buf_size->dev_ctx);
dev_ctx            54 drivers/net/ethernet/mellanox/mlx4/intf.c 	struct mlx4_device_context *dev_ctx;
dev_ctx            56 drivers/net/ethernet/mellanox/mlx4/intf.c 	dev_ctx = kmalloc(sizeof(*dev_ctx), GFP_KERNEL);
dev_ctx            57 drivers/net/ethernet/mellanox/mlx4/intf.c 	if (!dev_ctx)
dev_ctx            60 drivers/net/ethernet/mellanox/mlx4/intf.c 	dev_ctx->intf    = intf;
dev_ctx            61 drivers/net/ethernet/mellanox/mlx4/intf.c 	dev_ctx->context = intf->add(&priv->dev);
dev_ctx            63 drivers/net/ethernet/mellanox/mlx4/intf.c 	if (dev_ctx->context) {
dev_ctx            65 drivers/net/ethernet/mellanox/mlx4/intf.c 		list_add_tail(&dev_ctx->list, &priv->ctx_list);
dev_ctx            68 drivers/net/ethernet/mellanox/mlx4/intf.c 			intf->activate(&priv->dev, dev_ctx->context);
dev_ctx            70 drivers/net/ethernet/mellanox/mlx4/intf.c 		kfree(dev_ctx);
dev_ctx            76 drivers/net/ethernet/mellanox/mlx4/intf.c 	struct mlx4_device_context *dev_ctx;
dev_ctx            78 drivers/net/ethernet/mellanox/mlx4/intf.c 	list_for_each_entry(dev_ctx, &priv->ctx_list, list)
dev_ctx            79 drivers/net/ethernet/mellanox/mlx4/intf.c 		if (dev_ctx->intf == intf) {
dev_ctx            81 drivers/net/ethernet/mellanox/mlx4/intf.c 			list_del(&dev_ctx->list);
dev_ctx            84 drivers/net/ethernet/mellanox/mlx4/intf.c 			intf->remove(&priv->dev, dev_ctx->context);
dev_ctx            85 drivers/net/ethernet/mellanox/mlx4/intf.c 			kfree(dev_ctx);
dev_ctx           133 drivers/net/ethernet/mellanox/mlx4/intf.c 	struct mlx4_device_context *dev_ctx = NULL, *temp_dev_ctx;
dev_ctx           159 drivers/net/ethernet/mellanox/mlx4/intf.c 	list_for_each_entry_safe(dev_ctx, temp_dev_ctx, &priv->ctx_list, list) {
dev_ctx           160 drivers/net/ethernet/mellanox/mlx4/intf.c 		if (dev_ctx->intf->flags & MLX4_INTFF_BONDING) {
dev_ctx           161 drivers/net/ethernet/mellanox/mlx4/intf.c 			list_add_tail(&dev_ctx->bond_list, &bond_list);
dev_ctx           162 drivers/net/ethernet/mellanox/mlx4/intf.c 			list_del(&dev_ctx->list);
dev_ctx           167 drivers/net/ethernet/mellanox/mlx4/intf.c 	list_for_each_entry(dev_ctx, &bond_list, bond_list) {
dev_ctx           168 drivers/net/ethernet/mellanox/mlx4/intf.c 		dev_ctx->intf->remove(dev, dev_ctx->context);
dev_ctx           169 drivers/net/ethernet/mellanox/mlx4/intf.c 		dev_ctx->context =  dev_ctx->intf->add(dev);
dev_ctx           172 drivers/net/ethernet/mellanox/mlx4/intf.c 		list_add_tail(&dev_ctx->list, &priv->ctx_list);
dev_ctx           176 drivers/net/ethernet/mellanox/mlx4/intf.c 			 dev_ctx->intf->protocol, enable ?
dev_ctx           186 drivers/net/ethernet/mellanox/mlx4/intf.c 	struct mlx4_device_context *dev_ctx;
dev_ctx           191 drivers/net/ethernet/mellanox/mlx4/intf.c 	list_for_each_entry(dev_ctx, &priv->ctx_list, list)
dev_ctx           192 drivers/net/ethernet/mellanox/mlx4/intf.c 		if (dev_ctx->intf->event)
dev_ctx           193 drivers/net/ethernet/mellanox/mlx4/intf.c 			dev_ctx->intf->event(dev, dev_ctx->context, type, param);
dev_ctx           251 drivers/net/ethernet/mellanox/mlx4/intf.c 	struct mlx4_device_context *dev_ctx;
dev_ctx           257 drivers/net/ethernet/mellanox/mlx4/intf.c 	list_for_each_entry(dev_ctx, &priv->ctx_list, list)
dev_ctx           258 drivers/net/ethernet/mellanox/mlx4/intf.c 		if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) {
dev_ctx           259 drivers/net/ethernet/mellanox/mlx4/intf.c 			result = dev_ctx->intf->get_dev(dev, dev_ctx->context, port);
dev_ctx            56 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	struct mlx5_device_context *dev_ctx;
dev_ctx            62 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	dev_ctx = kzalloc(sizeof(*dev_ctx), GFP_KERNEL);
dev_ctx            63 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (!dev_ctx)
dev_ctx            66 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	dev_ctx->intf = intf;
dev_ctx            68 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	dev_ctx->context = intf->add(dev);
dev_ctx            69 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (dev_ctx->context) {
dev_ctx            70 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		set_bit(MLX5_INTERFACE_ADDED, &dev_ctx->state);
dev_ctx            72 drivers/net/ethernet/mellanox/mlx5/core/dev.c 			set_bit(MLX5_INTERFACE_ATTACHED, &dev_ctx->state);
dev_ctx            75 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		list_add_tail(&dev_ctx->list, &priv->ctx_list);
dev_ctx            79 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (!dev_ctx->context)
dev_ctx            80 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		kfree(dev_ctx);
dev_ctx            86 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	struct mlx5_device_context *dev_ctx;
dev_ctx            88 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	list_for_each_entry(dev_ctx, &priv->ctx_list, list)
dev_ctx            89 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (dev_ctx->intf == intf)
dev_ctx            90 drivers/net/ethernet/mellanox/mlx5/core/dev.c 			return dev_ctx;
dev_ctx            96 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	struct mlx5_device_context *dev_ctx;
dev_ctx            99 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	dev_ctx = mlx5_get_device(intf, priv);
dev_ctx           100 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (!dev_ctx)
dev_ctx           104 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	list_del(&dev_ctx->list);
dev_ctx           107 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (test_bit(MLX5_INTERFACE_ADDED, &dev_ctx->state))
dev_ctx           108 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		intf->remove(dev, dev_ctx->context);
dev_ctx           110 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	kfree(dev_ctx);
dev_ctx           115 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	struct mlx5_device_context *dev_ctx;
dev_ctx           118 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	dev_ctx = mlx5_get_device(intf, priv);
dev_ctx           119 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (!dev_ctx)
dev_ctx           123 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (test_bit(MLX5_INTERFACE_ATTACHED, &dev_ctx->state))
dev_ctx           125 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (intf->attach(dev, dev_ctx->context))
dev_ctx           127 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		set_bit(MLX5_INTERFACE_ATTACHED, &dev_ctx->state);
dev_ctx           129 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (test_bit(MLX5_INTERFACE_ADDED, &dev_ctx->state))
dev_ctx           131 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		dev_ctx->context = intf->add(dev);
dev_ctx           132 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (!dev_ctx->context)
dev_ctx           134 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		set_bit(MLX5_INTERFACE_ADDED, &dev_ctx->state);
dev_ctx           151 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	struct mlx5_device_context *dev_ctx;
dev_ctx           154 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	dev_ctx = mlx5_get_device(intf, priv);
dev_ctx           155 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (!dev_ctx)
dev_ctx           159 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (!test_bit(MLX5_INTERFACE_ATTACHED, &dev_ctx->state))
dev_ctx           161 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		intf->detach(dev, dev_ctx->context);
dev_ctx           162 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		clear_bit(MLX5_INTERFACE_ATTACHED, &dev_ctx->state);
dev_ctx           164 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (!test_bit(MLX5_INTERFACE_ADDED, &dev_ctx->state))
dev_ctx           166 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		intf->remove(dev, dev_ctx->context);
dev_ctx           167 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		clear_bit(MLX5_INTERFACE_ADDED, &dev_ctx->state);
dev_ctx           254 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	struct mlx5_device_context *dev_ctx;
dev_ctx           260 drivers/net/ethernet/mellanox/mlx5/core/dev.c 			dev_ctx = mlx5_get_device(intf, &mdev->priv);
dev_ctx           261 drivers/net/ethernet/mellanox/mlx5/core/dev.c 			if (dev_ctx && test_bit(MLX5_INTERFACE_ADDED, &dev_ctx->state))