Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/i2c/busses/
Di2c-amd-mp2-pci.c43 union i2c_cmd_base i2c_cmd_base) in amd_mp2_cmd() argument
48 i2c_common->reqcmd = i2c_cmd_base.s.i2c_cmd; in amd_mp2_cmd()
50 reg = privdata->mmio + ((i2c_cmd_base.s.bus_id == 1) ? in amd_mp2_cmd()
52 writel(i2c_cmd_base.ul, reg); in amd_mp2_cmd()
60 union i2c_cmd_base i2c_cmd_base; in amd_mp2_bus_enable_set() local
64 i2c_cmd_base.ul = 0; in amd_mp2_bus_enable_set()
65 i2c_cmd_base.s.i2c_cmd = enable ? i2c_enable : i2c_disable; in amd_mp2_bus_enable_set()
66 i2c_cmd_base.s.bus_id = i2c_common->bus_id; in amd_mp2_bus_enable_set()
67 i2c_cmd_base.s.i2c_speed = i2c_common->i2c_speed; in amd_mp2_bus_enable_set()
71 return amd_mp2_cmd(i2c_common, i2c_cmd_base); in amd_mp2_bus_enable_set()
[all …]
Di2c-amd-mp2.h78 union i2c_cmd_base { union