Lines Matching defs:sm
152 static inline void set_chnl_free(struct shm *sm, u32 chnl)
154 sm->host_free_mask &= ~(1 << chnl);
157 static inline void set_chnl_busy(struct shm *sm, u32 chnl)
159 sm->host_free_mask |= 1 << chnl;
822 struct shm *sm;
826 sm = hio_mgr->shared_mem;
829 set_chnl_free(sm, chnl);
990 struct shm *sm;
995 sm = io_manager->shared_mem;
1004 set_chnl_busy(sm, pchnl->chnl_id);
1091 struct shm *sm;
1099 sm = pio_mgr->shared_mem;
1103 if (!sm->input_full)
1106 bytes = sm->input_size * chnl_mgr_obj->word_size;
1107 chnl_id = sm->input_id;
1108 dw_arg = sm->arg;
1165 set_chnl_free(sm, pchnl->chnl_id);
1188 sm->input_full = 0;
1363 struct shm *sm;
1369 sm = pio_mgr->shared_mem;
1371 if (sm->output_full)
1378 dw_dsp_f_mask = sm->dsp_free_mask;
1410 sm->arg = chnl_packet_obj->dw_arg;
1413 sm->output_id = (u16) chnl_id;
1414 sm->output_size = (u16) (chnl_packet_obj->byte_size +
1418 sm->output_id = chnl_id;
1419 sm->output_size = (chnl_packet_obj->byte_size +
1422 sm->output_full = 1;