| /OK3568_Linux_fs/kernel/block/ |
| H A D | bsg.c | 287 struct bsg_class_device *bcd; in bsg_get_device() local 293 bcd = idr_find(&bsg_minor_idr, iminor(inode)); in bsg_get_device() 295 if (!bcd) { in bsg_get_device() 300 bd = __bsg_get_device(iminor(inode), bcd->queue); in bsg_get_device() 302 bd = bsg_add_device(inode, bcd->queue, file); in bsg_get_device() 312 struct bsg_class_device *bcd; in bsg_open() local 319 bcd = &bd->queue->bsg_dev; in bsg_open() 320 pm_runtime_get_sync(bcd->class_dev->parent); in bsg_open() 328 struct bsg_class_device *bcd; in bsg_release() local 332 bcd = &bd->queue->bsg_dev; in bsg_release() [all …]
|
| /OK3568_Linux_fs/kernel/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 [all …]
|
| 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
|
| /OK3568_Linux_fs/kernel/drivers/usb/storage/ |
| H A D | usual-tables.c | 94 unsigned vid, pid, bcd; in usb_usual_ignore_device() local 100 bcd = le16_to_cpu(udev->descriptor.bcdDevice); in usb_usual_ignore_device() 104 p->bcdmin <= bcd && p->bcdmax >= bcd) in usb_usual_ignore_device()
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | rkboot.c | 64 USHORT bcd = 0; in UshortToBCD() local 65 …bcd = (num % 10) | ( ((num / 10 ) % 10) << 4 ) | ( ((num / 100) % 10) << 8) | ( ((num / 1000) % 10… in UshortToBCD() 66 return bcd; in UshortToBCD() 70 BYTE bcd = 0; in ByteToBCD() local 71 bcd = (num % 10) | ( ((num / 10 ) % 10) << 4 ); in ByteToBCD() 72 return bcd; in ByteToBCD()
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-ds1305.c | 105 static unsigned bcd2hour(u8 bcd) in bcd2hour() argument 107 if (bcd & DS1305_HR_12) { in bcd2hour() 110 bcd &= ~DS1305_HR_12; in bcd2hour() 111 if (bcd & DS1305_HR_PM) { in bcd2hour() 113 bcd &= ~DS1305_HR_PM; in bcd2hour() 115 hour += bcd2bin(bcd); in bcd2hour() 118 return bcd2bin(bcd); in bcd2hour()
|
| /OK3568_Linux_fs/external/rkupdate/ |
| H A D | RKDevice.cpp | 567 USHORT bcd = 0; in UshortToBCD() local 568 …bcd = (num % 10) | (((num / 10) % 10) << 4) | (((num / 100) % 10) << 8) | (((num / 1000) % 10) << … in UshortToBCD() 569 return bcd; in UshortToBCD() 573 BYTE bcd = 0; in ByteToBCD() local 574 bcd = (num % 10) | (((num / 10) % 10) << 4); in ByteToBCD() 575 return bcd; in ByteToBCD()
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/powerpc/ |
| H A D | mapfile.csv | 16 004[bcd][[:xdigit:]]{4},1,power8,core
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget | 28 bcdDevice bcd device release number 29 bcdUSB bcd USB specification version number
|
| /OK3568_Linux_fs/kernel/include/dt-bindings/usb/ |
| H A D | pd.h | 150 #define VDO_PRODUCT(pid, bcd) (((pid) & 0xffff) << 16 | ((bcd) & 0xffff)) argument
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | pd_vdo.h | 168 #define VDO_PRODUCT(pid, bcd) (((pid) & 0xffff) << 16 | ((bcd) & 0xffff)) argument
|
| /OK3568_Linux_fs/u-boot/include/power/power_delivery/ |
| H A D | pd_vdo.h | 168 #define VDO_PRODUCT(pid, bcd) (((pid) & 0xffff) << 16 | ((bcd) & 0xffff)) argument
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/ |
| H A D | i8254.h | 20 u8 bcd; /* not supported */ member
|
| H A D | i8254.c | 193 c->bcd); in pit_latch_status() 485 s->bcd = val & 1; in pit_ioport_write()
|
| /OK3568_Linux_fs/kernel/arch/x86/math-emu/ |
| H A D | reg_ld_str.c | 302 u_char bcd; in FPU_load_bcd() local 312 FPU_get_user(bcd, s + pos); in FPU_load_bcd() 314 l += bcd >> 4; in FPU_load_bcd() 316 l += bcd & 0x0f; in FPU_load_bcd()
|
| /OK3568_Linux_fs/kernel/scripts/mod/ |
| H A D | file2alias.c | 227 static unsigned int incbcd(unsigned int *bcd, in incbcd() argument 232 unsigned int init = *bcd, i, j; in incbcd() 237 *bcd += inc; in incbcd() 243 c = (*bcd >> (i << 2)) & 0xf; in incbcd() 252 *bcd = 0; in incbcd() 259 *bcd += c << (i << 2); in incbcd()
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mx25/ |
| H A D | imx-regs.h | 478 #define WEIM_CSCR_U(sp, wp, bcd, bcs, psz, pme, sync, dol, \ argument 480 ((sp) << 31 | (wp) << 30 | (bcd) << 28 | (bcs) << 24 | \
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/sgi/ |
| H A D | hpc3.h | 66 volatile u32 bcd; /* byte count info */ member
|
| /OK3568_Linux_fs/kernel/arch/x86/include/uapi/asm/ |
| H A D | kvm.h | 266 __u8 bcd; member
|
| /OK3568_Linux_fs/kernel/tools/arch/x86/include/uapi/asm/ |
| H A D | kvm.h | 266 __u8 bcd; member
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mx31/ |
| H A D | imx-regs.h | 640 #define CSCR_U(sp, wp, bcd, bcs, psz, pme, sync, dol, \ argument 642 ((sp) << 31 | (wp) << 30 | (bcd) << 28 | (psz) << 22 | (pme) << 21 |\
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | Makefile | 47 obj-y += bcd.o sort.o parser.o debug_locks.o random32.o \
|
| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | .date.o.cmd | |
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | .image.o.cmd | |