Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 23 of 23) sorted by relevance

/f-stack/freebsd/tools/sound/
H A Dfeeder_eq_mkfilter.awk137 b1 = -2.0 * cos(w0);
140 a1 = -2.0 * cos(w0);
143 b0 = A*((A+1.0)+((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha));
144 b1 = -2.0*A*((A-1.0)+((A+1.0)*cos(w0)) );
145 b2 = A*((A+1.0)+((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha));
146 a0 = (A+1.0)-((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha );
147 a1 = 2.0 * ((A-1.0)-((A+1.0)*cos(w0)) );
148 a2 = (A+1.0)-((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha );
171 b1 = -2.0 * cos(w0);
174 a1 = -2.0 * cos(w0);
[all …]
H A Dfeeder_rate_mkfilter.awk268 w = 0.36335819 + (0.4891775 * cos(x)) + \
269 (0.1365995 * cos(2 * x)) + \
270 (0.0106411 * cos(3 * x));
274 (0.144232 * cos(2 * x)) + \
275 (0.012604 * cos(3 * x));
278 w = 0.422323 + (0.49755 * cos(x)) + \
279 (0.07922 * cos(2 * x));
282 w = 0.42 + (0.50 * cos(x)) + \
283 (0.08 * cos(2 * x));
286 w = 0.54 + (0.46 * cos(x));
[all …]
/f-stack/dpdk/drivers/net/bnx2x/
H A Decore_init.h196 #define ECORE_VOQ_Q_REG_ADDR(cos, pf_q_num)\ argument
265 traffic_cos[LLFC_TRAFFIC_TYPE_FCOE].cos); in ecore_dcb_config_qm()
269 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); in ecore_dcb_config_qm()
273 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in ecore_dcb_config_qm()
275 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in ecore_dcb_config_qm()
277 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); in ecore_dcb_config_qm()
457 uint32_t vnic, cos; in ecore_init_fw_wrr() local
462 for (cos = 0; cos < MAX_COS_NUMBER; cos++) in ecore_init_fw_wrr()
473 for (cos = 0; cos < MAX_COS_NUMBER; cos++) { in ecore_init_fw_wrr()
479 ccd[cos] = in ecore_init_fw_wrr()
[all …]
H A Decore_sp.c3784 gen_data->cos = params->cos; in ecore_q_fill_init_general_data()
3791 gen_data->activate_flg, gen_data->cos, in ecore_q_fill_init_general_data()
3953 uint8_t cos; in ecore_q_init() local
3980 for (cos = 0; cos < o->max_cos; cos++) { in ecore_q_init()
3982 o->cids[cos], cos); in ecore_q_init()
3983 ECORE_MSG(sc, "context pointer %p", init->cxts[cos]); in ecore_q_init()
3984 ECORE_SET_CTX_VALIDATION(sc, init->cxts[cos], o->cids[cos]); in ecore_q_init()
4076 tx_only_params->gen_params.cos, in ecore_q_send_setup_tx_only()
4088 rdata->general.sp_client_id, rdata->general.cos); in ecore_q_send_setup_tx_only()
H A Dbnx2x.c4953 int cos; in bnx2x_init_eth_fp() local
4983 for (cos = 0; cos < sc->max_cos; cos++) { in bnx2x_init_eth_fp()
4984 cids[cos] = idx; in bnx2x_init_eth_fp()
6387 uint8_t cos; in bnx2x_pf_q_prep_init() local
6413 for (cos = FIRST_TX_COS_INDEX; cos < init_params->max_cos; cos++) { in bnx2x_pf_q_prep_init()
6416 init_params->cxts[cos] = in bnx2x_pf_q_prep_init()
6480 gen_init->cos = cos; in bnx2x_pf_q_prep_general()
9567 int pri, cos; in bnx2x_init_multi_cos() local
9573 if (cos < sc->max_cos) { in bnx2x_init_multi_cos()
9574 sc->prio_to_cos[pri] = cos; in bnx2x_init_multi_cos()
[all …]
H A Delink.h650 struct elink_ets_cos_params cos[ELINK_DCBX_MAX_NUM_COS]; member
H A Decore_sp.h1371 uint8_t cos; member
1413 uint8_t cos; /* valid if ECORE_Q_FLG_COS */ member
H A Decore_hsi.h4195 uint8_t cos; member
5787 uint8_t cos; member
5793 uint8_t cos;
5984 uint8_t cos; member
H A Delink.c1630 if (ets_params->cos[cos_idx].state == elink_cos_state_bw) { in elink_ets_e3b0_get_total_bw()
1632 if (!ets_params->cos[cos_idx].params.bw_params.bw) { in elink_ets_e3b0_get_total_bw()
1638 ets_params->cos[cos_idx].params.bw_params.bw in elink_ets_e3b0_get_total_bw()
1642 ets_params->cos[cos_idx].params.bw_params.bw; in elink_ets_e3b0_get_total_bw()
1714 static uint64_t elink_e3b0_sp_get_pri_cli_reg(const uint8_t cos, in elink_e3b0_sp_get_pri_cli_reg() argument
1721 pri_cli_nig = ((uint64_t)(cos + cos_offset)) << (entry_size * in elink_e3b0_sp_get_pri_cli_reg()
1739 return elink_e3b0_sp_get_pri_cli_reg(cos, nig_cos_offset, pri_set, in elink_e3b0_sp_get_pri_cli_reg_nig()
1911 if (elink_cos_state_bw == ets_params->cos[cos_entry].state) { in elink_ets_e3b0_config()
1919 ets_params->cos[cos_entry].params.bw_params.bw, in elink_ets_e3b0_config()
1922 ets_params->cos[cos_entry].state){ in elink_ets_e3b0_config()
[all …]
/f-stack/app/redis-5.0.5/src/
H A Dgeohash_helper.c107 bounds[0] = longitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
108 bounds[2] = longitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
220 asin(sqrt(u * u + cos(lat1r) * cos(lat2r) * v * v)); in geohashGetDistance()
H A Dlolwut5.c161 py[j] = round(cos(k) * size + y); in lwDrawSquare()
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_flow.c2215 flow->cos.ppio = priv->ppio; in mrvl_flow_parse_actions()
2216 flow->cos.tc = 0; in mrvl_flow_parse_actions()
2218 flow->action.cos = &flow->cos; in mrvl_flow_parse_actions()
2253 flow->cos.ppio = priv->ppio; in mrvl_flow_parse_actions()
2254 flow->cos.tc = priv->rxq_map[q->index].tc; in mrvl_flow_parse_actions()
2256 flow->action.cos = &flow->cos; in mrvl_flow_parse_actions()
2288 if (!flow->cos.ppio) { in mrvl_flow_parse_actions()
2289 flow->cos.ppio = priv->ppio; in mrvl_flow_parse_actions()
2290 flow->cos.tc = 0; in mrvl_flow_parse_actions()
2294 flow->action.cos = &flow->cos; in mrvl_flow_parse_actions()
[all …]
H A Dmrvl_ethdev.h123 struct pp2_cls_cos_desc cos; member
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.h118 u32 cos; member
H A Dhinic_pmd_tx.c1102 static inline void hinic_sq_write_db(struct hinic_sq *sq, int cos) in hinic_sq_write_db() argument
1114 SQ_DB_INFO_SET(cos, COS) | in hinic_sq_write_db()
1206 hinic_sq_write_db(txq->sq, txq->cos); in hinic_xmit_pkts()
H A Dhinic_pmd_ethdev.c614 txq->cos = nic_dev->default_cos; in hinic_tx_queue_setup()
/f-stack/app/redis-5.0.5/tests/unit/
H A Dgeo.tcl13 asin(sqrt($u * $u + cos($lat1r) * cos($lat2r) * $v * $v))}
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlmathlib.c42 lua_pushnumber(L, cos(luaL_checknumber(L, 1))); in math_cos()
/f-stack/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_resource.h1313 u32 cos,
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_if.h519 u8 cos; member
/f-stack/dpdk/doc/guides/eventdevs/
H A Ddlb2.rst411 --vdev=dlb2_event,cos=<0..4>
/f-stack/dpdk/doc/guides/nics/
H A Dbnxt.rst598 per-cos counters, per-priority counters, etc.
/f-stack/tools/libxo/xohtml/external/
H A Djquery.js8663 return ( ( -Math.cos( p*Math.PI ) / 2 ) + 0.5 ) * diff + firstNum;