Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 16 of 16) sorted by relevance

/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c863 struct rtw_ieee802_11_elems *elems, in rtw_ieee802_11_parse_vendor_specific() argument
888 elems->wpa_ie = pos; in rtw_ieee802_11_parse_vendor_specific()
889 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
900 elems->wme = pos; in rtw_ieee802_11_parse_vendor_specific()
901 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific()
904 elems->wme_tspec = pos; in rtw_ieee802_11_parse_vendor_specific()
905 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific()
915 elems->wps_ie = pos; in rtw_ieee802_11_parse_vendor_specific()
916 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
928 elems->vendor_ht_cap = pos; in rtw_ieee802_11_parse_vendor_specific()
[all …]
Drtw_mlme_ext.c3001 struct rtw_ieee802_11_elems elems; in OnAssocReq() local
3067 if (rtw_ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed || in OnAssocReq()
3068 !elems.ssid) { in OnAssocReq()
3137 if ((psecuritypriv->wpa_psk & BIT(1)) && elems.rsn_ie) { in OnAssocReq()
3140 wpa_ie = elems.rsn_ie; in OnAssocReq()
3141 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
3158 } else if ((psecuritypriv->wpa_psk & BIT(0)) && elems.wpa_ie) { in OnAssocReq()
3161 wpa_ie = elems.wpa_ie; in OnAssocReq()
3162 wpa_ie_len = elems.wpa_ie_len; in OnAssocReq()
3189 if (elems.wps_ie) { in OnAssocReq()
[all …]
/drivers/media/v4l2-core/
Dv4l2-event.c36 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos()
126 if (sev->in_use == sev->elems) { in __v4l2_event_queue_fh()
133 if (sev->elems == 1) { in __v4l2_event_queue_fh()
217 const struct v4l2_event_subscription *sub, unsigned elems, in v4l2_event_subscribe() argument
228 if (elems < 1) in v4l2_event_subscribe()
229 elems = 1; in v4l2_event_subscribe()
231 sev = kzalloc(sizeof(*sev) + sizeof(struct v4l2_kevent) * elems, GFP_KERNEL); in v4l2_event_subscribe()
234 for (i = 0; i < elems; i++) in v4l2_event_subscribe()
241 sev->elems = elems; in v4l2_event_subscribe()
255 ret = sev->ops->add(sev, elems); in v4l2_event_subscribe()
Dv4l2-ctrls.c1520 for (idx = c->size / ctrl->elem_size; idx < ctrl->elems; idx++) in user_to_ptr()
1566 memcpy(to.p, from.p, ctrl->elems * ctrl->elem_size); in ptr_to_ptr()
1640 for (idx = 0; !ctrl_changed && idx < ctrl->elems; idx++) in cluster_changed()
1694 for (idx = 0; !err && idx < ctrl->elems; idx++) in validate_new()
1922 unsigned elems = 1; in v4l2_ctrl_new() local
1933 elems *= dims[nr_of_dims]; in v4l2_ctrl_new()
1962 tot_ctrl_size = elem_size * elems; in v4l2_ctrl_new()
2023 ctrl->elems = elems; in v4l2_ctrl_new()
2043 for (idx = 0; idx < elems; idx++) { in v4l2_ctrl_new()
2552 qc->elems = ctrl->elems; in v4l2_query_ext_ctrl()
[all …]
Dv4l2-ioctl.c545 p->elem_size, p->elems, p->nr_of_dims, in v4l_print_query_ext_ctrl()
/drivers/media/platform/vivid/
Dvivid-vbi-out.c228 unsigned elems = in vivid_sliced_vbi_out_process() local
234 while (elems--) { in vivid_sliced_vbi_out_process()
/drivers/net/ethernet/tehuti/
Dtehuti.h179 struct rx_map *elems; member
Dtehuti.c945 db->elems = (void *)(db->stack + nelem); in bdx_rxdb_create()
965 return db->elems + n; in bdx_rxdb_addr_elem()
/drivers/s390/cio/
Dqdio_main.c1782 int i, size, elems; in qdio_pnso_brinfo() local
1802 elems = (rr->response.length - in qdio_pnso_brinfo()
1815 for (i = 0; i < elems; i++) in qdio_pnso_brinfo()
/drivers/media/pci/ivtv/
Divtv-fileops.c575 int elems = count / sizeof(struct v4l2_sliced_vbi_data); in ivtv_write() local
579 (const struct v4l2_sliced_vbi_data __user *)user_buf, elems); in ivtv_write()
/drivers/media/usb/uvc/
Duvc_ctrl.c1305 static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in uvc_ctrl_add_event() argument
1335 sev->elems = elems; in uvc_ctrl_add_event()
Duvc_v4l2.c960 qec->elems = 1; in uvc_ioctl_query_ext_ctrl()
/drivers/staging/rtl8188eu/include/
Dieee80211.h1092 struct rtw_ieee802_11_elems *elems,
/drivers/s390/net/
Dqeth_l3_main.c2831 int elems; in qeth_l3_hard_start_xmit() local
2947 elems = qeth_get_elements_no(card, new_skb, elements_needed); in qeth_l3_hard_start_xmit()
2948 if (!elems) { in qeth_l3_hard_start_xmit()
2953 elements_needed += elems; in qeth_l3_hard_start_xmit()
Dqeth_core_main.c3846 struct sk_buff *skb, int elems) in qeth_get_elements_no() argument
3854 if ((elements_needed + elems) > QETH_MAX_BUFFER_ELEMENTS(card)) { in qeth_get_elements_no()
3857 (elements_needed+elems), skb->len); in qeth_get_elements_no()
/drivers/iommu/
Dintel-iommu.c1743 int elems = (cap_ndoms(iommu->cap) >> 8) + 1; in free_dmar_iommu() local
1746 for (i = 0; i < elems; i++) in free_dmar_iommu()