Lines Matching refs:mmap_cfg
89 struct cs_mmap_config_block *mmap_cfg;
98 * mmap_cfg, but instead duplicate the variables here */
443 &hi->mmap_cfg->tstamp_rx_ctrl;
591 hi->mmap_cfg->rx_ptr = hi->rx_slot;
792 hi->mmap_cfg->rx_bufs = rx_bufs;
793 hi->mmap_cfg->tx_bufs = tx_bufs;
804 hi->mmap_cfg->rx_ptr_boundary = hi->rx_ptr_boundary;
815 size_t ctrl_size_aligned = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg));
893 data_start = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg));
896 data_start, sizeof(*hi->mmap_cfg), L1_CACHE_BYTES);
898 for (i = 0; i < hi->mmap_cfg->rx_bufs; i++) {
900 hi->mmap_cfg->rx_offsets[i] = hi->rx_offsets[i];
904 for (i = 0; i < hi->mmap_cfg->tx_bufs; i++) {
906 (i + hi->mmap_cfg->rx_bufs) * hi->slot_size;
907 hi->mmap_cfg->tx_offsets[i] = hi->tx_offsets[i];
952 hi->mmap_cfg->buf_size = hi->buf_size;
999 hsi_if->mmap_cfg = (struct cs_mmap_config_block *)mmap_base;
1002 memset(hsi_if->mmap_cfg, 0, sizeof(*hsi_if->mmap_cfg));