/drivers/staging/fbtft/ |
D | fbtft_device.c | 278 .modalias = "fb_st7735r", 298 .modalias = "fb_st7735r", 321 .modalias = "fb_hx8340bn", 340 .modalias = "fb_ili9340", 360 .modalias = "fb_ili9341", 380 .modalias = "fb_ssd1306", 397 .modalias = "fb_st7789v", 436 .modalias = "fb_uc1701", 454 .modalias = "fb_ra8875", 475 .modalias = "fb_ra8875", [all …]
|
/drivers/acpi/ |
D | device_sysfs.c | 142 static int create_pnp_modalias(struct acpi_device *acpi_dev, char *modalias, in create_pnp_modalias() argument 166 len = snprintf(modalias, size, "acpi:"); in create_pnp_modalias() 176 count = snprintf(&modalias[len], size, "%s:", id->id); in create_pnp_modalias() 186 modalias[len] = '\0'; in create_pnp_modalias() 200 static int create_of_modalias(struct acpi_device *acpi_dev, char *modalias, in create_of_modalias() argument 218 len = snprintf(modalias, size, "of:N%sT", (char *)buf.pointer); in create_of_modalias() 233 count = snprintf(&modalias[len], size, "C%s", in create_of_modalias() 244 modalias[len] = '\0'; in create_of_modalias() 348 static DEVICE_ATTR(modalias, 0444, acpi_device_modalias_show, NULL);
|
D | bus.c | 700 char *modalias, size_t len) in acpi_of_modalias() argument 717 strlcpy(modalias, chr ? chr + 1 : str, len); in acpi_of_modalias() 734 char *modalias, size_t len) in acpi_set_modalias() argument 736 if (!acpi_of_modalias(adev, modalias, len)) in acpi_set_modalias() 737 strlcpy(modalias, default_id, len); in acpi_set_modalias()
|
/drivers/iio/magnetometer/ |
D | st_magn_spi.c | 60 spi->modalias, sizeof(spi->modalias)); in st_magn_spi_probe()
|
/drivers/iio/pressure/ |
D | st_pressure_spi.c | 64 spi->modalias, sizeof(spi->modalias)); in st_press_spi_probe()
|
/drivers/staging/greybus/ |
D | spilib.c | 459 strlcpy(spi_board.modalias, "spidev", in gb_spi_setup_device() 460 sizeof(spi_board.modalias)); in gb_spi_setup_device() 462 strlcpy(spi_board.modalias, "spi-nor", in gb_spi_setup_device() 463 sizeof(spi_board.modalias)); in gb_spi_setup_device() 465 memcpy(spi_board.modalias, response.name, in gb_spi_setup_device() 466 sizeof(spi_board.modalias)); in gb_spi_setup_device()
|
/drivers/iio/gyro/ |
D | st_gyro_spi.c | 84 spi->modalias, sizeof(spi->modalias)); in st_gyro_spi_probe()
|
/drivers/iio/accel/ |
D | st_accel_spi.c | 105 spi->modalias, sizeof(spi->modalias)); in st_accel_spi_probe()
|
/drivers/spi/ |
D | spi.c | 73 return sprintf(buf, "%s%s\n", SPI_MODULE_PREFIX, spi->modalias); in modalias_show() 75 static DEVICE_ATTR_RO(modalias); 285 if (!strcmp(sdev->modalias, id->name)) in spi_match_id() 316 return strcmp(spi->modalias, drv->name) == 0; in spi_match_device() 328 return add_uevent_var(env, "MODALIAS=%s%s", SPI_MODULE_PREFIX, spi->modalias); in spi_uevent() 596 WARN_ON(strlen(chip->modalias) >= sizeof(proxy->modalias)); in spi_new_device() 602 strlcpy(proxy->modalias, chip->modalias, sizeof(proxy->modalias)); in spi_new_device() 612 chip->modalias, status); in spi_new_device() 665 bi->modalias); in spi_match_controller_to_boardinfo() 1642 rc = of_modalias_node(nc, spi->modalias, in of_register_spi_device() [all …]
|
/drivers/net/dsa/ |
D | dsa_loop_bdinfo.c | 23 .modalias = "dsa-loop",
|
/drivers/misc/eeprom/ |
D | digsy_mtc_eeprom.c | 61 .modalias = "93xx46",
|
/drivers/net/phy/ |
D | mdio_bus.c | 302 strncpy(mdiodev->modalias, bi->modalias, in mdiobus_create_device() 303 sizeof(mdiodev->modalias)); in mdiobus_create_device()
|
D | mdio_device.c | 45 return strcmp(mdiodev->modalias, drv->name) == 0; in mdio_device_bus_match()
|
/drivers/media/v4l2-core/ |
D | v4l2-common.c | 270 if (info->modalias[0]) in v4l2_spi_new_subdev() 271 request_module(info->modalias); in v4l2_spi_new_subdev()
|
/drivers/macintosh/ |
D | macio_sysfs.c | 58 static DEVICE_ATTR_RO(modalias);
|
/drivers/mtd/devices/ |
D | m25p80.c | 292 else if (!strcmp(spi->modalias, "spi-nor")) in m25p_probe() 295 flash_name = spi->modalias; in m25p_probe()
|
/drivers/firewire/ |
D | core-device.c | 225 char modalias[64]; in fw_unit_uevent() local 227 get_modalias(unit, modalias, sizeof(modalias)); in fw_unit_uevent() 229 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in fw_unit_uevent() 393 __ATTR_RO(modalias),
|
/drivers/hwmon/ |
D | ad7314.c | 111 spi_dev->modalias, in ad7314_probe()
|
D | lm70.c | 192 spi->modalias, in lm70_probe()
|
D | max31722.c | 98 spi->modalias, in max31722_probe()
|
/drivers/staging/iio/addac/ |
D | adt7316-spi.c | 116 return adt7316_probe(&spi_dev->dev, &bus, spi_dev->modalias); in adt7316_spi_probe()
|
/drivers/iio/humidity/ |
D | hts221_spi.c | 93 hw->name = spi->modalias; in hts221_spi_probe()
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_spi.c | 112 indio_dev->name = spi->modalias; in st_sensors_spi_configure()
|
/drivers/zorro/ |
D | zorro-sysfs.c | 70 static DEVICE_ATTR_RO(modalias);
|
/drivers/ide/ |
D | ide-sysfs.c | 45 static DEVICE_ATTR_RO(modalias);
|