Home
last modified time | relevance | path

Searched refs:buf_set_event (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_event.c448 dma_mem_t buf_set_event; in pqisrc_set_event_config() local
455 memset(&buf_set_event, 0, sizeof(struct dma_mem)); in pqisrc_set_event_config()
456 os_strlcpy(buf_set_event.tag, "pqi_set_event_buf", sizeof(buf_set_event.tag)); in pqisrc_set_event_config()
457 buf_set_event.size = alloc_size; in pqisrc_set_event_config()
458 buf_set_event.align = PQISRC_DEFAULT_DMA_ALIGN; in pqisrc_set_event_config()
461 ret = os_dma_mem_alloc(softs, &buf_set_event); in pqisrc_set_event_config()
467 DBG_INFO("buf_set_event.dma_addr = %p\n",(void*)buf_set_event.dma_addr); in pqisrc_set_event_config()
468 DBG_INFO("buf_set_event.virt_addr = %p\n",(void*)buf_set_event.virt_addr); in pqisrc_set_event_config()
475 event_config_p = (pqi_event_config_t *)buf_set_event.virt_addr; in pqisrc_set_event_config()
491 ret = pqi_event_configure(softs,&request,&buf_set_event); in pqisrc_set_event_config()
[all …]