/linux/drivers/iio/magnetometer/ |
A D | st_magn_spi.c | 59 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 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/sound/aoa/soundbus/ |
A D | sysfs.c | 15 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 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()
|
/linux/drivers/iio/gyro/ |
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/accel/ |
A 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()
|
/linux/arch/arm/mach-pxa/ |
A D | icontrol.c | 83 .modalias = "mcp2515", 92 .modalias = "mcp2515", 101 .modalias = "mcp2515", 110 .modalias = "mcp2515",
|
/linux/drivers/iio/imu/st_lsm9ds0/ |
A D | st_lsm9ds0_spi.c | 47 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 D | device_sysfs.c | 135 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 D | bus.c | 748 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 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()
|
/linux/arch/arm/mach-s3c/ |
A D | mach-crag6410-module.c | 46 .modalias = "wm0010", 59 .modalias = "wm0010", 238 .modalias = "wm5102", 271 .modalias = "wm5102", 294 .modalias = "wm5110",
|
/linux/drivers/spi/ |
A D | spi-altera-dfl.c | 168 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 D | spi.c | 67 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 D | vision_ep9307.c | 221 .modalias = "cs4271", 228 .modalias = "sst25l", 235 .modalias = "mmc_spi",
|
A D | ts72xx.c | 255 .modalias = "mmc_spi", 311 .modalias = "tmp122",
|
/linux/sound/pci/hda/ |
A D | hda_bind.c | 203 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 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/ |
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/arch/arm/mach-omap1/ |
A D | board-nokia770.c | 128 .modalias = "lcd_mipid", 135 .modalias = "ads7846",
|
/linux/Documentation/firmware-guide/acpi/ |
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/drivers/net/dsa/ |
A D | dsa_loop_bdinfo.c | 24 .modalias = "dsa-loop",
|
/linux/arch/arm/mach-dove/ |
A D | cm-a510.c | 46 .modalias = "m25p80",
|
A D | dove-db-setup.c | 48 .modalias = "m25p80",
|
/linux/drivers/iio/humidity/ |
A D | hts221_spi.c | 40 spi->modalias, regmap); in hts221_spi_probe()
|