/drivers/infiniband/sw/siw/ |
D | iwarp.h | 216 static inline u8 __rdmap_term_layer(struct iwarp_terminate *term) in __rdmap_term_layer() argument 218 return term->layer; in __rdmap_term_layer() 221 static inline void __rdmap_term_set_layer(struct iwarp_terminate *term, in __rdmap_term_set_layer() argument 224 term->layer = layer & 0xf; in __rdmap_term_set_layer() 227 static inline u8 __rdmap_term_etype(struct iwarp_terminate *term) in __rdmap_term_etype() argument 229 return term->etype; in __rdmap_term_etype() 232 static inline void __rdmap_term_set_etype(struct iwarp_terminate *term, in __rdmap_term_set_etype() argument 235 term->etype = etype & 0xf; in __rdmap_term_set_etype() 238 static inline u8 __rdmap_term_ecode(struct iwarp_terminate *term) in __rdmap_term_ecode() argument 240 return term->ecode; in __rdmap_term_ecode() [all …]
|
D | siw_qp.c | 391 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 …]
|
D | siw_qp_rx.c | 888 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/ |
D | uvc_driver.c | 877 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local 960 term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], in uvc_parse_standard_control() 962 if (term == NULL) in uvc_parse_standard_control() 965 if (UVC_ENTITY_TYPE(term) == UVC_ITT_CAMERA) { in uvc_parse_standard_control() 966 term->camera.bControlSize = n; in uvc_parse_standard_control() 967 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control() 968 term->camera.wObjectiveFocalLengthMin = in uvc_parse_standard_control() 970 term->camera.wObjectiveFocalLengthMax = in uvc_parse_standard_control() 972 term->camera.wOcularFocalLength = in uvc_parse_standard_control() 974 memcpy(term->camera.bmControls, &buffer[15], n); in uvc_parse_standard_control() [all …]
|
D | uvcvideo.h | 29 #define UVC_TERM_DIRECTION(term) ((term)->type & 0x8000) argument
|
/drivers/gpu/drm/imx/dcss/ |
D | dcss-scaler.c | 151 int term = 1 << PSC_Q_FRACTION; in exp_approx_q() local 153 term = mult_q(term, div_q(x, 1 << PSC_Q_FRACTION)); in exp_approx_q() 154 sum += term; in exp_approx_q() 155 term = mult_q(term, div_q(x, 2 << PSC_Q_FRACTION)); in exp_approx_q() 156 sum += term; in exp_approx_q() 157 term = mult_q(term, div_q(x, 3 << PSC_Q_FRACTION)); in exp_approx_q() 158 sum += term; in exp_approx_q() 159 term = mult_q(term, div_q(x, 4 << PSC_Q_FRACTION)); in exp_approx_q() 160 sum += term; in exp_approx_q()
|
/drivers/net/can/dev/ |
D | dev.c | 406 static int can_set_termination(struct net_device *ndev, u16 term) in can_set_termination() argument 411 if (term == priv->termination_gpio_ohms[CAN_TERMINATION_GPIO_ENABLED]) in can_set_termination() 426 u32 term; in can_get_termination() local 440 ret = device_property_read_u32(dev, "termination-ohms", &term); in can_get_termination() 447 if (term > U16_MAX) { in can_get_termination() 449 term, U16_MAX); in can_get_termination() 458 priv->termination_gpio_ohms[CAN_TERMINATION_GPIO_ENABLED] = term; in can_get_termination()
|
/drivers/spi/ |
D | spi-ar934x.c | 37 #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/pwm/ |
D | pwm-ep93xx.c | 71 unsigned long term; in ep93xx_pwm_apply() local 126 term = readw(base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_apply() 129 if (period_cycles > term) { in ep93xx_pwm_apply()
|
/drivers/net/wireless/st/cw1200/ |
D | bh.c | 420 int rx, tx, term, suspend; in cw1200_bh() local 456 term = atomic_xchg(&priv->bh_term, 0); in cw1200_bh() 459 (rx || tx || term || suspend || priv->bh_error); in cw1200_bh() 463 rx, tx, term, suspend, priv->bh_error, status); in cw1200_bh() 467 term || priv->bh_error) { in cw1200_bh() 607 if (!term) { in cw1200_bh()
|
/drivers/scsi/arm/ |
D | powertec.c | 52 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");
|
D | cumana_2.c | 69 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");
|
D | eesox.c | 64 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/ |
D | Kconfig | 28 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/ |
D | bt1-pvt.c | 127 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/ |
D | TODO | 59 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/ |
D | pinctrl-merrifield.c | 653 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()
|
D | pinctrl-intel.c | 542 u32 value, term; in intel_config_get_pull() local 551 term = (value & PADCFG1_TERM_MASK) >> PADCFG1_TERM_SHIFT; in intel_config_get_pull() 555 if (term) in intel_config_get_pull() 560 if (!term || !(value & PADCFG1_TERM_UP)) in intel_config_get_pull() 563 switch (term) { in intel_config_get_pull() 581 if (!term || value & PADCFG1_TERM_UP) in intel_config_get_pull() 584 switch (term) { in intel_config_get_pull()
|
D | pinctrl-cherryview.c | 900 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/ |
D | fsi-master.h | 131 int (*term)(struct fsi_master *, int link, uint8_t id); member
|
D | fsi-core.c | 310 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/ |
D | TODO | 6 driver (which allows long-term management of regions of memory in the
|
/drivers/infiniband/hw/irdma/ |
D | osdep.h | 73 void irdma_term_modify_qp(struct irdma_sc_qp *qp, u8 next_state, u8 term,
|
/drivers/ras/ |
D | Kconfig | 6 hardware engineering term. Computers designed with higher levels
|
/drivers/net/can/usb/ |
D | mcba_usb.c | 788 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()
|