/drivers/media/usb/pvrusb2/ |
D | pvrusb2-ctrl.c | 298 unsigned int uc,cnt; in gen_bitmask_string() local 309 cnt = scnprintf(ptr,len,"%s%s%s", in gen_bitmask_string() 314 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string() 323 cnt = scnprintf(ptr,len,"%s0x%lx", in gen_bitmask_string() 326 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string() 329 cnt = scnprintf(ptr,len,"%s+0x%lx", in gen_bitmask_string() 332 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string() 335 cnt = scnprintf(ptr,len,"%s+0x%lx", in gen_bitmask_string() 338 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string() 400 unsigned int cnt; in parse_tlist() local [all …]
|
D | pvrusb2-std.c | 127 unsigned int cnt; in pvr2_std_str_to_id() local 133 cnt = 0; in pvr2_std_str_to_id() 134 while ((cnt < bufSize) && (bufPtr[cnt] != '-')) cnt++; in pvr2_std_str_to_id() 135 if (cnt >= bufSize) return 0; // No more characters in pvr2_std_str_to_id() 137 bufPtr,cnt); in pvr2_std_str_to_id() 139 cnt++; in pvr2_std_str_to_id() 140 bufPtr += cnt; in pvr2_std_str_to_id() 141 bufSize -= cnt; in pvr2_std_str_to_id() 146 cnt = 0; in pvr2_std_str_to_id() 147 while (cnt < bufSize) { in pvr2_std_str_to_id() [all …]
|
/drivers/misc/ |
D | tifm_7xx1.c | 40 unsigned int irq_status, cnt; in tifm_7xx1_isr() local 52 for (cnt = 0; cnt < fm->num_sockets; cnt++) { in tifm_7xx1_isr() 53 sock = fm->sockets[cnt]; in tifm_7xx1_isr() 55 if ((irq_status >> cnt) & TIFM_IRQ_FIFOMASK(1)) in tifm_7xx1_isr() 57 if ((irq_status >> cnt) & TIFM_IRQ_CARDMASK(1)) in tifm_7xx1_isr() 81 int cnt; in tifm_7xx1_toggle_sock_power() local 85 for (cnt = 16; cnt <= 256; cnt <<= 1) { in tifm_7xx1_toggle_sock_power() 90 msleep(cnt); in tifm_7xx1_toggle_sock_power() 109 for (cnt = 16; cnt <= 256; cnt <<= 1) { in tifm_7xx1_toggle_sock_power() 114 msleep(cnt); in tifm_7xx1_toggle_sock_power() [all …]
|
/drivers/usb/mon/ |
D | mon_text.c | 101 int cnt, limit; member 411 ptr.cnt = 0; in mon_text_read_t() 417 ptr.cnt += scnprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_t() 421 rp->printf_togo = ptr.cnt; in mon_text_read_t() 450 ptr.cnt = 0; in mon_text_read_u() 465 ptr.cnt += scnprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_u() 469 rp->printf_togo = ptr.cnt; in mon_text_read_u() 523 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_t() 541 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_u() 552 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() [all …]
|
/drivers/staging/rtl8712/ |
D | ieee80211.c | 369 uint cnt; in r8712_get_sec_ie() local 372 cnt = _TIMESTAMP_ + _BEACON_ITERVAL_ + _CAPABILITY_; in r8712_get_sec_ie() 373 while (cnt < in_len) { in r8712_get_sec_ie() 374 authmode = in_ie[cnt]; in r8712_get_sec_ie() 376 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_get_sec_ie() 377 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_sec_ie() 378 *wpa_len = in_ie[cnt + 1] + 2; in r8712_get_sec_ie() 379 cnt += in_ie[cnt + 1] + 2; /*get next */ in r8712_get_sec_ie() 382 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie() 383 in_ie[cnt + 1] + 2); in r8712_get_sec_ie() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | monitor_stats.c | 68 static int fill_monitor_counter_ppcnt_set1(int cnt, u32 *in) in fill_monitor_counter_ppcnt_set1() argument 74 ppcnt_cnt++, cnt++) { in fill_monitor_counter_ppcnt_set1() 76 monitor_counter[cnt].type, in fill_monitor_counter_ppcnt_set1() 79 monitor_counter[cnt].counter, in fill_monitor_counter_ppcnt_set1() 85 static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) in fill_monitor_counter_q_counter_set1() argument 88 monitor_counter[cnt].type, in fill_monitor_counter_q_counter_set1() 91 monitor_counter[cnt].counter, in fill_monitor_counter_q_counter_set1() 94 monitor_counter[cnt].counter_group_id, in fill_monitor_counter_q_counter_set1() 109 int cnt = 0; in mlx5e_set_monitor_counter() local 112 max_num_of_counters >= (NUM_REQ_PPCNT_COUNTER_S1 + cnt)) in mlx5e_set_monitor_counter() [all …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 176 uint cnt; in rtw_get_ie_ex() local 185 cnt = 0; in rtw_get_ie_ex() 187 while (cnt < in_len) { in rtw_get_ie_ex() 188 if (eid == in_ie[cnt] in rtw_get_ie_ex() 189 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex() 190 target_ie = &in_ie[cnt]; in rtw_get_ie_ex() 193 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex() 196 *ielen = in_ie[cnt+1]+2; in rtw_get_ie_ex() 200 cnt += in_ie[cnt+1]+2; /* goto next */ in rtw_get_ie_ex() 567 uint cnt; in rtw_get_wapi_ie() local [all …]
|
/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 119 for (j = 0; j < chunk->cnt; j++) { in usnic_vnic_dump() 139 u16 cnt) in usnic_vnic_res_spec_update() argument 145 spec->resources[i].cnt = cnt; in usnic_vnic_res_spec_update() 166 if (min_spec->resources[i].cnt > in usnic_vnic_res_spec_satisfied() 167 res_spec->resources[i].cnt) in usnic_vnic_res_spec_satisfied() 188 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump() 207 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room() 222 return vnic->chunks[type].cnt; in usnic_vnic_res_cnt() 233 int cnt, void *owner) in usnic_vnic_get_resources() argument 239 if (usnic_vnic_res_free_cnt(vnic, type) < cnt || cnt < 0 || !owner) in usnic_vnic_get_resources() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | dp.c | 29 nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dp_table() argument 47 *cnt = nvbios_rd08(bios, data + 0x03); in nvbios_dp_table() 61 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dpout_entry() argument 63 u16 data = nvbios_dp_table(bios, ver, hdr, cnt, len); in nvbios_dpout_entry() 64 if (data && idx < *cnt) { in nvbios_dpout_entry() 72 *cnt = nvbios_rd08(bios, outp + 0x04); in nvbios_dpout_entry() 78 *cnt = 0; in nvbios_dpout_entry() 92 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpout_parse() argument 95 u16 data = nvbios_dpout_entry(bios, idx, ver, hdr, cnt, len); in nvbios_dpout_parse() 139 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpout_match() argument [all …]
|
D | boost.c | 30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_boostTe() argument 44 *cnt = nvbios_rd08(bios, boost + 5); in nvbios_boostTe() 60 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_boostEe() argument 63 u32 data = nvbios_boostTe(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_boostEe() 64 if (data && idx < *cnt) { in nvbios_boostEe() 67 *cnt = snr; in nvbios_boostEe() 76 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) in nvbios_boostEp() argument 78 u32 data = nvbios_boostEe(bios, idx, ver, hdr, cnt, len); in nvbios_boostEp() 90 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) in nvbios_boostEm() argument 93 while ((data = nvbios_boostEp(bios, idx++, ver, hdr, cnt, len, info))) { in nvbios_boostEm() [all …]
|
D | disp.c | 30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) in nvbios_disp_table() argument 45 *cnt = nvbios_rd08(bios, data + 0x03); in nvbios_disp_table() 61 u8 hdr, cnt; in nvbios_disp_entry() local 62 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); in nvbios_disp_entry() 63 if (data && idx < cnt) in nvbios_disp_entry() 83 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_outp_entry() argument 88 *cnt = nvbios_rd08(bios, info.data + 0x05); in nvbios_outp_entry() 97 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) in nvbios_outp_parse() argument 99 u16 data = nvbios_outp_entry(bios, idx, ver, hdr, cnt, len); in nvbios_outp_parse() 117 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) in nvbios_outp_match() argument [all …]
|
D | M0205.c | 30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_M0205Te() argument 46 *cnt = nvbios_rd08(bios, data + 0x05); in nvbios_M0205Te() 59 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz, in nvbios_M0205Tp() argument 62 u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, snr, ssz); in nvbios_M0205Tp() 76 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_M0205Ee() argument 79 u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_M0205Ee() 80 if (data && idx < *cnt) { in nvbios_M0205Ee() 83 *cnt = snr; in nvbios_M0205Ee() 92 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_M0205Ep() argument 95 u32 data = nvbios_M0205Ee(bios, idx, ver, hdr, cnt, len); in nvbios_M0205Ep() [all …]
|
D | M0209.c | 30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_M0209Te() argument 46 *cnt = nvbios_rd08(bios, data + 0x04); in nvbios_M0209Te() 59 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_M0209Ee() argument 62 u32 data = nvbios_M0209Te(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_M0209Ee() 63 if (data && idx < *cnt) { in nvbios_M0209Ee() 66 *cnt = snr; in nvbios_M0209Ee() 75 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *info) in nvbios_M0209Ep() argument 77 u32 data = nvbios_M0209Ee(bios, idx, ver, hdr, cnt, len); in nvbios_M0209Ep() 98 u8 cnt, len; in nvbios_M0209Se() local 99 u32 data = nvbios_M0209Ee(bios, ent, ver, hdr, &cnt, &len); in nvbios_M0209Se() [all …]
|
D | perf.c | 31 u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_perf_table() argument 43 *cnt = nvbios_rd08(bios, perf + 5); in nvbios_perf_table() 50 *cnt = nvbios_rd08(bios, perf + 2); in nvbios_perf_table() 66 *cnt = nvbios_rd08(bios, perf + 2); in nvbios_perf_table() 80 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_perf_entry() argument 83 u32 perf = nvbios_perf_table(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_perf_entry() 84 if (perf && idx < *cnt) { in nvbios_perf_entry() 87 *cnt = snr; in nvbios_perf_entry() 96 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_perfE *info) in nvbios_perfEp() argument 98 u32 perf = nvbios_perf_entry(bios, idx, ver, hdr, cnt, len); in nvbios_perfEp() [all …]
|
/drivers/staging/rtl8723bs/hal/ |
D | hal_com.c | 41 size_t cnt = 0; in dump_chip_info() local 43 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "Chip Version Info: CHIP_8723B_%s_", in dump_chip_info() 47 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "TSMC_"); in dump_chip_info() 49 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "UMC_"); in dump_chip_info() 51 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "SMIC_"); in dump_chip_info() 54 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "A_CUT_"); in dump_chip_info() 56 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "B_CUT_"); in dump_chip_info() 58 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "C_CUT_"); in dump_chip_info() 60 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "D_CUT_"); in dump_chip_info() 62 cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "E_CUT_"); in dump_chip_info() [all …]
|
D | sdio_ops.c | 198 static s32 sdio_readN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) in sdio_readN() argument 219 return sd_cmd52_read(intfhdl, ftaddr, cnt, buf); in sdio_readN() 224 err = sd_read(intfhdl, ftaddr, cnt, buf); in sdio_readN() 230 n = cnt + shift; in sdio_readN() 237 memcpy(buf, tmpbuf + shift, cnt); in sdio_readN() 302 static s32 sdio_writeN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) in sdio_writeN() argument 323 return sd_cmd52_write(intfhdl, ftaddr, cnt, buf); in sdio_writeN() 327 err = sd_write(intfhdl, ftaddr, cnt, buf); in sdio_writeN() 333 n = cnt + shift; in sdio_writeN() 342 memcpy(tmpbuf + shift, buf, cnt); in sdio_writeN() [all …]
|
/drivers/scsi/qla2xxx/ |
D | qla_dbg.c | 325 uint32_t cnt; in qla24xx_soft_reset() local 335 for (cnt = 0; cnt < 30000; cnt++) { in qla24xx_soft_reset() 351 for (cnt = 0; cnt < 30000; cnt++) { in qla24xx_soft_reset() 364 for (cnt = 10000; rd_reg_word(®->mailbox0) != 0 && in qla24xx_soft_reset() 365 rval == QLA_SUCCESS; cnt--) { in qla24xx_soft_reset() 366 if (cnt) in qla24xx_soft_reset() 382 uint32_t cnt, stat, timer, words, idx; in qla2xxx_dump_ram() local 395 for (cnt = 0; cnt < ram_words && rval == QLA_SUCCESS; in qla2xxx_dump_ram() 396 cnt += words, addr += words) { in qla2xxx_dump_ram() 397 if (cnt + words > ram_words) in qla2xxx_dump_ram() [all …]
|
/drivers/input/serio/ |
D | ps2-gpio.c | 82 unsigned char cnt; member 86 unsigned char cnt; member 164 unsigned char byte, cnt; in ps2_gpio_irq_rx() local 170 cnt = drvdata->rx.cnt; in ps2_gpio_irq_rx() 183 if (us_delta > PS2_IRQ_MAX_INTERVAL_US && cnt) { in ps2_gpio_irq_rx() 200 switch (cnt) { in ps2_gpio_irq_rx() 218 byte |= (data << (cnt - 1)); in ps2_gpio_irq_rx() 250 cnt = byte = 0; in ps2_gpio_irq_rx() 258 cnt++; in ps2_gpio_irq_rx() 262 cnt = byte = 0; in ps2_gpio_irq_rx() [all …]
|
/drivers/pci/ |
D | proc.c | 33 unsigned int cnt, size; in proc_bus_pci_read() local 54 cnt = nbytes; in proc_bus_pci_read() 56 if (!access_ok(buf, cnt)) in proc_bus_pci_read() 61 if ((pos & 1) && cnt) { in proc_bus_pci_read() 67 cnt--; in proc_bus_pci_read() 70 if ((pos & 3) && cnt > 2) { in proc_bus_pci_read() 76 cnt -= 2; in proc_bus_pci_read() 79 while (cnt >= 4) { in proc_bus_pci_read() 85 cnt -= 4; in proc_bus_pci_read() 89 if (cnt >= 2) { in proc_bus_pci_read() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 1475 int i, aggr0, aggr1, cnt; in mt7915_mac_update_stats() local 1478 cnt = mt76_rr(dev, MT_MIB_SDR3(phy->band_idx)); in mt7915_mac_update_stats() 1480 FIELD_GET(MT_MIB_SDR3_FCS_ERR_MASK, cnt) : in mt7915_mac_update_stats() 1481 FIELD_GET(MT_MIB_SDR3_FCS_ERR_MASK_MT7916, cnt); in mt7915_mac_update_stats() 1483 cnt = mt76_rr(dev, MT_MIB_SDR4(phy->band_idx)); in mt7915_mac_update_stats() 1484 mib->rx_fifo_full_cnt += FIELD_GET(MT_MIB_SDR4_RX_FIFO_FULL_MASK, cnt); in mt7915_mac_update_stats() 1486 cnt = mt76_rr(dev, MT_MIB_SDR5(phy->band_idx)); in mt7915_mac_update_stats() 1487 mib->rx_mpdu_cnt += cnt; in mt7915_mac_update_stats() 1489 cnt = mt76_rr(dev, MT_MIB_SDR6(phy->band_idx)); in mt7915_mac_update_stats() 1490 mib->channel_idle_cnt += FIELD_GET(MT_MIB_SDR6_CHANNEL_IDL_CNT_MASK, cnt); in mt7915_mac_update_stats() [all …]
|
/drivers/memstick/host/ |
D | jmb38x_ms.c | 637 int cnt; in jmb38x_ms_reset() local 643 for (cnt = 0; cnt < 20; ++cnt) { in jmb38x_ms_reset() 657 for (cnt = 0; cnt < 20; ++cnt) { in jmb38x_ms_reset() 800 int cnt; in jmb38x_ms_suspend() local 802 for (cnt = 0; cnt < jm->host_cnt; ++cnt) { in jmb38x_ms_suspend() 803 if (!jm->hosts[cnt]) in jmb38x_ms_suspend() 805 memstick_suspend_host(jm->hosts[cnt]); in jmb38x_ms_suspend() 832 int cnt, rc = 0; in jmb38x_ms_count_slots() local 834 for (cnt = 0; cnt < PCI_STD_NUM_BARS; ++cnt) { in jmb38x_ms_count_slots() 835 if (!(IORESOURCE_MEM & pci_resource_flags(pdev, cnt))) in jmb38x_ms_count_slots() [all …]
|
/drivers/char/tpm/eventlog/ |
D | common.c | 106 unsigned int cnt; in tpm_bios_log_setup() local 118 cnt = 0; in tpm_bios_log_setup() 119 chip->bios_dir[cnt] = securityfs_create_dir(name, NULL); in tpm_bios_log_setup() 123 if (IS_ERR(chip->bios_dir[cnt])) in tpm_bios_log_setup() 125 cnt++; in tpm_bios_log_setup() 136 chip->bios_dir[cnt] = in tpm_bios_log_setup() 141 if (IS_ERR(chip->bios_dir[cnt])) in tpm_bios_log_setup() 143 cnt++; in tpm_bios_log_setup() 151 chip->bios_dir[cnt] = in tpm_bios_log_setup() 156 if (IS_ERR(chip->bios_dir[cnt])) in tpm_bios_log_setup() [all …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | sdio_ops_linux.c | 33 s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) in _sd_cmd52_read() argument 51 for (i = 0; i < cnt; i++) { in _sd_cmd52_read() 64 s32 sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) in sd_cmd52_read() argument 86 err = _sd_cmd52_read(pintfhdl, addr, cnt, pdata); in sd_cmd52_read() 97 s32 _sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) in _sd_cmd52_write() argument 115 for (i = 0; i < cnt; i++) { in _sd_cmd52_write() 128 s32 sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) in sd_cmd52_write() argument 150 err = _sd_cmd52_write(pintfhdl, addr, cnt, pdata); in sd_cmd52_write() 328 s32 _sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata) in _sd_read() argument 346 if (unlikely((cnt == 1) || (cnt == 2))) { in _sd_read() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 472 uint cnt; in rtw_get_sec_ie() local 476 cnt = (_TIMESTAMP_ + _BEACON_ITERVAL_ + _CAPABILITY_); in rtw_get_sec_ie() 478 while (cnt < in_len) { in rtw_get_sec_ie() 479 authmode = in_ie[cnt]; in rtw_get_sec_ie() 481 if ((authmode == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in rtw_get_sec_ie() 483 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie() 485 *wpa_len = in_ie[cnt + 1] + 2; in rtw_get_sec_ie() 486 cnt += in_ie[cnt + 1] + 2; /* get next */ in rtw_get_sec_ie() 490 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie() 492 *rsn_len = in_ie[cnt + 1] + 2; in rtw_get_sec_ie() [all …]
|
/drivers/block/ |
D | amiflop.c | 569 int cnt; in fd_seek() local 590 cnt = unit[drive].track/2 - track/2; in fd_seek() 595 if (cnt < 0) { in fd_seek() 596 cnt = - cnt; in fd_seek() 603 if (cnt == 0) { in fd_seek() 615 } while (--cnt != 0); in fd_seek() 915 int cnt, to_cnt = 0; in encode_block() local 919 for (cnt = 0; cnt < len / 4; cnt++) { in encode_block() 920 data = src[cnt] >> 1; in encode_block() 925 for (cnt = 0; cnt < len / 4; cnt++) { in encode_block() [all …]
|