opcr 340 drivers/ipack/devices/ipoctal.c &block_regs[i].w.opcr); opcr 79 drivers/ipack/devices/scc2698.h u8 dd, opcr; /* Output port configuration register of block */ opcr 1349 drivers/media/firewire/firedtv-avc.c static inline u32 get_opcr(__be32 opcr, u32 mask, u32 shift) opcr 1351 drivers/media/firewire/firedtv-avc.c return (be32_to_cpu(opcr) >> shift) & mask; opcr 1354 drivers/media/firewire/firedtv-avc.c static inline void set_opcr(__be32 *opcr, u32 value, u32 mask, u32 shift) opcr 1356 drivers/media/firewire/firedtv-avc.c *opcr &= ~cpu_to_be32(mask << shift); opcr 1357 drivers/media/firewire/firedtv-avc.c *opcr |= cpu_to_be32((value & mask) << shift); opcr 1371 drivers/media/firewire/firedtv-avc.c __be32 old_opcr, opcr[2]; opcr 1376 drivers/media/firewire/firedtv-avc.c ret = cmp_read(fdtv, opcr_address, opcr); opcr 1381 drivers/media/firewire/firedtv-avc.c if (!get_opcr_online(*opcr)) { opcr 1386 drivers/media/firewire/firedtv-avc.c old_opcr = *opcr; opcr 1388 drivers/media/firewire/firedtv-avc.c if (get_opcr_p2p_connections(*opcr)) { opcr 1389 drivers/media/firewire/firedtv-avc.c if (get_opcr_channel(*opcr) != channel) { opcr 1397 drivers/media/firewire/firedtv-avc.c set_opcr_channel(opcr, channel); opcr 1398 drivers/media/firewire/firedtv-avc.c set_opcr_data_rate(opcr, 2); /* S400 */ opcr 1401 drivers/media/firewire/firedtv-avc.c set_opcr_overhead_id(opcr, 0); opcr 1406 drivers/media/firewire/firedtv-avc.c set_opcr_p2p_connections(opcr, get_opcr_p2p_connections(*opcr) + 1); opcr 1408 drivers/media/firewire/firedtv-avc.c opcr[1] = *opcr; opcr 1409 drivers/media/firewire/firedtv-avc.c opcr[0] = old_opcr; opcr 1411 drivers/media/firewire/firedtv-avc.c ret = cmp_lock(fdtv, opcr_address, opcr); opcr 1415 drivers/media/firewire/firedtv-avc.c if (old_opcr != *opcr) { opcr 1431 drivers/media/firewire/firedtv-avc.c __be32 old_opcr, opcr[2]; opcr 1435 drivers/media/firewire/firedtv-avc.c if (cmp_read(fdtv, opcr_address, opcr) < 0) opcr 1439 drivers/media/firewire/firedtv-avc.c if (!get_opcr_online(*opcr) || !get_opcr_p2p_connections(*opcr) || opcr 1440 drivers/media/firewire/firedtv-avc.c get_opcr_channel(*opcr) != channel) { opcr 1445 drivers/media/firewire/firedtv-avc.c old_opcr = *opcr; opcr 1446 drivers/media/firewire/firedtv-avc.c set_opcr_p2p_connections(opcr, get_opcr_p2p_connections(*opcr) - 1); opcr 1448 drivers/media/firewire/firedtv-avc.c opcr[1] = *opcr; opcr 1449 drivers/media/firewire/firedtv-avc.c opcr[0] = old_opcr; opcr 1451 drivers/media/firewire/firedtv-avc.c if (cmp_lock(fdtv, opcr_address, opcr) < 0) opcr 1454 drivers/media/firewire/firedtv-avc.c if (old_opcr != *opcr) { opcr 250 sound/firewire/cmp.c static __be32 opcr_set_modify(struct cmp_connection *c, __be32 opcr) opcr 263 sound/firewire/cmp.c opcr &= ~cpu_to_be32(PCR_BCAST_CONN | opcr 269 sound/firewire/cmp.c opcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); opcr 270 sound/firewire/cmp.c opcr |= cpu_to_be32(xspd << OPCR_XSPEED_SHIFT); opcr 271 sound/firewire/cmp.c opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); opcr 272 sound/firewire/cmp.c opcr |= cpu_to_be32(spd << OPCR_SPEED_SHIFT); opcr 273 sound/firewire/cmp.c opcr |= cpu_to_be32(get_overhead_id(c) << OPCR_OVERHEAD_ID_SHIFT); opcr 275 sound/firewire/cmp.c return opcr;