Home
last modified time | relevance | path

Searched refs:min_len (Results 1 – 21 of 21) sorted by relevance

/drivers/net/wireless/ath/carl9170/
Dfwdesc.h252 u16 min_len, u8 compatible_revision) in carl9170fw_desc_cmp() argument
257 (le16_to_cpu(head->length) >= min_len)) in carl9170fw_desc_cmp()
/drivers/net/ethernet/sfc/falcon/
Dtx.c150 unsigned int min_len = tx_queue->tx_min_size; in ef4_enqueue_skb_copy() local
166 if (unlikely(copy_len < min_len)) { in ef4_enqueue_skb_copy()
167 memset(copy_buffer + copy_len, 0, min_len - copy_len); in ef4_enqueue_skb_copy()
168 buffer->len = min_len; in ef4_enqueue_skb_copy()
/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.c23 size_t min_len; member
28 = { .min_len = 0 },
30 = { .min_len = 0 },
32 = { .min_len = sizeof(struct wmi_scan_event) },
34 = { .min_len = sizeof(struct wmi_tlv_mgmt_rx_ev) },
36 = { .min_len = sizeof(struct wmi_chan_info_event) },
38 = { .min_len = sizeof(struct wmi_vdev_start_response_event) },
40 = { .min_len = sizeof(struct wmi_peer_sta_kickout_event) },
42 = { .min_len = sizeof(struct wmi_host_swba_event) },
44 = { .min_len = sizeof(struct wmi_tim_info) },
[all …]
Dhtc.c435 size_t min_len; in ath10k_htc_rx_completion_handler() local
482 min_len = sizeof(struct ath10k_ath10k_htc_record_hdr); in ath10k_htc_rx_completion_handler()
484 if ((trailer_len < min_len) || in ath10k_htc_rx_completion_handler()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dscb.h51 u16 min_len; /* min mpdu len to support the density */ member
/drivers/net/wireless/ath/ath11k/
Dwmi.c23 size_t min_len; member
78 = { .min_len = 0 },
80 = { .min_len = 0 },
82 = { .min_len = sizeof(struct wmi_service_ready_event) },
84 = { .min_len = sizeof(struct wmi_service_ready_ext_event) },
86 = { .min_len = sizeof(struct wmi_soc_mac_phy_hw_mode_caps) },
88 = { .min_len = sizeof(struct wmi_soc_hal_reg_capabilities) },
90 = { .min_len = sizeof(struct wmi_vdev_start_resp_event) },
92 = { .min_len = sizeof(struct wmi_peer_delete_resp_event) },
94 = { .min_len = sizeof(struct wmi_bcn_tx_status_event) },
[all …]
Dhtc.c257 size_t min_len; in ath11k_htc_rx_completion_handler() local
295 min_len = sizeof(struct ath11k_htc_record_hdr); in ath11k_htc_rx_completion_handler()
297 if ((trailer_len < min_len) || in ath11k_htc_rx_completion_handler()
/drivers/net/fddi/
Ddefza.c600 int len, min_len, max_len; in fza_rx_err() local
654 min_len = 37; in fza_rx_err()
656 min_len = 17; in fza_rx_err()
659 min_len = 20; in fza_rx_err()
662 min_len = 17; in fza_rx_err()
666 if (len < min_len || len > max_len) { in fza_rx_err()
/drivers/net/wireless/quantenna/qtnfmac/
Devent.c315 const size_t min_len = sizeof(*rxmgmt) + in qtnf_event_handle_mgmt_received() local
321 if (unlikely(len < min_len)) { in qtnf_event_handle_mgmt_received()
323 vif->mac->macid, vif->vifid, len, min_len); in qtnf_event_handle_mgmt_received()
/drivers/net/wireless/mediatek/mt76/
Dusb.c513 u16 dma_len, min_len; in mt76u_get_rx_entry_len() local
519 min_len = MT_DMA_HDR_LEN + MT_RX_RXWI_LEN + MT_FCE_INFO_LEN; in mt76u_get_rx_entry_len()
520 if (data_len < min_len || !dma_len || in mt76u_get_rx_entry_len()
/drivers/infiniband/core/
Duverbs_ioctl.c182 if (array_len < spec->u2.objs_arr.min_len || in uverbs_process_idrs_array()
276 if (uattr->len < val_spec->u.ptr.min_len || in uverbs_process_attr()
/drivers/media/cec/core/
Dcec-adap.c1051 u8 min_len = 0; in cec_received_msg_ts() local
1105 min_len = cec_msg_size[cmd] & 0x1f; in cec_received_msg_ts()
1106 if (msg->len < min_len) in cec_received_msg_ts()
1117 if (valid_la && min_len) { in cec_received_msg_ts()
/drivers/staging/rts5208/
Dsd.c3729 int min_len = (rsp_len < len) ? rsp_len : len; local
3731 memcpy(rsp, rtsx_get_cmd_data(chip), min_len);
3733 dev_dbg(rtsx_dev(chip), "min_len = %d\n", min_len);
4052 int min_len; local
4079 min_len = min(data_len, scsi_bufflen(srb));
4080 rtsx_stor_set_xfer_buf(buf, min_len, srb);
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c1619 u16 olen, len, status, min_len, cap_len; in ibmvscsis_cap_mad() local
1629 min_len = offsetof(struct capabilities, migration); in ibmvscsis_cap_mad()
1630 if ((olen < min_len) || (olen > PAGE_SIZE)) { in ibmvscsis_cap_mad()
1651 len = olen - min_len; in ibmvscsis_cap_mad()
/drivers/infiniband/hw/mlx5/
Ddevx.c1333 int min_len = MLX5_BYTE_OFF(create_mkey_in, memory_key_mkey_entry) + in devx_handle_mkey_create() local
1339 if (in_len < min_len) in devx_handle_mkey_create()
Dfs.c1773 .min_len = sizeof(u16),
/drivers/scsi/fcoe/
Dfcoe_ctlr.c2023 const u8 *dest, size_t min_len) in fcoe_ctlr_vn_send() argument
2047 len = max(len, min_len + sizeof(struct ethhdr)); in fcoe_ctlr_vn_send()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h555 unsigned short min_len; member
Dcxgb4_debugfs.c1356 tp.min_len); in mps_trc_show()
1508 tp.min_len = j; in mps_trc_write()
Dt4_hw.c5969 tp->min_len > TFMINPKTSIZE_M) in t4_set_trace_filter()
5985 TFMINPKTSIZE_V(tp->min_len)); in t4_set_trace_filter()
6025 tp->min_len = TFMINPKTSIZE_G(ctlb); in t4_get_trace_filter()
/drivers/infiniband/hw/qedr/
Dverbs.c70 size_t min_len = min_t(size_t, len, udata->outlen); in qedr_ib_copy_to_udata() local
72 return ib_copy_to_udata(udata, src, min_len); in qedr_ib_copy_to_udata()