Home
last modified time | relevance | path

Searched defs:di (Results 1 – 25 of 129) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/power/supply/
Dab8500_fg.c361 static int ab8500_fg_is_low_curr(struct ab8500_fg *di, int curr) in ab8500_fg_is_low_curr()
380 static int ab8500_fg_add_cap_sample(struct ab8500_fg *di, int sample) in ab8500_fg_add_cap_sample()
414 static void ab8500_fg_clear_cap_samples(struct ab8500_fg *di) in ab8500_fg_clear_cap_samples()
437 static void ab8500_fg_fill_cap_sample(struct ab8500_fg *di, int sample) in ab8500_fg_fill_cap_sample()
464 static int ab8500_fg_coulomb_counter(struct ab8500_fg *di, bool enable) in ab8500_fg_coulomb_counter()
533 int ab8500_fg_inst_curr_start(struct ab8500_fg *di) in ab8500_fg_inst_curr_start()
585 int ab8500_fg_inst_curr_started(struct ab8500_fg *di) in ab8500_fg_inst_curr_started()
596 int ab8500_fg_inst_curr_done(struct ab8500_fg *di) in ab8500_fg_inst_curr_done()
610 int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res) in ab8500_fg_inst_curr_finalize()
706 int ab8500_fg_inst_curr_blocking(struct ab8500_fg *di) in ab8500_fg_inst_curr_blocking()
[all …]
Dabx500_chargalg.c289 struct abx500_chargalg *di = container_of(timer, struct abx500_chargalg, in abx500_chargalg_safety_timer_expired() local
312 struct abx500_chargalg *di = container_of(timer, struct abx500_chargalg, in abx500_chargalg_maintenance_timer_expired() local
330 static void abx500_chargalg_state_to(struct abx500_chargalg *di, in abx500_chargalg_state_to()
344 static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di) in abx500_chargalg_check_charger_enable()
375 static int abx500_chargalg_check_charger_connection(struct abx500_chargalg *di) in abx500_chargalg_check_charger_connection()
421 (struct abx500_chargalg *di) in abx500_chargalg_check_current_step_status()
435 static void abx500_chargalg_start_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_start_safety_timer()
467 static void abx500_chargalg_stop_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_safety_timer()
482 static void abx500_chargalg_start_maintenance_timer(struct abx500_chargalg *di, in abx500_chargalg_start_maintenance_timer()
499 static void abx500_chargalg_stop_maintenance_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_maintenance_timer()
[all …]
Dab8500_charger.c348 static void ab8500_enable_disable_sw_fallback(struct ab8500_charger *di, in ab8500_enable_disable_sw_fallback()
413 static void ab8500_power_supply_changed(struct ab8500_charger *di, in ab8500_power_supply_changed()
440 static void ab8500_charger_set_usb_connected(struct ab8500_charger *di, in ab8500_charger_set_usb_connected()
482 static int ab8500_charger_get_ac_voltage(struct ab8500_charger *di) in ab8500_charger_get_ac_voltage()
503 static int ab8500_charger_ac_cv(struct ab8500_charger *di) in ab8500_charger_ac_cv()
533 static int ab8500_charger_get_vbus_voltage(struct ab8500_charger *di) in ab8500_charger_get_vbus_voltage()
555 static int ab8500_charger_get_usb_current(struct ab8500_charger *di) in ab8500_charger_get_usb_current()
577 static int ab8500_charger_get_ac_current(struct ab8500_charger *di) in ab8500_charger_get_ac_current()
598 static int ab8500_charger_usb_cv(struct ab8500_charger *di) in ab8500_charger_usb_cv()
640 static int ab8500_charger_detect_chargers(struct ab8500_charger *di, bool probe) in ab8500_charger_detect_chargers()
[all …]
Dab8500_btemp.c142 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di, in ab8500_btemp_batctrl_volt_to_res()
180 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di) in ab8500_btemp_read_batctrl_voltage()
203 static int ab8500_btemp_curr_source_enable(struct ab8500_btemp *di, in ab8500_btemp_curr_source_enable()
352 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di) in ab8500_btemp_get_batctrl_res()
427 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di, in ab8500_btemp_res_to_temp()
458 static int ab8500_btemp_measure_temp(struct ab8500_btemp *di) in ab8500_btemp_measure_temp()
515 static int ab8500_btemp_id(struct ab8500_btemp *di) in ab8500_btemp_id()
575 struct ab8500_btemp *di = container_of(work, in ab8500_btemp_periodic_work() local
626 struct ab8500_btemp *di = _di; in ab8500_btemp_batctrlindb_handler() local
644 struct ab8500_btemp *di = _di; in ab8500_btemp_templow_handler() local
[all …]
Dbq27xxx_battery_i2c.c21 struct bq27xxx_device_info *di = data; in bq27xxx_battery_irq_handler_thread() local
28 static int bq27xxx_battery_i2c_read(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_i2c_read()
63 static int bq27xxx_battery_i2c_write(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_i2c_write()
95 static int bq27xxx_battery_i2c_bulk_read(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_i2c_bulk_read()
112 static int bq27xxx_battery_i2c_bulk_write(struct bq27xxx_device_info *di, in bq27xxx_battery_i2c_bulk_write()
142 struct bq27xxx_device_info *di; in bq27xxx_battery_i2c_probe() local
210 struct bq27xxx_device_info *di = i2c_get_clientdata(client); in bq27xxx_battery_i2c_remove() local
Drx51_battery.c41 static int rx51_battery_read_voltage(struct rx51_device_info *di) in rx51_battery_read_voltage()
93 static int rx51_battery_read_temperature(struct rx51_device_info *di) in rx51_battery_read_temperature()
132 static int rx51_battery_read_capacity(struct rx51_device_info *di) in rx51_battery_read_capacity()
151 struct rx51_device_info *di = power_supply_get_drvdata(psy); in rx51_battery_get_property() local
194 struct rx51_device_info *di; in rx51_battery_probe() local
251 struct rx51_device_info *di = platform_get_drvdata(pdev); in rx51_battery_remove() local
Dbq27xxx_battery.c977 #define BQ27XXX_DM_BUF(di, i) { \ argument
1012 struct bq27xxx_device_info *di; in poll_interval_param_set() local
1044 static inline int bq27xxx_read(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read()
1060 static inline int bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write()
1079 static inline int bq27xxx_read_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read_block()
1098 static inline int bq27xxx_write_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write_block()
1117 static int bq27xxx_battery_seal(struct bq27xxx_device_info *di) in bq27xxx_battery_seal()
1130 static int bq27xxx_battery_unseal(struct bq27xxx_device_info *di) in bq27xxx_battery_unseal()
1166 static int bq27xxx_battery_read_dm_block(struct bq27xxx_device_info *di, in bq27xxx_battery_read_dm_block()
1206 static void bq27xxx_battery_update_dm_block(struct bq27xxx_device_info *di,
[all …]
Dds2760_battery.c263 static int ds2760_battery_read_status(struct ds2760_device_info *di) in ds2760_battery_read_status()
373 static void ds2760_battery_set_current_accum(struct ds2760_device_info *di, in ds2760_battery_set_current_accum()
389 static void ds2760_battery_update_status(struct ds2760_device_info *di) in ds2760_battery_update_status()
434 static void ds2760_battery_write_status(struct ds2760_device_info *di, in ds2760_battery_write_status()
445 static void ds2760_battery_write_rated_capacity(struct ds2760_device_info *di, in ds2760_battery_write_rated_capacity()
456 static void ds2760_battery_write_active_full(struct ds2760_device_info *di, in ds2760_battery_write_active_full()
480 struct ds2760_device_info *di = container_of(work, in ds2760_battery_work() local
492 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_external_power_changed() local
503 struct ds2760_device_info *di = container_of(work, in ds2760_battery_set_charged_work() local
537 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_set_charged() local
[all …]
Dbq27xxx_battery_hdq.c40 static int bq27xxx_battery_hdq_read(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_hdq_read()
77 struct bq27xxx_device_info *di; in bq27xxx_battery_hdq_add_slave() local
95 struct bq27xxx_device_info *di = dev_get_drvdata(&sl->dev); in bq27xxx_battery_hdq_remove_slave() local
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c38 #define DMA64TXREGOFFS(di, field) (di->d64txregbase + DMA64REGOFFS(field)) argument
39 #define DMA64RXREGOFFS(di, field) (di->d64rxregbase + DMA64REGOFFS(field)) argument
313 static uint txd(struct dma_info *di, uint x) in txd()
318 static uint rxd(struct dma_info *di, uint x) in rxd()
323 static uint nexttxd(struct dma_info *di, uint i) in nexttxd()
328 static uint prevtxd(struct dma_info *di, uint i) in prevtxd()
333 static uint nextrxd(struct dma_info *di, uint i) in nextrxd()
338 static uint ntxdactive(struct dma_info *di, uint h, uint t) in ntxdactive()
343 static uint nrxdactive(struct dma_info *di, uint h, uint t) in nrxdactive()
348 static uint _dma_ctrlflags(struct dma_info *di, uint mask, uint flags) in _dma_ctrlflags()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dfan53555.c113 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_voltage() local
134 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_enable() local
142 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_disable() local
150 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_mode() local
168 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_get_mode() local
194 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_ramp() local
230 static int fan53526_voltages_setup_fairchild(struct fan53555_device_info *di) in fan53526_voltages_setup_fairchild()
258 static int fan53555_voltages_setup_fairchild(struct fan53555_device_info *di) in fan53555_voltages_setup_fairchild()
301 static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di) in fan53555_voltages_setup_silergy()
326 static int fan53555_device_setup(struct fan53555_device_info *di, in fan53555_device_setup()
[all …]
Dmp886x.c47 struct mp886x_device_info *di = rdev_get_drvdata(rdev); in mp886x_set_ramp() local
67 static void mp886x_set_switch_freq(struct mp886x_device_info *di, in mp886x_set_switch_freq()
139 struct mp886x_device_info *di = rdev_get_drvdata(rdev); in mp8869_get_voltage_sel() local
199 struct mp886x_device_info *di = rdev_get_drvdata(rdev); in mp8867_set_voltage_sel() local
217 struct mp886x_device_info *di = rdev_get_drvdata(rdev); in mp8867_get_voltage_sel() local
276 static int mp886x_regulator_register(struct mp886x_device_info *di, in mp886x_regulator_register()
311 struct mp886x_device_info *di; in mp886x_i2c_probe() local
Dsy8827n.c37 struct sy8827n_device_info *di = rdev_get_drvdata(rdev); in sy8827n_set_mode() local
56 struct sy8827n_device_info *di = rdev_get_drvdata(rdev); in sy8827n_get_mode() local
82 static int sy8827n_regulator_register(struct sy8827n_device_info *di, in sy8827n_regulator_register()
114 struct sy8827n_device_info *di; in sy8827n_i2c_probe() local
Dsy8824x.c39 struct sy8824_device_info *di = rdev_get_drvdata(rdev); in sy8824_set_mode() local
59 struct sy8824_device_info *di = rdev_get_drvdata(rdev); in sy8824_get_mode() local
86 static int sy8824_regulator_register(struct sy8824_device_info *di, in sy8824_regulator_register()
119 struct sy8824_device_info *di; in sy8824_i2c_probe() local
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
Dipu-di.c123 static inline u32 ipu_di_read(struct ipu_di *di, unsigned offset) in ipu_di_read()
128 static inline void ipu_di_write(struct ipu_di *di, u32 value, unsigned offset) in ipu_di_write()
133 static void ipu_di_data_wave_config(struct ipu_di *di, in ipu_di_data_wave_config()
143 static void ipu_di_data_pin_config(struct ipu_di *di, int wave_gen, int di_pin, in ipu_di_data_pin_config()
156 static void ipu_di_sync_config(struct ipu_di *di, struct di_sync_config *config, in ipu_di_sync_config()
202 static void ipu_di_sync_config_interlaced(struct ipu_di *di, in ipu_di_sync_config_interlaced()
265 static void ipu_di_sync_config_noninterlaced(struct ipu_di *di, in ipu_di_sync_config_noninterlaced()
393 static void ipu_di_config_clock(struct ipu_di *di, in ipu_di_config_clock()
510 int ipu_di_adjust_videomode(struct ipu_di *di, struct videomode *mode) in ipu_di_adjust_videomode()
558 int ipu_di_init_sync_panel(struct ipu_di *di, struct ipu_di_signal_cfg *sig) in ipu_di_init_sync_panel()
[all …]
/kernel/linux/linux-5.10/fs/ceph/
Ddir.c40 struct ceph_dentry_info *di; in ceph_d_init() local
188 struct ceph_dentry_info *di; in __dcache_readdir() local
764 struct ceph_dentry_info *di = ceph_dentry(dentry); in ceph_lookup() local
1091 struct ceph_dentry_info *di; in get_caps_for_async_unlink() local
1263 void __ceph_dentry_lease_touch(struct ceph_dentry_info *di) in __ceph_dentry_lease_touch()
1283 struct ceph_dentry_info *di) in __dentry_dir_lease_touch()
1297 void __ceph_dentry_dir_lease_touch(struct ceph_dentry_info *di) in __ceph_dentry_dir_lease_touch()
1329 static void __dentry_lease_unlist(struct ceph_dentry_info *di) in __dentry_lease_unlist()
1362 struct ceph_dentry_info *di, *tmp; in __dentry_leases_walk() local
1447 struct ceph_dentry_info *di = ceph_dentry(dentry); in __dentry_lease_check() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.h59 eax, ebx, ecx, edx, si, di) \ argument
103 eax, ebx, ecx, edx, si, di) \ argument
128 eax, ebx, ecx, edx, si, di) \ argument
162 eax, ebx, ecx, edx, si, di) \ argument
189 eax, ebx, ecx, edx, si, di) \ argument
Dvmwgfx_msg.c92 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
121 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
151 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local
207 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_in() local
262 unsigned long eax, ebx, ecx, edx, si, di; in vmw_send_msg() local
315 unsigned long eax, ebx, ecx, edx, si, di; in vmw_recv_msg() local
/kernel/linux/linux-5.10/fs/ocfs2/
Dinode.c646 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode() local
757 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode() local
895 struct ocfs2_dinode *di; in ocfs2_query_inode_wipe() local
999 struct ocfs2_dinode *di = NULL; in ocfs2_delete_inode() local
1367 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_validate_inode_block() local
1431 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_filecheck_validate_inode_block() local
1496 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_filecheck_repair_inode_block() local
Dsuballoc.c201 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
242 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
295 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
1587 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts() local
1612 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts() local
1647 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_bg_discontig_fix_result() local
1680 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_search_one_group() local
2031 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_di_bh->b_data; in ocfs2_init_inode_ac_group() local
2135 struct ocfs2_dinode *di = (struct ocfs2_dinode *) ac->ac_bh->b_data; in ocfs2_claim_new_inode_at_loc() local
2530 struct ocfs2_dinode *di) in ocfs2_free_dinode()
Ddir.c398 struct ocfs2_dinode *di; in ocfs2_find_entry_id() local
592 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root()
1011 struct ocfs2_dinode *di; in ocfs2_find_entry_dx() local
1354 struct ocfs2_dinode *di; in ocfs2_delete_entry_id() local
1591 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry() local
1742 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id() local
2080 struct ocfs2_dinode *di; in ocfs2_empty_dir_dx() local
2188 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fill_new_dir_id() local
2293 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_dx_dir_attach_index() local
2684 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_new_dx_should_be_inline() local
[all …]
/kernel/linux/linux-5.10/fs/bfs/
Dinode.c36 struct bfs_inode *di; in bfs_iget() local
122 struct bfs_inode *di; in bfs_write_inode() local
166 struct bfs_inode *di; in bfs_evict_inode() local
389 struct bfs_inode *di; in bfs_fill_super() local
/kernel/linux/linux-5.10/drivers/s390/char/
Dsclp_sd.c34 u8 di; member
91 u8 di; member
188 static int sclp_sd_sync(unsigned long page, u8 eq, u8 di, u64 sat, u64 sa, in sclp_sd_sync()
284 static int sclp_sd_store_data(struct sclp_sd_data *result, u8 di) in sclp_sd_store_data()
495 static __init struct sclp_sd_file *sclp_sd_file_create(const char *name, u8 di) in sclp_sd_file_create()
/kernel/linux/linux-5.10/fs/btrfs/
Ddir-item.c35 struct btrfs_dir_item *di; in insert_with_overflow() local
209 struct btrfs_dir_item *di; in btrfs_check_dir_item_collision() local
301 struct btrfs_dir_item *di; in btrfs_search_dir_index_item() local
410 struct btrfs_dir_item *di) in btrfs_delete_one_dir_name()
Dxattr.c26 struct btrfs_dir_item *di; in btrfs_getxattr() local
82 struct btrfs_dir_item *di = NULL; in btrfs_setxattr() local
305 struct btrfs_dir_item *di; in btrfs_listxattr() local

123456