Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath6kl/
Dbmi.c127 size = ar->bmi.max_data_size + sizeof(cid) + sizeof(addr) + sizeof(len); in ath6kl_bmi_read()
141 rx_len = (len_remain < ar->bmi.max_data_size) ? in ath6kl_bmi_read()
142 len_remain : ar->bmi.max_data_size; in ath6kl_bmi_read()
185 if ((ar->bmi.max_data_size + header) > ar->bmi.max_cmd_size) { in ath6kl_bmi_write()
190 if (WARN_ON(ar->bmi.max_data_size > sizeof(aligned_buf))) in ath6kl_bmi_write()
193 memset(ar->bmi.cmd_buf, 0, ar->bmi.max_data_size + header); in ath6kl_bmi_write()
202 if (len_remain < (ar->bmi.max_data_size - header)) { in ath6kl_bmi_write()
212 tx_len = (ar->bmi.max_data_size - header); in ath6kl_bmi_write()
417 size = ar->bmi.max_data_size + header; in ath6kl_bmi_lz_data()
429 tx_len = (len_remain < (ar->bmi.max_data_size - header)) ? in ath6kl_bmi_lz_data()
[all …]
Dcore.h416 u32 max_data_size; member
Dusb.c1125 ar->bmi.max_data_size = 252; in ath6kl_usb_probe()
Dsdio.c1353 ar->bmi.max_data_size = 256; in ath6kl_sdio_probe()
/drivers/net/wireless/iwlwifi/
Diwl-6000.c161 .max_data_size = IWL60_RTC_DATA_SIZE, \
216 .max_data_size = IWL60_RTC_DATA_SIZE, \
255 .max_data_size = IWL60_RTC_DATA_SIZE, \
305 .max_data_size = IWL60_RTC_DATA_SIZE, \
336 .max_data_size = IWL60_RTC_DATA_SIZE, \
363 .max_data_size = IWL60_RTC_DATA_SIZE, \
390 .max_data_size = IWL60_RTC_DATA_SIZE,
Diwl-2000.c139 .max_data_size = IWL60_RTC_DATA_SIZE, \
167 .max_data_size = IWL60_RTC_DATA_SIZE, \
191 .max_data_size = IWL60_RTC_DATA_SIZE, \
221 .max_data_size = IWL60_RTC_DATA_SIZE, \
Diwl-5000.c93 .max_data_size = IWLAGN_RTC_DATA_SIZE, \
140 .max_data_size = IWLAGN_RTC_DATA_SIZE,
157 .max_data_size = IWLAGN_RTC_DATA_SIZE, \
Diwl-1000.c95 .max_data_size = IWLAGN_RTC_DATA_SIZE, \
120 .max_data_size = IWLAGN_RTC_DATA_SIZE, \
Diwl-7000.c119 .max_data_size = IWL60_RTC_DATA_SIZE, \
Diwl-config.h257 const u32 max_data_size; member
Diwl-drv.c756 cfg->max_data_size) { in validate_sec_sizes()
772 cfg->max_data_size) { in validate_sec_sizes()
/drivers/hsi/clients/
Dhsi_char.c125 static unsigned int max_data_size = 0x1000; variable
126 module_param(max_data_size, uint, 0);
127 MODULE_PARM_DESC(max_data_size, "max read/write data size [4,8..65536] (^2)");
214 msg = hsc_msg_alloc(max_data_size); in hsc_msgs_alloc()
436 if (len > max_data_size) in hsc_read()
437 len = max_data_size; in hsc_read()
493 if (len > max_data_size) in hsc_write()
494 len = max_data_size; in hsc_write()
774 if ((max_data_size < 4) || (max_data_size > 0x10000) || in hsc_init()
775 (max_data_size & (max_data_size - 1))) { in hsc_init()
/drivers/infiniband/hw/mthca/
Dmthca_qp.c916 int max_data_size = desc_sz - sizeof (struct mthca_next_seg); in mthca_max_data_size() local
920 max_data_size -= 2 * sizeof (struct mthca_data_seg); in mthca_max_data_size()
925 max_data_size -= sizeof (struct mthca_arbel_ud_seg); in mthca_max_data_size()
927 max_data_size -= sizeof (struct mthca_tavor_ud_seg); in mthca_max_data_size()
931 max_data_size -= sizeof (struct mthca_raddr_seg); in mthca_max_data_size()
935 return max_data_size; in mthca_max_data_size()
938 static inline int mthca_max_inline_data(struct mthca_pd *pd, int max_data_size) in mthca_max_inline_data() argument
941 return pd->ibpd.uobject ? max_data_size - MTHCA_INLINE_HEADER_SIZE : 0; in mthca_max_inline_data()
948 int max_data_size = mthca_max_data_size(dev, qp, in mthca_adjust_qp_caps() local
952 qp->max_inline_data = mthca_max_inline_data(pd, max_data_size); in mthca_adjust_qp_caps()
[all …]
/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.h103 uint32_t max_data_size; member
Dmpt3sas_ctl.c1140 number_bytes = karg.hdr.max_data_size - in _ctl_eventreport()
2164 karg.hdr.max_data_size = karg32.hdr.max_data_size; in _ctl_compat_mpt_command()
/drivers/scsi/mpt2sas/
Dmpt2sas_ctl.h99 uint32_t max_data_size; member
Dmpt2sas_ctl.c1147 number_bytes = karg.hdr.max_data_size - in _ctl_eventreport()
2125 karg.hdr.max_data_size = karg32.hdr.max_data_size; in _ctl_compat_mpt_command()
/drivers/net/wireless/iwlegacy/
D4965-mac.c4858 if (pieces.data_size > il->hw_params.max_data_size) { in il4965_ucode_callback()
4870 if (pieces.init_data_size > il->hw_params.max_data_size) { in il4965_ucode_callback()
6463 il->hw_params.max_data_size = IL49_RTC_DATA_SIZE; in il4965_set_hw_params()
Dcommon.h839 u32 max_data_size; member