Home
last modified time | relevance | path

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

1234567

/linux/drivers/iio/magnetometer/
A Dst_magn_spi.c59 st_sensors_dev_name_probe(&spi->dev, spi->modalias, sizeof(spi->modalias)); in st_magn_spi_probe()
61 settings = st_magn_get_settings(spi->modalias); in st_magn_spi_probe()
64 spi->modalias); in st_magn_spi_probe()
/linux/sound/hda/
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/sound/aoa/soundbus/
A Dsysfs.c15 if (*sdev->modalias) { in modalias_show()
16 strscpy(buf, sdev->modalias, sizeof(sdev->modalias) + 1); in modalias_show()
27 static DEVICE_ATTR_RO(modalias);
/linux/drivers/iio/pressure/
A 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()
/linux/drivers/iio/gyro/
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/accel/
A 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()
/linux/arch/arm/mach-pxa/
A Dicontrol.c83 .modalias = "mcp2515",
92 .modalias = "mcp2515",
101 .modalias = "mcp2515",
110 .modalias = "mcp2515",
/linux/drivers/iio/imu/st_lsm9ds0/
A Dst_lsm9ds0_spi.c47 st_sensors_dev_name_probe(dev, spi->modalias, sizeof(spi->modalias)); in st_lsm9ds0_spi_probe()
54 lsm9ds0->name = spi->modalias; in st_lsm9ds0_spi_probe()
/linux/drivers/acpi/
A Ddevice_sysfs.c135 static int create_pnp_modalias(struct acpi_device *acpi_dev, char *modalias, in create_pnp_modalias() argument
159 len = snprintf(modalias, size, "acpi:"); in create_pnp_modalias()
169 count = snprintf(&modalias[len], size, "%s:", id->id); in create_pnp_modalias()
179 modalias[len] = '\0'; in create_pnp_modalias()
193 static int create_of_modalias(struct acpi_device *acpi_dev, char *modalias, in create_of_modalias() argument
211 len = snprintf(modalias, size, "of:N%sT", (char *)buf.pointer); in create_of_modalias()
226 count = snprintf(&modalias[len], size, "C%s", in create_of_modalias()
237 modalias[len] = '\0'; in create_of_modalias()
338 static DEVICE_ATTR_RO(modalias);
A Dbus.c748 char *modalias, size_t len) in acpi_of_modalias() argument
765 strlcpy(modalias, chr ? chr + 1 : str, len); in acpi_of_modalias()
782 char *modalias, size_t len) in acpi_set_modalias() argument
784 if (!acpi_of_modalias(adev, modalias, len)) in acpi_set_modalias()
785 strlcpy(modalias, default_id, len); in acpi_set_modalias()
/linux/drivers/soundwire/
A 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()
/linux/arch/arm/mach-s3c/
A Dmach-crag6410-module.c46 .modalias = "wm0010",
59 .modalias = "wm0010",
238 .modalias = "wm5102",
271 .modalias = "wm5102",
294 .modalias = "wm5110",
/linux/drivers/spi/
A Dspi-altera-dfl.c168 strscpy(board_info.modalias, "m10-n5010", SPI_NAME_SIZE); in dfl_spi_altera_probe()
170 strscpy(board_info.modalias, "m10-d5005", SPI_NAME_SIZE); in dfl_spi_altera_probe()
178 __func__, board_info.modalias); in dfl_spi_altera_probe()
A Dspi.c67 static DEVICE_ATTR_RO(modalias);
322 if (!strcmp(sdev->modalias, id->name)) in spi_match_id()
729 WARN_ON(strlen(chip->modalias) >= sizeof(proxy->modalias)); in spi_new_device()
735 strlcpy(proxy->modalias, chip->modalias, sizeof(proxy->modalias)); in spi_new_device()
744 chip->modalias, status); in spi_new_device()
798 bi->modalias); in spi_match_controller_to_boardinfo()
2205 rc = of_modalias_node(nc, spi->modalias, in of_register_spi_device()
2206 sizeof(spi->modalias)); in of_register_spi_device()
2292 strlcpy(ancillary->modalias, "dummy", sizeof(ancillary->modalias)); in spi_new_ancillary_device()
2465 sizeof(spi->modalias)); in acpi_register_spi_device()
[all …]
/linux/arch/arm/mach-ep93xx/
A Dvision_ep9307.c221 .modalias = "cs4271",
228 .modalias = "sst25l",
235 .modalias = "mmc_spi",
A Dts72xx.c255 .modalias = "mmc_spi",
311 .modalias = "tmp122",
/linux/sound/pci/hda/
A Dhda_bind.c203 char modalias[32]; in request_codec_module() local
218 snd_hdac_codec_modalias(&codec->core, modalias, sizeof(modalias)); in request_codec_module()
219 mod = modalias; in request_codec_module()
/linux/drivers/staging/greybus/
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/
A Dv4l2-spi.c45 if (info->modalias[0]) in v4l2_spi_new_subdev()
46 request_module(info->modalias); in v4l2_spi_new_subdev()
/linux/arch/arm/mach-omap1/
A Dboard-nokia770.c128 .modalias = "lcd_mipid",
135 .modalias = "ads7846",
/linux/Documentation/firmware-guide/acpi/
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/drivers/net/dsa/
A Ddsa_loop_bdinfo.c24 .modalias = "dsa-loop",
/linux/arch/arm/mach-dove/
A Dcm-a510.c46 .modalias = "m25p80",
A Ddove-db-setup.c48 .modalias = "m25p80",
/linux/drivers/iio/humidity/
A Dhts221_spi.c40 spi->modalias, regmap); in hts221_spi_probe()

Completed in 44 milliseconds

1234567