Lines Matching defs:context
285 * struct sdma_state_registers - SDMA context for a channel
314 * struct sdma_context_data - sdma context specific to a channel
332 * @scratch0: 1st word of dedicated ram for context switch
333 * @scratch1: 2nd word of dedicated ram for context switch
334 * @scratch2: 3rd word of dedicated ram for context switch
335 * @scratch3: 4th word of dedicated ram for context switch
336 * @scratch4: 5th word of dedicated ram for context switch
337 * @scratch5: 6th word of dedicated ram for context switch
338 * @scratch6: 7th word of dedicated ram for context switch
339 * @scratch7: 8th word of dedicated ram for context switch
424 * @context_loaded: ensure context is only loaded once
521 struct sdma_context_data *context;
683 #define SDMA_H_CONFIG_CSM (3) /* indicates which context switch mode is selected*/
752 /* Set bits of CONFIG register with dynamic context switching */
886 * The callback is called from the interrupt context in order
1102 struct sdma_context_data *context = sdma->context;
1128 memset(context, 0, sizeof(*context));
1129 context->channel_state.pc = load_address;
1131 /* Send by context the event mask,base address for peripheral
1135 context->gReg[4] = sdmac->per_addr;
1136 context->gReg[6] = sdmac->shp_addr;
1138 context->gReg[0] = sdmac->event_mask[1];
1139 context->gReg[1] = sdmac->event_mask[0];
1140 context->gReg[2] = sdmac->per_addr;
1141 context->gReg[6] = sdmac->shp_addr;
1142 context->gReg[7] = sdmac->watermark_level;
1147 bd0->mode.count = sizeof(*context) / 4;
1149 bd0->ext_buffer_addr = 2048 + (sizeof(*context) / 4) * channel;
1606 unsigned long flags, void *context)
1929 static void sdma_load_firmware(const struct firmware *fw, void *context)
1931 struct sdma_engine *sdma = context;
2100 sdma->context = (void *)sdma->channel_control +
2122 /* Set bits of CONFIG register but with static context switching */