Home
last modified time | relevance | path

Searched refs:dev_ctx (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dintf.c56 dev_ctx = kmalloc(sizeof(*dev_ctx), GFP_KERNEL); in mlx4_add_device()
57 if (!dev_ctx) in mlx4_add_device()
60 dev_ctx->intf = intf; in mlx4_add_device()
63 if (dev_ctx->context) { in mlx4_add_device()
70 kfree(dev_ctx); in mlx4_add_device()
85 kfree(dev_ctx); in mlx4_remove_device()
168 dev_ctx->intf->remove(dev, dev_ctx->context); in mlx4_do_bond()
169 dev_ctx->context = dev_ctx->intf->add(dev); in mlx4_do_bond()
193 dev_ctx->intf->event(dev, dev_ctx->context, type, param); in mlx4_dispatch_event()
258 if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) { in mlx4_get_protocol_dev()
[all …]
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/
A Ds5p_mfc_cmd_v6.c43 mfc_write(dev, buf_size->dev_ctx, S5P_FIMV_CONTEXT_MEM_SIZE_V6); in s5p_mfc_sys_init_cmd_v6()
A Ds5p_mfc.c1545 .dev_ctx = MFC_CTX_BUF_SIZE_V6,
1574 .dev_ctx = MFC_CTX_BUF_SIZE_V7,
1608 .dev_ctx = MFC_CTX_BUF_SIZE_V8,
1642 .dev_ctx = MFC_CTX_BUF_SIZE_V10,
A Ds5p_mfc_common.h211 unsigned int dev_ctx; member
A Ds5p_mfc_opr_v6.c401 dev->ctx_buf.size = buf_size->dev_ctx; in s5p_mfc_alloc_dev_context_buffer_v6()
408 memset(dev->ctx_buf.virt, 0, buf_size->dev_ctx); in s5p_mfc_alloc_dev_context_buffer_v6()

Completed in 23 milliseconds