Searched refs:xbofs (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/net/irda/ |
H A D | wrapper.c | 86 int xbofs; async_wrap_skb() local 110 xbofs = 10; async_wrap_skb() 112 xbofs = cb->xbofs + cb->xbofs_delay; async_wrap_skb() 114 pr_debug("%s(), xbofs=%d\n", __func__, xbofs); async_wrap_skb() 116 /* Check that we never use more than 115 + 48 xbofs */ async_wrap_skb() 117 if (xbofs > 163) { async_wrap_skb() 118 pr_debug("%s(), too many xbofs (%d)\n", __func__, async_wrap_skb() 119 xbofs); async_wrap_skb() 120 xbofs = 163; async_wrap_skb() 123 memset(tx_buff + n, XBOF, xbofs); async_wrap_skb() 124 n += xbofs; async_wrap_skb()
|
H A D | irlap.c | 922 /* xbofs : Default value in NDM */ irlap_apply_default_connection_parameters() 974 * If 'now' is false, the speed and xbofs will be changed after the next 976 * If 'now' is true, the speed and xbofs is changed immediately 983 /* Set the negotiated xbofs value */ irlap_apply_connection_parameters() 988 /* Set the negotiated link speed (may need the new xbofs value) */ irlap_apply_connection_parameters()
|
H A D | irlap_frame.c | 77 cb->xbofs = self->bofs_count; irlap_insert_info() 83 /* Put the correct xbofs value for the next packet */ irlap_insert_info()
|
/linux-4.4.14/include/net/irda/ |
H A D | qos.h | 96 #define irlap_xbofs_in_usec(speed, xbofs) ( \ 97 xbofs * 10000000 / speed \
|
H A D | irda_device.h | 144 __u16 xbofs; /* Number of xbofs required, used by SIR mode */ member in struct:irda_skb_cb 145 __u16 next_xbofs; /* Number of xbofs required *after* this frame */ 148 __u16 xbofs_delay; /* Number of xbofs used for generating the mtt */ 261 * Extract the xbofs that should be set for this frame from the skb 268 return (cb->magic == LAP_MAGIC) ? cb->xbofs : 10; irda_get_xbofs() 274 * Extract the xbofs that should be set *after* this frame from the skb
|
/linux-4.4.14/drivers/net/irda/ |
H A D | irda-usb.h | 106 #define IUC_MAX_XBOFS 0x40 /* Device need more xbofs than advertised */ 164 __u16 xbofs; /* Current xbofs setting */ member in struct:irda_usb_cb 165 __s16 new_xbofs; /* xbofs we need to set */
|
H A D | irda-usb.c | 153 * and if either speed or xbofs (or both) needs irda_usb_build_header() 166 self->new_xbofs = self->xbofs ; irda_usb_build_header() 177 /* No speed and xbofs change here irda_usb_build_header() 231 pr_debug("%s(), changing xbofs to %d\n", irda_usb_build_header() 233 self->xbofs = self->new_xbofs; irda_usb_build_header() 237 switch (self->xbofs) { irda_usb_build_header() 306 pr_debug("%s(), speed=%d, xbofs=%d\n", __func__, irda_usb_change_speed_xbofs() 319 /* Set the new speed and xbofs in this fake frame */ irda_usb_change_speed_xbofs() 392 s16 xbofs; irda_usb_hard_xmit() local 410 /* Check if we need to change the number of xbofs */ irda_usb_hard_xmit() 411 xbofs = irda_get_next_xbofs(skb); irda_usb_hard_xmit() 412 if ((xbofs != self->xbofs) && (xbofs != -1)) { irda_usb_hard_xmit() 413 self->new_xbofs = xbofs; irda_usb_hard_xmit() 589 /* If changes to speed or xbofs is pending... */ write_bulk_callback() 592 (self->new_xbofs != self->xbofs)) { write_bulk_callback() 681 self->new_xbofs = self->xbofs; irda_usb_net_timeout() 1185 /* Initialise default speed and xbofs value irda_usb_net_open() 1188 self->xbofs = -1; irda_usb_net_open()
|
H A D | donauboe.c | 622 int xbofs; toshoboe_makemttpacket() local 624 xbofs = ((int) (mtt/100)) * (int) (self->speed); toshoboe_makemttpacket() 625 xbofs=xbofs/80000; /*Eight bits per byte, and mtt is in us*/ toshoboe_makemttpacket() 626 xbofs++; toshoboe_makemttpacket() 629 xbofs, mtt, self->speed); toshoboe_makemttpacket() 631 if (xbofs > TX_LEN) toshoboe_makemttpacket() 634 xbofs, TX_LEN); toshoboe_makemttpacket() 635 xbofs = TX_LEN; toshoboe_makemttpacket() 638 /*xbofs will do for SIR, MIR and FIR,SIR mode doesn't generate a checksum anyway */ toshoboe_makemttpacket() 639 memset (buf, XBOF, xbofs); toshoboe_makemttpacket() 641 return xbofs; toshoboe_makemttpacket()
|
Completed in 237 milliseconds