Lines Matching refs:modalias
65 return sprintf(buf, "%s%s\n", SPI_MODULE_PREFIX, spi->modalias); in modalias_show()
67 static DEVICE_ATTR_RO(modalias);
323 if (!strcmp(sdev->modalias, id->name)) in spi_match_id()
358 return strcmp(spi->modalias, drv->name) == 0; in spi_match_device()
370 return add_uevent_var(env, "MODALIAS=%s%s", SPI_MODULE_PREFIX, spi->modalias); in spi_uevent()
664 WARN_ON(strlen(chip->modalias) >= sizeof(proxy->modalias)); in spi_new_device()
670 strlcpy(proxy->modalias, chip->modalias, sizeof(proxy->modalias)); in spi_new_device()
680 chip->modalias, status); in spi_new_device()
735 bi->modalias); in spi_match_controller_to_boardinfo()
2039 rc = of_modalias_node(nc, spi->modalias, in of_register_spi_device()
2040 sizeof(spi->modalias)); in of_register_spi_device()
2249 acpi_set_modalias(adev, acpi_device_hid(adev), spi->modalias, in acpi_register_spi_device()
2250 sizeof(spi->modalias)); in acpi_register_spi_device()
2347 child ? to_spi_device(child)->modalias : NULL); in slave_show()
2377 strlcpy(spi->modalias, name, sizeof(spi->modalias)); in slave_store()