Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/firewire/
Dfiredtv-avc.c1357 static inline u32 get_opcr(__be32 opcr, u32 mask, u32 shift) in get_opcr() argument
1359 return (be32_to_cpu(opcr) >> shift) & mask; in get_opcr()
1362 static inline void set_opcr(__be32 *opcr, u32 value, u32 mask, u32 shift) in set_opcr() argument
1364 *opcr &= ~cpu_to_be32(mask << shift); in set_opcr()
1365 *opcr |= cpu_to_be32((value & mask) << shift); in set_opcr()
1379 __be32 old_opcr, opcr[2]; in cmp_establish_pp_connection() local
1384 ret = cmp_read(fdtv, opcr_address, opcr); in cmp_establish_pp_connection()
1389 if (!get_opcr_online(*opcr)) { in cmp_establish_pp_connection()
1394 old_opcr = *opcr; in cmp_establish_pp_connection()
1396 if (get_opcr_p2p_connections(*opcr)) { in cmp_establish_pp_connection()
[all …]
/linux-6.1.9/sound/firewire/
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()
/linux-6.1.9/drivers/ipack/devices/
Dscc2698.h79 u8 dd, opcr; /* Output port configuration register of block */ member
Dipoctal.c350 &block_regs[i].w.opcr); in ipoctal_inst_slot()