Lines Matching refs:sm_data
640 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_handle_link_irq() local
645 link = le32_to_cpu(sm_data->link); in slic_handle_link_irq()
726 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_poll() local
727 u32 isr = le32_to_cpu(sm_data->isr); in slic_poll()
735 sm_data->isr = 0; in slic_poll()
749 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_irq() local
756 if (!sm_data->isr) { in slic_irq()
1240 struct slic_shmem_data *sm_data; in slic_init_shmem() local
1243 sm_data = dma_zalloc_coherent(&sdev->pdev->dev, sizeof(*sm_data), in slic_init_shmem()
1245 if (!sm_data) { in slic_init_shmem()
1250 sm->shmem_data = sm_data; in slic_init_shmem()
1260 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_free_shmem() local
1262 dma_free_coherent(&sdev->pdev->dev, sizeof(*sm_data), sm_data, in slic_free_shmem()
1614 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_read_eeprom() local
1636 if (le32_to_cpu(sm_data->isr) & SLIC_ISR_UPC) in slic_read_eeprom()