Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-nvidia-gpu.c53 struct i2c_board_info *gpu_ccgx_ucsi; member
272 i2cd->gpu_ccgx_ucsi = devm_kzalloc(i2cd->dev, in gpu_populate_client()
273 sizeof(*i2cd->gpu_ccgx_ucsi), in gpu_populate_client()
275 if (!i2cd->gpu_ccgx_ucsi) in gpu_populate_client()
278 strlcpy(i2cd->gpu_ccgx_ucsi->type, "ccgx-ucsi", in gpu_populate_client()
279 sizeof(i2cd->gpu_ccgx_ucsi->type)); in gpu_populate_client()
280 i2cd->gpu_ccgx_ucsi->addr = 0x8; in gpu_populate_client()
281 i2cd->gpu_ccgx_ucsi->irq = irq; in gpu_populate_client()
282 i2cd->gpu_ccgx_ucsi->properties = ccgx_props; in gpu_populate_client()
283 i2cd->ccgx_client = i2c_new_device(&i2cd->adapter, i2cd->gpu_ccgx_ucsi); in gpu_populate_client()