Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/firewire/
Dfiredtv-avc.c1351 static inline u32 get_opcr(__be32 opcr, u32 mask, u32 shift) in get_opcr() argument
1353 return (be32_to_cpu(opcr) >> shift) & mask; in get_opcr()
1356 static inline void set_opcr(__be32 *opcr, u32 value, u32 mask, u32 shift) in set_opcr() argument
1358 *opcr &= ~cpu_to_be32(mask << shift); in set_opcr()
1359 *opcr |= cpu_to_be32((value & mask) << shift); in set_opcr()
1373 __be32 old_opcr, opcr[2]; in cmp_establish_pp_connection() local
1378 ret = cmp_read(fdtv, opcr_address, opcr); in cmp_establish_pp_connection()
1383 if (!get_opcr_online(*opcr)) { in cmp_establish_pp_connection()
1388 old_opcr = *opcr; in cmp_establish_pp_connection()
1390 if (get_opcr_p2p_connections(*opcr)) { in cmp_establish_pp_connection()
[all …]
/Linux-v4.19/sound/firewire/
Dcmp.c219 static __be32 opcr_set_modify(struct cmp_connection *c, __be32 opcr) in opcr_set_modify() argument
232 opcr &= ~cpu_to_be32(PCR_BCAST_CONN | in opcr_set_modify()
238 opcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); in opcr_set_modify()
239 opcr |= cpu_to_be32(xspd << OPCR_XSPEED_SHIFT); in opcr_set_modify()
240 opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in opcr_set_modify()
241 opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); in opcr_set_modify()
242 opcr |= cpu_to_be32(get_overhead_id(c) << OPCR_OVERHEAD_ID_SHIFT); in opcr_set_modify()
244 return opcr; in opcr_set_modify()
/Linux-v4.19/drivers/ipack/devices/
Dscc2698.h82 u8 dd, opcr; /* Output port configuration register of block */ member
Dipoctal.c343 &block_regs[i].w.opcr); in ipoctal_inst_slot()