Home
last modified time | relevance | path

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

12

/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py198 ri.cw.p(line)
218 ri.cw.p(f"{member}{spc}{ptr}{self.c_name};")
222 ri.cw.p(one + ';')
227 def attr_policy(self, cw):
234 cw.p(f"\t[{self.enum_name}] = {spec},")
239 def attr_typol(self, cw):
241 cw.p(f'[{self.enum_name}] = {"{"} .name = "{self.name}", {typol}{"}"},')
246 ri.cw.p(f"if ({var}->_{presence}.{self.c_name})")
247 ri.cw.p(f"{line};")
267 ri.cw
212 attr_policy(self, cw) global() argument
224 attr_typol(self, cw) global() argument
320 attr_policy(self, cw) global() argument
349 attr_policy(self, cw) global() argument
498 attr_policy(self, cw) global() argument
1572 __init__(self, cw, family, ku_space, op, op_mode, attr_set=None) global() argument
1954 put_typol_submsg(cw, struct) global() argument
1976 put_typol_fwd(cw, struct) global() argument
1980 put_typol(cw, struct) global() argument
2001 _put_enum_to_str_helper(cw, render_name, map_name, arg_name, enum=None) global() argument
2016 put_op_name_fwd(family, cw) global() argument
2020 put_op_name(family, cw) global() argument
2041 put_enum_to_str_fwd(family, cw, enum) global() argument
2046 put_enum_to_str(family, cw, enum) global() argument
2750 print_req_policy_fwd(cw, struct, ri=None, terminate=True) global() argument
2774 print_req_policy(cw, struct, ri=None) global() argument
2793 print_kernel_policy_ranges(family, cw) global() argument
2822 print_kernel_policy_sparse_enum_validates(family, cw) global() argument
2860 print_kernel_op_table_fwd(family, cw, terminate) global() argument
2927 print_kernel_op_table_hdr(family, cw) global() argument
2931 print_kernel_op_table(family, cw) global() argument
3011 print_kernel_mcgrp_hdr(family, cw) global() argument
3023 print_kernel_mcgrp_src(family, cw) global() argument
3036 print_kernel_family_struct_hdr(family, cw) global() argument
3048 print_kernel_family_struct_src(family, cw) global() argument
3085 uapi_enum_start(family, cw, obj, ckey='', enum_name='enum-name') global() argument
3095 render_uapi_unified(family, cw, max_by_define, separate_ntf) global() argument
3122 render_uapi_directional(family, cw, max_by_define) global() argument
3176 render_uapi(family, cw) global() argument
3332 render_user_family(family, cw, prototype) global() argument
[all...]
/linux/tools/perf/util/
H A Ddata-convert-bt.c151 static __maybe_unused int value_set_##_name(struct ctf_writer *cw, \
156 struct bt_ctf_field_type *type = cw->data._name; \
170 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string() argument
173 struct bt_ctf_field_type *type = cw->data.string; in value_set_string()
199 get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field) in get_tracepoint_field_type() argument
204 return cw->data.string; in get_tracepoint_field_type()
209 return cw->data.u64_hex; in get_tracepoint_field_type()
214 return cw->data.s64; in get_tracepoint_field_type()
216 return cw->data.s32; in get_tracepoint_field_type()
220 return cw->data.u64; in get_tracepoint_field_type()
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_wrr.c61 int cw; /* current weight */ member
119 mark->cw = mark->mw; in ip_vs_wrr_init_svc()
146 if (mark->cw > mark->mw || !mark->cw) in ip_vs_wrr_dest_changed()
147 mark->cw = mark->mw; in ip_vs_wrr_dest_changed()
149 mark->cw = (mark->cw / mark->di) * mark->di + 1; in ip_vs_wrr_dest_changed()
180 atomic_read(&dest->weight) >= mark->cw) in ip_vs_wrr_schedule()
185 mark->cw -= mark->di; in ip_vs_wrr_schedule()
186 if (mark->cw <= 0) { in ip_vs_wrr_schedule()
187 mark->cw = mark->mw; in ip_vs_wrr_schedule()
199 last_pass = mark->cw <= mark->di; in ip_vs_wrr_schedule()
/linux/drivers/md/
H A 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/drivers/pps/clients/
H A 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()
180 device->cw = clear_wait; in parport_attach()
/linux/drivers/spi/
H A Dspi-qpic-snand.c459 static void qcom_spi_set_read_loc(struct qcom_nand_controller *snandc, int cw, int reg, in qcom_spi_set_read_loc() argument
465 if (cw == (num_cw - 1)) in qcom_spi_set_read_loc()
470 if (cw == (num_cw - 1)) in qcom_spi_set_read_loc()
479 qcom_spi_config_cw_read(struct qcom_nand_controller *snandc, bool use_ecc, int cw) in qcom_spi_config_cw_read() argument
485 if (cw == (num_cw - 1)) { in qcom_spi_config_cw_read()
536 bool use_ecc, int cw) in qcom_spi_config_single_cw_page_read() argument
549 if (cw == (num_cw - 1)) { in qcom_spi_config_single_cw_page_read()
708 u8 *oob_buf, int cw) in qcom_spi_read_cw_raw() argument
714 int raw_cw = cw; in qcom_spi_read_cw_raw()
729 col = ecc_cfg->cw_size * cw; in qcom_spi_read_cw_raw()
[all …]
/linux/fs/ceph/
H A Ddebugfs.c271 struct cap_wait *cw; in caps_show() local
304 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show()
305 seq_printf(s, "%-13d0x%-17llx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show()
306 ceph_cap_string(cw->need), in caps_show()
307 ceph_cap_string(cw->want)); in caps_show()
H A Dcaps.c3068 struct cap_wait cw; in __ceph_get_caps() local
3073 cw.ino = ceph_ino(inode); in __ceph_get_caps()
3074 cw.tgid = current->tgid; in __ceph_get_caps()
3075 cw.need = need; in __ceph_get_caps()
3076 cw.want = want; in __ceph_get_caps()
3079 list_add(&cw.list, &mdsc->cap_wait_list); in __ceph_get_caps()
3102 list_del(&cw.list); in __ceph_get_caps()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c1891 hdr->cw |= (OCRDMA_FLAG_AH_VLAN_PR << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_build_ud_hdr()
1948 hdr->cw |= (OCRDMA_TYPE_INLINE << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1955 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1957 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_inline_sges()
2005 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_read()
2006 hdr->cw |= (OCRDMA_READ << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_read()
2007 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_read()
2039 hdr->cw |= (OCRDMA_FR_MR << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_reg()
2040 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_reg()
2118 hdr->cw = 0; in ocrdma_post_send()
[all …]
H A Docrdma_hw.c2318 rqe->cw = 0; in ocrdma_set_create_qp_ird_cmd()
2319 rqe->cw |= 2; in ocrdma_set_create_qp_ird_cmd()
2320 rqe->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
2321 rqe->cw |= (8 << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
2322 rqe->cw |= (8 << OCRDMA_WQE_NXT_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
/linux/drivers/media/usb/gspca/
H A 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/include/uapi/linux/dvb/
H A Dca.h117 unsigned char cw[8]; member
/linux/net/mac80211/
H A 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/drivers/net/wireless/ath/ath9k/
H A 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/drivers/ata/
H A Dsata_mv.c2003 __le16 *cw; in mv_qc_prep() local
2039 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep()
2054 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2058 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2059 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2071 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2072 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2073 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2074 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
2075 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
[all …]
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8180.h54 u8 cw; member
/linux/drivers/net/can/ctucanfd/
H A DKconfig34 https://cw.fel.cvut.cz/wiki/courses/b35apo/documentation/mz_apo/start .
/linux/drivers/infiniband/hw/mlx4/
H A 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/net/ceph/crush/
H A Dmapper.c903 struct crush_work *cw = cwin; in crush_do_rule() local
1034 cw, in crush_do_rule()
1056 cw, in crush_do_rule()
/linux/arch/x86/include/uapi/asm/
H A Dsigcontext.h109 __u32 cw; member
/linux/drivers/video/fbdev/core/
H A Dbitblit.c232 unsigned int cw = vc->vc_font.width; in bit_clear_margins() local
234 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
/linux/fs/dlm/
H A Dlock.c2452 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert() argument
2507 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert()
2508 *cw = 1; in grant_pending_convert()
2521 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument
2534 *cw = 1; in grant_pending_wait()
2546 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument
2548 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast()
2564 int cw = 0; in grant_pending_locks() local
2572 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks()
2573 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks()
[all …]
/linux/drivers/mtd/
H A 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()
/linux/arch/powerpc/boot/dts/
H A Dfsp2.dts370 compatible = "ibm,cw-476fsp2";
/linux/drivers/tty/
H A Dsynclink_gt.c2933 static void remove_cond_wait(struct cond_wait **head, struct cond_wait *cw) in remove_cond_wait() argument
2936 remove_wait_queue(&cw->q, &cw->wait); in remove_cond_wait()
2939 if (w == cw) { in remove_cond_wait()

12