Home
last modified time | relevance | path

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

123

/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()
416 static void ab8500_fg_clear_cap_samples(struct ab8500_fg *di) in ab8500_fg_clear_cap_samples()
439 static void ab8500_fg_fill_cap_sample(struct ab8500_fg *di, int sample) in ab8500_fg_fill_cap_sample()
466 static int ab8500_fg_coulomb_counter(struct ab8500_fg *di, bool enable) in ab8500_fg_coulomb_counter()
535 int ab8500_fg_inst_curr_start(struct ab8500_fg *di) in ab8500_fg_inst_curr_start()
587 int ab8500_fg_inst_curr_started(struct ab8500_fg *di) in ab8500_fg_inst_curr_started()
598 int ab8500_fg_inst_curr_done(struct ab8500_fg *di) in ab8500_fg_inst_curr_done()
612 int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res) 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.c344 static void ab8500_enable_disable_sw_fallback(struct ab8500_charger *di, in ab8500_enable_disable_sw_fallback()
409 static void ab8500_power_supply_changed(struct ab8500_charger *di, in ab8500_power_supply_changed()
428 static void ab8500_charger_set_usb_connected(struct ab8500_charger *di, in ab8500_charger_set_usb_connected()
462 static int ab8500_charger_get_ac_voltage(struct ab8500_charger *di) in ab8500_charger_get_ac_voltage()
483 static int ab8500_charger_ac_cv(struct ab8500_charger *di) in ab8500_charger_ac_cv()
513 static int ab8500_charger_get_vbus_voltage(struct ab8500_charger *di) in ab8500_charger_get_vbus_voltage()
535 static int ab8500_charger_get_usb_current(struct ab8500_charger *di) in ab8500_charger_get_usb_current()
557 static int ab8500_charger_get_ac_current(struct ab8500_charger *di) in ab8500_charger_get_ac_current()
578 static int ab8500_charger_usb_cv(struct ab8500_charger *di) in ab8500_charger_usb_cv()
620 static int ab8500_charger_detect_chargers(struct ab8500_charger *di, bool probe) in ab8500_charger_detect_chargers()
[all …]
Dabx500_chargalg.c294 struct abx500_chargalg *di = container_of(timer, struct abx500_chargalg, in abx500_chargalg_safety_timer_expired() local
317 struct abx500_chargalg *di = container_of(timer, struct abx500_chargalg, in abx500_chargalg_maintenance_timer_expired() local
335 static void abx500_chargalg_state_to(struct abx500_chargalg *di, in abx500_chargalg_state_to()
349 static int abx500_chargalg_check_charger_enable(struct abx500_chargalg *di) in abx500_chargalg_check_charger_enable()
380 static int abx500_chargalg_check_charger_connection(struct abx500_chargalg *di) in abx500_chargalg_check_charger_connection()
426 (struct abx500_chargalg *di) in abx500_chargalg_check_current_step_status()
440 static void abx500_chargalg_start_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_start_safety_timer()
472 static void abx500_chargalg_stop_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_safety_timer()
487 static void abx500_chargalg_start_maintenance_timer(struct abx500_chargalg *di, in abx500_chargalg_start_maintenance_timer()
504 static void abx500_chargalg_stop_maintenance_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_maintenance_timer()
[all …]
Dbq27xxx_battery.c437 struct bq27xxx_device_info *di; in poll_interval_param_set() local
468 static inline int bq27xxx_read(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read()
482 static int bq27xxx_battery_read_soc(struct bq27xxx_device_info *di) in bq27xxx_battery_read_soc()
501 static int bq27xxx_battery_read_charge(struct bq27xxx_device_info *di, u8 reg) in bq27xxx_battery_read_charge()
524 static inline int bq27xxx_battery_read_nac(struct bq27xxx_device_info *di) in bq27xxx_battery_read_nac()
541 static inline int bq27xxx_battery_read_fcc(struct bq27xxx_device_info *di) in bq27xxx_battery_read_fcc()
550 static int bq27xxx_battery_read_dcap(struct bq27xxx_device_info *di) in bq27xxx_battery_read_dcap()
576 static int bq27xxx_battery_read_energy(struct bq27xxx_device_info *di) in bq27xxx_battery_read_energy()
598 static int bq27xxx_battery_read_temperature(struct bq27xxx_device_info *di) in bq27xxx_battery_read_temperature()
618 static int bq27xxx_battery_read_cyct(struct bq27xxx_device_info *di) in bq27xxx_battery_read_cyct()
[all …]
Dab8500_btemp.c143 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di, in ab8500_btemp_batctrl_volt_to_res()
181 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di) in ab8500_btemp_read_batctrl_voltage()
204 static int ab8500_btemp_curr_source_enable(struct ab8500_btemp *di, in ab8500_btemp_curr_source_enable()
395 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di) in ab8500_btemp_get_batctrl_res()
470 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di, in ab8500_btemp_res_to_temp()
502 static int ab8500_btemp_measure_temp(struct ab8500_btemp *di) in ab8500_btemp_measure_temp()
559 static int ab8500_btemp_id(struct ab8500_btemp *di) in ab8500_btemp_id()
634 struct ab8500_btemp *di = container_of(work, in ab8500_btemp_periodic_work() local
685 struct ab8500_btemp *di = _di; in ab8500_btemp_batctrlindb_handler() local
703 struct ab8500_btemp *di = _di; in ab8500_btemp_templow_handler() local
[all …]
Dds2760_battery.c123 static int ds2760_battery_read_status(struct ds2760_device_info *di) in ds2760_battery_read_status()
233 static void ds2760_battery_set_current_accum(struct ds2760_device_info *di, in ds2760_battery_set_current_accum()
249 static void ds2760_battery_update_status(struct ds2760_device_info *di) in ds2760_battery_update_status()
294 static void ds2760_battery_write_status(struct ds2760_device_info *di, in ds2760_battery_write_status()
305 static void ds2760_battery_write_rated_capacity(struct ds2760_device_info *di, in ds2760_battery_write_rated_capacity()
316 static void ds2760_battery_write_active_full(struct ds2760_device_info *di, in ds2760_battery_write_active_full()
340 struct ds2760_device_info *di = container_of(work, in ds2760_battery_work() local
352 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_external_power_changed() local
363 struct ds2760_device_info *di = container_of(work, in ds2760_battery_set_charged_work() local
397 struct ds2760_device_info *di = power_supply_get_drvdata(psy); in ds2760_battery_set_charged() local
[all …]
Drx51_battery.c55 static int rx51_battery_read_voltage(struct rx51_device_info *di) in rx51_battery_read_voltage()
107 static int rx51_battery_read_temperature(struct rx51_device_info *di) in rx51_battery_read_temperature()
146 static int rx51_battery_read_capacity(struct rx51_device_info *di) in rx51_battery_read_capacity()
165 struct rx51_device_info *di = power_supply_get_drvdata(psy); in rx51_battery_get_property() local
208 struct rx51_device_info *di; in rx51_battery_probe() local
265 struct rx51_device_info *di = platform_get_drvdata(pdev); in rx51_battery_remove() local
Dbq27xxx_battery_i2c.c29 struct bq27xxx_device_info *di = data; in bq27xxx_battery_irq_handler_thread() local
36 static int bq27xxx_battery_i2c_read(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_i2c_read()
74 struct bq27xxx_device_info *di; in bq27xxx_battery_i2c_probe() local
137 struct bq27xxx_device_info *di = i2c_get_clientdata(client); in bq27xxx_battery_i2c_remove() local
/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 …]
/drivers/regulator/
Dfan53555.c105 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_voltage() local
126 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_enable() local
134 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_suspend_disable() local
142 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_mode() local
160 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_get_mode() local
186 struct fan53555_device_info *di = rdev_get_drvdata(rdev); in fan53555_set_ramp() local
222 static int fan53555_voltages_setup_fairchild(struct fan53555_device_info *di) in fan53555_voltages_setup_fairchild()
263 static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di) in fan53555_voltages_setup_silergy()
285 static int fan53555_device_setup(struct fan53555_device_info *di, in fan53555_device_setup()
320 static int fan53555_regulator_register(struct fan53555_device_info *di, in fan53555_regulator_register()
[all …]
/drivers/gpu/ipu-v3/
Dipu-di.c132 static inline u32 ipu_di_read(struct ipu_di *di, unsigned offset) in ipu_di_read()
137 static inline void ipu_di_write(struct ipu_di *di, u32 value, unsigned offset) in ipu_di_write()
142 static void ipu_di_data_wave_config(struct ipu_di *di, in ipu_di_data_wave_config()
152 static void ipu_di_data_pin_config(struct ipu_di *di, int wave_gen, int di_pin, in ipu_di_data_pin_config()
165 static void ipu_di_sync_config(struct ipu_di *di, struct di_sync_config *config, in ipu_di_sync_config()
211 static void ipu_di_sync_config_interlaced(struct ipu_di *di, in ipu_di_sync_config_interlaced()
274 static void ipu_di_sync_config_noninterlaced(struct ipu_di *di, in ipu_di_sync_config_noninterlaced()
402 static void ipu_di_config_clock(struct ipu_di *di, in ipu_di_config_clock()
518 int ipu_di_adjust_videomode(struct ipu_di *di, struct videomode *mode) in ipu_di_adjust_videomode()
566 int ipu_di_init_sync_panel(struct ipu_di *di, struct ipu_di_signal_cfg *sig) in ipu_di_init_sync_panel()
[all …]
Dipu-dc.c100 unsigned int di; member
171 int ipu_dc_init_sync(struct ipu_dc *dc, struct ipu_di *di, bool interlaced, in ipu_dc_init_sync()
254 int di; in ipu_dc_enable_channel() local
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.h45 eax, ebx, ecx, edx, si, di) \ argument
89 eax, ebx, ecx, edx, si, di) \ argument
114 eax, ebx, ecx, edx, si, di) \ argument
143 eax, ebx, ecx, edx, si, di) \ argument
168 eax, ebx, ecx, edx, si, di) \ argument
Dvmwgfx_msg.c91 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
120 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
150 unsigned long eax, ebx, ecx, edx, si, di, bp; in vmw_send_msg() local
213 unsigned long eax, ebx, ecx, edx, si, di, bp; in vmw_recv_msg() local
/drivers/isdn/i4l/
Disdn_common.c220 isdn_dc2minor(int di, int ch) in isdn_dc2minor()
294 isdn_receive_skb_callback(int di, int channel, struct sk_buff *skb) in isdn_receive_skb_callback()
381 isdn_all_eaz(int di, int ch) in isdn_all_eaz()
415 int di; in isdn_status_callback() local
767 isdn_readbchan(int di, int channel, u_char *buf, u_char *fp, int len, wait_queue_head_t *sleep) in isdn_readbchan()
880 isdn_readbchan_tty(int di, int channel, struct tty_port *port, int cisco_hack) in isdn_readbchan_tty()
1852 isdn_map_eaz2msn(char *msn, int di) in isdn_map_eaz2msn()
1928 isdn_free_channel(int di, int ch, int usage) in isdn_free_channel()
1961 isdn_unexclusive_channel(int di, int ch) in isdn_unexclusive_channel()
2172 static char *map_drvname(int di) in map_drvname()
Disdn_audio.c502 int di; in isdn_audio_eval_dtmf() local
664 int di; in isdn_audio_put_dle_code() local
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c264 struct mlx5e_dma_info *di = &rq->dma_info[ix]; in mlx5e_alloc_rx_wqe() local
275 struct mlx5e_dma_info *di = &rq->dma_info[ix]; in mlx5e_dealloc_rx_wqe() local
654 struct mlx5e_dma_info *di, in mlx5e_xmit_xdp_frame()
714 struct mlx5e_dma_info *di, in mlx5e_xdp_handle()
747 struct mlx5e_dma_info *di; in skb_from_cqe() local
Den_txrx.c139 struct mlx5e_dma_info *di; in mlx5e_poll_xdp_tx_cq() local
/drivers/usb/host/whci/
Dwusb.c107 struct di_buf_entry *di = &whc->di_buf[idx]; in whc_dev_info_set() local
175 struct di_buf_entry *di = &whc->di_buf[port_idx]; in whc_set_ptk() local
Ddebug.c92 struct di_buf_entry *di = &whc->di_buf[d]; in di_print() local
/drivers/staging/dgnc/
Ddgnc_mgmt.c129 struct digi_info di; in dgnc_mgmt_ioctl() local
/drivers/mtd/ubi/
Dkapi.c39 void ubi_do_get_device_info(struct ubi_device *ubi, struct ubi_device_info *di) in ubi_do_get_device_info()
59 int ubi_get_device_info(int ubi_num, struct ubi_device_info *di) in ubi_get_device_info()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dconn.h36 u8 di; member
/drivers/isdn/mISDN/
Dsocket.c387 struct mISDN_devinfo di; in data_sock_ioctl() local
671 struct mISDN_devinfo di; in base_sock_ioctl() local
/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dbase.c62 nvkm_perfdom_find(struct nvkm_pm *pm, int di) in nvkm_perfdom_find()
75 nvkm_perfsig_find(struct nvkm_pm *pm, u8 di, u8 si, struct nvkm_perfdom **pdom) in nvkm_perfsig_find()
444 int di, ret = -ENOSYS; in nvkm_perfmon_mthd_query_domain() local

123