/drivers/iio/magnetometer/ |
D | st_magn_spi.c | 55 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_magn_spi_probe() 57 settings = st_magn_get_settings(spi->modalias); in st_magn_spi_probe() 60 spi->modalias); in st_magn_spi_probe()
|
/drivers/iio/pressure/ |
D | st_pressure_spi.c | 65 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_press_spi_probe() 67 settings = st_press_get_settings(spi->modalias); in st_press_spi_probe() 70 spi->modalias); in st_press_spi_probe()
|
/drivers/iio/gyro/ |
D | st_gyro_spi.c | 73 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_gyro_spi_probe() 75 settings = st_gyro_get_settings(spi->modalias); in st_gyro_spi_probe() 78 spi->modalias); in st_gyro_spi_probe()
|
/drivers/iio/accel/ |
D | st_accel_spi.c | 106 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_accel_spi_probe() 108 settings = st_accel_get_settings(spi->modalias); in st_accel_spi_probe() 111 spi->modalias); in st_accel_spi_probe()
|
/drivers/acpi/ |
D | device_sysfs.c | 134 static int create_pnp_modalias(struct acpi_device *acpi_dev, char *modalias, in create_pnp_modalias() argument 158 len = snprintf(modalias, size, "acpi:"); in create_pnp_modalias() 168 count = snprintf(&modalias[len], size, "%s:", id->id); in create_pnp_modalias() 178 modalias[len] = '\0'; in create_pnp_modalias() 192 static int create_of_modalias(struct acpi_device *acpi_dev, char *modalias, in create_of_modalias() argument 210 len = snprintf(modalias, size, "of:N%sT", (char *)buf.pointer); in create_of_modalias() 227 count = snprintf(&modalias[len], size, "C%s", in create_of_modalias() 238 modalias[len] = '\0'; in create_of_modalias() 334 static DEVICE_ATTR_RO(modalias);
|
D | bus.c | 667 char *modalias, size_t len) in acpi_of_modalias() argument 684 strlcpy(modalias, chr ? chr + 1 : str, len); in acpi_of_modalias() 701 char *modalias, size_t len) in acpi_set_modalias() argument 703 if (!acpi_of_modalias(adev, modalias, len)) in acpi_set_modalias() 704 strlcpy(modalias, default_id, len); in acpi_set_modalias()
|
/drivers/soundwire/ |
D | bus_type.c | 64 char modalias[32]; in sdw_slave_uevent() local 66 sdw_slave_modalias(slave, modalias, sizeof(modalias)); in sdw_slave_uevent() 68 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in sdw_slave_uevent()
|
/drivers/staging/greybus/ |
D | spilib.c | 458 strlcpy(spi_board.modalias, "spidev", in gb_spi_setup_device() 459 sizeof(spi_board.modalias)); in gb_spi_setup_device() 461 strlcpy(spi_board.modalias, "spi-nor", in gb_spi_setup_device() 462 sizeof(spi_board.modalias)); in gb_spi_setup_device() 464 memcpy(spi_board.modalias, response.name, in gb_spi_setup_device() 465 sizeof(spi_board.modalias)); in gb_spi_setup_device()
|
/drivers/media/v4l2-core/ |
D | v4l2-spi.c | 45 if (info->modalias[0]) in v4l2_spi_new_subdev() 46 request_module(info->modalias); in v4l2_spi_new_subdev()
|
/drivers/spi/ |
D | spi.c | 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() 2041 rc = of_modalias_node(nc, spi->modalias, in of_register_spi_device() [all …]
|
/drivers/net/dsa/ |
D | dsa_loop_bdinfo.c | 24 .modalias = "dsa-loop",
|
/drivers/iio/humidity/ |
D | hts221_spi.c | 40 spi->modalias, regmap); in hts221_spi_probe()
|
/drivers/misc/eeprom/ |
D | digsy_mtc_eeprom.c | 79 .modalias = "93xx46",
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_spi.c | 111 indio_dev->name = spi->modalias; in st_sensors_spi_configure()
|
/drivers/macintosh/ |
D | macio_sysfs.c | 47 static DEVICE_ATTR_RO(modalias);
|
/drivers/firewire/ |
D | core-device.c | 211 char modalias[64]; in fw_unit_uevent() local 213 get_modalias(unit, modalias, sizeof(modalias)); in fw_unit_uevent() 215 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in fw_unit_uevent() 379 __ATTR_RO(modalias),
|
/drivers/hwmon/ |
D | ad7314.c | 109 spi_dev->modalias, in ad7314_probe()
|
D | lm70.c | 178 spi->modalias, in lm70_probe()
|
D | max31722.c | 92 spi->modalias, in max31722_probe()
|
/drivers/staging/iio/addac/ |
D | adt7316-spi.c | 114 return adt7316_probe(&spi_dev->dev, &bus, spi_dev->modalias); in adt7316_spi_probe()
|
/drivers/zorro/ |
D | zorro-sysfs.c | 70 static DEVICE_ATTR_RO(modalias);
|
/drivers/staging/kpc2000/ |
D | kpc2000_spi.c | 62 .modalias = "n25q256a11", 69 .modalias = "n25q256a11",
|
/drivers/net/phy/ |
D | mdio_bus.c | 497 strncpy(mdiodev->modalias, bi->modalias, in mdiobus_create_device() 498 sizeof(mdiodev->modalias)); in mdiobus_create_device()
|
/drivers/ide/ |
D | ide-sysfs.c | 45 static DEVICE_ATTR_RO(modalias);
|
/drivers/thunderbolt/ |
D | xdomain.c | 709 static DEVICE_ATTR_RO(modalias); 769 char modalias[64]; in tb_service_uevent() local 771 get_modalias(svc, modalias, sizeof(modalias)); in tb_service_uevent() 772 return add_uevent_var(env, "MODALIAS=%s", modalias); in tb_service_uevent()
|