Searched refs:bcomp (Results 1 – 5 of 5) sorted by relevance
341 static void ccdc_config_black_compense(struct ccdc_black_compensation *bcomp) in ccdc_config_black_compense() argument345 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()
354 static void ccdc_config_black_compense(struct ccdc_black_compensation *bcomp) in ccdc_config_black_compense() argument358 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()
783 uint8_t bcomp, dcomp, fcomp; in pnv_ioda_deconfigure_pe() local800 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 …]
625 struct vpfe_ccdc_black_compensation *bcomp) in vpfe_ccdc_config_black_compense() argument629 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()
1137 u8 exp_acc, bcomp, cmd[8]; in monitor_exposure() local1158 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()