Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Disp_v4_1_1.c114 isp->isp_i2c_res = kcalloc(1, sizeof(struct resource), GFP_KERNEL); in isp_v4_1_1_hw_init()
115 if (!isp->isp_i2c_res) { in isp_v4_1_1_hw_init()
121 isp->isp_i2c_res[0].name = "isp_i2c0_reg"; in isp_v4_1_1_hw_init()
122 isp->isp_i2c_res[0].flags = IORESOURCE_MEM; in isp_v4_1_1_hw_init()
123 isp->isp_i2c_res[0].start = isp_base + ISP411_I2C0_OFFSET; in isp_v4_1_1_hw_init()
124 isp->isp_i2c_res[0].end = isp_base + ISP411_I2C0_OFFSET + ISP411_I2C0_SIZE; in isp_v4_1_1_hw_init()
128 isp->isp_cell[1].resources = &isp->isp_i2c_res[0]; in isp_v4_1_1_hw_init()
145 kfree(isp->isp_i2c_res); in isp_v4_1_1_hw_init()
157 kfree(isp->isp_i2c_res); in isp_v4_1_1_hw_fini()
Disp_v4_1_0.c113 isp->isp_i2c_res = kcalloc(1, sizeof(struct resource), in isp_v4_1_0_hw_init()
115 if (!isp->isp_i2c_res) { in isp_v4_1_0_hw_init()
121 isp->isp_i2c_res[0].name = "isp_i2c0_reg"; in isp_v4_1_0_hw_init()
122 isp->isp_i2c_res[0].flags = IORESOURCE_MEM; in isp_v4_1_0_hw_init()
123 isp->isp_i2c_res[0].start = isp_base + ISP410_I2C0_OFFSET; in isp_v4_1_0_hw_init()
124 isp->isp_i2c_res[0].end = isp_base + ISP410_I2C0_OFFSET + ISP410_I2C0_SIZE; in isp_v4_1_0_hw_init()
128 isp->isp_cell[1].resources = &isp->isp_i2c_res[0]; in isp_v4_1_0_hw_init()
145 kfree(isp->isp_i2c_res); in isp_v4_1_0_hw_init()
157 kfree(isp->isp_i2c_res); in isp_v4_1_0_hw_fini()
Damdgpu_isp.h52 struct resource *isp_i2c_res; member