Searched refs:spfi_data (Results 1 – 1 of 1) sorted by relevance
448 struct img_spfi_device_data *spfi_data = spi_get_ctldata(spi); in img_spfi_setup() local450 if (!spfi_data) { in img_spfi_setup()451 spfi_data = kzalloc(sizeof(*spfi_data), GFP_KERNEL); in img_spfi_setup()452 if (!spfi_data) in img_spfi_setup()454 spfi_data->gpio_requested = false; in img_spfi_setup()455 spi_set_ctldata(spi, spfi_data); in img_spfi_setup()457 if (!spfi_data->gpio_requested) { in img_spfi_setup()466 spfi_data->gpio_requested = true; in img_spfi_setup()483 struct img_spfi_device_data *spfi_data = spi_get_ctldata(spi); in img_spfi_cleanup() local485 if (spfi_data) { in img_spfi_cleanup()[all …]