Lines Matching refs:sm_data
628 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_handle_link_irq() local
633 link = le32_to_cpu(sm_data->link); in slic_handle_link_irq()
714 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_poll() local
715 u32 isr = le32_to_cpu(sm_data->isr); in slic_poll()
723 sm_data->isr = 0; in slic_poll()
737 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_irq() local
744 if (!sm_data->isr) { in slic_irq()
1228 struct slic_shmem_data *sm_data; in slic_init_shmem() local
1231 sm_data = dma_alloc_coherent(&sdev->pdev->dev, sizeof(*sm_data), in slic_init_shmem()
1233 if (!sm_data) { in slic_init_shmem()
1238 sm->shmem_data = sm_data; in slic_init_shmem()
1248 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_free_shmem() local
1250 dma_free_coherent(&sdev->pdev->dev, sizeof(*sm_data), sm_data, in slic_free_shmem()
1597 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_read_eeprom() local
1619 if (le32_to_cpu(sm_data->isr) & SLIC_ISR_UPC) in slic_read_eeprom()