Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 25 of 38) sorted by relevance

12

/linux-3.4.99/drivers/uwb/
Dest.c260 unsigned itr; in uwb_est_register() local
272 for (itr = 0; itr < uwb_est_used; itr++) in uwb_est_register()
273 if (uwb_est[itr].type_event_high < type in uwb_est_register()
274 && uwb_est[itr].vendor < vendor in uwb_est_register()
275 && uwb_est[itr].product < product) in uwb_est_register()
279 if (itr < uwb_est_used) in uwb_est_register()
280 memmove(&uwb_est[itr+1], &uwb_est[itr], uwb_est_used - itr); in uwb_est_register()
281 uwb_est[itr].type_event_high = type << 8 | event_high; in uwb_est_register()
282 uwb_est[itr].vendor = vendor; in uwb_est_register()
283 uwb_est[itr].product = product; in uwb_est_register()
[all …]
Ddrp-avail.c141 unsigned long get_val(u8 *array, size_t itr, size_t len) in get_val() argument
144 size_t top = itr + len; in get_val()
148 while (itr < top) { in get_val()
206 size_t itr, len; in buffer_to_bmp() local
209 itr = 0; in buffer_to_bmp()
210 while (itr < buffer_size) { in buffer_to_bmp()
211 len = buffer_size - itr >= sizeof(val) ? in buffer_to_bmp()
212 sizeof(val) : buffer_size - itr; in buffer_to_bmp()
213 val = get_val(buffer, itr, len); in buffer_to_bmp()
214 bmp_itr[itr / sizeof(val)] = val; in buffer_to_bmp()
[all …]
Dneh.c483 void *itr; in uwb_rc_neh_grok() local
488 itr = buf; in uwb_rc_neh_grok()
498 rceb = itr; in uwb_rc_neh_grok()
533 itr += real_size; in uwb_rc_neh_grok()
Dhwa-rc.c746 char *itr; in hwarc_get_version() local
753 itr = usb_dev->rawdescriptors[actconfig_idx]; in hwarc_get_version()
756 hdr = (struct usb_descriptor_header *) itr; in hwarc_get_version()
760 (itr - usb_dev->rawdescriptors[actconfig_idx]), in hwarc_get_version()
764 itr += hdr->bLength; in hwarc_get_version()
/linux-3.4.99/drivers/usb/wusbcore/
Dmmc.c98 unsigned handle, itr; in wusbhc_mmcie_set() local
115 for (itr = 0; itr < wusbhc->mmcies_max - 1; itr++) { in wusbhc_mmcie_set()
116 if (wusbhc->mmcie[itr] == wuie) { in wusbhc_mmcie_set()
117 handle = itr; in wusbhc_mmcie_set()
120 if (wusbhc->mmcie[itr] == NULL) in wusbhc_mmcie_set()
121 handle = itr; in wusbhc_mmcie_set()
144 unsigned handle, itr; in wusbhc_mmcie_rm() local
147 for (itr = 0; itr < wusbhc->mmcies_max; itr++) { in wusbhc_mmcie_rm()
148 if (wusbhc->mmcie[itr] == wuie) { in wusbhc_mmcie_rm()
149 handle = itr; in wusbhc_mmcie_rm()
[all …]
Dcrypto.c130 size_t itr; in bytewise_xor() local
131 for (itr = 0; itr < size; itr++) in bytewise_xor()
132 bo[itr] = bi1[itr] ^ bi2[itr]; in bytewise_xor()
Ddevconnect.c728 void *itr, *top; in wusb_dev_bos_grok() local
731 itr = (void *)bos + sizeof(*bos); in wusb_dev_bos_grok()
732 top = itr + desc_size - sizeof(*bos); in wusb_dev_bos_grok()
733 while (itr < top) { in wusb_dev_bos_grok()
734 struct usb_dev_cap_header *cap_hdr = itr; in wusb_dev_bos_grok()
737 if (top - itr < sizeof(*cap_hdr)) { in wusb_dev_bos_grok()
740 (int)(itr - (void *)bos), top - itr); in wusb_dev_bos_grok()
748 if (cap_size > top - itr) { in wusb_dev_bos_grok()
752 (int)(itr - (void *)bos), in wusb_dev_bos_grok()
753 cap_type, cap_size, top - itr); in wusb_dev_bos_grok()
[all …]
Dwa-nep.c94 void *itr; in wa_notif_dispatch() local
111 itr = nw->data; in wa_notif_dispatch()
118 notif_hdr = itr; in wa_notif_dispatch()
121 itr += notif_hdr->bLength; in wa_notif_dispatch()
Drh.c437 size_t port_size, itr; in wusbhc_rh_create() local
442 for (itr = 0; itr < wusbhc->ports_max; itr++) in wusbhc_rh_create()
443 wusb_port_init(&wusbhc->port[itr]); in wusbhc_rh_create()
Dwa-rpipe.c266 void *itr; in rpipe_epc_find() local
275 itr = ep->extra; in rpipe_epc_find()
283 itr - (void *) ep->extra, itr_size); in rpipe_epc_find()
286 hdr = itr; in rpipe_epc_find()
288 epcd = itr; in rpipe_epc_find()
296 itr - (void *) ep->extra, hdr->bDescriptorType, in rpipe_epc_find()
300 itr += hdr->bLength; in rpipe_epc_find()
Dsecurity.c207 const void *itr, *top; in wusb_dev_sec_add() local
237 itr = &secd[1]; in wusb_dev_sec_add()
239 while (itr < top) { in wusb_dev_sec_add()
240 etd = itr; in wusb_dev_sec_add()
241 if (top - itr < sizeof(*etd)) { in wusb_dev_sec_add()
244 top - itr, sizeof(*etd)); in wusb_dev_sec_add()
254 itr += etd->bLength; in wusb_dev_sec_add()
Dcbaf.c139 void *itr, *top; in cbaf_check() local
174 itr = cbaf->buffer + sizeof(*assoc_info); in cbaf_check()
179 while (itr < top) { in cbaf_check()
184 assoc_request = itr; in cbaf_check()
186 if (top - itr < sizeof(*assoc_request)) { in cbaf_check()
189 top - itr, sizeof(*assoc_request)); in cbaf_check()
220 itr += sizeof(*assoc_request); in cbaf_check()
/linux-3.4.99/include/linux/wimax/
Ddebug.h458 struct d_level *itr, *top; in d_submodule_set() local
461 for (itr = d_level, top = itr + d_level_size; itr < top; itr++) { in d_submodule_set()
463 if (itr->name == NULL) { in d_submodule_set()
465 tag, itr, index); in d_submodule_set()
468 if (!strcmp(itr->name, submodule)) { in d_submodule_set()
469 itr->level = level; in d_submodule_set()
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dparam.c346 adapter->itr = InterruptThrottleRate[bd]; in e1000e_check_options()
354 if ((adapter->itr > 4) && in e1000e_check_options()
355 e1000_validate_option(&adapter->itr, &opt, adapter)) in e1000e_check_options()
356 adapter->itr = opt.def; in e1000e_check_options()
362 adapter->itr = opt.def; in e1000e_check_options()
368 if (adapter->itr > 40) in e1000e_check_options()
370 adapter->itr); in e1000e_check_options()
373 adapter->itr_setting = adapter->itr; in e1000e_check_options()
374 switch (adapter->itr) { in e1000e_check_options()
380 adapter->itr = 20000; in e1000e_check_options()
[all …]
/linux-3.4.99/drivers/uwb/i1480/dfu/
Dusb.c115 size_t buffer_size, itr = 0; in i1480_usb_write() local
120 memcpy(i1480->cmd_buf, buffer + itr, buffer_size); in i1480_usb_write()
128 itr += result; in i1480_usb_write()
153 size_t itr, read_size = i1480->buf_size; in i1480_usb_read() local
163 for (itr = 0; itr < size; itr += read_size) { in i1480_usb_read()
164 size_t itr_addr = addr + itr; in i1480_usb_read()
165 size_t itr_size = min(read_size, size - itr); in i1480_usb_read()
170 i1480->cmd_buf + itr, itr_size, in i1480_usb_read()
/linux-3.4.99/net/dcb/
Ddcbnl.c1229 struct dcb_app_type *itr; in dcbnl_ieee_fill() local
1261 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_ieee_fill()
1262 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill()
1263 err = nla_put(skb, DCB_ATTR_IEEE_APP, sizeof(itr->app), in dcbnl_ieee_fill()
1264 &itr->app); in dcbnl_ieee_fill()
1376 struct dcb_app_type *itr; in dcbnl_cee_fill() local
1420 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_cee_fill()
1421 if (itr->ifindex == netdev->ifindex) { in dcbnl_cee_fill()
1428 itr->app.selector); in dcbnl_cee_fill()
1433 itr->app.protocol); in dcbnl_cee_fill()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/e1000/
De1000_param.c463 adapter->itr = InterruptThrottleRate[bd]; in e1000_check_options()
464 switch (adapter->itr) { in e1000_check_options()
471 adapter->itr_setting = adapter->itr; in e1000_check_options()
472 adapter->itr = 20000; in e1000_check_options()
477 adapter->itr_setting = adapter->itr; in e1000_check_options()
478 adapter->itr = 20000; in e1000_check_options()
483 adapter->itr_setting = adapter->itr; in e1000_check_options()
486 e1000_validate_option(&adapter->itr, &opt, in e1000_check_options()
492 adapter->itr_setting = adapter->itr & ~3; in e1000_check_options()
497 adapter->itr = 20000; in e1000_check_options()
/linux-3.4.99/drivers/usb/host/
Dhwa-hc.c524 char *itr; in wa_fill_descr() local
532 itr = usb_dev->rawdescriptors[actconfig_idx]; in wa_fill_descr()
535 hdr = (struct usb_descriptor_header *) itr; in wa_fill_descr()
539 (itr - usb_dev->rawdescriptors[actconfig_idx]), in wa_fill_descr()
543 itr += hdr->bLength; in wa_fill_descr()
604 void *itr, *top; in hwahc_security_create() local
612 itr = usb_dev->rawdescriptors[index]; in hwahc_security_create()
614 top = itr + itr_size; in hwahc_security_create()
637 itr = (void *) secd + sizeof(*secd); in hwahc_security_create()
641 while (itr < top) { in hwahc_security_create()
[all …]
/linux-3.4.99/drivers/net/wimax/i2400m/
Dfw.c1262 const void *itr, *next, *top; in i2400m_fw_check() local
1265 for (itr = bcf, top = itr + bcf_size; in i2400m_fw_check()
1266 itr < top; in i2400m_fw_check()
1267 headers++, itr = next) { in i2400m_fw_check()
1270 leftover = top - itr; in i2400m_fw_check()
1271 offset = itr - (const void *) bcf; in i2400m_fw_check()
1278 bcf_hdr = itr; in i2400m_fw_check()
1284 next = itr + size; in i2400m_fw_check()
1286 next = itr + header_len; in i2400m_fw_check()
1552 int ret, itr; in i2400m_dev_bootstrap() local
[all …]
Drx.c929 unsigned itr; in i2400m_rx_roq_destroy() local
932 for (itr = 0; itr < I2400M_RO_CIN + 1; itr++) in i2400m_rx_roq_destroy()
933 __skb_queue_purge(&i2400m->rx_roq[itr].queue); in i2400m_rx_roq_destroy()
1353 unsigned itr; in i2400m_rx_setup() local
1376 for(itr = 0; itr < I2400M_RO_CIN + 1; itr++) { in i2400m_rx_setup()
1377 __i2400m_roq_init(&i2400m->rx_roq[itr]); in i2400m_rx_setup()
1378 i2400m->rx_roq[itr].log = &rd[itr]; in i2400m_rx_setup()
Dcontrol.c1205 void *buf, *itr; in i2400m_set_init_config() local
1231 itr = buf + sizeof(*cmd); in i2400m_set_init_config()
1235 memcpy(itr, tlv_hdr, tlv_size); in i2400m_set_init_config()
1236 itr += tlv_size; in i2400m_set_init_config()
/linux-3.4.99/drivers/staging/bcm/
DInterfaceIdleMode.c155 unsigned long timeout = 0 ,itr = 0; in InterfaceAbortIdlemode() local
222 itr++ ; in InterfaceAbortIdlemode()
237 …DBG_TYPE_OTHERS, IDLE_MODE, DBG_LVL_ALL,"Number of completed iteration to read chip-id :%lu", itr); in InterfaceAbortIdlemode()
/linux-3.4.99/arch/ia64/kernel/
Dmca_asm.S181 itr.i itr[r16]=r18
183 itr.d dtr[r16]=r18
202 itr.i itr[r20]=r18
222 itr.d dtr[r20]=r16
887 itr.d dtr[r20]=r21
1063 itr.d dtr[r20]=r21
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h300 u8 itr; /* current ITR setting for ring */ member
322 u16 itr; /* Interrupt throttle rate written to EITR */ member
Dixgbe_main.c1836 q_vector->itr = IXGBE_10K_ITR; in ixgbe_configure_msix()
1838 q_vector->itr = adapter->tx_itr_setting; in ixgbe_configure_msix()
1842 q_vector->itr = IXGBE_20K_ITR; in ixgbe_configure_msix()
1844 q_vector->itr = adapter->rx_itr_setting; in ixgbe_configure_msix()
1902 u8 itr_setting = ring_container->itr; in ixgbe_update_itr()
1913 timepassed_us = q_vector->itr >> 2; in ixgbe_update_itr()
1938 ring_container->itr = itr_setting; in ixgbe_update_itr()
1954 u32 itr_reg = q_vector->itr & IXGBE_MAX_EITR; in ixgbe_write_eitr()
1977 u32 new_itr = q_vector->itr; in ixgbe_set_itr()
1983 current_itr = max(q_vector->rx.itr, q_vector->tx.itr); in ixgbe_set_itr()
[all …]

12