Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Drsmu_i2c.c79 dev_err(rsmu->dev, in rsmu_read_device()
121 if (rsmu->page == page) in rsmu_write_page_register()
134 rsmu->page = page; in rsmu_write_page_register()
169 dev_err(rsmu->dev, in rsmu_reg_write()
208 struct rsmu_ddata *rsmu; in rsmu_i2c_probe() local
211 rsmu = devm_kzalloc(&client->dev, sizeof(*rsmu), GFP_KERNEL); in rsmu_i2c_probe()
212 if (!rsmu) in rsmu_i2c_probe()
217 rsmu->dev = &client->dev; in rsmu_i2c_probe()
220 switch (rsmu->type) { in rsmu_i2c_probe()
231 dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); in rsmu_i2c_probe()
[all …]
H A Drsmu_spi.c102 switch (rsmu->type) { in rsmu_write_page_register()
126 dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); in rsmu_write_page_register()
131 if (rsmu->page == page) in rsmu_write_page_register()
139 rsmu->page = page; in rsmu_write_page_register()
174 dev_err(rsmu->dev, in rsmu_reg_write()
202 struct rsmu_ddata *rsmu; in rsmu_spi_probe() local
205 rsmu = devm_kzalloc(&client->dev, sizeof(*rsmu), GFP_KERNEL); in rsmu_spi_probe()
206 if (!rsmu) in rsmu_spi_probe()
215 switch (rsmu->type) { in rsmu_spi_probe()
223 dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); in rsmu_spi_probe()
[all …]
H A Drsmu_core.c52 int rsmu_core_init(struct rsmu_ddata *rsmu) in rsmu_core_init() argument
57 switch (rsmu->type) { in rsmu_core_init()
68 dev_err(rsmu->dev, "Unsupported RSMU device type: %d\n", rsmu->type); in rsmu_core_init()
72 mutex_init(&rsmu->lock); in rsmu_core_init()
74 ret = devm_mfd_add_devices(rsmu->dev, PLATFORM_DEVID_AUTO, cells, in rsmu_core_init()
77 dev_err(rsmu->dev, "Failed to register sub-devices: %d\n", ret); in rsmu_core_init()
83 void rsmu_core_exit(struct rsmu_ddata *rsmu) in rsmu_core_exit() argument
85 mutex_destroy(&rsmu->lock); in rsmu_core_exit()
H A Drsmu.h15 int rsmu_core_init(struct rsmu_ddata *rsmu);
16 void rsmu_core_exit(struct rsmu_ddata *rsmu);
/openbmc/
H A Dopengrok2.0.log24874 …o: /opengrok/data/xref/openbmc/linux/drivers/gpu/drm/amd/include/asic_reg/rsmu/rsmu_0_0_2_sh_mask.…
24875 …hildren prevent delete: /opengrok/data/xref/openbmc/linux/drivers/gpu/drm/amd/include/asic_reg/rsmu
H A Dopengrok1.0.log25392 …o: /opengrok/data/xref/openbmc/linux/drivers/gpu/drm/amd/include/asic_reg/rsmu/rsmu_0_0_2_sh_mask.…
25393 …hildren prevent delete: /opengrok/data/xref/openbmc/linux/drivers/gpu/drm/amd/include/asic_reg/rsmu