Searched refs:mb_count (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/can/flexcan/ |
H A D | flexcan-ethtool.c | 27 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 D | flexcan.h | 91 u8 mb_count; member
|
H A D | flexcan-core.c | 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()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | flexcan.c | 347 u8 mb_count; member 493 if (WARN_ON(mb_index >= priv->mb_count)) in flexcan_get_mb() 1512 for (i = FLEXCAN_TX_MB_RESERVED_OFF_FIFO; i < priv->mb_count; i++) { in flexcan_chip_start() 1536 for (i = 0; i < priv->mb_count; i++) in flexcan_chip_start() 1681 priv->mb_count = (sizeof(priv->regs->mb[0]) / priv->mb_size) + in flexcan_open() 1690 priv->tx_mb_idx = priv->mb_count - 1; in flexcan_open() 1698 priv->offload.mb_last = priv->mb_count - 2; in flexcan_open()
|
/kernel/linux/linux-6.6/drivers/virtio/ |
H A D | virtio_mem.c | 179 unsigned long mb_count[VIRTIO_MEM_SBM_MB_COUNT]; member 223 * Mutex that protects the sbm.mb_count, sbm.mb_states, 442 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()
|
/kernel/linux/linux-5.10/mm/ |
H A D | memory_hotplug.c | 1859 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory() local 1872 online_types = kmalloc_array(mb_count, sizeof(*online_types), in offline_and_remove_memory() 1881 memset(online_types, MMOP_OFFLINE, mb_count); in offline_and_remove_memory()
|
/kernel/linux/linux-6.6/mm/ |
H A D | memory_hotplug.c | 2326 const unsigned long mb_count = size / memory_block_size_bytes(); in offline_and_remove_memory() local 2339 online_types = kmalloc_array(mb_count, sizeof(*online_types), in offline_and_remove_memory() 2348 memset(online_types, MMOP_OFFLINE, mb_count); in offline_and_remove_memory()
|
/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
H A D | go7007-fw.c | 722 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()
|
/kernel/linux/linux-6.6/drivers/media/usb/go7007/ |
H A D | go7007-fw.c | 722 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()
|
Completed in 20 milliseconds