Home
last modified time | relevance | path

Searched refs:bcomp (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/media/platform/davinci/
Ddm355_ccdc.c341 static void ccdc_config_black_compense(struct ccdc_black_compensation *bcomp) in ccdc_config_black_compense() argument
345 val = (bcomp->b & CCDC_BLK_COMP_MASK) | in ccdc_config_black_compense()
346 ((bcomp->gb & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
350 val = ((bcomp->gr & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
352 ((bcomp->r & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
Ddm644x_ccdc.c354 static void ccdc_config_black_compense(struct ccdc_black_compensation *bcomp) in ccdc_config_black_compense() argument
358 val = ((bcomp->b & CCDC_BLK_COMP_MASK) | in ccdc_config_black_compense()
359 ((bcomp->gb & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
361 ((bcomp->gr & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
363 ((bcomp->r & CCDC_BLK_COMP_MASK) << in ccdc_config_black_compense()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c783 uint8_t bcomp, dcomp, fcomp; in pnv_ioda_deconfigure_pe() local
800 case 1: bcomp = OpalPciBusAll; break; in pnv_ioda_deconfigure_pe()
801 case 2: bcomp = OpalPciBus7Bits; break; in pnv_ioda_deconfigure_pe()
802 case 4: bcomp = OpalPciBus6Bits; break; in pnv_ioda_deconfigure_pe()
803 case 8: bcomp = OpalPciBus5Bits; break; in pnv_ioda_deconfigure_pe()
804 case 16: bcomp = OpalPciBus4Bits; break; in pnv_ioda_deconfigure_pe()
805 case 32: bcomp = OpalPciBus3Bits; break; in pnv_ioda_deconfigure_pe()
810 bcomp = OpalPciBusAll; in pnv_ioda_deconfigure_pe()
820 bcomp = OpalPciBusAll; in pnv_ioda_deconfigure_pe()
850 bcomp, dcomp, fcomp, OPAL_UNMAP_PE); in pnv_ioda_deconfigure_pe()
[all …]
/Linux-v5.4/drivers/media/platform/am437x/
Dam437x-vpfe.c625 struct vpfe_ccdc_black_compensation *bcomp) in vpfe_ccdc_config_black_compense() argument
629 val = ((bcomp->b & VPFE_BLK_COMP_MASK) | in vpfe_ccdc_config_black_compense()
630 ((bcomp->gb & VPFE_BLK_COMP_MASK) << in vpfe_ccdc_config_black_compense()
632 ((bcomp->gr & VPFE_BLK_COMP_MASK) << in vpfe_ccdc_config_black_compense()
634 ((bcomp->r & VPFE_BLK_COMP_MASK) << in vpfe_ccdc_config_black_compense()
/Linux-v5.4/drivers/media/usb/gspca/
Dcpia1.c1137 u8 exp_acc, bcomp, cmd[8]; in monitor_exposure() local
1158 bcomp = gspca_dev->usb_buf[1]; in monitor_exposure()
1177 bcomp += 128; /* decode */ in monitor_exposure()
1178 if (bcomp >= max_comp && exp_acc < dark_exp) { in monitor_exposure()