Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/ti/omap3isp/
Disph3a_aewb.c182 struct omap3isp_h3a_aewb_config *cur_cfg = aewb->priv; in h3a_aewb_set_params() local
185 if (cur_cfg->saturation_limit != user_cfg->saturation_limit) { in h3a_aewb_set_params()
186 cur_cfg->saturation_limit = user_cfg->saturation_limit; in h3a_aewb_set_params()
189 if (cur_cfg->alaw_enable != user_cfg->alaw_enable) { in h3a_aewb_set_params()
190 cur_cfg->alaw_enable = user_cfg->alaw_enable; in h3a_aewb_set_params()
193 if (cur_cfg->win_height != user_cfg->win_height) { in h3a_aewb_set_params()
194 cur_cfg->win_height = user_cfg->win_height; in h3a_aewb_set_params()
197 if (cur_cfg->win_width != user_cfg->win_width) { in h3a_aewb_set_params()
198 cur_cfg->win_width = user_cfg->win_width; in h3a_aewb_set_params()
201 if (cur_cfg->ver_win_count != user_cfg->ver_win_count) { in h3a_aewb_set_params()
[all …]
Disph3a_af.c230 struct omap3isp_h3a_af_config *cur_cfg = af->priv; in h3a_af_set_params() local
235 if (cur_cfg->alaw_enable != user_cfg->alaw_enable) { in h3a_af_set_params()
241 if (cur_cfg->hmf.enable != user_cfg->hmf.enable) { in h3a_af_set_params()
245 if (cur_cfg->hmf.threshold != user_cfg->hmf.threshold) { in h3a_af_set_params()
251 if (cur_cfg->rgb_pos != user_cfg->rgb_pos) { in h3a_af_set_params()
257 if (cur_cfg->iir.h_start != user_cfg->iir.h_start) { in h3a_af_set_params()
262 if (cur_cfg->iir.coeff_set0[index] != in h3a_af_set_params()
267 if (cur_cfg->iir.coeff_set1[index] != in h3a_af_set_params()
275 if ((cur_cfg->paxel.width != user_cfg->paxel.width) || in h3a_af_set_params()
276 (cur_cfg->paxel.height != user_cfg->paxel.height) || in h3a_af_set_params()
[all …]
Disphist.c363 struct omap3isp_hist_config *cur_cfg = hist->priv; in hist_comp_params() local
366 if (cur_cfg->cfa != user_cfg->cfa) in hist_comp_params()
369 if (cur_cfg->num_acc_frames != user_cfg->num_acc_frames) in hist_comp_params()
372 if (cur_cfg->hist_bins != user_cfg->hist_bins) in hist_comp_params()
378 else if (cur_cfg->wg[c] != user_cfg->wg[c]) in hist_comp_params()
382 if (cur_cfg->num_regions != user_cfg->num_regions) in hist_comp_params()
387 if (cur_cfg->region[c].h_start != user_cfg->region[c].h_start) in hist_comp_params()
389 if (cur_cfg->region[c].h_end != user_cfg->region[c].h_end) in hist_comp_params()
391 if (cur_cfg->region[c].v_start != user_cfg->region[c].v_start) in hist_comp_params()
393 if (cur_cfg->region[c].v_end != user_cfg->region[c].v_end) in hist_comp_params()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dmac.c906 const struct rtw89_pwr_cfg *cur_cfg; in rtw89_mac_sub_pwr_seq() local
910 for (cur_cfg = cfg; cur_cfg->cmd != PWR_CMD_END; cur_cfg++) { in rtw89_mac_sub_pwr_seq()
911 if (!(cur_cfg->intf_msk & intf_msk) || in rtw89_mac_sub_pwr_seq()
912 !(cur_cfg->cv_msk & cv_msk)) in rtw89_mac_sub_pwr_seq()
915 switch (cur_cfg->cmd) { in rtw89_mac_sub_pwr_seq()
917 addr = cur_cfg->addr; in rtw89_mac_sub_pwr_seq()
919 if (cur_cfg->base == PWR_BASE_SDIO) in rtw89_mac_sub_pwr_seq()
923 val &= ~(cur_cfg->msk); in rtw89_mac_sub_pwr_seq()
924 val |= (cur_cfg->val & cur_cfg->msk); in rtw89_mac_sub_pwr_seq()
929 if (pwr_cmd_poll(rtwdev, cur_cfg)) in rtw89_mac_sub_pwr_seq()
[all …]
/linux-6.1.9/drivers/usb/gadget/udc/
Dpch_udc.c263 u16 cur_cfg; member
994 (cfg->cur_cfg << UDC_CSR_NE_CFG_SHIFT) | in pch_udc_ep_enable()
2603 dev->cfg_data.cur_cfg = (dev_stat & UDC_DEVSTS_CFG_MASK) >> in pch_udc_svc_cfg_interrupt()
2608 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_cfg); in pch_udc_svc_cfg_interrupt()
2613 (dev->cfg_data.cur_cfg << UDC_CSR_NE_CFG_SHIFT); in pch_udc_svc_cfg_interrupt()