Home
last modified time | relevance | path

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

12

/drivers/power/
Dab8500_fg.c354 static int ab8500_fg_is_low_curr(struct ab8500_fg *di, int curr) in ab8500_fg_is_low_curr()
373 static int ab8500_fg_add_cap_sample(struct ab8500_fg *di, int sample) in ab8500_fg_add_cap_sample()
409 static void ab8500_fg_clear_cap_samples(struct ab8500_fg *di) in ab8500_fg_clear_cap_samples()
432 static void ab8500_fg_fill_cap_sample(struct ab8500_fg *di, int sample) in ab8500_fg_fill_cap_sample()
459 static int ab8500_fg_coulomb_counter(struct ab8500_fg *di, bool enable) in ab8500_fg_coulomb_counter()
527 int ab8500_fg_inst_curr_start(struct ab8500_fg *di) in ab8500_fg_inst_curr_start()
577 int ab8500_fg_inst_curr_done(struct ab8500_fg *di) in ab8500_fg_inst_curr_done()
591 int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res) in ab8500_fg_inst_curr_finalize()
684 int ab8500_fg_inst_curr_blocking(struct ab8500_fg *di) in ab8500_fg_inst_curr_blocking()
717 struct ab8500_fg *di = container_of(work, in ab8500_fg_acc_cur_work() local
[all …]
Dab8500_charger.c274 static void ab8500_power_loss_handling(struct ab8500_charger *di) in ab8500_power_loss_handling()
322 static void ab8500_power_supply_changed(struct ab8500_charger *di, in ab8500_power_supply_changed()
341 static void ab8500_charger_set_usb_connected(struct ab8500_charger *di, in ab8500_charger_set_usb_connected()
357 static int ab8500_charger_get_ac_voltage(struct ab8500_charger *di) in ab8500_charger_get_ac_voltage()
378 static int ab8500_charger_ac_cv(struct ab8500_charger *di) in ab8500_charger_ac_cv()
408 static int ab8500_charger_get_vbus_voltage(struct ab8500_charger *di) in ab8500_charger_get_vbus_voltage()
430 static int ab8500_charger_get_usb_current(struct ab8500_charger *di) in ab8500_charger_get_usb_current()
452 static int ab8500_charger_get_ac_current(struct ab8500_charger *di) in ab8500_charger_get_ac_current()
473 static int ab8500_charger_usb_cv(struct ab8500_charger *di) in ab8500_charger_usb_cv()
514 static int ab8500_charger_detect_chargers(struct ab8500_charger *di) in ab8500_charger_detect_chargers()
[all …]
Dbq27x00_battery.c137 static inline int bq27x00_read(struct bq27x00_device_info *di, u8 reg, in bq27x00_read()
147 static int bq27x00_battery_read_rsoc(struct bq27x00_device_info *di) in bq27x00_battery_read_rsoc()
166 static int bq27x00_battery_read_charge(struct bq27x00_device_info *di, u8 reg) in bq27x00_battery_read_charge()
189 static inline int bq27x00_battery_read_nac(struct bq27x00_device_info *di) in bq27x00_battery_read_nac()
198 static inline int bq27x00_battery_read_lmd(struct bq27x00_device_info *di) in bq27x00_battery_read_lmd()
207 static int bq27x00_battery_read_ilmd(struct bq27x00_device_info *di) in bq27x00_battery_read_ilmd()
233 static int bq27x00_battery_read_energy(struct bq27x00_device_info *di) in bq27x00_battery_read_energy()
255 static int bq27x00_battery_read_temperature(struct bq27x00_device_info *di) in bq27x00_battery_read_temperature()
277 static int bq27x00_battery_read_cyct(struct bq27x00_device_info *di) in bq27x00_battery_read_cyct()
292 static int bq27x00_battery_read_time(struct bq27x00_device_info *di, u8 reg) in bq27x00_battery_read_time()
[all …]
Dabx500_chargalg.c264 struct abx500_chargalg *di = (struct abx500_chargalg *) data; in abx500_chargalg_safety_timer_expired() local
283 struct abx500_chargalg *di = (struct abx500_chargalg *) data; in abx500_chargalg_maintenance_timer_expired() local
297 static void abx500_chargalg_state_to(struct abx500_chargalg *di, in abx500_chargalg_state_to()
318 static int abx500_chargalg_check_charger_connection(struct abx500_chargalg *di) in abx500_chargalg_check_charger_connection()
362 static void abx500_chargalg_start_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_start_safety_timer()
398 static void abx500_chargalg_stop_safety_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_safety_timer()
413 static void abx500_chargalg_start_maintenance_timer(struct abx500_chargalg *di, in abx500_chargalg_start_maintenance_timer()
436 static void abx500_chargalg_stop_maintenance_timer(struct abx500_chargalg *di) in abx500_chargalg_stop_maintenance_timer()
449 static int abx500_chargalg_kick_watchdog(struct abx500_chargalg *di) in abx500_chargalg_kick_watchdog()
472 static int abx500_chargalg_ac_en(struct abx500_chargalg *di, int enable, in abx500_chargalg_ac_en()
[all …]
Dab8500_btemp.c137 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di, in ab8500_btemp_batctrl_volt_to_res()
175 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di) in ab8500_btemp_read_batctrl_voltage()
198 static int ab8500_btemp_curr_source_enable(struct ab8500_btemp *di, in ab8500_btemp_curr_source_enable()
343 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di) in ab8500_btemp_get_batctrl_res()
421 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di, in ab8500_btemp_res_to_temp()
453 static int ab8500_btemp_measure_temp(struct ab8500_btemp *di) in ab8500_btemp_measure_temp()
510 static int ab8500_btemp_id(struct ab8500_btemp *di) in ab8500_btemp_id()
569 struct ab8500_btemp *di = container_of(work, in ab8500_btemp_periodic_work() local
599 struct ab8500_btemp *di = _di; in ab8500_btemp_batctrlindb_handler() local
617 struct ab8500_btemp *di = _di; in ab8500_btemp_templow_handler() local
[all …]
Dds2760_battery.c122 static int ds2760_battery_read_status(struct ds2760_device_info *di) in ds2760_battery_read_status()
232 static void ds2760_battery_set_current_accum(struct ds2760_device_info *di, in ds2760_battery_set_current_accum()
248 static void ds2760_battery_update_status(struct ds2760_device_info *di) in ds2760_battery_update_status()
293 static void ds2760_battery_write_status(struct ds2760_device_info *di, in ds2760_battery_write_status()
304 static void ds2760_battery_write_rated_capacity(struct ds2760_device_info *di, in ds2760_battery_write_rated_capacity()
315 static void ds2760_battery_write_active_full(struct ds2760_device_info *di, in ds2760_battery_write_active_full()
339 struct ds2760_device_info *di = container_of(work, in ds2760_battery_work() local
354 struct ds2760_device_info *di = to_ds2760_device_info(psy); in ds2760_battery_external_power_changed() local
366 struct ds2760_device_info *di = container_of(work, in ds2760_battery_set_charged_work() local
400 struct ds2760_device_info *di = to_ds2760_device_info(psy); in ds2760_battery_set_charged() local
[all …]
/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.c33 #define DMA64TXREGOFFS(di, field) (di->d64txregbase + DMA64REGOFFS(field)) argument
34 #define DMA64RXREGOFFS(di, field) (di->d64rxregbase + DMA64REGOFFS(field)) argument
334 static uint txd(struct dma_info *di, uint x) in txd()
339 static uint rxd(struct dma_info *di, uint x) in rxd()
344 static uint nexttxd(struct dma_info *di, uint i) in nexttxd()
349 static uint prevtxd(struct dma_info *di, uint i) in prevtxd()
354 static uint nextrxd(struct dma_info *di, uint i) in nextrxd()
359 static uint ntxdactive(struct dma_info *di, uint h, uint t) in ntxdactive()
364 static uint nrxdactive(struct dma_info *di, uint h, uint t) in nrxdactive()
369 static uint _dma_ctrlflags(struct dma_info *di, uint mask, uint flags) in _dma_ctrlflags()
[all …]
/drivers/isdn/i4l/
Disdn_common.c221 isdn_dc2minor(int di, int ch) in isdn_dc2minor()
295 isdn_receive_skb_callback(int di, int channel, struct sk_buff *skb) in isdn_receive_skb_callback()
382 isdn_all_eaz(int di, int ch) in isdn_all_eaz()
416 int di; in isdn_status_callback() local
768 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_struct *tty, int cisco_hack) in isdn_readbchan_tty()
1853 isdn_map_eaz2msn(char *msn, int di) in isdn_map_eaz2msn()
1929 isdn_free_channel(int di, int ch, int usage) in isdn_free_channel()
1962 isdn_unexclusive_channel(int di, int ch) in isdn_unexclusive_channel()
2173 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
Disdn_tty.c166 isdn_tty_rcv_skb(int i, int di, int channel, struct sk_buff *skb) in isdn_tty_rcv_skb()
685 int di, ch; in isdn_tty_modem_hup() local
1984 isdn_tty_match_icall(char *cid, atemu *emu, int di) in isdn_tty_match_icall()
2040 isdn_tty_find_icall(int di, int ch, setup_parm *setup) in isdn_tty_find_icall()
/drivers/usb/host/whci/
Dwusb.c108 struct di_buf_entry *di = &whc->di_buf[idx]; in whc_dev_info_set() local
176 struct di_buf_entry *di = &whc->di_buf[port_idx]; in whc_set_ptk() local
Ddebug.c93 struct di_buf_entry *di = &whc->di_buf[d]; in di_print() 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()
Dgluebi.c299 static int gluebi_create(struct ubi_device_info *di, in gluebi_create()
/drivers/staging/comedi/drivers/
Daio_iiro_16.c50 int di; member
Ddas08.h44 void *di; member
/drivers/isdn/mISDN/
Dsocket.c394 struct mISDN_devinfo di; in data_sock_ioctl() local
678 struct mISDN_devinfo di; in base_sock_ioctl() local
/drivers/cdrom/
Dcdrom.c622 disc_information di; in cdrom_mrw_exit() local
735 disc_information di; in cdrom_media_erasable() local
764 disc_information di; in cdrom_mrw_open_write() local
3248 static int cdrom_get_disc_info(struct cdrom_device_info *cdi, disc_information *di) in cdrom_get_disc_info()
3285 disc_information di; in cdrom_get_last_written() local
3346 disc_information di; in cdrom_get_next_writable() local
/drivers/input/misc/
Dgpio_input.c263 struct gpio_event_input_info *di; in gpio_event_input_func() local
/drivers/video/exynos/
Dexynos_mipi_dsi_lowlevel.c579 unsigned int di, unsigned int data0, unsigned int data1) in exynos_mipi_dsi_wr_tx_header()
587 unsigned int di, unsigned int data0) in exynos_mipi_dsi_rd_tx_header()
/drivers/block/
Dpktcdvd.c1688 static int pkt_get_disc_info(struct pktcdvd_device *pd, disc_information *di) in pkt_get_disc_info()
1744 disc_information di; in pkt_get_last_written() local
1896 static int pkt_writable_disc(struct pktcdvd_device *pd, disc_information *di) in pkt_writable_disc()
1942 disc_information di; in pkt_probe_settings() local
/drivers/s390/char/
Dvmur.h105 #define CCWDEV_CU_DI(cutype, di) \ argument
/drivers/block/drbd/
Ddrbd_worker.c1016 struct digest_info *di; in w_e_end_csum_rs_req() local
1136 struct digest_info *di; in w_e_end_ov_reply() local
/drivers/net/wireless/p54/
Dp54spi.c480 struct p54s_tx_info *di = (struct p54s_tx_info *) mi->data; in p54spi_op_tx() local
/drivers/usb/wusbcore/
Dcbaf.c282 struct wusb_cbaf_device_info *di; in cbaf_cdid_get() local

12