Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/can/
H A Dxlnx-versal-canfd.c870 uint32_t id_reg_val = 0; in regs2frame() local
882 id_reg_val = s->regs[reg_num]; in regs2frame()
883 if (FIELD_EX32(id_reg_val, TB_ID_REGISTER, IDE)) { in regs2frame()
887 if (FIELD_EX32(id_reg_val, TB_ID_REGISTER, RTR_RRS)) { in regs2frame()
892 if (FIELD_EX32(id_reg_val, TB_ID_REGISTER, SRR_RTR_RRS)) { in regs2frame()
936 uint32_t id_reg_val = 0; in frame_to_reg_id() local
941 id_reg_val |= FIELD_DP32(0, RB_ID_REGISTER, ID, in frame_to_reg_id()
943 id_reg_val |= FIELD_DP32(0, RB_ID_REGISTER, ID_EXT, in frame_to_reg_id()
945 id_reg_val |= FIELD_DP32(0, RB_ID_REGISTER, IDE, 1); in frame_to_reg_id()
951 id_reg_val |= FIELD_DP32(0, RB_ID_REGISTER, ID, in frame_to_reg_id()
[all …]