Searched refs:mb_count (Results 1 – 6 of 6) sorted by relevance
27 ring->rx_max_pending = priv->mb_count; in flexcan_get_ringparam()28 ring->tx_max_pending = priv->mb_count; in flexcan_get_ringparam()
93 u8 mb_count; member
464 if (WARN_ON(mb_index >= priv->mb_count)) in flexcan_get_mb()1380 priv->mb_count = 16; in flexcan_rx_offload_setup()1382 priv->mb_count = (sizeof(priv->regs->mb[0]) / priv->mb_size) + in flexcan_rx_offload_setup()1391 priv->tx_mb_idx = priv->mb_count - 1; in flexcan_rx_offload_setup()1399 priv->offload.mb_last = priv->mb_count - 2; in flexcan_rx_offload_setup()1595 for (i = FLEXCAN_TX_MB_RESERVED_RX_FIFO; i < priv->mb_count; i++) { in flexcan_chip_start()1619 for (i = 0; i < priv->mb_count; i++) in flexcan_chip_start()
181 unsigned long mb_count[VIRTIO_MEM_SBM_MB_COUNT]; member447 BUG_ON(vm->sbm.mb_count[old_state] == 0); in virtio_mem_sbm_set_mb_state()448 vm->sbm.mb_count[old_state]--; in virtio_mem_sbm_set_mb_state()449 vm->sbm.mb_count[state]++; in virtio_mem_sbm_set_mb_state()491 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \497 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \1655 vm->sbm.mb_count[VIRTIO_MEM_SBM_MB_UNUSED]++; in virtio_mem_sbm_prepare_next_mb()
2380 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory() local2393 online_types = kmalloc_array(mb_count, sizeof(*online_types), in offline_and_remove_memory()2402 memset(online_types, MMOP_OFFLINE, mb_count); in offline_and_remove_memory()
722 int mb_count = (go->width >> 4) * (go->height >> 4); in mpeg4_frame_header() local736 for (i = 0; i < mb_count; ++i) { in mpeg4_frame_header()