Lines Matching refs:mb_indx
450 int mb_indx = ALLOC_IDX_TO_RXMB_IDX(filter_id); in can_nxp_s32_remove_rx_filter() local
461 data->rx_fifo_filter[mb_indx].idAddrFilterL = 0; in can_nxp_s32_remove_rx_filter()
462 data->rx_fifo_filter[mb_indx].idAddrFilterH = 0; in can_nxp_s32_remove_rx_filter()
466 can_nxp_s32_config_rx_fifo_filter(dev, mb_indx); in can_nxp_s32_remove_rx_filter()
470 if (Canexcel_Ip_DeactivateMD(config->instance, mb_indx)) { in can_nxp_s32_remove_rx_filter()
493 int mb_indx; in can_nxp_s32_add_rx_filter() local
521 mb_indx = ALLOC_IDX_TO_RXMB_IDX(alloc); in can_nxp_s32_add_rx_filter()
543 data->rx_fifo_filter[mb_indx].filterType = CANEXCEL_IP_RX_FIFO_MASK_FILTER; in can_nxp_s32_add_rx_filter()
544 data->rx_fifo_filter[mb_indx].idAddrFilterL = mask; in can_nxp_s32_add_rx_filter()
545 data->rx_fifo_filter[mb_indx].idAddrFilterH = filter_id; in can_nxp_s32_add_rx_filter()
547 can_nxp_s32_config_rx_fifo_filter(dev, mb_indx); in can_nxp_s32_add_rx_filter()
556 Canexcel_Ip_SetRxIndividualMask(config->instance, mb_indx, in can_nxp_s32_add_rx_filter()
559 Canexcel_Ip_ConfigRx(config->instance, mb_indx, filter->id, in can_nxp_s32_add_rx_filter()
562 Canexcel_Ip_ReceiveFD(config->instance, mb_indx, &data->rx_msg[alloc], FALSE); in can_nxp_s32_add_rx_filter()
583 int alloc, mb_indx; in can_nxp_s32_send() local
651 mb_indx = ALLOC_IDX_TO_TXMB_IDX(alloc); in can_nxp_s32_send()
668 mb_indx, frame->id, in can_nxp_s32_send()
677 status = Canexcel_Ip_SendFDMsg(config->instance, mb_indx, &data->tx_cbs[alloc].tx_info, in can_nxp_s32_send()