Searched refs:bcd (Results 1 – 3 of 3) sorted by relevance
/drivers/usb/storage/ |
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()
|
/drivers/rtc/ |
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()
|
/drivers/media/platform/aspeed/ |
D | aspeed-video.c | 314 struct aspeed_video_addr bcd; member 598 if (bcd_buf_need && !video->bcd.size) { in aspeed_video_start_frame() 599 if (!aspeed_video_alloc_buf(video, &video->bcd, in aspeed_video_start_frame() 605 aspeed_video_write(video, VE_BCD_ADDR, video->bcd.dma); in aspeed_video_start_frame() 607 &video->bcd.dma, video->bcd.size); in aspeed_video_start_frame() 608 } else if (!bcd_buf_need && video->bcd.size) { in aspeed_video_start_frame() 609 aspeed_video_free_buf(video, &video->bcd); in aspeed_video_start_frame() 717 memset((u8 *)v->bcd.virt, 0x00, VE_BCD_BUFF_SIZE); in aspeed_video_swap_src_buf() 1335 if (video->bcd.size) in aspeed_video_stop() 1336 aspeed_video_free_buf(video, &video->bcd); in aspeed_video_stop()
|