Lines Matching refs:sm_data
629 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_handle_link_irq() local
634 link = le32_to_cpu(sm_data->link); in slic_handle_link_irq()
715 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_poll() local
716 u32 isr = le32_to_cpu(sm_data->isr); in slic_poll()
724 sm_data->isr = 0; in slic_poll()
738 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_irq() local
745 if (!sm_data->isr) { in slic_irq()
1229 struct slic_shmem_data *sm_data; in slic_init_shmem() local
1232 sm_data = dma_alloc_coherent(&sdev->pdev->dev, sizeof(*sm_data), in slic_init_shmem()
1234 if (!sm_data) { in slic_init_shmem()
1239 sm->shmem_data = sm_data; in slic_init_shmem()
1249 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_free_shmem() local
1251 dma_free_coherent(&sdev->pdev->dev, sizeof(*sm_data), sm_data, in slic_free_shmem()
1601 struct slic_shmem_data *sm_data = sm->shmem_data; in slic_read_eeprom() local
1623 if (le32_to_cpu(sm_data->isr) & SLIC_ISR_UPC) in slic_read_eeprom()