/linux-master/drivers/infiniband/core/ |
H A D | uverbs_std_types_device.c | 70 u64 max_count = out_len / sizeof(u32); local 89 if (count >= max_count)
|
/linux-master/drivers/tty/serial/ |
H A D | 21285.c | 120 unsigned int status, rxs, max_count = 256; local 124 while (!(status & 0x10) && max_count--) {
|
H A D | amba-pl010.c | 115 unsigned int status, rsr, max_count = 256; local 119 while (UART_RX_DATA(status) && max_count--) {
|
/linux-master/drivers/watchdog/ |
H A D | wdat_wdt.c | 340 if (tbl->min_count > tbl->max_count) 345 wdat->wdd.max_timeout = wdat->period * tbl->max_count / 1000;
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_nic.h | 115 >= (oct->instr_queue[q_no]->max_count - 2));
|
H A D | cn23xx_pf_device.c | 597 octeon_write_csr(oct, CN23XX_SLI_IQ_SIZE(iq_no), iq->max_count); 640 octeon_write_csr(oct, CN23XX_SLI_OQ_SIZE(oq_no), droq->max_count); 1096 iq->max_count;
|
H A D | octeon_device.c | 1287 return oct->instr_queue[q_no]->max_count; 1297 return oct->droq[q_no]->max_count;
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_cxt.h | 298 u32 max_count; member in struct:qed_cid_acquired_map
|
H A D | qed_cxt.c | 1041 p_mngr->acquired[type].max_count = 0; 1046 p_mngr->acquired_vf[type][vf].max_count = 0; 1065 p_map->max_count = cid_count; 1070 type, p_map->start_cid, p_map->max_count); 1223 bitmap_zero(p_map->cid_map, p_map->max_count); 1231 bitmap_zero(p_map->cid_map, p_map->max_count); 1825 rel_cid = find_first_zero_bit(p_map->cid_map, p_map->max_count); 1827 if (rel_cid >= p_map->max_count) { 1868 cid < (*pp_map)->start_cid + (*pp_map)->max_count)
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_cn9k_pf.c | 288 iq->max_count); 342 oq->max_count); 665 writel(oct->oq[i]->max_count, oct->oq[i]->pkts_credit_reg); 733 new_idx = (iq->octep_read_index + last_done) % iq->max_count;
|
H A D | octep_cnxk_pf.c | 308 iq->max_count); 362 oq->max_count); 690 writel(oct->oq[i]->max_count, oct->oq[i]->pkts_credit_reg); 756 new_idx = (iq->octep_read_index + last_done) % iq->max_count;
|
H A D | octep_main.h | 55 (iq_)->max_count - IQ_INSTR_PENDING(iq_); \
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_main.h | 40 (iq_)->max_count - IQ_INSTR_PENDING(iq_); \
|
/linux-master/fs/nilfs2/ |
H A D | the_nilfs.c | 414 u64 max_count = U64_MAX; local 416 max_count = div64_ul(max_count, nilfs->ns_blocks_per_segment); 417 return min_t(u64, max_count, ULONG_MAX);
|
/linux-master/net/ipv6/ |
H A D | exthdrs.c | 116 int max_count) 125 if (unlikely(max_count < 0)) { 127 max_count = -max_count; 169 if (tlv_count > max_count) 114 ip6_parse_tlv(bool hopbyhop, struct sk_buff *skb, int max_count) argument
|
/linux-master/drivers/staging/vt6655/ |
H A D | device_main.c | 1093 int max_count = 0; local 1162 max_count += device_rx_srv(priv, TYPE_RXDMA0); 1165 max_count += device_rx_srv(priv, TYPE_RXDMA1); 1168 max_count += device_tx_srv(priv, TYPE_TXDMA0); 1171 max_count += device_tx_srv(priv, TYPE_AC0DMA); 1189 if (max_count > priv->opts.int_works)
|
/linux-master/drivers/char/tpm/ |
H A D | tpm_i2c_infineon.c | 206 unsigned int sleep_hi, u8 max_count) 234 for (count = 0; count < max_count; count++) { 204 iic_tpm_write_generic(u8 addr, u8 *buffer, size_t len, unsigned int sleep_low, unsigned int sleep_hi, u8 max_count) argument
|
/linux-master/arch/x86/events/intel/ |
H A D | uncore.c | 393 int n, max_count; local 395 max_count = box->pmu->type->num_counters; 397 max_count++; 399 if (box->n_events >= max_count) 417 if (n >= max_count)
|
/linux-master/drivers/media/platform/amphion/ |
H A D | vdec.c | 35 u32 max_count; member in struct:vdec_fs_info 929 vdec->mbi.max_count = ARRAY_SIZE(vdec->mbi.buffer); 940 vdec->dcp.max_count = ARRAY_SIZE(vdec->dcp.buffer); 949 if (fs->req_count > fs->max_count) 950 fs->req_count = fs->max_count;
|
/linux-master/arch/x86/events/ |
H A D | core.c | 1135 int max_count, int n) 1142 if (n >= max_count + cpuc->n_metric) 1163 int n, max_count; local 1165 max_count = num_counters + num_counters_fixed; 1192 if (collect_event(cpuc, leader, max_count, n)) 1204 if (collect_event(cpuc, event, max_count, n)) 1134 collect_event(struct cpu_hw_events *cpuc, struct perf_event *event, int max_count, int n) argument
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_mr.c | 595 int max_count) 606 while (offset < end && npage < max_count) { 613 for (i = 0; i < count && npage < max_count; i++) { 593 mtr_map_region(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, struct hns_roce_buf_region *region, dma_addr_t *pages, int max_count) argument
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 1781 u32 cp, max_count; local 1793 max_count = attr->batch.count; 1794 if (!max_count) 1804 for (cp = 0; cp < max_count; cp++) { 1838 u32 value_size, cp, max_count; local 1852 max_count = attr->batch.count; 1853 if (!max_count) 1869 for (cp = 0; cp < max_count; cp++) { 1905 u32 value_size, cp, max_count; local 1916 max_count [all...] |
/linux-master/drivers/bus/fsl-mc/ |
H A D | fsl-mc-private.h | 563 * @max_count: maximum number of resources in the pool 571 int max_count; member in struct:fsl_mc_resource_pool
|
/linux-master/include/linux/ceph/ |
H A D | messenger.h | 576 int max_count, int *count, char delim);
|
/linux-master/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 369 u8 i, max_count = 0; local 375 if (wl->txq[i].fw.count > max_count) 376 max_count = wl->txq[i].fw.count; 379 ratio[i] = max_count - wl->txq[i].fw.count;
|