Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/firewire/
H A Dfiredtv-avc.c1359 static inline u32 get_opcr(__be32 opcr, u32 mask, u32 shift) in get_opcr() argument
1361 return (be32_to_cpu(opcr) >> shift) & mask; in get_opcr()
1364 static inline void set_opcr(__be32 *opcr, u32 value, u32 mask, u32 shift) in set_opcr() argument
1366 *opcr &= ~cpu_to_be32(mask << shift); in set_opcr()
1367 *opcr |= cpu_to_be32((value & mask) << shift); in set_opcr()
1381 __be32 old_opcr, opcr[2]; in cmp_establish_pp_connection() local
1386 ret = cmp_read(fdtv, opcr_address, opcr); in cmp_establish_pp_connection()
1391 if (!get_opcr_online(*opcr)) { in cmp_establish_pp_connection()
1396 old_opcr = *opcr; in cmp_establish_pp_connection()
1398 if (get_opcr_p2p_connections(*opcr)) { in cmp_establish_pp_connection()
[all …]
/openbmc/linux/sound/firewire/
H A Dcmp.c250 static __be32 opcr_set_modify(struct cmp_connection *c, __be32 opcr) in opcr_set_modify() argument
263 opcr &= ~cpu_to_be32(PCR_BCAST_CONN | in opcr_set_modify()
269 opcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); in opcr_set_modify()
270 opcr |= cpu_to_be32(xspd << OPCR_XSPEED_SHIFT); in opcr_set_modify()
271 opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in opcr_set_modify()
272 opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); in opcr_set_modify()
273 opcr |= cpu_to_be32(get_overhead_id(c) << OPCR_OVERHEAD_ID_SHIFT); in opcr_set_modify()
275 return opcr; in opcr_set_modify()
/openbmc/linux/drivers/ipack/devices/
H A Dscc2698.h79 u8 dd, opcr; /* Output port configuration register of block */ member
H A Dipoctal.c350 &block_regs[i].w.opcr); in ipoctal_inst_slot()