Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Dlpc32xx_i2c.c301 struct i2c_msg *dmsg, *omsg, dummy;
314 omsg = nmsgs == 1 ? &dummy : msg;
318 address = omsg->buf[0];
319 for (i = 1; i < omsg->len; i++)
320 address = (address << 8) + omsg->buf[i];
324 omsg->len, dmsg->buf, dmsg->len);
327 omsg->len, dmsg->buf, dmsg->len);
H A Dihs_i2c.c296 struct i2c_msg *dmsg, *omsg, dummy; in ihs_i2c_xfer() local
308 omsg = nmsgs == 1 ? &dummy : msg; in ihs_i2c_xfer()
312 return ihs_i2c_access(bus, dmsg->addr, omsg->buf, in ihs_i2c_xfer()
313 omsg->len, dmsg->buf, dmsg->len, in ihs_i2c_xfer()
316 return ihs_i2c_access(bus, dmsg->addr, omsg->buf, in ihs_i2c_xfer()
317 omsg->len, dmsg->buf, dmsg->len, in ihs_i2c_xfer()
H A Dmv_i2c.c539 struct i2c_msg *dmsg, *omsg, dummy; in mv_i2c_xfer() local
552 omsg = nmsgs == 1 ? &dummy : msg; in mv_i2c_xfer()
556 return __i2c_read(i2c->base, dmsg->addr, omsg->buf, in mv_i2c_xfer()
557 omsg->len, dmsg->buf, dmsg->len); in mv_i2c_xfer()
559 return __i2c_write(i2c->base, dmsg->addr, omsg->buf, in mv_i2c_xfer()
560 omsg->len, dmsg->buf, dmsg->len); in mv_i2c_xfer()
H A Dfsl_i2c.c609 struct i2c_msg *dmsg, *omsg, dummy;
621 omsg = nmsgs == 1 ? &dummy : msg;
625 return __i2c_read(dev->base, dmsg->addr, omsg->buf, omsg->len,
628 return __i2c_write(dev->base, dmsg->addr, omsg->buf, omsg->len,
H A Dmvtwsi.c833 struct i2c_msg *dmsg, *omsg, dummy;
844 omsg = nmsgs == 1 ? &dummy : msg;
848 return __twsi_i2c_read(dev->base, dmsg->addr, omsg->buf,
849 omsg->len, dmsg->buf, dmsg->len,
852 return __twsi_i2c_write(dev->base, dmsg->addr, omsg->buf,
853 omsg->len, dmsg->buf, dmsg->len,
H A Dintel_i2c.c207 struct i2c_msg *dmsg, *omsg, dummy; in intel_i2c_xfer() local
222 omsg = nmsgs == 1 ? &dummy : msg; in intel_i2c_xfer()
227 omsg->buf[0], dmsg->len); in intel_i2c_xfer()
/openbmc/linux/drivers/cpufreq/
H A Dpowernv-cpufreq.c950 struct opal_occ_msg omsg; in powernv_cpufreq_occ_msg() local
956 omsg.type = be64_to_cpu(msg->params[0]); in powernv_cpufreq_occ_msg()
958 switch (omsg.type) { in powernv_cpufreq_occ_msg()
979 omsg.chip = be64_to_cpu(msg->params[1]); in powernv_cpufreq_occ_msg()
980 omsg.throttle_status = be64_to_cpu(msg->params[2]); in powernv_cpufreq_occ_msg()
996 if (chips[i].id == omsg.chip) in powernv_cpufreq_occ_msg()
999 if (omsg.throttle_status >= 0 && in powernv_cpufreq_occ_msg()
1000 omsg.throttle_status <= OCC_MAX_THROTTLE_STATUS) { in powernv_cpufreq_occ_msg()
1001 chips[i].throttle_reason = omsg.throttle_status; in powernv_cpufreq_occ_msg()
1002 chips[i].reason[omsg.throttle_status]++; in powernv_cpufreq_occ_msg()
[all …]
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-sriox-defs.h189 uint64_t omsg:7; member
191 uint64_t omsg:7;
233 uint64_t omsg:7; member
235 uint64_t omsg:7;
275 uint64_t omsg:7; member
277 uint64_t omsg:7;
/openbmc/linux/include/linux/
H A Dswitchtec.h386 } omsg[4]; member
/openbmc/linux/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c158 if (idx < 0 || idx >= ARRAY_SIZE(sndev->mmio_peer_dbmsg->omsg)) in switchtec_ntb_send_msg()
161 iowrite32(val, &sndev->mmio_peer_dbmsg->omsg[idx].msg); in switchtec_ntb_send_msg()