Home
last modified time | relevance | path

Searched refs:modalias (Results 1 – 25 of 74) sorted by relevance

123

/drivers/staging/fbtft/
Dfbtft_device.c278 .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/
Ddevice_sysfs.c142 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);
Dbus.c700 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/
Dst_magn_spi.c60 spi->modalias, sizeof(spi->modalias)); in st_magn_spi_probe()
/drivers/iio/pressure/
Dst_pressure_spi.c64 spi->modalias, sizeof(spi->modalias)); in st_press_spi_probe()
/drivers/staging/greybus/
Dspilib.c459 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/
Dst_gyro_spi.c84 spi->modalias, sizeof(spi->modalias)); in st_gyro_spi_probe()
/drivers/iio/accel/
Dst_accel_spi.c105 spi->modalias, sizeof(spi->modalias)); in st_accel_spi_probe()
/drivers/spi/
Dspi.c73 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/
Ddsa_loop_bdinfo.c23 .modalias = "dsa-loop",
/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c61 .modalias = "93xx46",
/drivers/net/phy/
Dmdio_bus.c302 strncpy(mdiodev->modalias, bi->modalias, in mdiobus_create_device()
303 sizeof(mdiodev->modalias)); in mdiobus_create_device()
Dmdio_device.c45 return strcmp(mdiodev->modalias, drv->name) == 0; in mdio_device_bus_match()
/drivers/media/v4l2-core/
Dv4l2-common.c270 if (info->modalias[0]) in v4l2_spi_new_subdev()
271 request_module(info->modalias); in v4l2_spi_new_subdev()
/drivers/macintosh/
Dmacio_sysfs.c58 static DEVICE_ATTR_RO(modalias);
/drivers/mtd/devices/
Dm25p80.c292 else if (!strcmp(spi->modalias, "spi-nor")) in m25p_probe()
295 flash_name = spi->modalias; in m25p_probe()
/drivers/firewire/
Dcore-device.c225 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/
Dad7314.c111 spi_dev->modalias, in ad7314_probe()
Dlm70.c192 spi->modalias, in lm70_probe()
Dmax31722.c98 spi->modalias, in max31722_probe()
/drivers/staging/iio/addac/
Dadt7316-spi.c116 return adt7316_probe(&spi_dev->dev, &bus, spi_dev->modalias); in adt7316_spi_probe()
/drivers/iio/humidity/
Dhts221_spi.c93 hw->name = spi->modalias; in hts221_spi_probe()
/drivers/iio/common/st_sensors/
Dst_sensors_spi.c112 indio_dev->name = spi->modalias; in st_sensors_spi_configure()
/drivers/zorro/
Dzorro-sysfs.c70 static DEVICE_ATTR_RO(modalias);
/drivers/ide/
Dide-sysfs.c45 static DEVICE_ATTR_RO(modalias);

123