Home
last modified time | relevance | path

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

12345

/linux/sound/hda/
H A Dhda_bus_type.c70 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 Dst_magn_spi.c63 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 Dst_gyro_spi.c73 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 Dst_pressure_spi.c69 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 Dst_accel_spi.c122 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 Dsysfs.c14 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 Dst_lsm9ds0_spi.c54 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 Dbus_type.c65 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 Dmach-crag6410-module.c51 .modalias = "wm0010",
63 .modalias = "wm0010",
252 .modalias = "wm5102",
284 .modalias = "wm5102",
306 .modalias = "wm5110",
/linux/drivers/acpi/
H A Ddevice_sysfs.c136 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 Dspi-altera-dfl.c167 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 Dspi.c67 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 Dspilib.c462 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 Dv4l2-spi.c45 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 Dhda_bind.c211 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 Dboard-nokia770.c153 .modalias = "lcd_mipid",
161 .modalias = "ads7846",
/linux/drivers/net/dsa/
H A Ddsa_loop_bdinfo.c24 .modalias = "dsa-loop",
/linux/Documentation/firmware-guide/acpi/
H A Dnamespace.rst271 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 Dcm-a510.c43 .modalias = "m25p80",
/linux/drivers/iio/humidity/
H A Dhts221_spi.c40 spi->modalias, regmap); in hts221_spi_probe()
/linux/drivers/misc/eeprom/
H A Ddigsy_mtc_eeprom.c71 .modalias = "eeprom-93xx46",
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-hsi14 What: /sys/bus/hsi/devices/.../modalias
/linux/arch/m68k/coldfire/
H A Dstmark2.c47 .modalias = "m25p80",
/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_spi.c110 indio_dev->name = spi->modalias; in st_sensors_spi_configure()
/linux/drivers/macintosh/
H A Dmacio_sysfs.c49 static DEVICE_ATTR_RO(modalias);

12345