Home
last modified time | relevance | path

Searched refs:bcd (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/block/
Dbsg.c323 struct bsg_class_device *bcd; in bsg_get_device() local
329 bcd = idr_find(&bsg_minor_idr, iminor(inode)); in bsg_get_device()
331 if (!bcd) { in bsg_get_device()
336 bd = __bsg_get_device(iminor(inode), bcd->queue); in bsg_get_device()
338 bd = bsg_add_device(inode, bcd->queue, file); in bsg_get_device()
448 struct bsg_class_device *bcd = &q->bsg_dev; in bsg_unregister_queue() local
450 if (!bcd->class_dev) in bsg_unregister_queue()
454 idr_remove(&bsg_minor_idr, bcd->minor); in bsg_unregister_queue()
457 device_unregister(bcd->class_dev); in bsg_unregister_queue()
458 bcd->class_dev = NULL; in bsg_unregister_queue()
[all …]
/Linux-v4.19/arch/m68k/fpsp040/
Ddecbin.S4 | 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 …]
Dbinstr.S5 | 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
Dbindec.S8 | 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-v4.19/drivers/usb/storage/
Dusual-tables.c94 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()
/Linux-v4.19/drivers/rtc/
Drtc-ds1305.c109 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-v4.19/include/linux/usb/
Dpd_vdo.h148 #define VDO_PRODUCT(pid, bcd) (((pid) & 0xffff) << 16 | ((bcd) & 0xffff)) argument
/Linux-v4.19/tools/perf/pmu-events/arch/powerpc/
Dmapfile.csv16 004[bcd][[:xdigit:]]{4},1,power8,core
/Linux-v4.19/arch/x86/kvm/
Di8254.h20 u8 bcd; /* not supported */ member
Di8254.c193 c->bcd); in pit_latch_status()
474 s->bcd = val & 1; in pit_ioport_write()
/Linux-v4.19/Documentation/ABI/testing/
Dconfigfs-usb-gadget23 bcdDevice - bcd device release number
24 bcdUSB - bcd USB specification version number
/Linux-v4.19/arch/x86/math-emu/
Dreg_ld_str.c302 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()
/Linux-v4.19/scripts/mod/
Dfile2alias.c257 static unsigned int incbcd(unsigned int *bcd, in incbcd() argument
262 unsigned int init = *bcd, i, j; in incbcd()
267 *bcd += inc; in incbcd()
273 c = (*bcd >> (i << 2)) & 0xf; in incbcd()
282 *bcd = 0; in incbcd()
289 *bcd += c << (i << 2); in incbcd()
/Linux-v4.19/arch/mips/include/asm/sgi/
Dhpc3.h66 volatile u32 bcd; /* byte count info */ member
/Linux-v4.19/arch/x86/include/uapi/asm/
Dkvm.h246 __u8 bcd; member
/Linux-v4.19/tools/arch/x86/include/uapi/asm/
Dkvm.h246 __u8 bcd; member
/Linux-v4.19/lib/
DMakefile36 obj-y += bcd.o div64.o sort.o parser.o debug_locks.o random32.o \