Home
last modified time | relevance | path

Searched refs:framelen (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-fw.c632 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument
643 framelen[0] = mpeg1_frame_header(go, buf, 0, 1, PFRAME); in gen_mpeg1hdr_to_package()
645 framelen[0] += mpeg1_frame_header(go, buf + framelen[0] / 8, in gen_mpeg1hdr_to_package()
647 buf[0] = framelen[0] & 0xff; in gen_mpeg1hdr_to_package()
648 buf[1] = framelen[0] >> 8; in gen_mpeg1hdr_to_package()
650 framelen[1] = mpeg1_frame_header(go, buf + i, 0, 1, BFRAME_PRE); in gen_mpeg1hdr_to_package()
652 framelen[1] += mpeg1_frame_header(go, buf + i + framelen[1] / 8, in gen_mpeg1hdr_to_package()
654 buf[i] = framelen[1] & 0xff; in gen_mpeg1hdr_to_package()
655 buf[i + 1] = framelen[1] >> 8; in gen_mpeg1hdr_to_package()
657 framelen[2] = mpeg1_frame_header(go, buf + i, 0, 1, BFRAME_POST); in gen_mpeg1hdr_to_package()
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dsbni.c80 unsigned int framelen; /* current frame length */ member
601 unsigned framelen = 0, frameno, ack; in recv_frame() local
604 if( check_fhdr( ioaddr, &framelen, &frameno, &ack, &is_first, &crc ) ) { in recv_frame()
605 frame_ok = framelen > 4 in recv_frame()
606 ? upload_data( dev, framelen, frameno, is_first, crc ) in recv_frame()
607 : skip_tail( ioaddr, framelen, crc ); in recv_frame()
615 if( framelen > 4 ) in recv_frame()
624 return !frame_ok || framelen > 4; in recv_frame()
640 if( nl->framelen != 0 ) in send_frame()
662 if( nl->framelen ) { in send_frame()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dbrcms_trace_brcmsmac_tx.h41 TP_PROTO(const struct device *dev, u16 framelen, u16 frameid,
44 TP_ARGS(dev, framelen, frameid, status, lasttxtime, sequence, phyerr,
48 __field(u16, framelen)
58 __entry->framelen = framelen;
Dd11.h905 u16 framelen; member
Dmain.c850 trace_brcms_txstatus(&wlc->hw->d11core->dev, txs->framelen, in brcms_c_dotxstatus()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace-iwlwifi.h90 __field(size_t, framelen)
105 __entry->framelen = buf0_len;
107 __entry->framelen += skb->len - hdr_len;
117 __entry->framelen, __entry->skbaddr)
/kernel/linux/linux-5.10/drivers/media/usb/stkwebcam/
Dstk-webcam.c308 int framelen; in stk_isoc_handler() local
353 framelen = urb->iso_frame_desc[i].actual_length; in stk_isoc_handler()
356 if (framelen <= 4) in stk_isoc_handler()
369 framelen -= 8; in stk_isoc_handler()
394 framelen -= 4; in stk_isoc_handler()
399 if (framelen + fb->v4lbuf.bytesused > dev->frame_size) { in stk_isoc_handler()
405 memcpy(fill, iso_buf, framelen); in stk_isoc_handler()
407 fill += framelen; in stk_isoc_handler()
410 fb->v4lbuf.bytesused += framelen; in stk_isoc_handler()
/kernel/linux/linux-5.10/drivers/nfc/pn544/
Di2c.c566 int framelen; in pn544_hci_i2c_fw_write_cmd() local
576 framelen = params_len + sizeof(framep->cmd) + in pn544_hci_i2c_fw_write_cmd()
591 r = i2c_master_send(client, frame, framelen); in pn544_hci_i2c_fw_write_cmd()
593 if (r == framelen) in pn544_hci_i2c_fw_write_cmd()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dxmit.c1006 al_delta = ATH_AGGR_DELIM_SZ + fi->framelen; in ath_tx_form_aggr()
1025 ndelim = ath_compute_num_delims(sc, tid, bf_first, fi->framelen, in ath_tx_form_aggr()
1053 al = get_frame_info(bf->bf_mpdu)->framelen; in ath_tx_form_aggr()
1408 len = fi->framelen; in ath_tx_fill_desc()
1415 info.pkt_len = fi->framelen; in ath_tx_fill_desc()
2066 ath_tx_fill_desc(sc, bf, txq, fi->framelen); in ath_tx_send_normal()
2074 int framelen) in setup_frame_info() argument
2124 fi->framelen = framelen; in setup_frame_info()
2370 ath_buf_set_rate(sc, bf, &info, fi->framelen, false); in ath_tx_cabq()
2875 fi->framelen = skb->len + FCS_LEN; in ath9k_tx99_send()
Dath9k.h176 u16 framelen; member
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dcxusb-analog.c692 unsigned int framelen, urblen, auxbuflen; in cxusb_medion_v_ss_auxbuf_alloc() local
694 framelen = (cxdev->width * 2 + 4 + 4) * in cxusb_medion_v_ss_auxbuf_alloc()
703 *npackets = min_t(int, (framelen + CXUSB_VIDEO_PKT_SIZE - 1) / in cxusb_medion_v_ss_auxbuf_alloc()
711 (unsigned int)cxdev->height, framelen); in cxusb_medion_v_ss_auxbuf_alloc()
713 auxbuflen = framelen + urblen; in cxusb_medion_v_ss_auxbuf_alloc()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ar5523/
Dar5523_hw.h150 __be32 framelen; /* frame length */ member
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dprism2sta.c1001 if (inf->framelen > 22) { in prism2sta_inf_tallies()
1042 nbss = (inf->framelen * sizeof(u16)) - in prism2sta_inf_scanresults()
1092 nbss = (inf->framelen - 3) / 32; in prism2sta_inf_hostscanresults()
Dprism2mgmt.c404 count = (hw->scanresults->framelen - 3) / 32; in prism2mgmt_scan_results()
Dhfa384x.h766 u16 framelen; member
Dhfa384x_usb.c3451 le16_to_cpus(&usbin->infofrm.info.framelen); in hfa384x_usbin_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet_common.c73 int framelen = ETH_FRAME_LEN; in sunvnet_send_attr_common() local
104 pkt.mtu = framelen; in sunvnet_send_attr_common()
106 pkt.mtu = framelen + VLAN_HLEN; in sunvnet_send_attr_common()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_net.c190 int framelen = p->ule_sndu_len - ((p->ule_next_hdr+sizeof(struct ethhdr)) - p->ule_skb->data); in ule_bridged_sndu() local
192 if(framelen != ntohs(hdr->h_proto)) { in ule_bridged_sndu()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/
Dmwl8k.c3324 int framelen, int dtim) in mwl8k_cmd_finalize_join() argument
3339 payload_len = framelen - ieee80211_hdrlen(payload->frame_control); in mwl8k_cmd_finalize_join()