Home
last modified time | relevance | path

Searched refs:eff (Results 1 – 11 of 11) sorted by relevance

/drivers/atm/
Deni.c339 unsigned long skip,unsigned long size,unsigned long eff) in do_rx_dma() argument
367 if ((eff && skip) || 1) { /* @@@ actually, skip is always == 1 ... */ in do_rx_dma()
374 if (!eff) size += skip; in do_rx_dma()
381 size,eff); in do_rx_dma()
383 words = eff; in do_rx_dma()
441 if (size != eff) { in do_rx_dma()
547 unsigned long size,eff,length; in rx_aal5() local
578 eff = length = 0; in rx_aal5()
588 ATM_MAX_AAL5_PDU) eff = (length+3) >> 2; in rx_aal5()
595 length = eff = 0; in rx_aal5()
[all …]
/drivers/net/can/
Dgrcan.c1165 u32 i, rtr, eff, j, shift; in grcan_receive() local
1186 eff = slot[0] & GRCAN_MSG_IDE; in grcan_receive()
1188 if (eff) { in grcan_receive()
1344 u32 i, rtr, eff, dlc, tmp, err; in grcan_start_xmit() local
1385 eff = cf->can_id & CAN_EFF_FLAG; in grcan_start_xmit()
1387 id = cf->can_id & (eff ? CAN_EFF_MASK : CAN_SFF_MASK); in grcan_start_xmit()
1389 if (eff) in grcan_start_xmit()
1393 slot[0] = (eff ? GRCAN_MSG_IDE : 0) | (rtr ? GRCAN_MSG_RTR : 0) | tmp; in grcan_start_xmit()
/drivers/net/can/usb/
Df81604.c196 struct f81604_eff eff; member
389 cf->can_id = get_unaligned_be32(&frame->eff.id) >> in f81604_process_rx_packet()
394 memcpy(cf->data, frame->eff.data, cf->len); in f81604_process_rx_packet()
939 put_unaligned_be32(id, &frame->eff.id); in f81604_start_xmit()
944 memcpy(&frame->eff.data, cf->data, cf->len); in f81604_start_xmit()
/drivers/regulator/
Dwm8350-regulator.c835 static unsigned int get_mode(int uA, const struct wm8350_dcdc_efficiency *eff) in get_mode() argument
839 while (eff[i].uA_load_min != -1) { in get_mode()
840 if (uA >= eff[i].uA_load_min && uA <= eff[i].uA_load_max) in get_mode()
841 return eff[i].mode; in get_mode()
/drivers/staging/media/ipu3/
Dipu3.h90 struct v4l2_rect eff; /* effective resolution */ member
Dipu3-css.c1696 struct v4l2_rect *const eff = &r[IPU3_CSS_RECT_EFFECTIVE]; in imgu_css_fmt_try() local
1756 if (eff->width <= 0 || eff->height <= 0) { in imgu_css_fmt_try()
1757 eff->width = in->width; in imgu_css_fmt_try()
1758 eff->height = in->height; in imgu_css_fmt_try()
1771 eff->width = imgu_css_adjust(eff->width, EFF_ALIGN_W); in imgu_css_fmt_try()
1772 eff->height = imgu_css_adjust(eff->height, 1); in imgu_css_fmt_try()
1818 in->width, in->height, eff->width, eff->height, in imgu_css_fmt_try()
Dipu3-v4l2.c106 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_subdev_s_stream()
199 return &sd->rect.eff; in imgu_subdev_get_crop()
737 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_fmt()
Dipu3.c486 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_pipe->imgu_sd.rect.eff; in imgu_video_nodes_init()
/drivers/iio/adc/
Dad4130.c1221 unsigned int eff; in ad4130_set_fifo_watermark() local
1227 eff = val * st->num_enabled_channels; in ad4130_set_fifo_watermark()
1228 if (eff > AD4130_FIFO_SIZE) in ad4130_set_fifo_watermark()
1233 eff = rounddown(AD4130_FIFO_SIZE, st->num_enabled_channels); in ad4130_set_fifo_watermark()
1240 ad4130_watermark_reg_val(eff))); in ad4130_set_fifo_watermark()
1244 st->effective_watermark = eff; in ad4130_set_fifo_watermark()
/drivers/hid/
Dhid-wiimote-modules.c131 struct ff_effect *eff) in wiimod_rumble_play() argument
142 if (eff->u.rumble.strong_magnitude || eff->u.rumble.weak_magnitude) in wiimod_rumble_play()
1789 struct ff_effect *eff) in wiimod_pro_play() argument
1800 if (eff->u.rumble.strong_magnitude || eff->u.rumble.weak_magnitude) in wiimod_pro_play()
/drivers/block/drbd/
Ddrbd_nl.c1939 unsigned long long eff = nbc->md.la_size_sect; in drbd_adm_attach() local
1940 if (drbd_md_test_flag(nbc, MDF_CONSISTENT) && nsz < eff) { in drbd_adm_attach()
1942 drbd_warn(device, "truncating a consistent device during attach (%llu < %llu)\n", nsz, eff); in drbd_adm_attach()
1944 drbd_warn(device, "refusing to truncate a consistent device (%llu < %llu)\n", nsz, eff); in drbd_adm_attach()
1947 "(%llu > %llu sectors). Refusing to attach.", eff, nsz); in drbd_adm_attach()