Home
last modified time | relevance | path

Searched refs:fld_cnt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c469 u32 fld_cnt = 0; in medusa_set_decoderduration() local
496 fld_cnt = cx25821_i2c_read(&dev->i2c_bus[0], disp_cnt_reg, &tmp); in medusa_set_decoderduration()
499 fld_cnt &= 0xFFFF0000; in medusa_set_decoderduration()
500 fld_cnt |= duration; in medusa_set_decoderduration()
502 fld_cnt &= 0x0000FFFF; in medusa_set_decoderduration()
503 fld_cnt |= ((u32) duration) << 16; in medusa_set_decoderduration()
506 cx25821_i2c_write(&dev->i2c_bus[0], disp_cnt_reg, fld_cnt); in medusa_set_decoderduration()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_fdir.c248 enum ice_flow_field *fld, int *fld_cnt) in ice_vc_fdir_parse_flow_fld() argument
263 fld[*fld_cnt] = fdir_inset_map[i].fld; in ice_vc_fdir_parse_flow_fld()
264 *fld_cnt += 1; in ice_vc_fdir_parse_flow_fld()
265 if (*fld_cnt >= ICE_FLOW_FIELD_IDX_MAX) in ice_vc_fdir_parse_flow_fld()
295 int fld_cnt = 0; in ice_vc_fdir_set_flow_fld() local
303 ret = ice_vc_fdir_parse_flow_fld(hdr, conf, fld, &fld_cnt); in ice_vc_fdir_set_flow_fld()
308 if (fld_cnt == 0) { in ice_vc_fdir_set_flow_fld()
313 for (i = 0; i < fld_cnt; i++) in ice_vc_fdir_set_flow_fld()