Home
last modified time | relevance | path

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

/linux/drivers/net/can/flexcan/
H A Dflexcan-ethtool.c27 ring->rx_max_pending = priv->mb_count; in flexcan_get_ringparam()
28 ring->tx_max_pending = priv->mb_count; in flexcan_get_ringparam()
H A Dflexcan.h93 u8 mb_count; member
H A Dflexcan-core.c464 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()
/linux/drivers/virtio/
H A Dvirtio_mem.c181 unsigned long mb_count[VIRTIO_MEM_SBM_MB_COUNT]; member
447 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()
/linux/mm/
H A Dmemory_hotplug.c2380 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory() local
2393 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()
/linux/drivers/media/usb/go7007/
H A Dgo7007-fw.c722 int mb_count = (go->width >> 4) * (go->height >> 4); in mpeg4_frame_header() local
736 for (i = 0; i < mb_count; ++i) { in mpeg4_frame_header()