Home
last modified time | relevance | path

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

1234

/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()
/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()
/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()
/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()
/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()
227 count = snprintf(&modalias[len], size, "C%s", in create_of_modalias()
238 modalias[len] = '\0'; in create_of_modalias()
334 static DEVICE_ATTR_RO(modalias);
Dbus.c667 char *modalias, size_t len) in acpi_of_modalias() argument
684 strlcpy(modalias, chr ? chr + 1 : str, len); in acpi_of_modalias()
701 char *modalias, size_t len) in acpi_set_modalias() argument
703 if (!acpi_of_modalias(adev, modalias, len)) in acpi_set_modalias()
704 strlcpy(modalias, default_id, len); in acpi_set_modalias()
/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()
/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()
/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()
/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()
2041 rc = of_modalias_node(nc, spi->modalias, in of_register_spi_device()
[all …]
/drivers/net/dsa/
Ddsa_loop_bdinfo.c24 .modalias = "dsa-loop",
/drivers/iio/humidity/
Dhts221_spi.c40 spi->modalias, regmap); in hts221_spi_probe()
/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c79 .modalias = "93xx46",
/drivers/iio/common/st_sensors/
Dst_sensors_spi.c111 indio_dev->name = spi->modalias; in st_sensors_spi_configure()
/drivers/macintosh/
Dmacio_sysfs.c47 static DEVICE_ATTR_RO(modalias);
/drivers/firewire/
Dcore-device.c211 char modalias[64]; in fw_unit_uevent() local
213 get_modalias(unit, modalias, sizeof(modalias)); in fw_unit_uevent()
215 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in fw_unit_uevent()
379 __ATTR_RO(modalias),
/drivers/hwmon/
Dad7314.c109 spi_dev->modalias, in ad7314_probe()
Dlm70.c178 spi->modalias, in lm70_probe()
Dmax31722.c92 spi->modalias, in max31722_probe()
/drivers/staging/iio/addac/
Dadt7316-spi.c114 return adt7316_probe(&spi_dev->dev, &bus, spi_dev->modalias); in adt7316_spi_probe()
/drivers/zorro/
Dzorro-sysfs.c70 static DEVICE_ATTR_RO(modalias);
/drivers/staging/kpc2000/
Dkpc2000_spi.c62 .modalias = "n25q256a11",
69 .modalias = "n25q256a11",
/drivers/net/phy/
Dmdio_bus.c497 strncpy(mdiodev->modalias, bi->modalias, in mdiobus_create_device()
498 sizeof(mdiodev->modalias)); in mdiobus_create_device()
/drivers/ide/
Dide-sysfs.c45 static DEVICE_ATTR_RO(modalias);
/drivers/thunderbolt/
Dxdomain.c709 static DEVICE_ATTR_RO(modalias);
769 char modalias[64]; in tb_service_uevent() local
771 get_modalias(svc, modalias, sizeof(modalias)); in tb_service_uevent()
772 return add_uevent_var(env, "MODALIAS=%s", modalias); in tb_service_uevent()

1234