/linux/sound/hda/ |
H A D | hda_bus_type.c | 70 char modalias[32]; in hda_uevent() local 72 snd_hdac_codec_modalias(dev_to_hdac_dev(dev), modalias, in hda_uevent() 73 sizeof(modalias)); in hda_uevent() 74 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in hda_uevent()
|
/linux/drivers/iio/magnetometer/ |
H A D | st_magn_spi.c | 63 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_magn_spi_probe() 65 settings = st_magn_get_settings(spi->modalias); in st_magn_spi_probe() 68 spi->modalias); in st_magn_spi_probe()
|
/linux/drivers/iio/gyro/ |
H A 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()
|
/linux/drivers/iio/pressure/ |
H A D | st_pressure_spi.c | 69 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_press_spi_probe() 71 settings = st_press_get_settings(spi->modalias); in st_press_spi_probe() 74 spi->modalias); in st_press_spi_probe()
|
/linux/drivers/iio/accel/ |
H A D | st_accel_spi.c | 122 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_accel_spi_probe() 124 settings = st_accel_get_settings(spi->modalias); in st_accel_spi_probe() 127 spi->modalias); in st_accel_spi_probe()
|
/linux/sound/aoa/soundbus/ |
H A D | sysfs.c | 14 if (*sdev->modalias) in modalias_show() 15 return sysfs_emit(buf, "%s\n", sdev->modalias); in modalias_show() 21 static DEVICE_ATTR_RO(modalias);
|
/linux/drivers/iio/imu/st_lsm9ds0/ |
H A D | st_lsm9ds0_spi.c | 54 st_sensors_dev_name_probe(dev, spi->modalias, sizeof(spi->modalias)); in st_lsm9ds0_spi_probe() 61 lsm9ds0->name = spi->modalias; in st_lsm9ds0_spi_probe()
|
/linux/drivers/soundwire/ |
H A D | bus_type.c | 65 char modalias[32]; in sdw_slave_uevent() local 67 sdw_slave_modalias(slave, modalias, sizeof(modalias)); in sdw_slave_uevent() 69 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in sdw_slave_uevent()
|
/linux/arch/arm/mach-s3c/ |
H A D | mach-crag6410-module.c | 51 .modalias = "wm0010", 63 .modalias = "wm0010", 252 .modalias = "wm5102", 284 .modalias = "wm5102", 306 .modalias = "wm5110",
|
/linux/drivers/acpi/ |
H A D | device_sysfs.c | 136 static int create_pnp_modalias(const struct acpi_device *acpi_dev, char *modalias, in create_pnp_modalias() argument 160 len = snprintf(modalias, size, "acpi:"); in create_pnp_modalias() 170 count = snprintf(&modalias[len], size, "%s:", id->id); in create_pnp_modalias() 192 static int create_of_modalias(const 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() 337 static DEVICE_ATTR_RO(modalias);
|
/linux/drivers/spi/ |
H A D | spi-altera-dfl.c | 167 strscpy(board_info.modalias, "m10-n5010", SPI_NAME_SIZE); in dfl_spi_altera_probe() 169 strscpy(board_info.modalias, "m10-d5005", SPI_NAME_SIZE); in dfl_spi_altera_probe() 177 __func__, board_info.modalias); in dfl_spi_altera_probe()
|
H A D | spi.c | 67 return sysfs_emit(buf, "%s%s\n", SPI_MODULE_PREFIX, spi->modalias); in modalias_show() 69 static DEVICE_ATTR_RO(modalias); 358 return spi_match_id(sdrv->id_table, sdev->modalias); in spi_get_device_id() 392 return !!spi_match_id(sdrv->id_table, spi->modalias); in spi_match_device() 394 return strcmp(spi->modalias, drv->name) == 0; in spi_match_device() 406 return add_uevent_var(env, "MODALIAS=%s%s", SPI_MODULE_PREFIX, spi->modalias); in spi_uevent() 827 WARN_ON(strlen(chip->modalias) >= sizeof(proxy->modalias)); in spi_new_device() 836 strscpy(proxy->modalias, chip->modalias, sizeof(proxy->modalias)); in spi_new_device() 850 chip->modalias, status); in spi_new_device() 904 bi->modalias); in spi_match_controller_to_boardinfo() [all …]
|
/linux/drivers/staging/greybus/ |
H A D | spilib.c | 462 strscpy(spi_board.modalias, "spidev", in gb_spi_setup_device() 463 sizeof(spi_board.modalias)); in gb_spi_setup_device() 465 strscpy(spi_board.modalias, "spi-nor", in gb_spi_setup_device() 466 sizeof(spi_board.modalias)); in gb_spi_setup_device() 468 memcpy(spi_board.modalias, response.name, in gb_spi_setup_device() 469 sizeof(spi_board.modalias)); in gb_spi_setup_device()
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-spi.c | 45 if (info->modalias[0]) in v4l2_spi_new_subdev() 46 request_module(info->modalias); in v4l2_spi_new_subdev()
|
/linux/sound/pci/hda/ |
H A D | hda_bind.c | 211 char modalias[32]; in request_codec_module() local 226 snd_hdac_codec_modalias(&codec->core, modalias, sizeof(modalias)); in request_codec_module() 227 mod = modalias; in request_codec_module()
|
/linux/arch/arm/mach-omap1/ |
H A D | board-nokia770.c | 153 .modalias = "lcd_mipid", 161 .modalias = "ads7846",
|
/linux/drivers/net/dsa/ |
H A D | dsa_loop_bdinfo.c | 24 .modalias = "dsa-loop",
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | namespace.rst | 271 will then contain the 'hid' and 'modalias' attributes that can be 274 The 'modalias' attribute is also present for struct acpi_device 390 .. note:: Each node is represented as "object/path/modalias", where: 396 3. 'modalias' is the value of the object's 'modalias' sysfs 400 'modalias' attribute.
|
/linux/arch/arm/mach-dove/ |
H A D | cm-a510.c | 43 .modalias = "m25p80",
|
/linux/drivers/iio/humidity/ |
H A D | hts221_spi.c | 40 spi->modalias, regmap); in hts221_spi_probe()
|
/linux/drivers/misc/eeprom/ |
H A D | digsy_mtc_eeprom.c | 71 .modalias = "eeprom-93xx46",
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-hsi | 14 What: /sys/bus/hsi/devices/.../modalias
|
/linux/arch/m68k/coldfire/ |
H A D | stmark2.c | 47 .modalias = "m25p80",
|
/linux/drivers/iio/common/st_sensors/ |
H A D | st_sensors_spi.c | 110 indio_dev->name = spi->modalias; in st_sensors_spi_configure()
|
/linux/drivers/macintosh/ |
H A D | macio_sysfs.c | 49 static DEVICE_ATTR_RO(modalias);
|