/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 793 struct rtw_ieee802_11_elems *elems, in rtw_ieee802_11_parse_vendor_specific() argument 813 elems->wpa_ie = pos; in rtw_ieee802_11_parse_vendor_specific() 814 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 823 elems->wme = pos; in rtw_ieee802_11_parse_vendor_specific() 824 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 827 elems->wme_tspec = pos; in rtw_ieee802_11_parse_vendor_specific() 828 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific() 836 elems->wps_ie = pos; in rtw_ieee802_11_parse_vendor_specific() 837 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 847 elems->vendor_ht_cap = pos; in rtw_ieee802_11_parse_vendor_specific() [all …]
|
D | rtw_mlme_ext.c | 947 struct rtw_ieee802_11_elems elems; in OnAssocReq() local 1008 if (rtw_ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed || in OnAssocReq() 1009 !elems.ssid) { in OnAssocReq() 1075 if ((psecuritypriv->wpa_psk & BIT(1)) && elems.rsn_ie) { in OnAssocReq() 1079 wpa_ie = elems.rsn_ie; in OnAssocReq() 1080 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq() 1098 } else if ((psecuritypriv->wpa_psk & BIT(0)) && elems.wpa_ie) { in OnAssocReq() 1102 wpa_ie = elems.wpa_ie; in OnAssocReq() 1103 wpa_ie_len = elems.wpa_ie_len; in OnAssocReq() 1132 if (elems.wps_ie) { in OnAssocReq() [all …]
|
/drivers/staging/media/atomisp/pci/base/circbuf/src/ |
D | circbuf.c | 73 ia_css_circbuf_elem_t *elems, in ia_css_circbuf_create() argument 87 ia_css_circbuf_elem_init(&elems[i]); in ia_css_circbuf_create() 89 cb->elems = elems; in ia_css_circbuf_create() 100 cb->elems = NULL; in ia_css_circbuf_destroy() 160 val = ia_css_circbuf_elem_get_val(&cb->elems[pos]); in ia_css_circbuf_extract() 181 return cb->elems[pos].val; in ia_css_circbuf_peek() 195 return cb->elems[pos].val; in ia_css_circbuf_peek_from_start() 206 ia_css_circbuf_elem_t *elems) in ia_css_circbuf_increase_size() argument 228 if (elems) { in ia_css_circbuf_increase_size() 234 cb->elems[i] = elems[i - curr_size]; in ia_css_circbuf_increase_size() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 791 struct rtw_ieee802_11_elems *elems, in rtw_ieee802_11_parse_vendor_specific() argument 816 elems->wpa_ie = pos; in rtw_ieee802_11_parse_vendor_specific() 817 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 828 elems->wme = pos; in rtw_ieee802_11_parse_vendor_specific() 829 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 832 elems->wme_tspec = pos; in rtw_ieee802_11_parse_vendor_specific() 833 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific() 843 elems->wps_ie = pos; in rtw_ieee802_11_parse_vendor_specific() 844 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 856 elems->vendor_ht_cap = pos; in rtw_ieee802_11_parse_vendor_specific() [all …]
|
D | rtw_mlme_ext.c | 978 struct rtw_ieee802_11_elems elems; in OnAssocReq() local 1048 if (rtw_ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed || in OnAssocReq() 1049 !elems.ssid) { in OnAssocReq() 1117 if ((psecuritypriv->wpa_psk & BIT(1)) && elems.rsn_ie) { in OnAssocReq() 1120 wpa_ie = elems.rsn_ie; in OnAssocReq() 1121 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq() 1138 } else if ((psecuritypriv->wpa_psk & BIT(0)) && elems.wpa_ie) { in OnAssocReq() 1141 wpa_ie = elems.wpa_ie; in OnAssocReq() 1142 wpa_ie_len = elems.wpa_ie_len; in OnAssocReq() 1169 if (elems.wps_ie) { in OnAssocReq() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-event.c | 24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos() 118 if (sev->in_use == sev->elems) { in __v4l2_event_queue_fh() 125 if (sev->elems == 1) { in __v4l2_event_queue_fh() 224 const struct v4l2_event_subscription *sub, unsigned int elems, in v4l2_event_subscribe() argument 235 if (elems < 1) in v4l2_event_subscribe() 236 elems = 1; in v4l2_event_subscribe() 238 sev = kvzalloc(struct_size(sev, events, elems), GFP_KERNEL); in v4l2_event_subscribe() 241 for (i = 0; i < elems; i++) in v4l2_event_subscribe() 248 sev->elems = elems; in v4l2_event_subscribe() 262 ret = sev->ops->add(sev, elems); in v4l2_event_subscribe()
|
D | v4l2-ctrls-api.c | 94 for (idx = 0; idx < ctrl->elems; idx++) in def_to_user() 115 for (idx = c->size / ctrl->elem_size; idx < ctrl->elems; idx++) in user_to_ptr() 258 unsigned int tot_size = ctrl->elems * ctrl->elem_size; in prepare_ext_ctrls() 875 memcpy(ctrl->p_new.p, p, ctrl->elems * ctrl->elem_size); in __v4l2_ctrl_s_ctrl_compound() 1021 qc->elems = ctrl->elems; in v4l2_query_ext_ctrl() 1144 unsigned int elems) in v4l2_ctrl_add_event() argument
|
D | v4l2-ctrls-core.c | 813 memcpy(to.p, from.p_const, ctrl->elems * ctrl->elem_size); in ptr_to_ptr() 934 for (idx = 0; !err && idx < ctrl->elems; idx++) in validate_new() 1106 size_extra_req = ctrl->elems * ctrl->elem_size; in handler_new_ref() 1176 unsigned elems = 1; in v4l2_ctrl_new() local 1187 elems *= dims[nr_of_dims]; in v4l2_ctrl_new() 1270 tot_ctrl_size = elem_size * elems; in v4l2_ctrl_new() 1330 ctrl->elems = elems; in v4l2_ctrl_new() 1356 for (idx = 0; idx < elems; idx++) { in v4l2_ctrl_new() 1699 for (idx = 0; !ctrl_changed && idx < ctrl->elems; idx++) in cluster_changed()
|
/drivers/staging/media/atomisp/pci/base/circbuf/interface/ |
D | ia_css_circbuf.h | 38 ia_css_circbuf_elem_t *elems; /* an array of elements */ member 50 ia_css_circbuf_elem_t *elems, 287 ia_css_circbuf_elem_cpy(&elem, &cb->elems[cb->desc->end]); in ia_css_circbuf_write() 375 ia_css_circbuf_elem_t *elems);
|
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | vmem.c | 189 unsigned int elems) /* In t_vmem_elem */ in isp_vmem_load() argument 196 assert(elems % ISP_NWAY == 0); in isp_vmem_load() 197 for (c = 0; c < elems; c += ISP_NWAY) { in isp_vmem_load() 207 unsigned int elems) /* In t_vmem_elem */ in isp_vmem_store() argument 214 assert(elems % ISP_NWAY == 0); in isp_vmem_store() 215 for (c = 0; c < elems; c += ISP_NWAY) { in isp_vmem_store()
|
D | vmem_local.h | 30 unsigned int elems); /* In t_vmem_elem */ 36 unsigned int elems); /* In t_vmem_elem */
|
/drivers/staging/media/atomisp/pci/isp/kernels/ref/ref_1.0/ |
D | ia_css_ref.host.c | 35 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_ref_config() 40 to->port_b.elems = elems_a; in ia_css_ref_config() 55 assert(elems_a % to->port_b.elems == 0); in ia_css_ref_config()
|
/drivers/staging/media/atomisp/pci/isp/kernels/crop/crop_1.0/ |
D | ia_css_crop.host.c | 49 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_crop_config() 52 assert(elems_a % to->port_b.elems == 0); in ia_css_crop_config()
|
/drivers/staging/media/atomisp/pci/isp/kernels/qplane/qplane_2/ |
D | ia_css_qplane.host.c | 41 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_qplane_config() 44 assert(elems_a % to->port_b.elems == 0); in ia_css_qplane_config()
|
/drivers/staging/media/atomisp/pci/isp/kernels/fpn/fpn_1.0/ |
D | ia_css_fpn.host.c | 64 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_fpn_config() 67 assert(elems_a % to->port_b.elems == 0); in ia_css_fpn_config()
|
/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/ |
D | ia_css_tnr.host.c | 85 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_tnr_config() 93 assert(elems_a % to->port_b.elems == 0); in ia_css_tnr_config()
|
/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ |
D | ia_css_vf.host.c | 44 to->dma.width_a_over_b = elems_a / to->dma.port_b.elems; in ia_css_vf_config() 47 assert(elems_a % to->dma.port_b.elems == 0); in ia_css_vf_config()
|
/drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ |
D | ia_css_output.host.c | 65 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_output_config() 71 assert(elems_a % to->port_b.elems == 0); in ia_css_output_config()
|
/drivers/staging/media/atomisp/pci/isp/kernels/raw/raw_1.0/ |
D | ia_css_raw.host.c | 99 (elems_a % to->port_b.elems == 0)); in ia_css_raw_config() 101 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_raw_config()
|
/drivers/staging/media/atomisp/pci/hive_isp_css_common/ |
D | dma_global.h | 84 #define DMA_PACK_CROP_ELEMS(elems, crop) ((elems) | DMA_PACK_LEFT_CROPPING(crop)) argument 242 u8 crop, elems; member
|
/drivers/media/test-drivers/vivid/ |
D | vivid-vbi-out.c | 224 unsigned elems = in vivid_sliced_vbi_out_process() local 230 while (elems--) { in vivid_sliced_vbi_out_process()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 402 sg_elem = &sg_desc->elems[j]; in ionic_rx_fill() 423 sg_elem = &sg_desc->elems[j]; in ionic_rx_fill() 987 elem = desc_info->txq_sg_desc->elems; in ionic_tx_tso() 1103 struct ionic_txq_sg_elem *elem = sg_desc->elems; in ionic_tx_skb_frags()
|
D | ionic_if.h | 906 struct ionic_txq_sg_elem elems[IONIC_TX_MAX_SG_ELEMS]; member 912 struct ionic_txq_sg_elem elems[IONIC_TX_SG_DESC_STRIDE_V1]; member 972 struct ionic_rxq_sg_elem elems[IONIC_RX_SG_DESC_STRIDE]; member
|
/drivers/net/ethernet/tehuti/ |
D | tehuti.h | 178 struct rx_map *elems; member
|
/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 563 int elems = count / sizeof(struct v4l2_sliced_vbi_data); in ivtv_write() local 567 (const struct v4l2_sliced_vbi_data __user *)user_buf, elems); in ivtv_write()
|