Searched refs:dist (Results 1 – 11 of 11) sorted by relevance
/drivers/isdn/pcbit/ |
D | layer2.h | 182 int dist; in pcbit_writew() local 184 dist = BANKLEN - (dev->writeptr - dev->sh_mem); in pcbit_writew() 185 switch (dist) { in pcbit_writew() 238 int dist; in pcbit_readw() local 241 dist = BANKLEN - (dev->readptr - (dev->sh_mem + BANK2)); in pcbit_readw() 242 switch (dist) { in pcbit_readw()
|
/drivers/ata/ |
D | sata_sx4.c | 1004 long dist; in pdc20621_get_from_dimm() local 1022 dist = ((long) (window_size - (offset + size))) >= 0 ? size : in pdc20621_get_from_dimm() 1025 dist); in pdc20621_get_from_dimm() 1027 psource += dist; in pdc20621_get_from_dimm() 1028 size -= dist; in pdc20621_get_from_dimm() 1059 long dist; in pdc20621_put_to_dimm() local 1074 dist = ((long)(s32)(window_size - (offset + size))) >= 0 ? size : in pdc20621_put_to_dimm() 1076 memcpy_toio(dimm_mmio + offset / 4, psource, dist); in pdc20621_put_to_dimm() 1080 psource += dist; in pdc20621_put_to_dimm() 1081 size -= dist; in pdc20621_put_to_dimm()
|
/drivers/net/wireless/ath/ath6kl/ |
D | htc_mbox.c | 1217 bool dist = false; in ath6kl_htc_mbox_activity_changed() local 1229 dist = true; in ath6kl_htc_mbox_activity_changed() 1234 dist = true; in ath6kl_htc_mbox_activity_changed() 1238 if (dist) { in ath6kl_htc_mbox_activity_changed() 1253 if (dist && !active) in ath6kl_htc_mbox_activity_changed() 1608 bool dist = false; in htc_proc_cred_rpt() local 1649 dist = true; in htc_proc_cred_rpt() 1663 if (dist) { in htc_proc_cred_rpt()
|
/drivers/mtd/ |
D | mtdswap.c | 824 unsigned int h, x, y, dist, base; in mtdswap_wlfreq() local 832 dist = maxdiff - MAX_ERASE_DIFF; in mtdswap_wlfreq() 833 if (dist > COLLECT_NONDIRTY_BASE) in mtdswap_wlfreq() 834 dist = COLLECT_NONDIRTY_BASE; in mtdswap_wlfreq() 844 x = dist - base; in mtdswap_wlfreq()
|
/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 119 __u32 best = -1, dist; in uvc_try_frame_interval() local 122 dist = interval > frame->dwFrameInterval[i] in uvc_try_frame_interval() 126 if (dist > best) in uvc_try_frame_interval() 129 best = dist; in uvc_try_frame_interval()
|
/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-core.c | 809 int dist = abs(fs->width - fmt->width) + in s5c73m3_find_frame_size() local 811 if (dist < best_dist) { in s5c73m3_find_frame_size() 812 best_dist = dist; in s5c73m3_find_frame_size()
|
/drivers/media/dvb-frontends/ |
D | mb86a16.c | 1799 u8 dist; in mb86a16_read_ucblocks() local 1802 if (mb86a16_read(state, MB86A16_DISTMON, &dist) != 2) { in mb86a16_read_ucblocks() 1806 *ucblocks = dist; in mb86a16_read_ucblocks()
|
/drivers/md/ |
D | raid1.c | 533 sector_t dist; in read_balance() local 599 dist = abs(this_sector - conf->mirrors[disk].head_position); in read_balance() 606 || dist == 0) { in read_balance() 648 if (dist < best_dist) { in read_balance() 649 best_dist = dist; in read_balance()
|
/drivers/video/ |
D | sh_mobile_lcdcfb.c | 1989 unsigned int dist; in sh_mobile_lcdc_check_var() local 1995 dist = var->xres * var->yres + mode->xres * mode->yres in sh_mobile_lcdc_check_var() 1999 if (dist < best_dist) { in sh_mobile_lcdc_check_var() 2002 best_dist = dist; in sh_mobile_lcdc_check_var()
|
/drivers/scsi/lpfc/ |
D | lpfc_hw.h | 2619 uint32_t dist:2; /* Dist Type */ member 2623 uint32_t dist:2; /* Dist Type */
|
D | lpfc_init.c | 288 char dist = ' '; in lpfc_dump_wakeup_param_cmpl() local 303 if (prg->dist < 4) in lpfc_dump_wakeup_param_cmpl() 304 dist = dist_char[prg->dist]; in lpfc_dump_wakeup_param_cmpl() 306 if ((prg->dist == 3) && (prg->num == 0)) in lpfc_dump_wakeup_param_cmpl() 312 dist, prg->num); in lpfc_dump_wakeup_param_cmpl()
|