/linux-4.4.14/lib/ |
H A D | bcd.c | 1 #include <linux/bcd.h>
|
H A D | Makefile | 25 obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
|
H A D | vsprintf.c | 135 * <http://www.cs.uiowa.edu/~jones/bcd/divide.html> (with permission 285 * <http://www.cs.uiowa.edu/~jones/bcd/decimal.html#sixtyfour>
|
/linux-4.4.14/arch/m68k/fpsp040/ |
H A D | decbin.S | 4 | Description: Converts normalized packed bcd value pointed to by 7 | Input: Normalized packed bcd value in ETEMP(a6). 9 | Output: Exact floating-point representation of the packed bcd value. 20 | Expected is a normal bcd (i.e. non-exceptional; all inf, zero, 24 | A1. Convert the bcd exponent to binary by successive adds and muls. 30 | A2. Convert the bcd mantissa to binary by successive 37 | bcd string. If SE is positive, count the leading zeros; 41 | mantissa the equivalent of forcing in the bcd value: 124 | 1. Copy bcd value in memory for use as a working copy. 137 | ( ) d4: first word of bcd 138 | ( ) a0: pointer to working bcd value 139 | ( ) a6: pointer to original bcd value 140 | (*) FP_SCR1: working copy of original bcd value 146 leal FP_SCR1(%a6),%a0 |load tmp bcd storage address 147 movel ETEMP(%a6),(%a0) |save input bcd value 150 movel (%a0),%d4 |get first word of bcd 166 orl #0x40000000,(%a0) |and in working bcd 183 | ( ) d4: words 2 and 3 of bcd 184 | ( ) a0: pointer to working bcd value 185 | ( ) a6: pointer to original bcd value 187 | ( ) FP_SCR1: working copy of original bcd value 273 | ( ) d4: first word of bcd 275 | ( ) a0: pointer to working bcd value 276 | ( ) FP_SCR1: working copy of original bcd value 397 | ( ) d4: first word of bcd 403 | ( ) a0: pointer to working copy of bcd 433 movel (%a0),%d4 |reload 1st bcd word to d4 477 | ( ) a0: pointer to working bcd value
|
H A D | binstr.S | 5 | Description: Converts a 64-bit binary integer to bcd. 8 | d0, and a pointer to start in memory for bcd characters 12 | Output: LEN bcd digits representing the 64-bit integer. 36 | into d2:d3. D1 will contain the bcd digit formed. 57 | a0: pointer into memory for packed bcd string formation
|
H A D | bindec.S | 8 | to bcd format. 55 | in the output before conversion to bcd. LAMBDA is the 92 | A14. Convert the mantissa to bcd. 94 | mantissa to bcd in memory. The input to binstr is 97 | The bcd digits are stored in the correct position in 100 | A15. Convert the exponent to bcd. 101 | As in A14 above, the exp is converted to bcd and the 331 | in the output before conversion to bcd. LAMBDA is the sign 626 | a0: pointer into memory for packed bcd string formation 716 | A14. Convert the mantissa to bcd. 718 | mantissa to bcd in memory. The input to binstr is 721 | The bcd digits are stored in the correct position in 735 | a0: pointer into memory for packed bcd string formation 783 | A15. Convert the exponent to bcd. 784 | As in A14 above, the exp is converted to bcd and the
|
/linux-4.4.14/drivers/usb/storage/ |
H A D | usual-tables.c | 109 unsigned vid, pid, bcd; usb_usual_ignore_device() local 115 bcd = le16_to_cpu(udev->descriptor.bcdDevice); usb_usual_ignore_device() 119 p->bcdmin <= bcd && p->bcdmax >= bcd) usb_usual_ignore_device()
|
H A D | unusual_devs.h | 111 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product) 1568 * Devices with bcd > 110 seem to not need it while those 1569 * with bcd < 110 appear to need it.
|
/linux-4.4.14/block/ |
H A D | bsg.c | 216 struct bsg_class_device *bcd = &q->bsg_dev; bsg_map_hdr() local 222 if (!bcd->class_dev) bsg_map_hdr() 699 struct bsg_class_device *bcd = bsg_kref_release_function() local 701 struct device *parent = bcd->parent; bsg_kref_release_function() 703 if (bcd->release) bsg_kref_release_function() 704 bcd->release(bcd->parent); bsg_kref_release_function() 801 struct bsg_class_device *bcd; bsg_get_device() local 807 bcd = idr_find(&bsg_minor_idr, iminor(inode)); bsg_get_device() 808 if (bcd) bsg_get_device() 809 kref_get(&bcd->ref); bsg_get_device() 812 if (!bcd) bsg_get_device() 815 bd = __bsg_get_device(iminor(inode), bcd->queue); bsg_get_device() 819 bd = bsg_add_device(inode, bcd->queue, file); bsg_get_device() 821 kref_put(&bcd->ref, bsg_kref_release_function); bsg_get_device() 958 struct bsg_class_device *bcd = &q->bsg_dev; bsg_unregister_queue() local 960 if (!bcd->class_dev) bsg_unregister_queue() 964 idr_remove(&bsg_minor_idr, bcd->minor); bsg_unregister_queue() 967 device_unregister(bcd->class_dev); bsg_unregister_queue() 968 bcd->class_dev = NULL; bsg_unregister_queue() 969 kref_put(&bcd->ref, bsg_kref_release_function); bsg_unregister_queue() 977 struct bsg_class_device *bcd; bsg_register_queue() local 994 bcd = &q->bsg_dev; bsg_register_queue() 995 memset(bcd, 0, sizeof(*bcd)); bsg_register_queue() 999 ret = idr_alloc(&bsg_minor_idr, bcd, 0, BSG_MAX_DEVS, GFP_KERNEL); bsg_register_queue() 1008 bcd->minor = ret; bsg_register_queue() 1009 bcd->queue = q; bsg_register_queue() 1010 bcd->parent = get_device(parent); bsg_register_queue() 1011 bcd->release = release; bsg_register_queue() 1012 kref_init(&bcd->ref); bsg_register_queue() 1013 dev = MKDEV(bsg_major, bcd->minor); bsg_register_queue() 1019 bcd->class_dev = class_dev; bsg_register_queue() 1022 ret = sysfs_create_link(&q->kobj, &bcd->class_dev->kobj, "bsg"); bsg_register_queue() 1034 idr_remove(&bsg_minor_idr, bcd->minor); bsg_register_queue()
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-m48t86.c | 20 #include <linux/bcd.h> 64 /* bcd mode */ m48t86_rtc_read_time() 105 /* bcd mode */ m48t86_rtc_set_time() 131 (reg & M48T86_REG_B_DM) ? "binary" : "bcd"); m48t86_rtc_proc()
|
H A D | rtc-ds1305.c | 13 #include <linux/bcd.h> 109 static unsigned bcd2hour(u8 bcd) bcd2hour() argument 111 if (bcd & DS1305_HR_12) { bcd2hour() 114 bcd &= ~DS1305_HR_12; bcd2hour() 115 if (bcd & DS1305_HR_PM) { bcd2hour() 117 bcd &= ~DS1305_HR_PM; bcd2hour() 119 hour += bcd2bin(bcd); bcd2hour() 122 return bcd2bin(bcd); bcd2hour()
|
H A D | rtc-rv3029c2.c | 19 #include <linux/bcd.h> 263 * The clock has an 8 bit wide bcd-coded register (they never learn) rv3029c2_rtc_i2c_set_alarm() 335 * The clock has an 8 bit wide bcd-coded register (they never learn) rv3029c2_i2c_set_time()
|
H A D | rtc-ds1216.c | 11 #include <linux/bcd.h>
|
H A D | rtc-em3027.c | 16 #include <linux/bcd.h>
|
H A D | rtc-m41t94.c | 16 #include <linux/bcd.h>
|
H A D | rtc-max6902.c | 20 #include <linux/bcd.h>
|
H A D | rtc-bq4802.c | 12 #include <linux/bcd.h>
|
H A D | rtc-ds1302.c | 18 #include <linux/bcd.h>
|
H A D | rtc-ds1347.c | 20 #include <linux/bcd.h>
|
H A D | rtc-ds1390.c | 21 #include <linux/bcd.h>
|
H A D | rtc-ds2404.c | 15 #include <linux/bcd.h>
|
H A D | rtc-ds3234.c | 20 #include <linux/bcd.h>
|
H A D | rtc-m41t93.c | 12 #include <linux/bcd.h>
|
H A D | rtc-m48t35.c | 21 #include <linux/bcd.h>
|
H A D | rtc-max6900.c | 16 #include <linux/bcd.h>
|
H A D | rtc-max8907.c | 14 #include <linux/bcd.h>
|
H A D | rtc-pcf85063.c | 15 #include <linux/bcd.h>
|
H A D | rtc-r9701.c | 23 #include <linux/bcd.h>
|
H A D | rtc-isl1208.c | 15 #include <linux/bcd.h> 424 /* The clock has an 8 bit wide bcd-coded register (they never learn) isl1208_i2c_set_time()
|
H A D | rtc-x1205.c | 21 #include <linux/bcd.h> 453 /* check limits (only registers with bcd values) */ x1205_validate_client()
|
H A D | rtc-abx80x.c | 16 #include <linux/bcd.h>
|
H A D | rtc-as3722.c | 21 #include <linux/bcd.h>
|
H A D | rtc-bq32k.c | 20 #include <linux/bcd.h>
|
H A D | rtc-ds1742.c | 15 #include <linux/bcd.h>
|
H A D | rtc-isl12022.c | 15 #include <linux/bcd.h>
|
H A D | rtc-max8998.c | 18 #include <linux/bcd.h>
|
H A D | rtc-mv.c | 12 #include <linux/bcd.h>
|
H A D | rtc-nuc900.c | 19 #include <linux/bcd.h>
|
H A D | rtc-opal.c | 27 #include <linux/bcd.h>
|
H A D | rtc-pcf2123.c | 35 #include <linux/bcd.h>
|
H A D | rtc-pcf2127.c | 17 #include <linux/bcd.h>
|
H A D | rtc-pcf50633.c | 24 #include <linux/bcd.h>
|
H A D | rtc-pcf8523.c | 9 #include <linux/bcd.h>
|
H A D | rtc-pcf8583.c | 22 #include <linux/bcd.h>
|
H A D | rtc-puv3.c | 19 #include <linux/bcd.h>
|
H A D | rtc-rc5t583.c | 25 #include <linux/bcd.h>
|
H A D | rtc-rs5c313.c | 48 #include <linux/bcd.h>
|
H A D | rtc-rs5c348.c | 15 #include <linux/bcd.h>
|
H A D | rtc-rx4581.c | 40 #include <linux/bcd.h>
|
H A D | rtc-tps65910.c | 23 #include <linux/bcd.h>
|
H A D | rtc-tps80031.c | 26 #include <linux/bcd.h>
|
H A D | rtc-v3020.c | 27 #include <linux/bcd.h>
|
H A D | rtc-vt8500.c | 23 #include <linux/bcd.h>
|
H A D | rtc-isl12057.c | 28 #include <linux/bcd.h> 116 * The clock has an 8 bit wide bcd-coded register for the year. isl12057_rtc_tm_to_regs()
|
H A D | rtc-ds1286.c | 18 #include <linux/bcd.h>
|
H A D | rtc-ds1553.c | 11 #include <linux/bcd.h>
|
H A D | rtc-palmas.c | 26 #include <linux/bcd.h>
|
H A D | rtc-rv8803.c | 14 #include <linux/bcd.h>
|
H A D | rtc-rx8581.c | 17 #include <linux/bcd.h>
|
H A D | rtc-s35390a.c | 16 #include <linux/bcd.h>
|
H A D | rtc-stk17ta8.c | 14 #include <linux/bcd.h>
|
H A D | rtc-wm831x.c | 20 #include <linux/bcd.h>
|
H A D | rtc-wm8350.c | 20 #include <linux/bcd.h>
|
H A D | rtc-at91rm9200.c | 21 #include <linux/bcd.h>
|
H A D | rtc-bfin.c | 44 #include <linux/bcd.h>
|
H A D | rtc-davinci.c | 29 #include <linux/bcd.h>
|
H A D | rtc-ds1343.c | 22 #include <linux/bcd.h>
|
H A D | rtc-ds1374.c | 28 #include <linux/bcd.h>
|
H A D | rtc-ds1511.c | 17 #include <linux/bcd.h>
|
H A D | rtc-ds3232.c | 25 #include <linux/bcd.h>
|
H A D | rtc-fm3130.c | 15 #include <linux/bcd.h>
|
H A D | rtc-hym8563.c | 23 #include <linux/bcd.h>
|
H A D | rtc-m48t59.c | 21 #include <linux/bcd.h>
|
H A D | rtc-pcf8563.c | 19 #include <linux/bcd.h>
|
H A D | rtc-pl031.c | 24 #include <linux/bcd.h>
|
H A D | rtc-rk808.c | 22 #include <linux/bcd.h>
|
H A D | rtc-rx8025.c | 21 #include <linux/bcd.h>
|
H A D | rtc-spear.c | 12 #include <linux/bcd.h>
|
H A D | rtc-twl.c | 29 #include <linux/bcd.h>
|
H A D | rtc-ab-b5ze-s3.c | 28 #include <linux/bcd.h> 271 * Year register is 8-bit wide and bcd-coded, i.e records values abb5zes3_rtc_set_time()
|
H A D | rtc-m41t80.c | 18 #include <linux/bcd.h>
|
H A D | rtc-omap.c | 22 #include <linux/bcd.h>
|
H A D | rtc-rs5c372.c | 15 #include <linux/bcd.h>
|
H A D | rtc-s3c.c | 24 #include <linux/bcd.h>
|
H A D | rtc-s5m.c | 22 #include <linux/bcd.h>
|
H A D | rtc-sh.c | 19 #include <linux/bcd.h>
|
H A D | rtc-ds1307.c | 14 #include <linux/bcd.h>
|
H A D | rtc-ds1685.c | 21 #include <linux/bcd.h>
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | i8254.h | 19 u8 bcd; /* not supported */ member in struct:kvm_kpit_channel_state
|
H A D | i8254.c | 230 c->bcd); pit_latch_status() 499 s->bcd = val & 1; pit_ioport_write()
|
/linux-4.4.14/arch/arm/mach-footbridge/ |
H A D | isa-rtc.c | 22 #include <linux/bcd.h>
|
/linux-4.4.14/drivers/mfd/ |
H A D | wm831x-otp.c | 18 #include <linux/bcd.h>
|
H A D | menelaus.c | 42 #include <linux/bcd.h>
|
H A D | wm831x-core.c | 17 #include <linux/bcd.h>
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-rtc.c | 15 #include <linux/bcd.h>
|
/linux-4.4.14/arch/sh/boards/mach-sdk7786/ |
H A D | fpga.c | 12 #include <linux/bcd.h>
|
/linux-4.4.14/arch/m68k/sun3x/ |
H A D | time.c | 14 #include <linux/bcd.h>
|
/linux-4.4.14/arch/cris/kernel/ |
H A D | time.c | 28 #include <linux/bcd.h>
|
/linux-4.4.14/drivers/acpi/ |
H A D | proc.c | 5 #include <linux/bcd.h>
|
/linux-4.4.14/scripts/mod/ |
H A D | file2alias.c | 257 static unsigned int incbcd(unsigned int *bcd, incbcd() argument 262 unsigned int init = *bcd, i, j; incbcd() 265 /* If bcd is not in BCD format, just increment */ incbcd() 267 *bcd += inc; incbcd() 273 c = (*bcd >> (i << 2)) & 0xf; incbcd() 274 c = c > 9 ? 9 : c; /* force to bcd just in case */ incbcd() 282 *bcd = 0; incbcd() 289 *bcd += c << (i << 2); incbcd() 313 /* Figure out if this entry is in bcd or hex format */ do_usb_entry_multi() 335 if (chi > max) /* If we are in bcd mode, truncate if necessary */ do_usb_entry_multi()
|
/linux-4.4.14/arch/powerpc/platforms/chrp/ |
H A D | time.c | 21 #include <linux/bcd.h>
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | mc146818-time.h | 11 #include <linux/bcd.h>
|
/linux-4.4.14/arch/sh/boards/mach-sh03/ |
H A D | rtc.c | 12 #include <linux/bcd.h>
|
/linux-4.4.14/arch/m68k/mvme16x/ |
H A D | rtc.c | 18 #include <linux/bcd.h>
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
H A D | ip22-time.c | 12 #include <linux/bcd.h>
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | rtc.c | 7 #include <linux/bcd.h>
|
H A D | paravirt.c | 24 #include <linux/bcd.h>
|
/linux-4.4.14/arch/powerpc/platforms/maple/ |
H A D | time.c | 26 #include <linux/bcd.h>
|
/linux-4.4.14/arch/mips/dec/ |
H A D | time.c | 9 #include <linux/bcd.h>
|
/linux-4.4.14/arch/mips/sgi-ip27/ |
H A D | ip27-timer.c | 5 #include <linux/bcd.h>
|
/linux-4.4.14/arch/mips/sibyte/swarm/ |
H A D | rtc_xicor1241.c | 12 #include <linux/bcd.h>
|
H A D | rtc_m41t81.c | 13 #include <linux/bcd.h>
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | rtc.c | 15 #include <linux/bcd.h>
|
/linux-4.4.14/arch/m68k/bvme6000/ |
H A D | rtc.c | 19 #include <linux/bcd.h>
|
H A D | config.c | 28 #include <linux/bcd.h>
|
/linux-4.4.14/arch/x86/math-emu/ |
H A D | reg_ld_str.c | 296 /* Get a packed bcd array from user memory */ FPU_load_bcd() 301 u_char bcd; FPU_load_bcd() local 311 FPU_get_user(bcd, s + pos); FPU_load_bcd() 313 l += bcd >> 4; FPU_load_bcd() 315 l += bcd & 0x0f; FPU_load_bcd() 893 /* Put a packed bcd array into user memory */ FPU_store_bcd()
|
/linux-4.4.14/drivers/scsi/ |
H A D | sr_vendor.c | 40 #include <linux/bcd.h>
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 242 __u8 bcd; member in struct:kvm_pit_channel_state
|
/linux-4.4.14/drivers/char/ |
H A D | ds1302.c | 22 #include <linux/bcd.h>
|
H A D | hpet.c | 28 #include <linux/bcd.h>
|
H A D | rtc.c | 80 #include <linux/bcd.h>
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | rtc.c | 14 #include <linux/bcd.h>
|
H A D | time.c | 33 #include <linux/bcd.h>
|
/linux-4.4.14/include/asm-generic/ |
H A D | rtc.h | 17 #include <linux/bcd.h>
|
/linux-4.4.14/arch/m68k/q40/ |
H A D | config.c | 26 #include <linux/bcd.h>
|
/linux-4.4.14/arch/m68k/atari/ |
H A D | time.c | 18 #include <linux/bcd.h>
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
H A D | net2280.h | 62 #define REG_CHIPREV 0x03 /* in bcd */
|
/linux-4.4.14/arch/m68k/ifpsp060/src/ |
H A D | pfpsp.S | 12954 # decbin(): Converts normalized packed bcd value pointed to by register # 12958 # a0 = pointer to normalized packed bcd value # 12961 # fp0 = exact fp representation of the packed bcd value. # 12964 # Expected is a normal bcd (i.e. non-exceptional; all inf, zero, # 12968 # A1. Convert the bcd exponent to binary by successive adds and # 12974 # A2. Convert the bcd mantissa to binary by successive # 12981 # bcd string. If SE is positive, count the leading zeros; # 12985 # mantissa the equivalent of forcing in the bcd value: # 13042 # 1. Copy bcd value in memory for use as a working copy. 13055 # ( ) d4: first word of bcd 13056 # ( ) a0: pointer to working bcd value 13057 # ( ) a6: pointer to original bcd value 13058 # (*) FP_SCR1: working copy of original bcd value 13064 mov.l (%a0),%d4 # get first word of bcd 13080 or.l &0x40000000,(%a0) # and in working bcd 13097 # ( ) d4: words 2 and 3 of bcd 13098 # ( ) a0: pointer to working bcd value 13099 # ( ) a6: pointer to original bcd value 13101 # ( ) FP_SCR1: working copy of original bcd value 13185 # ( ) d4: first word of bcd 13187 # ( ) a0: pointer to working bcd value 13188 # ( ) FP_SCR1: working copy of original bcd value 13309 # ( ) d4: first word of bcd 13315 # ( ) a0: pointer to working copy of bcd 13345 mov.l (%a0),%d4 # reload 1st bcd word to d4 13389 # ( ) a0: pointer to working bcd value 13422 # bindec(): Converts an input in extended precision format to bcd format# 13431 # FP_SCR0(a6) = bcd format result on the stack. # 13468 # in the output before conversion to bcd. LAMBDA is the # 13505 # A14. Convert the mantissa to bcd. # 13507 # mantissa to bcd in memory. The input to binstr is # 13510 # The bcd digits are stored in the correct position in # 13513 # A15. Convert the exponent to bcd. # 13514 # As in A14 above, the exp is converted to bcd and the # 13738 # in the output before conversion to bcd. LAMBDA is the sign 14073 # a0: pointer into memory for packed bcd string formation 14162 # A14. Convert the mantissa to bcd. 14164 # mantissa to bcd in memory. The input to binstr is 14167 # The bcd digits are stored in the correct position in 14181 # a0: pointer into memory for packed bcd string formation 14229 # A15. Convert the exponent to bcd. 14230 # As in A14 above, the exp is converted to bcd and the 14414 # binstr(): Converts a 64-bit binary integer to bcd. # 14419 # a0 = pointer to start in memory for bcd characters # 14424 # a0 = pointer to LEN bcd digits representing the 64-bit integer. # 14447 # into d2:d3. D1 will contain the bcd digit formed. # 14470 # a0: pointer into memory for packed bcd string formation
|
H A D | fpsp.S | 22994 # decbin(): Converts normalized packed bcd value pointed to by register # 22998 # a0 = pointer to normalized packed bcd value # 23001 # fp0 = exact fp representation of the packed bcd value. # 23004 # Expected is a normal bcd (i.e. non-exceptional; all inf, zero, # 23008 # A1. Convert the bcd exponent to binary by successive adds and # 23014 # A2. Convert the bcd mantissa to binary by successive # 23021 # bcd string. If SE is positive, count the leading zeros; # 23025 # mantissa the equivalent of forcing in the bcd value: # 23082 # 1. Copy bcd value in memory for use as a working copy. 23095 # ( ) d4: first word of bcd 23096 # ( ) a0: pointer to working bcd value 23097 # ( ) a6: pointer to original bcd value 23098 # (*) FP_SCR1: working copy of original bcd value 23104 mov.l (%a0),%d4 # get first word of bcd 23120 or.l &0x40000000,(%a0) # and in working bcd 23137 # ( ) d4: words 2 and 3 of bcd 23138 # ( ) a0: pointer to working bcd value 23139 # ( ) a6: pointer to original bcd value 23141 # ( ) FP_SCR1: working copy of original bcd value 23225 # ( ) d4: first word of bcd 23227 # ( ) a0: pointer to working bcd value 23228 # ( ) FP_SCR1: working copy of original bcd value 23349 # ( ) d4: first word of bcd 23355 # ( ) a0: pointer to working copy of bcd 23385 mov.l (%a0),%d4 # reload 1st bcd word to d4 23429 # ( ) a0: pointer to working bcd value 23462 # bindec(): Converts an input in extended precision format to bcd format# 23471 # FP_SCR0(a6) = bcd format result on the stack. # 23508 # in the output before conversion to bcd. LAMBDA is the # 23545 # A14. Convert the mantissa to bcd. # 23547 # mantissa to bcd in memory. The input to binstr is # 23550 # The bcd digits are stored in the correct position in # 23553 # A15. Convert the exponent to bcd. # 23554 # As in A14 above, the exp is converted to bcd and the # 23778 # in the output before conversion to bcd. LAMBDA is the sign 24113 # a0: pointer into memory for packed bcd string formation 24202 # A14. Convert the mantissa to bcd. 24204 # mantissa to bcd in memory. The input to binstr is 24207 # The bcd digits are stored in the correct position in 24221 # a0: pointer into memory for packed bcd string formation 24269 # A15. Convert the exponent to bcd. 24270 # As in A14 above, the exp is converted to bcd and the 24454 # binstr(): Converts a 64-bit binary integer to bcd. # 24459 # a0 = pointer to start in memory for bcd characters # 24464 # a0 = pointer to LEN bcd digits representing the 64-bit integer. # 24487 # into d2:d3. D1 will contain the bcd digit formed. # 24510 # a0: pointer into memory for packed bcd string formation
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | time_64.c | 26 #include <linux/bcd.h>
|
/linux-4.4.14/arch/mips/include/asm/sgi/ |
H A D | hpc3.h | 66 volatile u32 bcd; /* byte count info */ member in struct:hpc3_scsiregs
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | sal.h | 38 #include <linux/bcd.h>
|
/linux-4.4.14/arch/x86/platform/efi/ |
H A D | efi.c | 46 #include <linux/bcd.h>
|
/linux-4.4.14/include/linux/usb/ |
H A D | composite.h | 37 #include <linux/bcd.h>
|
/linux-4.4.14/include/uapi/linux/ |
H A D | cdrom.h | 355 #define CDROM_MSF 0x02 /* "minute-second-frame": binary, not bcd here! */
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-cd.c | 41 #include <linux/bcd.h>
|
/linux-4.4.14/drivers/net/irda/ |
H A D | irda-usb.c | 1091 /* Get the bcd product version */ stir421x_patch_device()
|
/linux-4.4.14/drivers/usb/core/ |
H A D | hcd.c | 25 #include <linux/bcd.h>
|
/linux-4.4.14/drivers/media/usb/gspca/ |
H A D | xirlink_cit.c | 58 #define CIT_MODEL0 0 /* bcd version 0.01 cams ie the xvp-500 */
|