Lines Matching refs:ab
691 struct carm_msg_allocbuf *ab = mem; in carm_fill_alloc_buf() local
693 memset(ab, 0, sizeof(*ab)); in carm_fill_alloc_buf()
694 ab->type = CARM_MSG_MISC; in carm_fill_alloc_buf()
695 ab->subtype = MISC_ALLOC_MEM; in carm_fill_alloc_buf()
696 ab->handle = cpu_to_le32(TAG_ENCODE(idx)); in carm_fill_alloc_buf()
697 ab->n_sg = 1; in carm_fill_alloc_buf()
698 ab->sg_type = SGT_32BIT; in carm_fill_alloc_buf()
699 ab->addr = cpu_to_le32(host->shm_dma + (PDC_SHM_SIZE >> 1)); in carm_fill_alloc_buf()
700 ab->len = cpu_to_le32(PDC_SHM_SIZE >> 1); in carm_fill_alloc_buf()
701 ab->evt_pool = cpu_to_le32(host->shm_dma + (16 * 1024)); in carm_fill_alloc_buf()
702 ab->n_evt = cpu_to_le32(1024); in carm_fill_alloc_buf()
703 ab->rbuf_pool = cpu_to_le32(host->shm_dma); in carm_fill_alloc_buf()
704 ab->n_rbuf = cpu_to_le32(RMSG_Q_LEN); in carm_fill_alloc_buf()
705 ab->msg_pool = cpu_to_le32(host->shm_dma + RBUF_LEN); in carm_fill_alloc_buf()
706 ab->n_msg = cpu_to_le32(CARM_Q_LEN); in carm_fill_alloc_buf()
707 ab->sg[0].start = cpu_to_le32(host->shm_dma + (PDC_SHM_SIZE >> 1)); in carm_fill_alloc_buf()
708 ab->sg[0].len = cpu_to_le32(65536); in carm_fill_alloc_buf()