Searched refs:usid (Results 1 – 5 of 5) sorted by relevance
/u-boot/include/spmi/ |
A D | spmi.h | 17 int (*read)(struct udevice *dev, int usid, int pid, int reg); 18 int (*write)(struct udevice *dev, int usid, int pid, int reg, 31 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg); 43 int spmi_reg_write(struct udevice *dev, int usid, int pid, int reg,
|
/u-boot/drivers/spmi/ |
A D | spmi-uclass.c | 14 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg) in spmi_reg_read() argument 21 return ops->read(dev, usid, pid, reg); in spmi_reg_read() 24 int spmi_reg_write(struct udevice *dev, int usid, int pid, int reg, in spmi_reg_write() argument 32 return ops->write(dev, usid, pid, reg, value); in spmi_reg_write()
|
A D | spmi-msm.c | 57 static int msm_spmi_write(struct udevice *dev, int usid, int pid, int off, in msm_spmi_write() argument 64 if (usid >= SPMI_MAX_SLAVES) in msm_spmi_write() 69 channel = priv->channel_map[usid][pid]; in msm_spmi_write() 80 reg |= (usid << SPMI_CMD_SLAVE_ID_SHIFT); in msm_spmi_write() 103 static int msm_spmi_read(struct udevice *dev, int usid, int pid, int off) in msm_spmi_read() argument 109 if (usid >= SPMI_MAX_SLAVES) in msm_spmi_read() 114 channel = priv->channel_map[usid][pid]; in msm_spmi_read() 121 reg |= (usid << SPMI_CMD_SLAVE_ID_SHIFT); in msm_spmi_read()
|
A D | spmi-sandbox.c | 44 static bool check_address_valid(int usid, int pid, int off) in check_address_valid() argument 46 if (usid != 0) in check_address_valid() 55 static int sandbox_spmi_write(struct udevice *dev, int usid, int pid, int off, in sandbox_spmi_write() argument 61 if (!check_address_valid(usid, pid, off)) in sandbox_spmi_write() 82 static int sandbox_spmi_read(struct udevice *dev, int usid, int pid, int off) in sandbox_spmi_read() argument 87 if (!check_address_valid(usid, pid, off)) in sandbox_spmi_read()
|
/u-boot/drivers/power/pmic/ |
A D | pm8916.c | 17 uint32_t usid; /* Slave ID on SPMI bus */ member 33 return spmi_reg_write(dev->parent, priv->usid, in pm8916_write() 46 val = spmi_reg_read(dev->parent, priv->usid, in pm8916_read() 70 priv->usid = dev_read_addr(dev); in pm8916_probe() 72 if (priv->usid == FDT_ADDR_T_NONE) in pm8916_probe()
|
Completed in 6 milliseconds