Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/power/supply/
Dab8500_fg.c364 static int ab8500_fg_is_low_curr(struct ab8500_fg *di, int curr_ua) in ab8500_fg_is_low_curr()
383 static int ab8500_fg_add_cap_sample(struct ab8500_fg *di, int sample) in ab8500_fg_add_cap_sample()
417 static void ab8500_fg_clear_cap_samples(struct ab8500_fg *di) in ab8500_fg_clear_cap_samples()
440 static void ab8500_fg_fill_cap_sample(struct ab8500_fg *di, int sample) in ab8500_fg_fill_cap_sample()
467 static int ab8500_fg_coulomb_counter(struct ab8500_fg *di, bool enable) in ab8500_fg_coulomb_counter()
536 int ab8500_fg_inst_curr_start(struct ab8500_fg *di) in ab8500_fg_inst_curr_start()
588 int ab8500_fg_inst_curr_started(struct ab8500_fg *di) in ab8500_fg_inst_curr_started()
599 int ab8500_fg_inst_curr_done(struct ab8500_fg *di) in ab8500_fg_inst_curr_done()
613 int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *curr_ua) in ab8500_fg_inst_curr_finalize()
708 int ab8500_fg_inst_curr_blocking(struct ab8500_fg *di) in ab8500_fg_inst_curr_blocking()
[all …]
Dab8500_charger.c350 static void ab8500_enable_disable_sw_fallback(struct ab8500_charger *di, in ab8500_enable_disable_sw_fallback()
415 static void ab8500_power_supply_changed(struct ab8500_charger *di, in ab8500_power_supply_changed()
442 static void ab8500_charger_set_usb_connected(struct ab8500_charger *di, in ab8500_charger_set_usb_connected()
484 static int ab8500_charger_get_ac_voltage(struct ab8500_charger *di) in ab8500_charger_get_ac_voltage()
506 static int ab8500_charger_ac_cv(struct ab8500_charger *di) in ab8500_charger_ac_cv()
536 static int ab8500_charger_get_vbus_voltage(struct ab8500_charger *di) in ab8500_charger_get_vbus_voltage()
559 static int ab8500_charger_get_usb_current(struct ab8500_charger *di) in ab8500_charger_get_usb_current()
582 static int ab8500_charger_get_ac_current(struct ab8500_charger *di) in ab8500_charger_get_ac_current()
604 static int ab8500_charger_usb_cv(struct ab8500_charger *di) in ab8500_charger_usb_cv()
646 static int ab8500_charger_detect_chargers(struct ab8500_charger *di, bool probe) in ab8500_charger_detect_chargers()
[all …]
Dab8500_chargalg.c265 struct ab8500_chargalg *di = container_of(timer, struct ab8500_chargalg, in ab8500_chargalg_safety_timer_expired() local
288 struct ab8500_chargalg *di = container_of(timer, struct ab8500_chargalg, in ab8500_chargalg_maintenance_timer_expired() local
306 static void ab8500_chargalg_state_to(struct ab8500_chargalg *di, in ab8500_chargalg_state_to()
320 static int ab8500_chargalg_check_charger_enable(struct ab8500_chargalg *di) in ab8500_chargalg_check_charger_enable()
352 static int ab8500_chargalg_check_charger_connection(struct ab8500_chargalg *di) in ab8500_chargalg_check_charger_connection()
383 static void ab8500_chargalg_start_safety_timer(struct ab8500_chargalg *di) in ab8500_chargalg_start_safety_timer()
415 static void ab8500_chargalg_stop_safety_timer(struct ab8500_chargalg *di) in ab8500_chargalg_stop_safety_timer()
430 static void ab8500_chargalg_start_maintenance_timer(struct ab8500_chargalg *di, in ab8500_chargalg_start_maintenance_timer()
448 static void ab8500_chargalg_stop_maintenance_timer(struct ab8500_chargalg *di) in ab8500_chargalg_stop_maintenance_timer()
461 static int ab8500_chargalg_kick_watchdog(struct ab8500_chargalg *di) in ab8500_chargalg_kick_watchdog()
[all …]
Dab8500_btemp.c133 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di, in ab8500_btemp_batctrl_volt_to_res()
157 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di) in ab8500_btemp_read_batctrl_voltage()
180 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di) in ab8500_btemp_get_batctrl_res()
237 static int ab8500_btemp_id(struct ab8500_btemp *di) in ab8500_btemp_id()
274 struct ab8500_btemp *di = container_of(work, in ab8500_btemp_periodic_work() local
338 struct ab8500_btemp *di = _di; in ab8500_btemp_batctrlindb_handler() local
356 struct ab8500_btemp *di = _di; in ab8500_btemp_templow_handler() local
383 struct ab8500_btemp *di = _di; in ab8500_btemp_temphigh_handler() local
405 struct ab8500_btemp *di = _di; in ab8500_btemp_lowmed_handler() local
427 struct ab8500_btemp *di = _di; in ab8500_btemp_medhigh_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
Dbq27xxx_battery.c1042 #define BQ27XXX_DM_BUF(di, i) { \ argument
1077 struct bq27xxx_device_info *di; in poll_interval_param_set() local
1107 static inline int bq27xxx_read(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read()
1123 static inline int bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write()
1142 static inline int bq27xxx_read_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read_block()
1161 static inline int bq27xxx_write_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write_block()
1180 static int bq27xxx_battery_seal(struct bq27xxx_device_info *di) in bq27xxx_battery_seal()
1193 static int bq27xxx_battery_unseal(struct bq27xxx_device_info *di) in bq27xxx_battery_unseal()
1229 static int bq27xxx_battery_read_dm_block(struct bq27xxx_device_info *di, in bq27xxx_battery_read_dm_block()
1269 static void bq27xxx_battery_update_dm_block(struct bq27xxx_device_info *di,
[all …]
Dds2760_battery.c255 static int ds2760_battery_read_status(struct ds2760_device_info *di) in ds2760_battery_read_status()
365 static void ds2760_battery_set_current_accum(struct ds2760_device_info *di, in ds2760_battery_set_current_accum()
381 static void ds2760_battery_update_status(struct ds2760_device_info *di) in ds2760_battery_update_status()
426 static void ds2760_battery_write_status(struct ds2760_device_info *di, in ds2760_battery_write_status()
437 static void ds2760_battery_write_rated_capacity(struct ds2760_device_info *di, in ds2760_battery_write_rated_capacity()
448 static void ds2760_battery_write_active_full(struct ds2760_device_info *di, in ds2760_battery_write_active_full()
472 struct ds2760_device_info *di = container_of(work, in ds2760_battery_work() local
484 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_external_power_changed() local
495 struct ds2760_device_info *di = container_of(work, in ds2760_battery_set_charged_work() local
529 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_set_charged() local
[all …]
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_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
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/regulator/
Dfan53555.c155 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_voltage() local
176 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_enable() local
184 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_disable() local
192 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_mode() local
210 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_get_mode() local
258 static int fan53526_voltages_setup_fairchild(struct fan53555_device_info *di) in fan53526_voltages_setup_fairchild()
290 static int fan53555_voltages_setup_fairchild(struct fan53555_device_info *di) in fan53555_voltages_setup_fairchild()
336 static int fan53555_voltages_setup_rockchip(struct fan53555_device_info *di) in fan53555_voltages_setup_rockchip()
358 static int rk8602_voltages_setup_rockchip(struct fan53555_device_info *di) in rk8602_voltages_setup_rockchip()
380 static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di) in fan53555_voltages_setup_silergy()
[all …]
Dmp886x.c45 static void mp886x_set_switch_freq(struct mp886x_device_info *di, in mp886x_set_switch_freq()
117 struct mp886x_device_info *di = rdev_get_drvdata(rdev); in mp8869_get_voltage_sel() local
177 struct mp886x_device_info *di = rdev_get_drvdata(rdev); in mp8867_set_voltage_sel() local
195 struct mp886x_device_info *di = rdev_get_drvdata(rdev); in mp8867_get_voltage_sel() local
254 static int mp886x_regulator_register(struct mp886x_device_info *di, in mp886x_regulator_register()
293 struct mp886x_device_info *di; in mp886x_i2c_probe() local
Dsy8827n.c41 struct sy8827n_device_info *di = rdev_get_drvdata(rdev); in sy8827n_set_mode() local
60 struct sy8827n_device_info *di = rdev_get_drvdata(rdev); in sy8827n_get_mode() local
86 static int sy8827n_regulator_register(struct sy8827n_device_info *di, in sy8827n_regulator_register()
128 struct sy8827n_device_info *di; in sy8827n_i2c_probe() local
Dsy8824x.c40 struct sy8824_device_info *di = rdev_get_drvdata(rdev); in sy8824_set_mode() local
60 struct sy8824_device_info *di = rdev_get_drvdata(rdev); in sy8824_get_mode() local
87 static int sy8824_regulator_register(struct sy8824_device_info *di, in sy8824_regulator_register()
129 struct sy8824_device_info *di; in sy8824_i2c_probe() local
/linux-6.6.21/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()
389 static void ipu_di_config_clock(struct ipu_di *di, in ipu_di_config_clock()
506 int ipu_di_adjust_videomode(struct ipu_di *di, struct videomode *mode) in ipu_di_adjust_videomode()
561 int ipu_di_init_sync_panel(struct ipu_di *di, struct ipu_di_signal_cfg *sig) in ipu_di_init_sync_panel()
[all …]
/linux-6.6.21/fs/ceph/
Ddir.c41 struct ceph_dentry_info *di; in ceph_d_init() local
189 struct ceph_dentry_info *di; in __dcache_readdir() local
802 struct ceph_dentry_info *di = ceph_dentry(dentry); in ceph_lookup() local
1203 struct ceph_dentry_info *di = ceph_dentry(dentry); in ceph_async_unlink_cb() local
1255 struct ceph_dentry_info *di; in get_caps_for_async_unlink() local
1328 struct ceph_dentry_info *di = ceph_dentry(dentry); in ceph_unlink() local
1459 void __ceph_dentry_lease_touch(struct ceph_dentry_info *di) in __ceph_dentry_lease_touch()
1479 struct ceph_dentry_info *di) in __dentry_dir_lease_touch()
1493 void __ceph_dentry_dir_lease_touch(struct ceph_dentry_info *di) in __ceph_dentry_dir_lease_touch()
1525 static void __dentry_lease_unlist(struct ceph_dentry_info *di) in __dentry_lease_unlist()
[all …]
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg_x86.h62 eax, ebx, ecx, edx, si, di) \ argument
106 eax, ebx, ecx, edx, si, di) \ argument
135 eax, ebx, ecx, edx, si, di) \ argument
173 eax, ebx, ecx, edx, si, di) \ argument
200 eax, ebx, ecx, edx, si, di) \ argument
Dvmwgfx_msg_arm64.h53 unsigned long *si, unsigned long *di) in vmw_port()
86 unsigned long *si, unsigned long *di) in vmw_port_hb()
114 si, di) \ argument
119 ecx, edx, si, di) \ argument
124 ecx, edx, si, di) \ argument
Dvmwgfx_msg.c107 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
136 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
166 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local
223 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_in() local
279 unsigned long eax, ebx, ecx, edx, si, di; in vmw_send_msg() local
332 unsigned long eax, ebx, ecx, edx, si, di; in vmw_recv_msg() local
655 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in hypervisor_ppn_reset_all() local
672 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in hypervisor_ppn_add() local
689 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in hypervisor_ppn_remove() local
/linux-6.6.21/fs/btrfs/
Ddir-item.c37 struct btrfs_dir_item *di; in insert_with_overflow() local
219 struct btrfs_dir_item *di; in btrfs_lookup_dir_item() local
238 struct btrfs_dir_item *di; in btrfs_check_dir_item_collision() local
313 struct btrfs_dir_item *di; in btrfs_lookup_dir_index_item() local
332 struct btrfs_dir_item *di; in btrfs_search_dir_index_item() local
363 struct btrfs_dir_item *di; in btrfs_lookup_xattr() local
420 struct btrfs_dir_item *di) in btrfs_delete_one_dir_name()
Dxattr.c30 struct btrfs_dir_item *di; in btrfs_getxattr() local
86 struct btrfs_dir_item *di = NULL; in btrfs_setxattr() local
306 struct btrfs_dir_item *di; in btrfs_listxattr() local
/linux-6.6.21/fs/ocfs2/
Dinode.c644 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode() local
755 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode() local
893 struct ocfs2_dinode *di; in ocfs2_query_inode_wipe() local
997 struct ocfs2_dinode *di = NULL; in ocfs2_delete_inode() local
1365 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_validate_inode_block() local
1429 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_filecheck_validate_inode_block() local
1494 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_filecheck_repair_inode_block() local
Dsuballoc.c199 struct ocfs2_dinode *di, in ocfs2_validate_gd_parent()
240 struct ocfs2_dinode *di, in ocfs2_check_group_descriptor()
293 int ocfs2_read_group_descriptor(struct inode *inode, struct ocfs2_dinode *di, in ocfs2_read_group_descriptor()
1585 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_alloc_dinode_update_counts() local
1610 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_rollback_alloc_dinode_counts() local
1645 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_bg_discontig_fix_result() local
1678 struct ocfs2_dinode *di = (struct ocfs2_dinode *)ac->ac_bh->b_data; in ocfs2_search_one_group() local
2029 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_di_bh->b_data; in ocfs2_init_inode_ac_group() local
2133 struct ocfs2_dinode *di = (struct ocfs2_dinode *) ac->ac_bh->b_data; in ocfs2_claim_new_inode_at_loc() local
2528 struct ocfs2_dinode *di) in ocfs2_free_dinode()
/linux-6.6.21/fs/bfs/
Dinode.c36 struct bfs_inode *di; in bfs_iget() local
121 struct bfs_inode *di; in bfs_write_inode() local
165 struct bfs_inode *di; in bfs_evict_inode() local
388 struct bfs_inode *di; in bfs_fill_super() local
/linux-6.6.21/drivers/s390/char/
Dsclp_sd.c34 u8 di; member
91 u8 di; member
189 static int sclp_sd_sync(unsigned long page, u8 eq, u8 di, u64 sat, u64 sa, in sclp_sd_sync()
285 static int sclp_sd_store_data(struct sclp_sd_data *result, u8 di) in sclp_sd_store_data()
503 static __init struct sclp_sd_file *sclp_sd_file_create(const char *name, u8 di) in sclp_sd_file_create()

123456