Searched refs:bcd (Results 1 – 14 of 14) sorted by relevance
/linux-4.1.27/block/ |
D | bsg.c | 216 struct bsg_class_device *bcd = &q->bsg_dev; in bsg_map_hdr() local 222 if (!bcd->class_dev) in bsg_map_hdr() 699 struct bsg_class_device *bcd = in bsg_kref_release_function() local 701 struct device *parent = bcd->parent; in bsg_kref_release_function() 703 if (bcd->release) in bsg_kref_release_function() 704 bcd->release(bcd->parent); in bsg_kref_release_function() 801 struct bsg_class_device *bcd; in bsg_get_device() local 807 bcd = idr_find(&bsg_minor_idr, iminor(inode)); in bsg_get_device() 808 if (bcd) in bsg_get_device() 809 kref_get(&bcd->ref); in bsg_get_device() [all …]
|
/linux-4.1.27/arch/m68k/fpsp040/ |
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 [all …]
|
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
|
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
|
/linux-4.1.27/drivers/usb/storage/ |
D | usual-tables.c | 109 unsigned vid, pid, bcd; in usb_usual_ignore_device() local 115 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device() 119 p->bcdmin <= bcd && p->bcdmax >= bcd) in usb_usual_ignore_device()
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-ds1305.c | 109 static unsigned bcd2hour(u8 bcd) in bcd2hour() argument 111 if (bcd & DS1305_HR_12) { in bcd2hour() 114 bcd &= ~DS1305_HR_12; in bcd2hour() 115 if (bcd & DS1305_HR_PM) { in bcd2hour() 117 bcd &= ~DS1305_HR_PM; in bcd2hour() 119 hour += bcd2bin(bcd); in bcd2hour() 122 return bcd2bin(bcd); in bcd2hour()
|
/linux-4.1.27/arch/x86/kvm/ |
D | i8254.h | 19 u8 bcd; /* not supported */ member
|
D | i8254.c | 229 c->bcd); in pit_latch_status() 496 s->bcd = val & 1; in pit_ioport_write()
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | configfs-usb-gadget | 23 bcdDevice - bcd device release number 24 bcdUSB - bcd USB specification version number
|
/linux-4.1.27/scripts/mod/ |
D | file2alias.c | 243 static unsigned int incbcd(unsigned int *bcd, in incbcd() argument 248 unsigned int init = *bcd, i, j; in incbcd() 253 *bcd += inc; in incbcd() 259 c = (*bcd >> (i << 2)) & 0xf; in incbcd() 268 *bcd = 0; in incbcd() 275 *bcd += c << (i << 2); in incbcd()
|
/linux-4.1.27/arch/x86/math-emu/ |
D | reg_ld_str.c | 301 u_char bcd; in FPU_load_bcd() local 311 FPU_get_user(bcd, s + pos); in FPU_load_bcd() 313 l += bcd >> 4; in FPU_load_bcd() 315 l += bcd & 0x0f; in FPU_load_bcd()
|
/linux-4.1.27/arch/mips/include/asm/sgi/ |
D | hpc3.h | 66 volatile u32 bcd; /* byte count info */ member
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
D | kvm.h | 240 __u8 bcd; member
|
/linux-4.1.27/lib/ |
D | Makefile | 25 obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
|