Home
last modified time | relevance | path

Searched refs:sbits (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/net/xfrm/ !
Dxfrm_hash.h47 __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 …]
Dxfrm_policy.c506 u8 *dbits, u8 *sbits) in __get_hash_thresh() argument
511 *sbits = net->xfrm.policy_bydst[dir].sbits4; in __get_hash_thresh()
516 *sbits = net->xfrm.policy_bydst[dir].sbits6; in __get_hash_thresh()
521 *sbits = 0; in __get_hash_thresh()
532 u8 sbits; in policy_hash_bysel() local
534 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_bysel()
535 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel()
552 u8 sbits; in policy_hash_direct() local
554 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_direct()
555 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct()
[all …]
/linux-6.12.1/sound/pci/ac97/ !
Dac97_pcm.c162 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.12.1/include/linux/iio/common/ !
Dst_sensors.h54 ch2, s, endian, rbits, sbits, addr, ext) \ argument
66 .shift = sbits - rbits, \
67 .storagebits = sbits, \
74 ch2, s, endian, rbits, sbits, addr) \ argument
76 ch2, s, endian, rbits, sbits, addr, NULL)
/linux-6.12.1/drivers/regulator/ !
Dda9052-regulator.c286 #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,\
Dda9055-regulator.c360 #define DA9055_BUCK(_id, step, min, max, vbits, voffset, mbits, sbits) \ argument
395 .shift = (sbits),\
/linux-6.12.1/sound/pci/hda/ !
Dhda_codec.c2235 static unsigned short convert_from_spdif_status(unsigned int sbits) in convert_from_spdif_status() argument
2239 if (sbits & IEC958_AES0_PROFESSIONAL) in convert_from_spdif_status()
2241 if (sbits & IEC958_AES0_NONAUDIO) in convert_from_spdif_status()
2243 if (sbits & IEC958_AES0_PROFESSIONAL) { in convert_from_spdif_status()
2244 if ((sbits & IEC958_AES0_PRO_EMPHASIS) == in convert_from_spdif_status()
2248 if ((sbits & IEC958_AES0_CON_EMPHASIS) == in convert_from_spdif_status()
2251 if (!(sbits & IEC958_AES0_CON_NOT_COPYRIGHT)) in convert_from_spdif_status()
2253 if (sbits & (IEC958_AES1_CON_ORIGINAL << 8)) in convert_from_spdif_status()
2255 val |= sbits & (IEC958_AES1_CON_CATEGORY << 8); in convert_from_spdif_status()
2264 unsigned int sbits = 0; in convert_to_spdif_status() local
[all …]
Dhda_controller.c217 int sbits = 0; in azx_pcm_trigger() local
251 sbits |= 1 << azx_dev->core.index; in azx_pcm_trigger()
258 snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg); in azx_pcm_trigger()
273 snd_hdac_stream_sync(hstr, start, sbits); in azx_pcm_trigger()
277 snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg); in azx_pcm_trigger()
278 snd_hdac_stream_timecounter_init(hstr, sbits, start); in azx_pcm_trigger()
/linux-6.12.1/drivers/mfd/ !
Dda903x.c236 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.12.1/sound/soc/ti/ !
Ddavinci-mcasp.c1258 int sbits = params_width(params); in davinci_mcasp_hw_params() local
1262 sbits = mcasp->slot_width; in davinci_mcasp_hw_params()
1265 bclk_target = rate * sbits * slots; in davinci_mcasp_hw_params()
1382 int sbits = params_width(params); in davinci_mcasp_hw_rule_rate() local
1388 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_rate()
1395 uint bclk_freq = sbits * slots * in davinci_mcasp_hw_rule_rate()
1420 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.12.1/lib/ !
Dtest_bpf.c822 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()