Home
last modified time | relevance | path

Searched refs:param_len (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/net/nfc/hci/
H A Dcommand.c20 const u8 *param, size_t param_len, in nfc_hci_execute_cmd_async() argument
24 cmd, param_len); in nfc_hci_execute_cmd_async()
56 const u8 *param, size_t param_len, in nfc_hci_execute_cmd() argument
66 cmd, param_len); in nfc_hci_execute_cmd()
73 param, param_len, in nfc_hci_execute_cmd()
126 const u8 *param, size_t param_len, in nfc_hci_send_cmd_async() argument
141 const u8 *param, size_t param_len) in nfc_hci_set_param() argument
161 memcpy(tmp + 1, param, param_len); in nfc_hci_set_param()
164 tmp, param_len + 1, NULL); in nfc_hci_set_param()
246 size_t param_len = 2; in nfc_hci_clear_all_pipes() local
[all …]
/openbmc/linux/include/net/nfc/
H A Dhci.h264 const u8 *param, size_t param_len);
266 const u8 *param, size_t param_len, struct sk_buff **skb);
268 const u8 *param, size_t param_len,
271 const u8 *param, size_t param_len);
H A Dnci_core.h306 const u8 *param, size_t param_len);
308 u8 cmd, const u8 *param, size_t param_len,
314 const u8 *param, size_t param_len);
/openbmc/linux/net/bluetooth/
H A Dmgmt_util.h26 size_t param_len; member
38 size_t param_len; member
H A Dmgmt_util.c282 cmd->param_len = len; in mgmt_pending_new()
376 mesh_tx->param_len = len; in mgmt_mesh_add()
/openbmc/linux/net/nfc/nci/
H A Dhci.c208 const u8 *param, size_t param_len) in nci_hci_send_event() argument
217 param, param_len); in nci_hci_send_event()
222 const u8 *param, size_t param_len, in nci_hci_send_cmd() argument
242 data.data_len = param_len; in nci_hci_send_cmd()
555 const u8 *param, size_t param_len) in nci_hci_set_param() argument
573 tmp = kmalloc(1 + param_len, GFP_KERNEL); in nci_hci_set_param()
578 memcpy(tmp + 1, param, param_len); in nci_hci_set_param()
585 data.data_len = param_len + 1; in nci_hci_set_param()
/openbmc/linux/crypto/
H A Dtestmgr.h664 .param_len = 21,
688 .param_len = 21,
712 .param_len = 21,
736 .param_len = 21,
761 .param_len = 21,
792 .param_len = 21,
818 .param_len = 21,
844 .param_len = 21,
870 .param_len = 21,
897 .param_len = 21,
[all …]
/openbmc/linux/net/sctp/
H A Dauth.c760 __u16 param_len; in sctp_auth_ep_add_chunkid() local
767 param_len = ntohs(p->param_hdr.length); in sctp_auth_ep_add_chunkid()
768 nchunks = param_len - sizeof(struct sctp_paramhdr); in sctp_auth_ep_add_chunkid()
773 p->param_hdr.length = htons(param_len + 1); in sctp_auth_ep_add_chunkid()
H A Dstream.c294 int param_len = 0; in sctp_send_reset_streams() local
301 param_len = str_nums * sizeof(__u16) + in sctp_send_reset_streams()
310 param_len += str_nums * sizeof(__u16) + in sctp_send_reset_streams()
314 if (param_len > SCTP_MAX_CHUNK_LEN - in sctp_send_reset_streams()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c494 …int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in rtw_cfg80211_ap_set_encryption() argument
510 if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { in rtw_cfg80211_ap_set_encryption()
698 …ic int rtw_cfg80211_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in rtw_cfg80211_set_encryption() argument
710 if (param_len < (u32)((u8 *)param->u.crypt.key - (u8 *)param) + param->u.crypt.key_len) { in rtw_cfg80211_set_encryption()
847 u32 param_len; in cfg80211_rtw_add_key() local
853 param_len = sizeof(struct ieee_param) + params->key_len; in cfg80211_rtw_add_key()
854 param = rtw_malloc(param_len); in cfg80211_rtw_add_key()
858 memset(param, 0, param_len); in cfg80211_rtw_add_key()
905 ret = rtw_cfg80211_set_encryption(ndev, param, param_len); in cfg80211_rtw_add_key()
910 ret = rtw_cfg80211_ap_set_encryption(ndev, param, param_len); in cfg80211_rtw_add_key()
[all …]
H A Dioctl_linux.c45 static int wpa_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in wpa_set_encryption() argument
58 if (param_len < (u32)((u8 *)param->u.crypt.key - (u8 *)param) + param->u.crypt.key_len) { in wpa_set_encryption()
513 static int rtw_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in rtw_set_encryption() argument
532 if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { in rtw_set_encryption()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_cmds.c1537 ioctl->param.req.param_len = in beiscsi_set_host_data()
1541 ioctl->param.req.param_len = ALIGN(ioctl->param.req.param_len + 1, 4); in beiscsi_set_host_data()
1542 if (ioctl->param.req.param_len > BE_CMD_MAX_DRV_VERSION) in beiscsi_set_host_data()
1543 ioctl->param.req.param_len = BE_CMD_MAX_DRV_VERSION; in beiscsi_set_host_data()
1580 ioctl->param_len = sizeof(ioctl->param.req); in beiscsi_set_uer_feature()
H A Dbe_cmds.h741 u32 param_len; member
780 u32 param_len; member
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c4603 u16 param_len, desc_len, trunc_param_len; in mpi3mr_check_return_unmap() local
4608 if ((param_len > 24) && ((param_len - 8) & 0xF)) { in mpi3mr_check_return_unmap()
4609 trunc_param_len -= (param_len - 8) & 0xF; in mpi3mr_check_return_unmap()
4613 param_len, trunc_param_len); in mpi3mr_check_return_unmap()
4620 if (!param_len) { in mpi3mr_check_return_unmap()
4630 if (param_len < 24) { in mpi3mr_check_return_unmap()
4633 __func__, param_len); in mpi3mr_check_return_unmap()
4641 if (param_len != scsi_bufflen(scmd)) { in mpi3mr_check_return_unmap()
4644 __func__, param_len, scsi_bufflen(scmd)); in mpi3mr_check_return_unmap()
4677 if (param_len > (desc_len + 8)) { in mpi3mr_check_return_unmap()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbus.h66 int param_len; member
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_ioctl.c3464 int param_len) in prism2_ioctl_set_encryption() argument
3474 if (param_len != in prism2_ioctl_set_encryption()
3599 int param_len) in prism2_ioctl_get_encryption() argument
3607 max_key_len = param_len - in prism2_ioctl_get_encryption()
3656 int param_len) in prism2_ioctl_get_rid() argument
3660 max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN; in prism2_ioctl_get_rid()
3677 int param_len) in prism2_ioctl_set_rid() argument
3681 max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN; in prism2_ioctl_set_rid()
3692 int param_len) in prism2_ioctl_set_assoc_ap_addr() argument
3736 int param_len) in prism2_ioctl_set_generic_element() argument
[all …]
/openbmc/qemu/block/
H A Discsi.c2206 static struct scsi_task *iscsi_xcopy_task(int param_len) in iscsi_xcopy_task() argument
2213 task->cdb[10] = (param_len >> 24) & 0xFF; in iscsi_xcopy_task()
2214 task->cdb[11] = (param_len >> 16) & 0xFF; in iscsi_xcopy_task()
2215 task->cdb[12] = (param_len >> 8) & 0xFF; in iscsi_xcopy_task()
2216 task->cdb[13] = param_len & 0xFF; in iscsi_xcopy_task()
2219 task->expxferlen = param_len; in iscsi_xcopy_task()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c367 u32 param_len) in wpa_set_encryption() argument
378 if (param_len != (u32)((u8 *) param->u.crypt.key - (u8 *)param) + in wpa_set_encryption()
1759 u32 param_len; in r871x_wx_set_enc_ext() local
1779 param_len = sizeof(struct ieee_param) + pext->key_len; in r871x_wx_set_enc_ext()
1780 param = kzalloc(param_len, GFP_ATOMIC); in r871x_wx_set_enc_ext()
1797 ret = wpa_set_encryption(dev, param, param_len); in r871x_wx_set_enc_ext()
/openbmc/linux/drivers/net/wireless/legacy/
H A Drndis_wlan.c857 int value_len, info_len, param_len, ret, i; in rndis_set_config_parameter() local
868 param_len = strlen(param) * sizeof(__le16); in rndis_set_config_parameter()
869 info_len = sizeof(*infobuf) + param_len + value_len; in rndis_set_config_parameter()
892 infobuf->name_length = cpu_to_le32(param_len); in rndis_set_config_parameter()
894 infobuf->value_offs = cpu_to_le32(sizeof(*infobuf) + param_len); in rndis_set_config_parameter()
899 for (i = 0; i < param_len / sizeof(__le16); i++) in rndis_set_config_parameter()
903 unibuf = (void *)infobuf + sizeof(*infobuf) + param_len; in rndis_set_config_parameter()
907 dst_value = (void *)infobuf + sizeof(*infobuf) + param_len; in rndis_set_config_parameter()
/openbmc/linux/Documentation/driver-api/nfc/
H A Dnfc-hci.rst230 const u8 *param, size_t param_len, struct sk_buff **skb)
260 const u8 *param, size_t param_len,
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac.c2802 struct ieee_param *param, int param_len) in ieee80211_wpa_set_encryption() argument
2817 if (param_len != in ieee80211_wpa_set_encryption()
2820 printk("Len mismatch %d, %d\n", param_len, in ieee80211_wpa_set_encryption()
/openbmc/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.h514 u16 param_len; member
/openbmc/linux/drivers/scsi/
H A Dscsi_debug.c2498 int param_len, res, mpage; in resp_mode_select() local
2506 param_len = mselect6 ? cmd[4] : get_unaligned_be16(cmd + 7); in resp_mode_select()
2507 if ((0 == pf) || sp || (param_len > SDEBUG_MAX_MSELECT_SZ)) { in resp_mode_select()
2511 res = fetch_to_dev_buffer(scp, arr, param_len); in resp_mode_select()
2514 else if (sdebug_verbose && (res < param_len)) in resp_mode_select()
2517 __func__, param_len, res); in resp_mode_select()
2534 if ((pg_len + off) > param_len) { in resp_mode_select()
/openbmc/linux/drivers/scsi/elx/libefc_sli/
H A Dsli4.c3947 u32 param_len, void *parameter) in sli_cmd_common_set_features() argument
3961 cmd->param_len = cpu_to_le32(param_len); in sli_cmd_common_set_features()
3962 memcpy(cmd->params, parameter, param_len); in sli_cmd_common_set_features()
H A Dsli4.h3281 __le32 param_len; member
3964 u32 feature, u32 param_len, void *parameter);

12