Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-cec.c26 struct vivid_cec_work *cw = in vivid_cec_bus_free_work() local
31 cancel_delayed_work_sync(&cw->work); in vivid_cec_bus_free_work()
33 list_del(&cw->list); in vivid_cec_bus_free_work()
34 cec_transmit_attempt_done(cw->adap, CEC_TX_STATUS_LOW_DRIVE); in vivid_cec_bus_free_work()
35 kfree(cw); in vivid_cec_bus_free_work()
125 struct vivid_cec_work *cw = in vivid_cec_xfer_done_worker() local
127 struct vivid_dev *dev = cw->dev; in vivid_cec_xfer_done_worker()
128 struct cec_adapter *adap = cw->adap; in vivid_cec_xfer_done_worker()
129 u8 dest = cec_msg_destination(&cw->msg); in vivid_cec_xfer_done_worker()
133 valid_dest = cec_msg_is_broadcast(&cw->msg); in vivid_cec_xfer_done_worker()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/md/
Ddm-zoned-target.c396 static void dmz_handle_bio(struct dmz_target *dmz, struct dm_chunk_work *cw, in dmz_handle_bio() argument
458 static inline void dmz_get_chunk_work(struct dm_chunk_work *cw) in dmz_get_chunk_work() argument
460 refcount_inc(&cw->refcount); in dmz_get_chunk_work()
467 static void dmz_put_chunk_work(struct dm_chunk_work *cw) in dmz_put_chunk_work() argument
469 if (refcount_dec_and_test(&cw->refcount)) { in dmz_put_chunk_work()
470 WARN_ON(!bio_list_empty(&cw->bio_list)); in dmz_put_chunk_work()
471 radix_tree_delete(&cw->target->chunk_rxtree, cw->chunk); in dmz_put_chunk_work()
472 kfree(cw); in dmz_put_chunk_work()
481 struct dm_chunk_work *cw = container_of(work, struct dm_chunk_work, work); in dmz_chunk_work() local
482 struct dmz_target *dmz = cw->target; in dmz_chunk_work()
[all …]
/kernel/linux/linux-5.10/drivers/pps/clients/
Dpps_parport.c44 unsigned int cw; /* port clear timeout */ member
66 if (dev->cw == 0) in parport_irq()
91 for (i = dev->cw; i; i--) in parport_irq()
105 dev->cw = 0; in parport_irq()
173 device->cw = clear_wait; in parport_attach()
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
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()
/kernel/linux/linux-5.10/fs/ceph/
Ddebugfs.c228 struct cap_wait *cw; in caps_show() local
261 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show()
262 seq_printf(s, "%-13d0x%-17llx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show()
263 ceph_cap_string(cw->need), in caps_show()
264 ceph_cap_string(cw->want)); in caps_show()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1888 hdr->cw |= (OCRDMA_FLAG_AH_VLAN_PR << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_build_ud_hdr()
1945 hdr->cw |= (OCRDMA_TYPE_INLINE << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1952 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1954 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 …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dw996Xcf.c398 int start_cropx, start_cropy, x, y, fw, fh, cw, ch, in w9968cf_set_crop_window() local
436 cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.pixfmt.width) / fh; in w9968cf_set_crop_window()
442 x = (max_width - cw) / 2; in w9968cf_set_crop_window()
447 reg_w(sd, 0x12, start_cropx + x + cw); in w9968cf_set_crop_window()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/dvb/
Dca.h55 unsigned char cw[8]; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/dvb/
Dca.h42 unsigned char cw[8]; member
/kernel/linux/linux-5.10/include/uapi/linux/dvb/
Dca.h132 unsigned char cw[8]; member
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dqcom_nandc.c1587 u8 *data_buf, u8 *oob_buf, int page, int cw) in qcom_nandc_read_cw_raw() argument
1599 set_address(host, host->cw_size * cw, page); in qcom_nandc_read_cw_raw()
1606 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw()
1645 dev_err(nandc->dev, "failure to read raw cw %d\n", cw); in qcom_nandc_read_cw_raw()
1676 int cw, data_size, oob_size, ret = 0; in check_for_erased_page() local
1686 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page()
1687 if (cw == (ecc->steps - 1)) { in check_for_erased_page()
1696 cw_data_buf = data_buf + (cw * host->cw_data); in check_for_erased_page()
1697 cw_oob_buf = oob_buf + (cw * ecc->bytes); in check_for_erased_page()
1700 cw_oob_buf, page, cw); in check_for_erased_page()
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel.c490 unsigned int cw = mp->cw_min; in minstrel_rate_init() local
521 tx_time_single += (t_slot * cw) >> 1; in minstrel_rate_init()
522 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_rate_init()
Drc80211_minstrel_ht.c1009 unsigned int cw = mp->cw_min; in minstrel_calc_retransmit() local
1029 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1030 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1031 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1032 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1046 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1047 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl818x/rtl8180/
Drtl8180.h54 u8 cw; member
/kernel/linux/linux-5.10/drivers/ata/
Dsata_mv.c2038 __le16 *cw; in mv_qc_prep() local
2074 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep()
2089 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2093 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2094 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2106 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2107 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2108 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2109 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
2110 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmcg.c1121 struct clean_work *cw = container_of(work, struct clean_work, work); in mcg_clean_task() local
1123 _mlx4_ib_mcg_port_cleanup(cw->ctx, cw->destroy_wq); in mcg_clean_task()
1124 cw->ctx->flushing = 0; in mcg_clean_task()
1125 kfree(cw); in mcg_clean_task()
/kernel/linux/linux-5.10/net/ceph/crush/
Dmapper.c900 struct crush_work *cw = cwin; in crush_do_rule() local
1032 cw, in crush_do_rule()
1054 cw, in crush_do_rule()
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dsigcontext.h109 __u32 cw; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dsigcontext.h47 __u32 cw; member
/kernel/linux/linux-5.10/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_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()

12