/linux-4.19.296/drivers/iio/magnetometer/ |
D | st_magn_core.c | 388 struct st_sensor_data *mdata = iio_priv(indio_dev); in st_magn_read_raw() local 400 (mdata->current_fullscale->gain2 != 0)) in st_magn_read_raw() 401 *val2 = mdata->current_fullscale->gain2; in st_magn_read_raw() 403 *val2 = mdata->current_fullscale->gain; in st_magn_read_raw() 406 *val = mdata->odr; in st_magn_read_raw() 471 struct st_sensor_data *mdata = iio_priv(indio_dev); in st_magn_common_probe() local 472 int irq = mdata->get_irq_data_ready(indio_dev); in st_magn_common_probe() 477 mutex_init(&mdata->tb.buf_lock); in st_magn_common_probe() 489 mdata->num_data_channels = ST_MAGN_NUMBER_DATA_CHANNELS; in st_magn_common_probe() 490 mdata->multiread_bit = mdata->sensor_settings->multi_read_bit; in st_magn_common_probe() [all …]
|
D | st_magn_buffer.c | 36 struct st_sensor_data *mdata = iio_priv(indio_dev); in st_magn_buffer_postenable() local 38 mdata->buffer_data = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in st_magn_buffer_postenable() 39 if (mdata->buffer_data == NULL) { in st_magn_buffer_postenable() 51 kfree(mdata->buffer_data); in st_magn_buffer_postenable() 59 struct st_sensor_data *mdata = iio_priv(indio_dev); in st_magn_buffer_predisable() local 68 kfree(mdata->buffer_data); in st_magn_buffer_predisable()
|
D | st_magn_spi.c | 50 struct st_sensor_data *mdata; in st_magn_spi_probe() local 53 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*mdata)); in st_magn_spi_probe() 57 mdata = iio_priv(indio_dev); in st_magn_spi_probe() 61 st_sensors_spi_configure(indio_dev, spi, mdata); in st_magn_spi_probe()
|
D | st_magn_i2c.c | 58 struct st_sensor_data *mdata; in st_magn_i2c_probe() local 61 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*mdata)); in st_magn_i2c_probe() 65 mdata = iio_priv(indio_dev); in st_magn_i2c_probe() 69 st_sensors_i2c_configure(indio_dev, client, mdata); in st_magn_i2c_probe()
|
/linux-4.19.296/fs/udf/ |
D | partition.c | 311 struct udf_meta_data *mdata; in udf_get_pblock_meta25() local 318 mdata = &map->s_type_specific.s_metadata; in udf_get_pblock_meta25() 319 inode = mdata->s_metadata_fe ? : mdata->s_mirror_fe; in udf_get_pblock_meta25() 325 if (retblk == 0xFFFFFFFF && mdata->s_metadata_fe) { in udf_get_pblock_meta25() 327 if (!(mdata->s_flags & MF_MIRROR_FE_LOADED)) { in udf_get_pblock_meta25() 328 mdata->s_mirror_fe = udf_find_metadata_inode_efe(sb, in udf_get_pblock_meta25() 329 mdata->s_mirror_file_loc, in udf_get_pblock_meta25() 330 mdata->s_phys_partition_ref); in udf_get_pblock_meta25() 331 if (IS_ERR(mdata->s_mirror_fe)) in udf_get_pblock_meta25() 332 mdata->s_mirror_fe = NULL; in udf_get_pblock_meta25() [all …]
|
D | super.c | 288 struct udf_meta_data *mdata; in udf_free_partition() local 302 mdata = &map->s_type_specific.s_metadata; in udf_free_partition() 303 iput(mdata->s_metadata_fe); in udf_free_partition() 304 mdata->s_metadata_fe = NULL; in udf_free_partition() 306 iput(mdata->s_mirror_fe); in udf_free_partition() 307 mdata->s_mirror_fe = NULL; in udf_free_partition() 309 iput(mdata->s_bitmap_fe); in udf_free_partition() 310 mdata->s_bitmap_fe = NULL; in udf_free_partition() 892 struct udf_meta_data *mdata; in udf_load_metadata_files() local 897 mdata = &map->s_type_specific.s_metadata; in udf_load_metadata_files() [all …]
|
/linux-4.19.296/fs/jffs2/ |
D | fs.c | 38 unsigned char *mdata = NULL; in jffs2_do_setattr() local 55 mdata = (char *)&dev; in jffs2_do_setattr() 61 mdata = kmalloc(f->metadata->size, GFP_USER); in jffs2_do_setattr() 62 if (!mdata) { in jffs2_do_setattr() 66 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr() 69 kfree(mdata); in jffs2_do_setattr() 80 kfree(mdata); in jffs2_do_setattr() 89 kfree(mdata); in jffs2_do_setattr() 134 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr() 138 new_metadata = jffs2_write_dnode(c, f, ri, mdata, mdatalen, alloc_type); in jffs2_do_setattr() [all …]
|
D | gc.c | 765 char *mdata = NULL; in jffs2_garbage_collect_metadata() local 774 mdata = (char *)&dev; in jffs2_garbage_collect_metadata() 779 mdata = kmalloc(fn->size, GFP_KERNEL); in jffs2_garbage_collect_metadata() 780 if (!mdata) { in jffs2_garbage_collect_metadata() 784 ret = jffs2_read_dnode(c, f, fn, mdata, 0, mdatalen); in jffs2_garbage_collect_metadata() 788 kfree(mdata); in jffs2_garbage_collect_metadata() 832 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata() 834 new_fn = jffs2_write_dnode(c, f, &ri, mdata, mdatalen, ALLOC_GC); in jffs2_garbage_collect_metadata() 846 kfree(mdata); in jffs2_garbage_collect_metadata()
|
/linux-4.19.296/drivers/bus/ |
D | ti-sysc.c | 1651 struct ti_sysc_module_data mdata; in sysc_init_pdata() local 1657 mdata.name = ddata->legacy_mode; in sysc_init_pdata() 1658 mdata.module_pa = ddata->module_pa; in sysc_init_pdata() 1659 mdata.module_size = ddata->module_size; in sysc_init_pdata() 1660 mdata.offsets = ddata->offsets; in sysc_init_pdata() 1661 mdata.nr_offsets = SYSC_MAX_REGS; in sysc_init_pdata() 1662 mdata.cap = ddata->cap; in sysc_init_pdata() 1663 mdata.cfg = &ddata->cfg; in sysc_init_pdata() 1668 error = pdata->init_module(ddata->dev, &mdata, &ddata->cookie); in sysc_init_pdata()
|
/linux-4.19.296/drivers/media/usb/gspca/ |
D | vc032x.c | 2976 u8 ldata, mdata, hdata; in read_sensor_register() local 2997 mdata = gspca_dev->usb_buf[0]; in read_sensor_register() 3000 if (hdata != 0 && mdata != 0 && ldata != 0) in read_sensor_register() 3002 hdata, mdata, ldata); in read_sensor_register() 3005 return (hdata << 8) + mdata; in read_sensor_register()
|
/linux-4.19.296/fs/cifs/ |
D | connect.c | 3963 char *full_path = NULL, *ref_path = NULL, *mdata = NULL; in expand_dfs_referral() local 3978 mdata = cifs_compose_mount_options(cifs_sb->mountdata, in expand_dfs_referral() 3984 if (IS_ERR(mdata)) { in expand_dfs_referral() 3985 rc = PTR_ERR(mdata); in expand_dfs_referral() 3986 mdata = NULL; in expand_dfs_referral() 3989 rc = cifs_setup_volume_info(volume_info, mdata, in expand_dfs_referral() 3994 cifs_sb->mountdata = mdata; in expand_dfs_referral()
|