Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/can/
H A Dxlnx-zynqmp-can.c817 uint32_t filter_number = (reg_idx - R_AFMR1) / 2; in can_filter_mask_pre_write() local
820 if (!(s->regs[R_AFR] & (1 << filter_number))) { in can_filter_mask_pre_write()
823 trace_xlnx_can_filter_mask_pre_write(filter_number, s->regs[reg_idx]); in can_filter_mask_pre_write()
829 path, filter_number + 1); in can_filter_mask_pre_write()
839 uint32_t filter_number = (reg_idx - R_AFIR1) / 2; in can_filter_id_pre_write() local
841 if (!(s->regs[R_AFR] & (1 << filter_number))) { in can_filter_id_pre_write()
844 trace_xlnx_can_filter_id_pre_write(filter_number, s->regs[reg_idx]); in can_filter_id_pre_write()
850 path, filter_number + 1); in can_filter_id_pre_write()