Home
last modified time | relevance | path

Searched refs:prim (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/lib/reed_solomon/
Dreed_solomon.c71 int fcr, int prim, int nroots, gfp_t gfp) in codec_init() argument
85 rs->prim = prim; in codec_init()
129 for(iprim = 1; (iprim % prim) != 0; iprim += rs->nn); in codec_init()
131 rs->iprim = iprim / prim; in codec_init()
135 for (i = 0, root = fcr * prim; i < nroots; i++, root += prim) { in codec_init()
215 int prim, int nroots, gfp_t gfp) in init_rs_internal() argument
226 if (prim <= 0 || prim >= (1<<symsize)) in init_rs_internal()
255 if (prim != cd->prim) in init_rs_internal()
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp); in init_rs_internal()
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim, in init_rs_gfp() argument
[all …]
Ddecode_rs.c19 int prim = rs->prim; variable
73 (fcr + i) * prim)];
85 (fcr+i)*prim)];
112 prim * (nn - 1 - (eras_pos[0] + pad)))];
114 u = rs_modnn(rs, prim * (nn - 1 - (eras_pos[i] + pad)));
295 k = (fcr + i) * prim * (nn-loc[j]-1);
Dtest_rslib.c40 int prim; member
236 int prim = rs->prim; in compute_syndrome() local
249 + (fcr + i) * prim)]; in compute_syndrome()
453 rsc = init_rs(e->symsize, e->genpoly, e->fcs, e->prim, e->nroots); in run_exercise()
/linux-6.1.9/drivers/gpu/drm/savage/
Dsavage_state.c290 unsigned int prim = cmd_header->prim.prim; in savage_dispatch_dma_prim() local
291 unsigned int skip = cmd_header->prim.skip; in savage_dispatch_dma_prim()
292 unsigned int n = cmd_header->prim.count; in savage_dispatch_dma_prim()
293 unsigned int start = cmd_header->prim.start; in savage_dispatch_dma_prim()
305 switch (prim) { in savage_dispatch_dma_prim()
308 prim = SAVAGE_PRIM_TRILIST; in savage_dispatch_dma_prim()
327 DRM_ERROR("invalid primitive type %u\n", prim); in savage_dispatch_dma_prim()
379 prim <<= 25; in savage_dispatch_dma_prim()
391 BCI_DRAW_INDICES_S3D(count, prim, start + 2); in savage_dispatch_dma_prim()
401 BCI_DRAW_INDICES_S3D(count, prim, start); in savage_dispatch_dma_prim()
[all …]
/linux-6.1.9/drivers/gpu/drm/mga/
Dmga_drv.h91 drm_mga_primary_buffer_t prim; member
248 if (test_bit(0, &dev_priv->prim.wrapped)) { \
251 } else if (dev_priv->prim.space < \
252 dev_priv->prim.high_mark) { \
262 if (test_bit(0, &dev_priv->prim.wrapped)) { \
278 #define DMA_LOCALS unsigned int write; volatile u8 *prim;
287 dev_priv->prim.space, (n) * DMA_BLOCK_SIZE); \
289 prim = dev_priv->prim.start; \
290 write = dev_priv->prim.tail; \
297 DRM_INFO(" space=0x%x\n", dev_priv->prim.space); \
[all …]
Dmga_dma.c78 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset()
105 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_flush()
160 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_wrap_start()
200 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_wrap_end()
901 dev_priv->prim.status = (u32 *) dev_priv->status->handle; in mga_do_init_dma()
909 …MGA_WRITE(MGA_PRIMPTR, virt_to_bus((void *)dev_priv->prim.status) | MGA_PRIMPTREN0 | /* Soft trap,… in mga_do_init_dma()
913 dev_priv->prim.start = (u8 *) dev_priv->primary->handle; in mga_do_init_dma()
914 dev_priv->prim.end = ((u8 *) dev_priv->primary->handle in mga_do_init_dma()
916 dev_priv->prim.size = dev_priv->primary->size; in mga_do_init_dma()
918 dev_priv->prim.tail = 0; in mga_do_init_dma()
[all …]
/linux-6.1.9/include/linux/
Drslib.h42 int prim; member
82 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
99 int prim, int nroots) in init_rs() argument
101 return init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL); in init_rs()
105 int fcr, int prim, int nroots);
DmISDNif.h256 unsigned int prim; member
436 #define mISDN_HEAD_PRIM(s) (((struct mISDNhead *)&s->cb[0])->prim)
548 _alloc_mISDN_skb(u_int prim, u_int id, u_int len, void *dp, gfp_t gfp_mask) in _alloc_mISDN_skb() argument
558 hh->prim = prim; in _alloc_mISDN_skb()
564 _queue_data(struct mISDNchannel *ch, u_int prim, in _queue_data() argument
571 skb = _alloc_mISDN_skb(prim, id, len, dp, gfp_mask); in _queue_data()
/linux-6.1.9/drivers/powercap/
Dintel_rapl_common.c148 enum rapl_primitives prim,
151 enum rapl_primitives prim,
377 int prim; in get_current_power_limit() local
391 prim = POWER_LIMIT1; in get_current_power_limit()
394 prim = POWER_LIMIT2; in get_current_power_limit()
397 prim = POWER_LIMIT4; in get_current_power_limit()
403 if (rapl_read_data_raw(rd, prim, true, &val)) in get_current_power_limit()
506 int prim; in get_max_power() local
513 prim = THERMAL_SPEC_POWER; in get_max_power()
516 prim = MAX_POWER; in get_max_power()
[all …]
/linux-6.1.9/net/llc/
Dllc_sap.c70 void llc_save_primitive(struct sock *sk, struct sk_buff *skb, u8 prim) in llc_save_primitive() argument
80 addr->sllc_test = prim == LLC_TEST_PRIM; in llc_save_primitive()
81 addr->sllc_xid = prim == LLC_XID_PRIM; in llc_save_primitive()
82 addr->sllc_ua = prim == LLC_DATAUNIT_PRIM; in llc_save_primitive()
99 ev->prim = LLC_TEST_PRIM; break; in llc_sap_rtn_pdu()
101 ev->prim = LLC_XID_PRIM; break; in llc_sap_rtn_pdu()
103 ev->prim = LLC_DATAUNIT_PRIM; break; in llc_sap_rtn_pdu()
212 llc_save_primitive(skb->sk, skb, ev->prim); in llc_sap_state_process()
242 ev->prim = LLC_TEST_PRIM; in llc_build_and_send_test_pkt()
268 ev->prim = LLC_XID_PRIM; in llc_build_and_send_xid_pkt()
Dllc_if.c60 ev->prim = LLC_DATA_PRIM; in llc_build_and_send_pkt()
110 ev->prim = LLC_CONN_PRIM; in llc_establish_connection()
151 ev->prim = LLC_DISC_PRIM; in llc_send_disc()
Dllc_s_ev.c46 ev->prim == LLC_DATAUNIT_PRIM && in llc_sap_ev_unitdata_req()
56 ev->prim == LLC_XID_PRIM && in llc_sap_ev_xid_req()
85 ev->prim == LLC_TEST_PRIM && in llc_sap_ev_test_req()
/linux-6.1.9/include/uapi/drm/
Dsavage_drm.h192 unsigned char prim; /* primitive type */ member
196 } prim; /* SAVAGE_CMD_DMA_PRIM, SAVAGE_CMD_VB_PRIM */ member
199 unsigned char prim; member
Dr128_drm.h267 int prim; member
274 int prim; member
Dradeon_drm.h421 unsigned int prim:8; member
626 int prim; member
633 int prim; member
650 drm_radeon_prim_t __user *prim; member
/linux-6.1.9/net/ipv4/
Dfib_frontend.c1110 struct in_ifaddr *prim = ifa; in fib_add_ifaddr() local
1116 prim = inet_ifa_byprefix(in_dev, prefix, mask); in fib_add_ifaddr()
1117 if (!prim) { in fib_add_ifaddr()
1123 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr()
1131 prim, 0); in fib_add_ifaddr()
1140 prefix, ifa->ifa_prefixlen, prim, in fib_add_ifaddr()
1146 32, prim, 0); in fib_add_ifaddr()
1185 struct in_ifaddr *prim = ifa, *prim1 = NULL; in fib_del_ifaddr() local
1198 prim = inet_ifa_byprefix(in_dev, any, ifa->ifa_mask); in fib_del_ifaddr()
1199 if (!prim) { in fib_del_ifaddr()
[all …]
/linux-6.1.9/drivers/gpu/drm/r128/
Dr128_state.c579 int prim = buf_priv->prim; in r128_cce_dispatch_vertex() local
608 OUT_RING(prim | R128_CCE_VC_CNTL_PRIM_WALK_LIST | in r128_cce_dispatch_vertex()
704 int prim = buf_priv->prim; in r128_cce_dispatch_indices() local
731 data[4] = cpu_to_le32((prim | R128_CCE_VC_CNTL_PRIM_WALK_IND | in r128_cce_dispatch_indices()
1334 if (vertex->prim < 0 || in r128_cce_vertex()
1335 vertex->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_vertex()
1336 DRM_ERROR("buffer prim %d\n", vertex->prim); in r128_cce_vertex()
1357 buf_priv->prim = vertex->prim; in r128_cce_vertex()
1387 if (elts->prim < 0 || in r128_cce_indices()
1388 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_indices()
[all …]
/linux-6.1.9/drivers/isdn/mISDN/
Ddsp_core.c673 switch (hh->prim) { in dsp_function()
706 hh->prim = DL_DATA_IND; in dsp_function()
765 hh->prim = DL_DATA_IND; in dsp_function()
852 hh->prim = DL_ESTABLISH_CNF; in dsp_function()
868 hh->prim = DL_RELEASE_CNF; in dsp_function()
885 hh->prim = PH_DATA_REQ; in dsp_function()
916 hh->prim = PH_ACTIVATE_REQ; in dsp_function()
936 hh->prim = PH_DEACTIVATE_REQ; in dsp_function()
943 __func__, hh->prim, dsp->name); in dsp_function()
1025 if (hh->prim == DL_DATA_REQ) { in dsp_send_bh()
Dlayer2.c138 l2up(struct layer2 *l2, u_int prim, struct sk_buff *skb) in l2up() argument
144 mISDN_HEAD_PRIM(skb) = prim; in l2up()
155 l2up_create(struct layer2 *l2, u_int prim, int len, void *arg) in l2up_create() argument
167 hh->prim = prim; in l2up_create()
195 if (hh->prim == PH_DATA_REQ) { in l2down_raw()
206 l2down(struct layer2 *l2, u_int prim, u_int id, struct sk_buff *skb) in l2down() argument
210 hh->prim = prim; in l2down()
216 l2down_create(struct layer2 *l2, u_int prim, u_int id, int len, void *arg) in l2down_create() argument
226 hh->prim = prim; in l2down_create()
292 hh->prim = event == EV_L2_T200 ? DL_TIMER200_IND : DL_TIMER203_IND; in l2_timeout()
[all …]
Dstack.c27 __func__, hh->prim, hh->id, skb); in _queue_message()
108 hh->prim, ch->addr, ret); in send_layer2()
132 __func__, hh->prim, ret); in send_layer2()
146 lm = hh->prim & MISDN_LAYERMASK; in send_msg_to_layer()
149 __func__, hh->prim, hh->id, skb); in send_msg_to_layer()
168 __func__, dev_name(&st->dev->dev), hh->prim, in send_msg_to_layer()
178 __func__, dev_name(&st->dev->dev), hh->prim, in send_msg_to_layer()
183 __func__, dev_name(&st->dev->dev), hh->prim); in send_msg_to_layer()
Dhwchannel.c221 hh->prim = PH_DATA_IND; in recv_Dchannel()
240 hh->prim = PH_DATA_E_IND; in recv_Echannel()
267 hh->prim = PH_DATA_IND; in recv_Bchannel()
393 hh->prim = pr; in queue_ch_frame()
/linux-6.1.9/include/net/
Dllc_sap.h24 unsigned char prim);
Dllc_s_ev.h39 u8 prim; member
/linux-6.1.9/drivers/scsi/libsas/
Dsas_port.c288 u32 prim; in sas_porte_broadcast_rcvd() local
291 prim = phy->sas_prim; in sas_porte_broadcast_rcvd()
294 pr_debug("broadcast received: %d\n", prim); in sas_porte_broadcast_rcvd()
/linux-6.1.9/tools/testing/selftests/rcutorture/bin/
Dtorture.sh394 for prim in $primlist
396 …torture_bootargs="rcuscale.scale_type="$prim" rcuscale.nwriters=$HALF_ALLOTED_CPUS rcuscale.holdof…
397 …torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --al…

12