/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_dma.c | 123 int cnum; in sxgbe_dma_start_tx() local 126 for (cnum = 0; cnum < tchannels; cnum++) { in sxgbe_dma_start_tx() 127 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_start_tx() 130 ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_start_tx() 154 int cnum; in sxgbe_dma_stop_tx() local 157 for (cnum = 0; cnum < tchannels; cnum++) { in sxgbe_dma_stop_tx() 158 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_stop_tx() 160 writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_stop_tx() 166 int cnum; in sxgbe_dma_start_rx() local 169 for (cnum = 0; cnum < rchannels; cnum++) { in sxgbe_dma_start_rx() [all …]
|
/Linux-v4.19/arch/ia64/kernel/ |
D | perfmon_montecito.h | 9 static int pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsi… 135 pfm_mont_reserved(unsigned int cnum, unsigned long *val, struct pt_regs *regs) in pfm_mont_reserved() argument 140 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mont_reserved() 143 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); in pfm_mont_reserved() 148 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mont_reserved() 156 pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *… in pfm_mont_pmc_check() argument 165 pfm_mont_reserved(cnum, val, regs); in pfm_mont_pmc_check() 186 …DPRINT(("cnum=%u val=0x%lx, using_dbreg=%d loaded=%d\n", cnum, tmpval, ctx->ctx_fl_using_dbreg, is… in pfm_mont_pmc_check() 188 if (cnum == 41 && is_loaded in pfm_mont_pmc_check() 191 DPRINT(("pmc[%d]=0x%lx has active pmc41 settings, clearing dbr\n", cnum, tmpval)); in pfm_mont_pmc_check() [all …]
|
D | perfmon_mckinley.h | 9 static int pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsig… 57 pfm_mck_reserved(unsigned int cnum, unsigned long *val, struct pt_regs *regs) in pfm_mck_reserved() argument 62 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mck_reserved() 65 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); in pfm_mck_reserved() 70 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mck_reserved() 78 pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *v… in pfm_mck_pmc_check() argument 85 pfm_mck_reserved(cnum, val, regs); in pfm_mck_pmc_check() 102 …DPRINT(("cnum=%u val=0x%lx, using_dbreg=%d loaded=%d\n", cnum, *val, ctx->ctx_fl_using_dbreg, is_l… in pfm_mck_pmc_check() 104 if (cnum == 13 && is_loaded in pfm_mck_pmc_check() 107 DPRINT(("pmc[%d]=0x%lx has active pmc13 settings, clearing dbr\n", cnum, *val)); in pfm_mck_pmc_check() [all …]
|
D | perfmon.c | 390 typedef int (*pfm_reg_check_t)(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, uns… 403 #define PMC_PM(cnum, val) (((val) >> (pmu_conf->pmc_desc[cnum].pm_pos)) & 0x1) argument 2819 unsigned int cnum, reg_flags, flags, pmc_type; in pfm_write_pmcs() local 2850 cnum = req->reg_num; in pfm_write_pmcs() 2858 if (cnum >= PMU_MAX_PMCS) { in pfm_write_pmcs() 2859 DPRINT(("pmc%u is invalid\n", cnum)); in pfm_write_pmcs() 2863 pmc_type = pmu_conf->pmc_desc[cnum].type; in pfm_write_pmcs() 2864 pmc_pm = (value >> pmu_conf->pmc_desc[cnum].pm_pos) & 0x1; in pfm_write_pmcs() 2874 DPRINT(("pmc%u is unimplemented or no-access pmc_type=%x\n", cnum, pmc_type)); in pfm_write_pmcs() 2877 wr_func = pmu_conf->pmc_desc[cnum].write_check; in pfm_write_pmcs() [all …]
|
D | perfmon_itanium.h | 9 static int pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsig… 52 pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *v… in pfm_ita_pmc_check() argument 66 if (cnum == 13 && is_loaded && ((*val & 0x1) == 0UL) && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check() 68 DPRINT(("pmc[%d]=0x%lx has active pmc13.ta cleared, clearing ibr\n", cnum, *val)); in pfm_ita_pmc_check() 85 if (cnum == 11 && is_loaded && ((*val >> 28)& 0x1) == 0 && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check() 87 DPRINT(("pmc[%d]=0x%lx has active pmc11.pt cleared, clearing dbr\n", cnum, *val)); in pfm_ita_pmc_check()
|
/Linux-v4.19/net/bluetooth/bnep/ |
D | sock.c | 105 if (cl.cnum <= 0) in bnep_sock_ioctl() 145 if (get_user(cl.cnum, (u32 __user *) arg) || in bnep_sock_compat_ioctl() 151 if (cl.cnum <= 0) in bnep_sock_compat_ioctl() 156 if (!err && put_user(cl.cnum, (u32 __user *) arg)) in bnep_sock_compat_ioctl()
|
D | bnep.h | 140 __u32 cnum; member
|
D | core.c | 702 if (++n >= req->cnum) in bnep_get_connlist() 707 req->cnum = n; in bnep_get_connlist()
|
/Linux-v4.19/net/bluetooth/cmtp/ |
D | sock.c | 117 if (cl.cnum <= 0) in cmtp_sock_ioctl() 148 if (get_user(cl.cnum, (u32 __user *) arg) || in cmtp_sock_compat_ioctl() 154 if (cl.cnum <= 0) in cmtp_sock_compat_ioctl() 159 if (!err && put_user(cl.cnum, (u32 __user *) arg)) in cmtp_sock_compat_ioctl()
|
D | cmtp.h | 57 __u32 cnum; member
|
D | core.c | 464 if (++n >= req->cnum) in cmtp_get_connlist() 469 req->cnum = n; in cmtp_get_connlist()
|
/Linux-v4.19/net/bluetooth/hidp/ |
D | sock.c | 102 if (cl.cnum <= 0) in hidp_sock_ioctl() 149 if (get_user(cl.cnum, (u32 __user *) arg) || in hidp_sock_compat_ioctl() 155 if (cl.cnum <= 0) in hidp_sock_compat_ioctl() 160 if (!err && put_user(cl.cnum, (u32 __user *) arg)) in hidp_sock_compat_ioctl()
|
D | hidp.h | 121 __u32 cnum; member
|
D | core.c | 1428 if (++n >= req->cnum) in hidp_get_connlist() 1433 req->cnum = n; in hidp_get_connlist()
|
/Linux-v4.19/drivers/nvme/host/ |
D | fc.c | 143 u32 cnum; member 541 "Attempting reconnect\n", ctrl->cnum); in nvme_fc_resume_controller() 760 "Reconnect", ctrl->cnum); in nvme_fc_ctrl_connectivity_loss() 775 ctrl->cnum); in nvme_fc_ctrl_connectivity_loss() 842 ctrl->cnum); in nvme_fc_unregister_remoteport() 2004 ida_simple_remove(&nvme_fc_ctrl_cnt, ctrl->cnum); in nvme_fc_ctrl_free() 2045 ctrl->cnum, errmsg); in nvme_fc_error_recovery() 2047 "NVME-FC{%d}: resetting controller\n", ctrl->cnum); in nvme_fc_error_recovery() 2827 ctrl->cnum, status); in nvme_fc_reconnect_or_delete() 2836 ctrl->cnum, recon_delay / HZ); in nvme_fc_reconnect_or_delete() [all …]
|
/Linux-v4.19/drivers/scsi/aacraid/ |
D | aachba.c | 3370 if (qd.cnum == -1) { in query_disk() 3373 qd.cnum = qd.id; in query_disk() 3375 if (qd.cnum < 0 || qd.cnum >= dev->maximum_num_containers) in query_disk() 3379 qd.id = CONTAINER_TO_ID(qd.cnum); in query_disk() 3380 qd.lun = CONTAINER_TO_LUN(qd.cnum); in query_disk() 3384 qd.valid = fsa_dev_ptr[qd.cnum].valid != 0; in query_disk() 3385 qd.locked = fsa_dev_ptr[qd.cnum].locked; in query_disk() 3386 qd.deleted = fsa_dev_ptr[qd.cnum].deleted; in query_disk() 3388 if (fsa_dev_ptr[qd.cnum].devname[0] == '\0') in query_disk() 3393 strlcpy(qd.name, fsa_dev_ptr[qd.cnum].devname, in query_disk() [all …]
|
D | aacraid.h | 2326 s32 cnum; member 2340 u32 cnum; member
|