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()
91 u8 mb_count; member
456 if (WARN_ON(mb_index >= priv->mb_count)) in flexcan_get_mb()1361 priv->mb_count = 16; in flexcan_rx_offload_setup()1363 priv->mb_count = (sizeof(priv->regs->mb[0]) / priv->mb_size) + in flexcan_rx_offload_setup()1372 priv->tx_mb_idx = priv->mb_count - 1; in flexcan_rx_offload_setup()1380 priv->offload.mb_last = priv->mb_count - 2; in flexcan_rx_offload_setup()1576 for (i = FLEXCAN_TX_MB_RESERVED_RX_FIFO; i < priv->mb_count; i++) { in flexcan_chip_start()1600 for (i = 0; i < priv->mb_count; i++) in flexcan_chip_start()
179 unsigned long mb_count[VIRTIO_MEM_SBM_MB_COUNT]; member442 BUG_ON(vm->sbm.mb_count[old_state] == 0); in virtio_mem_sbm_set_mb_state()443 vm->sbm.mb_count[old_state]--; in virtio_mem_sbm_set_mb_state()444 vm->sbm.mb_count[state]++; in virtio_mem_sbm_set_mb_state()486 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \492 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \1632 vm->sbm.mb_count[VIRTIO_MEM_SBM_MB_UNUSED]++; in virtio_mem_sbm_prepare_next_mb()
2319 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory() local2332 online_types = kmalloc_array(mb_count, sizeof(*online_types), in offline_and_remove_memory()2341 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()