/drivers/iio/magnetometer/ |
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()
|
/drivers/iio/pressure/ |
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()
|
/drivers/iio/gyro/ |
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()
|
/drivers/iio/accel/ |
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()
|
/drivers/iio/imu/st_lsm9ds0/ |
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()
|
/drivers/acpi/ |
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() 228 count = snprintf(&modalias[len], size, "C%s", in create_of_modalias() 239 modalias[len] = '\0'; in create_of_modalias() 340 static DEVICE_ATTR_RO(modalias);
|
D | bus.c | 759 char *modalias, size_t len) in acpi_of_modalias() argument 776 strlcpy(modalias, chr ? chr + 1 : str, len); in acpi_of_modalias() 793 char *modalias, size_t len) in acpi_set_modalias() argument 795 if (!acpi_of_modalias(adev, modalias, len)) in acpi_set_modalias() 796 strlcpy(modalias, default_id, len); in acpi_set_modalias()
|
/drivers/soundwire/ |
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()
|
/drivers/spi/ |
D | spi-altera-dfl.c | 167 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()
|
D | spi.c | 65 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() 731 WARN_ON(strlen(chip->modalias) >= sizeof(proxy->modalias)); in spi_new_device() 737 strlcpy(proxy->modalias, chip->modalias, sizeof(proxy->modalias)); in spi_new_device() 746 chip->modalias, status); in spi_new_device() 800 bi->modalias); in spi_match_controller_to_boardinfo() 2131 rc = of_modalias_node(nc, spi->modalias, in of_register_spi_device() [all …]
|
D | spi-altera-platform.c | 130 pdata->devices[i].modalias); in altera_spi_probe()
|
/drivers/staging/greybus/ |
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()
|
/drivers/media/v4l2-core/ |
D | v4l2-spi.c | 45 if (info->modalias[0]) in v4l2_spi_new_subdev() 46 request_module(info->modalias); in v4l2_spi_new_subdev()
|
/drivers/net/dsa/ |
D | dsa_loop_bdinfo.c | 24 .modalias = "dsa-loop",
|
/drivers/iio/humidity/ |
D | hts221_spi.c | 40 spi->modalias, regmap); in hts221_spi_probe()
|
/drivers/misc/eeprom/ |
D | digsy_mtc_eeprom.c | 79 .modalias = "93xx46",
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_spi.c | 110 indio_dev->name = spi->modalias; in st_sensors_spi_configure()
|
/drivers/macintosh/ |
D | macio_sysfs.c | 47 static DEVICE_ATTR_RO(modalias);
|
/drivers/firewire/ |
D | core-device.c | 211 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/ |
D | ad7314.c | 109 spi_dev->modalias, in ad7314_probe()
|
D | lm70.c | 178 spi->modalias, in lm70_probe()
|
D | max31722.c | 92 spi->modalias, in max31722_probe()
|
/drivers/staging/iio/addac/ |
D | adt7316-spi.c | 114 return adt7316_probe(&spi_dev->dev, &bus, spi_dev->modalias); in adt7316_spi_probe()
|
/drivers/zorro/ |
D | zorro-sysfs.c | 70 static DEVICE_ATTR_RO(modalias);
|
/drivers/net/phy/ |
D | mdio_bus.c | 497 strncpy(mdiodev->modalias, bi->modalias, in mdiobus_create_device() 498 sizeof(mdiodev->modalias)); in mdiobus_create_device()
|