Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mfd/
Dsm501.c703 struct sm501_device *smdev; in sm501_create_subdev() local
705 smdev = kzalloc(sizeof(struct sm501_device) + in sm501_create_subdev()
708 if (!smdev) in sm501_create_subdev()
711 smdev->pdev.dev.release = sm501_device_release; in sm501_create_subdev()
713 smdev->pdev.name = name; in sm501_create_subdev()
714 smdev->pdev.id = sm->pdev_id; in sm501_create_subdev()
715 smdev->pdev.dev.parent = sm->dev; in sm501_create_subdev()
716 smdev->pdev.dev.coherent_dma_mask = 0xffffffff; in sm501_create_subdev()
719 smdev->pdev.resource = (struct resource *)(smdev+1); in sm501_create_subdev()
720 smdev->pdev.num_resources = res_count; in sm501_create_subdev()
[all …]