Lines Matching refs:cpu_to_be32
145 c->last_pcr_value = cpu_to_be32(0x80000000); in cmp_connection_init()
169 *used = !!(pcr & cpu_to_be32(PCR_BCAST_CONN | in cmp_connection_check_used()
222 ipcr &= ~cpu_to_be32(PCR_BCAST_CONN | in ipcr_set_modify()
225 ipcr |= cpu_to_be32(1 << PCR_P2P_CONN_SHIFT); in ipcr_set_modify()
226 ipcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in ipcr_set_modify()
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()
280 if (pcr & cpu_to_be32(PCR_BCAST_CONN | in pcr_set_check()
285 if (!(pcr & cpu_to_be32(PCR_ONLINE))) { in pcr_set_check()
385 return pcr & ~cpu_to_be32(PCR_BCAST_CONN | PCR_P2P_CONN_MASK); in pcr_break_modify()