Home
last modified time | relevance | path

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

/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 …]
/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 …]
/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()
/drivers/staging/media/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()
/drivers/mtd/nand/raw/
Dqcom_nandc.c686 static bool qcom_nandc_is_last_cw(struct nand_ecc_ctrl *ecc, int cw) in qcom_nandc_is_last_cw() argument
688 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw()
692 static void nandc_set_read_loc(struct nand_chip *chip, int cw, int reg, in nandc_set_read_loc() argument
699 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc()
704 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc()
732 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read, int cw) in update_rw_regs() argument
772 nandc_set_read_loc(chip, cw, 0, 0, host->use_ecc ? in update_rw_regs()
1149 config_nand_cw_read(struct nand_chip *chip, bool use_ecc, int cw) in config_nand_cw_read() argument
1156 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in config_nand_cw_read()
1180 bool use_ecc, int cw) in config_nand_single_cw_page_read() argument
[all …]
/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()
2006 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_read()
2007 hdr->cw |= (OCRDMA_READ << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_read()
2008 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_read()
2040 hdr->cw |= (OCRDMA_FR_MR << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_reg()
2041 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_reg()
2119 hdr->cw = 0; in ocrdma_post_send()
[all …]
Docrdma_hw.c2323 rqe->cw = 0; in ocrdma_set_create_qp_ird_cmd()
2324 rqe->cw |= 2; in ocrdma_set_create_qp_ird_cmd()
2325 rqe->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
2326 rqe->cw |= (8 << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
2327 rqe->cw |= (8 << OCRDMA_WQE_NXT_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
Docrdma_sli.h1862 u32 cw; member
/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c200 u16 cw = 0; in mt7915_tm_set_ipg_params() local
216 cw++; in mt7915_tm_set_ipg_params()
218 if (cw > 16) in mt7915_tm_set_ipg_params()
219 cw = 16; in mt7915_tm_set_ipg_params()
221 ipg -= ((1 << cw) - 1) * slot_time; in mt7915_tm_set_ipg_params()
252 aifsn, cw, cw, 0); in mt7915_tm_set_ipg_params()
/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()
/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()
/drivers/ata/
Dsata_mv.c2041 __le16 *cw; in mv_qc_prep() local
2077 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep()
2092 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2096 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2097 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2109 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2110 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2111 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2112 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
2113 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
[all …]
/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()
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Drtl8180.h54 u8 cw; member
/drivers/video/fbdev/core/
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()
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_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()
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()
/drivers/mtd/
Dmtdswap.c1176 unsigned int i, cw = 0, cwp = 0, cwecount = 0, bb_cnt, mapped, pages; in mtdswap_show() local
1196 cw = 1; in mtdswap_show()
1232 if (cw) in mtdswap_show()
/drivers/tty/
Dsynclink_gt.c2939 static void remove_cond_wait(struct cond_wait **head, struct cond_wait *cw) in remove_cond_wait() argument
2942 remove_wait_queue(&cw->q, &cw->wait); in remove_cond_wait()
2945 if (w == cw) { in remove_cond_wait()
/drivers/net/wireless/ath/wcn36xx/
Dhal.h1856 struct wcn36xx_hal_mac_cw cw; member