/linux-6.1.9/lib/reed_solomon/ |
D | reed_solomon.c | 71 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 …]
|
D | decode_rs.c | 19 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);
|
D | test_rslib.c | 40 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/ |
D | savage_state.c | 290 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/ |
D | mga_drv.h | 91 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 …]
|
D | mga_dma.c | 78 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/ |
D | rslib.h | 42 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);
|
D | mISDNif.h | 256 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/ |
D | intel_rapl_common.c | 148 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/ |
D | llc_sap.c | 70 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()
|
D | llc_if.c | 60 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()
|
D | llc_s_ev.c | 46 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/ |
D | savage_drm.h | 192 unsigned char prim; /* primitive type */ member 196 } prim; /* SAVAGE_CMD_DMA_PRIM, SAVAGE_CMD_VB_PRIM */ member 199 unsigned char prim; member
|
D | r128_drm.h | 267 int prim; member 274 int prim; member
|
D | radeon_drm.h | 421 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/ |
D | fib_frontend.c | 1110 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/ |
D | r128_state.c | 579 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/ |
D | dsp_core.c | 673 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()
|
D | layer2.c | 138 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 …]
|
D | stack.c | 27 __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()
|
D | hwchannel.c | 221 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/ |
D | llc_sap.h | 24 unsigned char prim);
|
D | llc_s_ev.h | 39 u8 prim; member
|
/linux-6.1.9/drivers/scsi/libsas/ |
D | sas_port.c | 288 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/ |
D | torture.sh | 394 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…
|