/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | tnum.c | 64 u64 sm, sv, sigma, chi, mu; in tnum_add() local 70 mu = chi | a.mask | b.mask; in tnum_add() 71 return TNUM(sv & ~mu, mu); in tnum_add() 76 u64 dv, alpha, beta, chi, mu; in tnum_sub() local 82 mu = chi | a.mask | b.mask; in tnum_sub() 83 return TNUM(dv & ~mu, mu); in tnum_sub() 98 u64 v, mu; in tnum_or() local 101 mu in tnum_or() 107 u64 v, mu; tnum_xor() local 143 u64 v, mu; tnum_intersect() local [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | tnum.c | 64 u64 sm, sv, sigma, chi, mu; in tnum_add() local 70 mu = chi | a.mask | b.mask; in tnum_add() 71 return TNUM(sv & ~mu, mu); in tnum_add() 76 u64 dv, alpha, beta, chi, mu; in tnum_sub() local 82 mu = chi | a.mask | b.mask; in tnum_sub() 83 return TNUM(dv & ~mu, mu); in tnum_sub() 98 u64 v, mu; in tnum_or() local 101 mu in tnum_or() 107 u64 v, mu; tnum_xor() local 146 u64 v, mu; tnum_intersect() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hptiop.c | 142 static u64 mv_outbound_read(struct hpt_iopmu_mv __iomem *mu) in mv_outbound_read() argument 144 u32 outbound_tail = readl(&mu->outbound_tail); in mv_outbound_read() 145 u32 outbound_head = readl(&mu->outbound_head); in mv_outbound_read() 150 memcpy_fromio(&p, &mu->outbound_q[mu->outbound_tail], 8); in mv_outbound_read() 155 writel(outbound_tail, &mu->outbound_tail); in mv_outbound_read() 163 u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); in mv_inbound_write() 169 memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); in mv_inbound_write() 170 writel(head, &hba->u.mv.mu->inbound_head); in mv_inbound_write() 213 msg = readl(&hba->u.mv.mu in iop_intr_mv() [all...] |
H A D | hptiop.h | 278 struct hpt_iopmu_mv __iomem *mu; member 284 struct hpt_iopmu_mvfrey __iomem *mu; member
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hptiop.c | 142 static u64 mv_outbound_read(struct hpt_iopmu_mv __iomem *mu) in mv_outbound_read() argument 144 u32 outbound_tail = readl(&mu->outbound_tail); in mv_outbound_read() 145 u32 outbound_head = readl(&mu->outbound_head); in mv_outbound_read() 150 memcpy_fromio(&p, &mu->outbound_q[mu->outbound_tail], 8); in mv_outbound_read() 155 writel(outbound_tail, &mu->outbound_tail); in mv_outbound_read() 163 u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); in mv_inbound_write() 169 memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); in mv_inbound_write() 170 writel(head, &hba->u.mv.mu->inbound_head); in mv_inbound_write() 213 msg = readl(&hba->u.mv.mu in iop_intr_mv() [all...] |
H A D | hptiop.h | 278 struct hpt_iopmu_mv __iomem *mu; member 284 struct hpt_iopmu_mvfrey __iomem *mu; member
|
/kernel/linux/linux-5.10/drivers/input/ |
H A D | input-mt.c | 315 static int adjust_dual(int *begin, int step, int *end, int eq, int mu) in adjust_dual() argument 336 if (c == 0 || (c > mu && (!eq || mu > 0))) in adjust_dual() 339 if (s < 0 && mu <= 0) in adjust_dual() 348 static void find_reduced_matrix(int *w, int nr, int nc, int nrc, int mu) in find_reduced_matrix() argument 354 adjust_dual(w + i, nr, w + i + nrc, nr <= nc, mu); in find_reduced_matrix() 357 sum += adjust_dual(w + i, 1, w + i + nr, nc <= nr, mu); in find_reduced_matrix() 365 int mu) in input_mt_set_matrix() 379 *w++ = dx * dx + dy * dy - mu; in input_mt_set_matrix() 445 int mu in input_mt_assign_slots() local 363 input_mt_set_matrix(struct input_mt *mt, const struct input_mt_pos *pos, int num_pos, int mu) input_mt_set_matrix() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/ |
H A D | input-mt.c | 355 static int adjust_dual(int *begin, int step, int *end, int eq, int mu) in adjust_dual() argument 376 if (c == 0 || (c > mu && (!eq || mu > 0))) in adjust_dual() 379 if (s < 0 && mu <= 0) in adjust_dual() 388 static void find_reduced_matrix(int *w, int nr, int nc, int nrc, int mu) in find_reduced_matrix() argument 394 adjust_dual(w + i, nr, w + i + nrc, nr <= nc, mu); in find_reduced_matrix() 397 sum += adjust_dual(w + i, 1, w + i + nr, nc <= nr, mu); in find_reduced_matrix() 405 int mu) in input_mt_set_matrix() 419 *w++ = dx * dx + dy * dy - mu; in input_mt_set_matrix() 485 int mu in input_mt_assign_slots() local 403 input_mt_set_matrix(struct input_mt *mt, const struct input_mt_pos *pos, int num_pos, int mu) input_mt_set_matrix() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/ |
H A D | optee.c | 110 * @mu: Mutex protection on channel access 122 struct mutex mu; member 138 * @mu: Mutex for protection of @channel_list 145 struct mutex mu; member 433 mutex_init(&channel->mu); in scmi_optee_chan_setup() 450 mutex_lock(&scmi_optee_private->mu); in scmi_optee_chan_setup() 452 mutex_unlock(&scmi_optee_private->mu); in scmi_optee_chan_setup() 470 mutex_lock(&scmi_optee_private->mu); in scmi_optee_chan_free() 472 mutex_unlock(&scmi_optee_private->mu); in scmi_optee_chan_free() 493 mutex_lock(&channel->mu); in scmi_optee_send_message() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
H A D | pmecc.c | 176 s32 *mu; member 361 /* Reserve space for mu, dmu and delta. */ in atmel_pmecc_create_user() 375 user->mu = (s32 *)PTR_ALIGN(user->smu + in atmel_pmecc_create_user() 379 user->dmu = user->mu + req->ecc.strength + 1; in atmel_pmecc_create_user() 491 s32 *mu = user->mu; in atmel_pmecc_get_sigma() local 514 mu[0] = -1; in atmel_pmecc_get_sigma() 523 delta[0] = (mu[0] * 2 - lmu[0]) >> 1; in atmel_pmecc_get_sigma() 528 mu[1] = 0; in atmel_pmecc_get_sigma() 539 delta[1] = (mu[ in atmel_pmecc_get_sigma() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/atmel/ |
H A D | pmecc.c | 176 s32 *mu; member 361 /* Reserve space for mu, dmu and delta. */ in atmel_pmecc_create_user() 375 user->mu = (s32 *)PTR_ALIGN(user->smu + in atmel_pmecc_create_user() 379 user->dmu = user->mu + req->ecc.strength + 1; in atmel_pmecc_create_user() 491 s32 *mu = user->mu; in atmel_pmecc_get_sigma() local 514 mu[0] = -1; in atmel_pmecc_get_sigma() 523 delta[0] = (mu[0] * 2 - lmu[0]) >> 1; in atmel_pmecc_get_sigma() 528 mu[1] = 0; in atmel_pmecc_get_sigma() 539 delta[1] = (mu[ in atmel_pmecc_get_sigma() [all...] |
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | dsp_audio.c | 90 short mu, e, f, y; in ulaw2linear() local 93 mu = 255 - ulaw; in ulaw2linear() 94 e = (mu & 0x70) / 16; in ulaw2linear() 95 f = mu & 0x0f; in ulaw2linear() 98 if (mu & 0x80) in ulaw2linear()
|
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | dsp_audio.c | 90 short mu, e, f, y; in ulaw2linear() local 93 mu = 255 - ulaw; in ulaw2linear() 94 e = (mu & 0x70) / 16; in ulaw2linear() 95 f = mu & 0x0f; in ulaw2linear() 98 if (mu & 0x80) in ulaw2linear()
|
/kernel/linux/linux-5.10/drivers/tee/optee/ |
H A D | rpc.c | 24 mutex_init(&priv->mu); in optee_wait_queue_init() 30 mutex_destroy(&priv->mu); in optee_wait_queue_exit() 149 mutex_lock(&wq->mu); in wq_entry_get() 162 mutex_unlock(&wq->mu); in wq_entry_get() 172 mutex_lock(&wq->mu); in wq_sleep() 174 mutex_unlock(&wq->mu); in wq_sleep()
|
H A D | optee_private.h | 40 struct mutex mu; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | main.c | 562 u32 *mu; in mt7615_update_mu_group() local 564 mu = (u32 *)info->mu_group.membership; in mt7615_update_mu_group() 565 for (i = 0; i < WLAN_MEMBERSHIP_LEN / sizeof(*mu); i++) { in mt7615_update_mu_group() 567 mt76_wr(dev, MT7663_WF_PHY_GID_TAB_VLD(band, i), mu[i]); in mt7615_update_mu_group() 569 mt76_wr(dev, MT_WF_PHY_GID_TAB_VLD(band, i), mu[i]); in mt7615_update_mu_group() 572 mu = (u32 *)info->mu_group.position; in mt7615_update_mu_group() 573 for (i = 0; i < WLAN_USER_POSITION_LEN / sizeof(*mu); i++) { in mt7615_update_mu_group() 575 mt76_wr(dev, MT7663_WF_PHY_GID_TAB_POS(band, i), mu[i]); in mt7615_update_mu_group() 577 mt76_wr(dev, MT_WF_PHY_GID_TAB_POS(band, i), mu[i]); in mt7615_update_mu_group()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | main.c | 546 u32 *mu; in mt7996_update_mu_group() local 548 mu = (u32 *)info->mu_group.membership; in mt7996_update_mu_group() 549 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_VLD0(band), mu[0]); in mt7996_update_mu_group() 550 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_VLD1(band), mu[1]); in mt7996_update_mu_group() 552 mu = (u32 *)info->mu_group.position; in mt7996_update_mu_group() 553 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS0(band), mu[0]); in mt7996_update_mu_group() 554 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS1(band), mu[1]); in mt7996_update_mu_group() 555 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS2(band), mu[2]); in mt7996_update_mu_group() 556 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS3(band), mu[3]); in mt7996_update_mu_group()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | firmware.c | 141 u8 mu[MU_SIZE]; member 160 u8 *mu; /* pointer to mu */ member 497 * The augmented file has r2 and mu inserted after the header in obtain_one_firmware() 521 fdet->mu = fdet->dummy_header.mu; /* use dummy space */ in obtain_one_firmware() 526 * Header does not include r2 and mu - generate here. in obtain_one_firmware() 529 dd_dev_err(dd, "driver is unable to validate firmware without r2 and mu (not in firmware file)\n"); in obtain_one_firmware() 546 fdet->mu = aff->mu; in obtain_one_firmware() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | firmware.c | 98 u8 mu[MU_SIZE]; member 117 u8 *mu; /* pointer to mu */ member 454 * The augmented file has r2 and mu inserted after the header in obtain_one_firmware() 478 fdet->mu = fdet->dummy_header.mu; /* use dummy space */ in obtain_one_firmware() 483 * Header does not include r2 and mu - generate here. in obtain_one_firmware() 486 dd_dev_err(dd, "driver is unable to validate firmware without r2 and mu (not in firmware file)\n"); in obtain_one_firmware() 503 fdet->mu = aff->mu; in obtain_one_firmware() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_netem.c | 314 /* tabledist - return a pseudo-randomly distributed value with mean mu and 318 static s64 tabledist(s64 mu, s32 sigma, in tabledist() argument 327 return mu; in tabledist() 333 return ((rnd % (2 * (u32)sigma)) + mu) - sigma; in tabledist() 342 return x / NETEM_DIST_SCALE + (sigma / NETEM_DIST_SCALE) * t + mu; in tabledist()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_netem.c | 322 /* tabledist - return a pseudo-randomly distributed value with mean mu and 326 static s64 tabledist(s64 mu, s32 sigma, in tabledist() argument 336 return mu; in tabledist() 342 return ((rnd % (2 * (u32)sigma)) + mu) - sigma; in tabledist() 351 return x / NETEM_DIST_SCALE + (sigma / NETEM_DIST_SCALE) * t + mu; in tabledist()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.c | 155 mt7915_tm_set_tam_arb(struct mt7915_phy *phy, bool enable, bool mu) in mt7915_tm_set_tam_arb() argument 162 else if (mu) in mt7915_tm_set_tam_arb()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | ecc.c | 644 * value mu appended to the mod after ndigits, mu = (2^{2w} / mod) and have 645 * length ndigits + 1, where mu * (2^w - 1) should not overflow ndigits 657 const u64 *mu = mod + ndigits; in vli_mmod_barrett() local 659 vli_mult(q, product + ndigits, mu, ndigits); in vli_mmod_barrett() 660 if (mu[ndigits]) in vli_mmod_barrett()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | ecc.c | 655 * value mu appended to the mod after ndigits, mu = (2^{2w} / mod) and have 656 * length ndigits + 1, where mu * (2^w - 1) should not overflow ndigits 668 const u64 *mu = mod + ndigits; in vli_mmod_barrett() local 670 vli_mult(q, product + ndigits, mu, ndigits); in vli_mmod_barrett() 671 if (mu[ndigits]) in vli_mmod_barrett()
|