Home
last modified time | relevance | path

Searched refs:term (Results 1 – 25 of 43) sorted by relevance

12

/drivers/infiniband/sw/siw/
Diwarp.h229 static inline u8 __rdmap_term_layer(struct iwarp_terminate *term) in __rdmap_term_layer() argument
231 return term->layer; in __rdmap_term_layer()
234 static inline void __rdmap_term_set_layer(struct iwarp_terminate *term, in __rdmap_term_set_layer() argument
237 term->layer = layer & 0xf; in __rdmap_term_set_layer()
240 static inline u8 __rdmap_term_etype(struct iwarp_terminate *term) in __rdmap_term_etype() argument
242 return term->etype; in __rdmap_term_etype()
245 static inline void __rdmap_term_set_etype(struct iwarp_terminate *term, in __rdmap_term_set_etype() argument
248 term->etype = etype & 0xf; in __rdmap_term_set_etype()
251 static inline u8 __rdmap_term_ecode(struct iwarp_terminate *term) in __rdmap_term_ecode() argument
253 return term->ecode; in __rdmap_term_ecode()
[all …]
Dsiw_qp.c391 struct iwarp_terminate *term = NULL; in siw_send_terminate() local
418 term = kzalloc(sizeof(*term), GFP_KERNEL); in siw_send_terminate()
419 if (!term) in siw_send_terminate()
422 term->ddp_qn = cpu_to_be32(RDMAP_UNTAGGED_QN_TERMINATE); in siw_send_terminate()
423 term->ddp_mo = 0; in siw_send_terminate()
424 term->ddp_msn = cpu_to_be32(1); in siw_send_terminate()
426 iov[0].iov_base = term; in siw_send_terminate()
427 iov[0].iov_len = sizeof(*term); in siw_send_terminate()
434 kfree(term); in siw_send_terminate()
438 memcpy(&term->ctrl, &iwarp_pktinfo[RDMAP_TERMINATE].ctrl, in siw_send_terminate()
[all …]
Dsiw_qp_rx.c888 struct iwarp_terminate *term = &srx->hdr.terminate; in siw_proc_terminate() local
895 __rdmap_term_layer(term), __rdmap_term_etype(term), in siw_proc_terminate()
896 __rdmap_term_ecode(term)); in siw_proc_terminate()
898 if (be32_to_cpu(term->ddp_qn) != RDMAP_UNTAGGED_QN_TERMINATE || in siw_proc_terminate()
899 be32_to_cpu(term->ddp_msn) != in siw_proc_terminate()
901 be32_to_cpu(term->ddp_mo) != 0) { in siw_proc_terminate()
903 be32_to_cpu(term->ddp_qn), be32_to_cpu(term->ddp_msn), in siw_proc_terminate()
904 be32_to_cpu(term->ddp_mo)); in siw_proc_terminate()
910 if (!term->flag_m) in siw_proc_terminate()
942 if (term->flag_r) { in siw_proc_terminate()
[all …]
/drivers/media/usb/uvc/
Duvc_driver.c861 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local
945 term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], in uvc_parse_standard_control()
947 if (term == NULL) in uvc_parse_standard_control()
950 if (UVC_ENTITY_TYPE(term) == UVC_ITT_CAMERA) { in uvc_parse_standard_control()
951 term->camera.bControlSize = n; in uvc_parse_standard_control()
952 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
953 term->camera.wObjectiveFocalLengthMin = in uvc_parse_standard_control()
955 term->camera.wObjectiveFocalLengthMax = in uvc_parse_standard_control()
957 term->camera.wOcularFocalLength = in uvc_parse_standard_control()
959 memcpy(term->camera.bmControls, &buffer[15], n); in uvc_parse_standard_control()
[all …]
Duvcvideo.h28 #define UVC_TERM_DIRECTION(term) ((term)->type & 0x8000) argument
/drivers/gpu/drm/imx/dcss/
Ddcss-scaler.c149 int term = 1 << PSC_Q_FRACTION; in exp_approx_q() local
151 term = mult_q(term, div_q(x, 1 << PSC_Q_FRACTION)); in exp_approx_q()
152 sum += term; in exp_approx_q()
153 term = mult_q(term, div_q(x, 2 << PSC_Q_FRACTION)); in exp_approx_q()
154 sum += term; in exp_approx_q()
155 term = mult_q(term, div_q(x, 3 << PSC_Q_FRACTION)); in exp_approx_q()
156 sum += term; in exp_approx_q()
157 term = mult_q(term, div_q(x, 4 << PSC_Q_FRACTION)); in exp_approx_q()
158 sum += term; in exp_approx_q()
/drivers/spi/
Dspi-ar934x.c37 #define AR934X_SPI_SHIFT_VAL(cs, term, count) \ argument
39 (term) << AR934X_SPI_SHIFT_TERM | (count))
85 u8 term = 0; in ar934x_spi_transfer_one_message() local
113 term = 1; in ar934x_spi_transfer_one_message()
123 reg = AR934X_SPI_SHIFT_VAL(spi->chip_select, term, in ar934x_spi_transfer_one_message()
/drivers/net/wireless/st/cw1200/
Dbh.c423 int rx, tx, term, suspend; in cw1200_bh() local
459 term = atomic_xchg(&priv->bh_term, 0); in cw1200_bh()
462 (rx || tx || term || suspend || priv->bh_error); in cw1200_bh()
466 rx, tx, term, suspend, priv->bh_error, status); in cw1200_bh()
470 term || priv->bh_error) { in cw1200_bh()
610 if (!term) { in cw1200_bh()
/drivers/pwm/
Dpwm-ep93xx.c69 unsigned long term; in ep93xx_pwm_config() local
93 term = readw(base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_config()
96 if (period_cycles > term) { in ep93xx_pwm_config()
/drivers/scsi/arm/
Dpowertec.c52 static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; variable
327 powertecscsi_terminator_ctl(host, term[ec->slot_no]); in powertecscsi_probe()
446 module_param_array(term, int, NULL, 0);
447 MODULE_PARM_DESC(term, "SCSI bus termination");
Dcumana_2.c69 static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; variable
404 cumanascsi_2_terminator_ctl(host, term[ec->slot_no]); in cumanascsi2_probe()
517 module_param_array(term, int, NULL, 0);
518 MODULE_PARM_DESC(term, "SCSI bus termination");
Deesox.c64 static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; variable
520 info->control = term[ec->slot_no] ? EESOX_TERM_ENABLE : 0; in eesoxscsi_probe()
639 module_param_array(term, int, NULL, 0);
640 MODULE_PARM_DESC(term, "SCSI bus termination");
/drivers/net/slip/
DKconfig28 want to run term (term is a program which gives you almost full
31 <http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html>). SLIP
/drivers/hwmon/
Dbt1-pvt.c127 const struct pvt_poly_term *term = poly->terms; in pvt_calc_poly() local
132 tmp = term->coef; in pvt_calc_poly()
133 for (deg = 0; deg < term->deg; ++deg) in pvt_calc_poly()
134 tmp = mult_frac(tmp, data, term->divider); in pvt_calc_poly()
135 ret += tmp / term->divider_leftover; in pvt_calc_poly()
136 } while ((term++)->deg); in pvt_calc_poly()
/drivers/gpu/drm/amd/display/
DTODO59 long-term, but imo not a blocker. Definitely make sure new stuff
94 immediately recognize the standard. I think long term it'd be best for the drm
96 share it with drivers. But that's a very long term goal, and by far not just an
/drivers/pinctrl/intel/
Dpinctrl-merrifield.c653 u32 value, term; in mrfld_config_get() local
661 term = (value & BUFCFG_PUPD_VAL_MASK) >> BUFCFG_PUPD_VAL_SHIFT; in mrfld_config_get()
673 switch (term) { in mrfld_config_get()
694 switch (term) { in mrfld_config_get()
Dpinctrl-intel.c532 u32 value, term; in intel_config_get_pull() local
541 term = (value & PADCFG1_TERM_MASK) >> PADCFG1_TERM_SHIFT; in intel_config_get_pull()
545 if (term) in intel_config_get_pull()
550 if (!term || !(value & PADCFG1_TERM_UP)) in intel_config_get_pull()
553 switch (term) { in intel_config_get_pull()
571 if (!term || value & PADCFG1_TERM_UP) in intel_config_get_pull()
574 switch (term) { in intel_config_get_pull()
Dpinctrl-cherryview.c900 u32 term; in chv_config_get() local
907 term = (ctrl0 & CHV_PADCTRL0_TERM_MASK) >> CHV_PADCTRL0_TERM_SHIFT; in chv_config_get()
911 if (term) in chv_config_get()
919 switch (term) { in chv_config_get()
934 if (!term || (ctrl0 & CHV_PADCTRL0_TERM_UP)) in chv_config_get()
937 switch (term) { in chv_config_get()
/drivers/fsi/
Dfsi-master.h131 int (*term)(struct fsi_master *, int link, uint8_t id); member
Dfsi-core.c310 if (master->term) { in fsi_slave_handle_error()
311 rc = master->term(master, link, id); in fsi_slave_handle_error()
806 if (!master->term) in send_term_store()
809 master->term(master, slave->link, slave->id); in send_term_store()
/drivers/staging/vc04_services/bcm2835-camera/
DTODO6 driver (which allows long-term management of regions of memory in the
/drivers/ras/
DKconfig6 hardware engineering term. Computers designed with higher levels
/drivers/infiniband/hw/i40iw/
Di40iw_osdep.h203 void i40iw_term_modify_qp(struct i40iw_sc_qp *qp, u8 next_state, u8 term, u8 term_len);
Di40iw_hw.c248 u8 term, in i40iw_next_iw_state() argument
262 if (term & I40IWQP_TERM_SEND_TERM_ONLY) in i40iw_next_iw_state()
264 if (term & I40IWQP_TERM_SEND_FIN_ONLY) in i40iw_next_iw_state()
/drivers/net/can/usb/
Dmcba_usb.c788 static int mcba_set_termination(struct net_device *netdev, u16 term) in mcba_set_termination() argument
795 if (term == MCBA_TERMINATION_ENABLED) in mcba_set_termination()

12