/linux-6.1.9/net/xfrm/ |
D | xfrm_hash.h | 47 __u8 sbits) in __xfrm4_dpref_spref_hash() argument 50 ntohl(saddr->a4) & __bits2mask32(sbits), in __xfrm4_dpref_spref_hash() 78 __u8 sbits) in __xfrm6_dpref_spref_hash() argument 81 __xfrm6_pref_hash(saddr, sbits); in __xfrm6_dpref_spref_hash() 148 u8 dbits, u8 sbits) in __sel_hash() argument 157 sel->prefixlen_s < sbits) in __sel_hash() 160 h = __xfrm4_dpref_spref_hash(daddr, saddr, dbits, sbits); in __sel_hash() 165 sel->prefixlen_s < sbits) in __sel_hash() 168 h = __xfrm6_dpref_spref_hash(daddr, saddr, dbits, sbits); in __sel_hash() 179 u8 dbits, u8 sbits) in __addr_hash() argument [all …]
|
D | xfrm_policy.c | 464 u8 *dbits, u8 *sbits) in __get_hash_thresh() argument 469 *sbits = net->xfrm.policy_bydst[dir].sbits4; in __get_hash_thresh() 474 *sbits = net->xfrm.policy_bydst[dir].sbits6; in __get_hash_thresh() 479 *sbits = 0; in __get_hash_thresh() 490 u8 sbits; in policy_hash_bysel() local 492 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_bysel() 493 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel() 510 u8 sbits; in policy_hash_direct() local 512 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_direct() 513 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct() [all …]
|
/linux-6.1.9/sound/pci/ac97/ |
D | ac97_pcm.c | 162 unsigned int sbits; in set_spdif_rate() local 201 sbits = ac97->spdif_status; in set_spdif_rate() 202 if (sbits & IEC958_AES0_PROFESSIONAL) { in set_spdif_rate() 203 sbits &= ~IEC958_AES0_PRO_FS; in set_spdif_rate() 205 case 44100: sbits |= IEC958_AES0_PRO_FS_44100; break; in set_spdif_rate() 206 case 48000: sbits |= IEC958_AES0_PRO_FS_48000; break; in set_spdif_rate() 207 case 32000: sbits |= IEC958_AES0_PRO_FS_32000; break; in set_spdif_rate() 210 sbits &= ~(IEC958_AES3_CON_FS << 24); in set_spdif_rate() 212 case 44100: sbits |= IEC958_AES3_CON_FS_44100<<24; break; in set_spdif_rate() 213 case 48000: sbits |= IEC958_AES3_CON_FS_48000<<24; break; in set_spdif_rate() [all …]
|
/linux-6.1.9/include/linux/iio/common/ |
D | st_sensors.h | 53 ch2, s, endian, rbits, sbits, addr, ext) \ argument 65 .shift = sbits - rbits, \ 66 .storagebits = sbits, \ 73 ch2, s, endian, rbits, sbits, addr) \ argument 75 ch2, s, endian, rbits, sbits, addr, NULL)
|
/linux-6.1.9/drivers/regulator/ |
D | da9052-regulator.c | 286 #define DA9052_LDO(_id, _name, step, min, max, sbits, ebits, abits) \ argument 298 .vsel_mask = (1 << (sbits)) - 1,\ 308 #define DA9052_DCDC(_id, _name, step, min, max, sbits, ebits, abits) \ argument 320 .vsel_mask = (1 << (sbits)) - 1,\
|
D | da9055-regulator.c | 361 #define DA9055_BUCK(_id, step, min, max, vbits, voffset, mbits, sbits) \ argument 396 .shift = (sbits),\
|
/linux-6.1.9/sound/pci/hda/ |
D | hda_codec.c | 2231 static unsigned short convert_from_spdif_status(unsigned int sbits) in convert_from_spdif_status() argument 2235 if (sbits & IEC958_AES0_PROFESSIONAL) in convert_from_spdif_status() 2237 if (sbits & IEC958_AES0_NONAUDIO) in convert_from_spdif_status() 2239 if (sbits & IEC958_AES0_PROFESSIONAL) { in convert_from_spdif_status() 2240 if ((sbits & IEC958_AES0_PRO_EMPHASIS) == in convert_from_spdif_status() 2244 if ((sbits & IEC958_AES0_CON_EMPHASIS) == in convert_from_spdif_status() 2247 if (!(sbits & IEC958_AES0_CON_NOT_COPYRIGHT)) in convert_from_spdif_status() 2249 if (sbits & (IEC958_AES1_CON_ORIGINAL << 8)) in convert_from_spdif_status() 2251 val |= sbits & (IEC958_AES1_CON_CATEGORY << 8); in convert_from_spdif_status() 2260 unsigned int sbits = 0; in convert_to_spdif_status() local [all …]
|
D | hda_controller.c | 211 int sbits = 0; in azx_pcm_trigger() local 245 sbits |= 1 << azx_dev->core.index; in azx_pcm_trigger() 252 snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg); in azx_pcm_trigger() 267 snd_hdac_stream_sync(hstr, start, sbits); in azx_pcm_trigger() 271 snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg); in azx_pcm_trigger() 273 snd_hdac_stream_timecounter_init(hstr, sbits); in azx_pcm_trigger()
|
/linux-6.1.9/drivers/mfd/ |
D | da903x.c | 236 int da903x_query_status(struct device *dev, unsigned int sbits) in da903x_query_status() argument 242 return ((status & sbits) == sbits); in da903x_query_status()
|
/linux-6.1.9/sound/soc/ti/ |
D | davinci-mcasp.c | 1261 int sbits = params_width(params); in davinci_mcasp_hw_params() local 1265 sbits = mcasp->slot_width; in davinci_mcasp_hw_params() 1268 bclk_target = rate * sbits * slots; in davinci_mcasp_hw_params() 1383 int sbits = params_width(params); in davinci_mcasp_hw_rule_rate() local 1389 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_rate() 1396 uint bclk_freq = sbits * slots * in davinci_mcasp_hw_rule_rate() 1421 ri->min, ri->max, range.min, range.max, sbits, slots); in davinci_mcasp_hw_rule_rate() 1441 uint sbits = snd_pcm_format_width(i); in davinci_mcasp_hw_rule_format() local 1452 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_format() 1455 sbits * slots * rate, in davinci_mcasp_hw_rule_format()
|
/linux-6.1.9/sound/soc/intel/skylake/ |
D | skl-pcm.c | 1091 int sbits = 0; in skl_coupled_trigger() local 1124 sbits |= 1 << hdac_stream(stream)->index; in skl_coupled_trigger() 1131 snd_hdac_stream_sync_trigger(hstr, true, sbits, AZX_REG_SSYNC); in skl_coupled_trigger() 1144 snd_hdac_stream_sync(hstr, start, sbits); in skl_coupled_trigger() 1149 snd_hdac_stream_sync_trigger(hstr, false, sbits, AZX_REG_SSYNC); in skl_coupled_trigger() 1151 snd_hdac_stream_timecounter_init(hstr, sbits); in skl_coupled_trigger()
|
/linux-6.1.9/lib/ |
D | test_bpf.c | 822 int dbits, int sbits, int block1, int block2, in __bpf_fill_pattern() argument 834 count = (dbits - 1) * (sbits - 1) * block1 * block1 * ARRAY_SIZE(sgn); in __bpf_fill_pattern() 835 count += (max(dbits, sbits) - 1) * block2 * block2 * ARRAY_SIZE(sgn); in __bpf_fill_pattern() 851 for (si = 0; si < sbits - 1; si++) /* Src magnitudes */ in __bpf_fill_pattern() 870 for (bt = 0; bt < max(dbits, sbits) - 1; bt++) /* Magnitude */ in __bpf_fill_pattern() 878 src = value(bt % sbits, sb, sgn[k][1]); in __bpf_fill_pattern()
|