Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/sound/hda/
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()
/kernel/linux/linux-5.10/sound/aoa/soundbus/
Dsysfs.c15 if (*sdev->modalias) { in modalias_show()
16 strlcpy(buf, sdev->modalias, sizeof(sdev->modalias) + 1); in modalias_show()
27 static DEVICE_ATTR_RO(modalias);
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dst_magn_spi.c55 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()
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dst_pressure_spi.c65 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()
/kernel/linux/linux-5.10/drivers/iio/gyro/
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()
/kernel/linux/linux-5.10/drivers/iio/accel/
Dst_accel_spi.c106 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()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dicontrol.c79 .modalias = "mcp2515",
88 .modalias = "mcp2515",
97 .modalias = "mcp2515",
106 .modalias = "mcp2515",
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus_type.c64 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()
/kernel/linux/linux-5.10/drivers/acpi/
Ddevice_sysfs.c134 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()
225 count = snprintf(&modalias[len], size, "C%s", in create_of_modalias()
236 modalias[len] = '\0'; in create_of_modalias()
332 static DEVICE_ATTR_RO(modalias);
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dmach-crag6410-module.c46 .modalias = "wm0010",
59 .modalias = "wm0010",
238 .modalias = "wm5102",
271 .modalias = "wm5102",
294 .modalias = "wm5110",
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Dvision_ep9307.c221 .modalias = "cs4271",
228 .modalias = "sst25l",
235 .modalias = "mmc_spi",
Dsimone.c57 .modalias = "mmc_spi",
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-spi.c45 if (info->modalias[0]) in v4l2_spi_new_subdev()
46 request_module(info->modalias); in v4l2_spi_new_subdev()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_bind.c206 char modalias[32]; in request_codec_module() local
221 snd_hdac_codec_modalias(&codec->core, modalias, sizeof(modalias)); in request_codec_module()
222 mod = modalias; in request_codec_module()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dspilib.c458 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()
/kernel/linux/linux-5.10/drivers/net/dsa/
Ddsa_loop_bdinfo.c24 .modalias = "dsa-loop",
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dboard-nokia770.c128 .modalias = "lcd_mipid",
135 .modalias = "ads7846",
/kernel/linux/linux-5.10/arch/arm/mach-dove/
Ddove-db-setup.c48 .modalias = "m25p80",
Dcm-a510.c46 .modalias = "m25p80",
/kernel/linux/linux-5.10/drivers/iio/humidity/
Dhts221_spi.c40 spi->modalias, regmap); in hts221_spi_probe()
/kernel/linux/linux-5.10/drivers/spi/
Dspi.c65 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()
2039 rc = of_modalias_node(nc, spi->modalias, in of_register_spi_device()
[all …]
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c79 .modalias = "93xx46",
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/
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.
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/
Drd88f6183ap-ge-setup.c67 .modalias = "m25p80",
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-hsi14 What: /sys/bus/hsi/devices/.../modalias

1234567