Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v6.1/tools/perf/util/
Ddata-convert-bt.c140 static __maybe_unused int value_set_##_name(struct ctf_writer *cw, \
145 struct bt_ctf_field_type *type = cw->data._name; \
159 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string() argument
162 struct bt_ctf_field_type *type = cw->data.string; in value_set_string()
188 get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field) in get_tracepoint_field_type() argument
193 return cw->data.string; in get_tracepoint_field_type()
198 return cw->data.u64_hex; in get_tracepoint_field_type()
203 return cw->data.s64; in get_tracepoint_field_type()
205 return cw->data.s32; in get_tracepoint_field_type()
209 return cw->data.u64; in get_tracepoint_field_type()
[all …]
/Linux-v6.1/net/netfilter/ipvs/
Dip_vs_wrr.c62 int cw; /* current weight */ member
120 mark->cw = mark->mw; in ip_vs_wrr_init_svc()
147 if (mark->cw > mark->mw || !mark->cw) in ip_vs_wrr_dest_changed()
148 mark->cw = mark->mw; in ip_vs_wrr_dest_changed()
150 mark->cw = (mark->cw / mark->di) * mark->di + 1; in ip_vs_wrr_dest_changed()
181 atomic_read(&dest->weight) >= mark->cw) in ip_vs_wrr_schedule()
186 mark->cw -= mark->di; in ip_vs_wrr_schedule()
187 if (mark->cw <= 0) { in ip_vs_wrr_schedule()
188 mark->cw = mark->mw; in ip_vs_wrr_schedule()
200 last_pass = mark->cw <= mark->di; in ip_vs_wrr_schedule()
/Linux-v6.1/drivers/md/
Ddm-zoned-target.c395 static void dmz_handle_bio(struct dmz_target *dmz, struct dm_chunk_work *cw, in dmz_handle_bio() argument
457 static inline void dmz_get_chunk_work(struct dm_chunk_work *cw) in dmz_get_chunk_work() argument
459 refcount_inc(&cw->refcount); in dmz_get_chunk_work()
466 static void dmz_put_chunk_work(struct dm_chunk_work *cw) in dmz_put_chunk_work() argument
468 if (refcount_dec_and_test(&cw->refcount)) { in dmz_put_chunk_work()
469 WARN_ON(!bio_list_empty(&cw->bio_list)); in dmz_put_chunk_work()
470 radix_tree_delete(&cw->target->chunk_rxtree, cw->chunk); in dmz_put_chunk_work()
471 kfree(cw); in dmz_put_chunk_work()
480 struct dm_chunk_work *cw = container_of(work, struct dm_chunk_work, work); in dmz_chunk_work() local
481 struct dmz_target *dmz = cw->target; in dmz_chunk_work()
[all …]
/Linux-v6.1/drivers/pps/clients/
Dpps_parport.c42 unsigned int cw; /* port clear timeout */ member
64 if (dev->cw == 0) in parport_irq()
89 for (i = dev->cw; i; i--) in parport_irq()
103 dev->cw = 0; in parport_irq()
177 device->cw = clear_wait; in parport_attach()
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/av7110/
Dav7110_ca.c305 (descr->cw[0]<<8)|descr->cw[1], in dvb_ca_ioctl()
306 (descr->cw[2]<<8)|descr->cw[3], in dvb_ca_ioctl()
307 (descr->cw[4]<<8)|descr->cw[5], in dvb_ca_ioctl()
308 (descr->cw[6]<<8)|descr->cw[7]); in dvb_ca_ioctl()
/Linux-v6.1/drivers/mtd/nand/raw/
Dqcom_nandc.c735 static bool qcom_nandc_is_last_cw(struct nand_ecc_ctrl *ecc, int cw) in qcom_nandc_is_last_cw() argument
737 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw()
741 static void nandc_set_read_loc(struct nand_chip *chip, int cw, int reg, in nandc_set_read_loc() argument
748 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc()
753 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc()
781 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read, int cw) in update_rw_regs() argument
821 nandc_set_read_loc(chip, cw, 0, 0, host->use_ecc ? in update_rw_regs()
1207 config_nand_cw_read(struct nand_chip *chip, bool use_ecc, int cw) in config_nand_cw_read() argument
1214 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in config_nand_cw_read()
1238 bool use_ecc, int cw) in config_nand_single_cw_page_read() argument
[all …]
/Linux-v6.1/fs/ceph/
Ddebugfs.c267 struct cap_wait *cw; in caps_show() local
300 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show()
301 seq_printf(s, "%-13d0x%-17llx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show()
302 ceph_cap_string(cw->need), in caps_show()
303 ceph_cap_string(cw->want)); in caps_show()
/Linux-v6.1/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1890 hdr->cw |= (OCRDMA_FLAG_AH_VLAN_PR << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_build_ud_hdr()
1947 hdr->cw |= (OCRDMA_TYPE_INLINE << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1954 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1956 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_inline_sges()
2004 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_read()
2005 hdr->cw |= (OCRDMA_READ << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_read()
2006 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_read()
2038 hdr->cw |= (OCRDMA_FR_MR << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_reg()
2039 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_reg()
2117 hdr->cw = 0; in ocrdma_post_send()
[all …]
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c202 u16 cw = 0; in mt7915_tm_set_ipg_params() local
218 cw++; in mt7915_tm_set_ipg_params()
220 if (cw > 16) in mt7915_tm_set_ipg_params()
221 cw = 16; in mt7915_tm_set_ipg_params()
223 ipg -= ((1 << cw) - 1) * slot_time; in mt7915_tm_set_ipg_params()
250 aifsn, cw, cw, 0); in mt7915_tm_set_ipg_params()
/Linux-v6.1/drivers/media/usb/gspca/
Dw996Xcf.c397 int start_cropx, start_cropy, x, y, fw, fh, cw, ch, in w9968cf_set_crop_window() local
435 cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.pixfmt.width) / fh; in w9968cf_set_crop_window()
441 x = (max_width - cw) / 2; in w9968cf_set_crop_window()
446 reg_w(sd, 0x12, start_cropx + x + cw); in w9968cf_set_crop_window()
/Linux-v6.1/include/uapi/linux/dvb/
Dca.h132 unsigned char cw[8]; member
/Linux-v6.1/net/mac80211/
Drc80211_minstrel_ht.c1387 unsigned int cw = mp->cw_min; in minstrel_calc_retransmit() local
1407 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1408 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1409 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1410 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1427 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1428 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
/Linux-v6.1/drivers/net/wireless/ath/ath9k/
Dmac.c199 u32 cw; in ath9k_hw_set_txq_props() local
221 cw = min(qinfo->tqi_cwmin, 1024U); in ath9k_hw_set_txq_props()
223 while (qi->tqi_cwmin < cw) in ath9k_hw_set_txq_props()
228 cw = min(qinfo->tqi_cwmax, 1024U); in ath9k_hw_set_txq_props()
230 while (qi->tqi_cwmax < cw) in ath9k_hw_set_txq_props()
/Linux-v6.1/drivers/ata/
Dsata_mv.c2034 __le16 *cw; in mv_qc_prep() local
2070 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep()
2085 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2089 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2090 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2102 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2103 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2104 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2105 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
2106 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
[all …]
/Linux-v6.1/drivers/net/wireless/realtek/rtl818x/rtl8180/
Drtl8180.h54 u8 cw; member
/Linux-v6.1/drivers/net/can/ctucanfd/
DKconfig34 https://cw.fel.cvut.cz/wiki/courses/b35apo/documentation/mz_apo/start .
/Linux-v6.1/drivers/infiniband/hw/mlx4/
Dmcg.c1131 struct clean_work *cw = container_of(work, struct clean_work, work); in mcg_clean_task() local
1133 _mlx4_ib_mcg_port_cleanup(cw->ctx, cw->destroy_wq); in mcg_clean_task()
1134 cw->ctx->flushing = 0; in mcg_clean_task()
1135 kfree(cw); in mcg_clean_task()
/Linux-v6.1/net/ceph/crush/
Dmapper.c900 struct crush_work *cw = cwin; in crush_do_rule() local
1031 cw, in crush_do_rule()
1053 cw, in crush_do_rule()
/Linux-v6.1/arch/x86/include/uapi/asm/
Dsigcontext.h109 __u32 cw; member
/Linux-v6.1/drivers/video/fbdev/core/
Dbitblit.c208 unsigned int cw = vc->vc_font.width; in bit_clear_margins() local
210 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
Dfbcon_cw.c177 unsigned int cw = vc->vc_font.width; in cw_clear_margins() local
179 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in cw_clear_margins()
Dfbcon_ccw.c194 unsigned int cw = vc->vc_font.width; in ccw_clear_margins() local
196 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in ccw_clear_margins()
Dfbcon_ud.c225 unsigned int cw = vc->vc_font.width; in ud_clear_margins() local
227 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in ud_clear_margins()
/Linux-v6.1/fs/dlm/
Dlock.c2473 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert() argument
2528 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert()
2529 *cw = 1; in grant_pending_convert()
2542 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument
2555 *cw = 1; in grant_pending_wait()
2567 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument
2569 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast()
2585 int cw = 0; in grant_pending_locks() local
2593 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks()
2594 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks()
[all …]
/Linux-v6.1/drivers/mtd/
Dmtdswap.c1175 unsigned int i, cw = 0, cwp = 0, cwecount = 0, bb_cnt, mapped, pages; in mtdswap_show() local
1195 cw = 1; in mtdswap_show()
1231 if (cw) in mtdswap_show()

12