Home
last modified time | relevance | path

Searched refs:max_count (Results 76 - 100 of 232) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dvr41xx_siu.c301 int max_count = RX_MAX_COUNT; in receive_chars() local
347 } while ((lsr & UART_LSR_DR) && (max_count-- > 0)); in receive_chars()
376 int max_count = TX_MAX_COUNT; in transmit_chars() local
398 } while (max_count-- > 0); in transmit_chars()
H A Dmilbeaut_usio.c155 int max_count = 2; in mlb_usio_rx_chars() local
157 while (max_count--) { in mlb_usio_rx_chars()
199 max_count = readw(port->membase + MLB_USIO_REG_FBYTE) >> 8; in mlb_usio_rx_chars()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_cn9k_pf.c287 iq->max_count); in octep_setup_iq_regs_cn93_pf()
341 oq->max_count); in octep_setup_oq_regs_cn93_pf()
554 writel(oct->oq[i]->max_count, oct->oq[i]->pkts_credit_reg); in octep_reinit_regs_cn93_pf()
604 new_idx = (iq->octep_read_index + last_done) % iq->max_count; in octep_update_iq_read_index_cn93_pf()
H A Doctep_tx.h202 u32 max_count; member
/third_party/python/Lib/email/
H A Dmessage.py426 max_count = self.policy.header_max_count(name)
427 if max_count:
433 if found >= max_count:
435 "in a message".format(max_count, name))
H A Dpolicy.py102 The implementation for this class returns the max_count attribute from
106 return self.header_factory[name].max_count
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddbtest.c940 info.max_count = ACPI_UINT32_MAX; in acpi_db_evaluate_all_predefined_names()
943 info.max_count = strtoul(count_arg, NULL, 0); in acpi_db_evaluate_all_predefined_names()
1099 if (info->count >= info->max_count) { in acpi_db_evaluate_one_predefined_name()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dperf_event.c340 static int collect_events(struct perf_event *group, int max_count, in collect_events() argument
348 if (n >= max_count) in collect_events()
356 if (n >= max_count) in collect_events()
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dperf_event.c340 static int collect_events(struct perf_event *group, int max_count, in collect_events() argument
348 if (n >= max_count) in collect_events()
356 if (n >= max_count) in collect_events()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Dcn66xx_device.c273 octeon_write_csr(oct, CN6XXX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn6xxx_setup_iq_regs()
308 octeon_write_csr(oct, CN6XXX_SLI_OQ_SIZE(oq_no), droq->max_count); in lio_cn6xxx_setup_oq_regs()
465 new_idx %= iq->max_count; in lio_cn6xxx_update_read_index()
H A Dcn23xx_vf_device.c220 octeon_write_csr(oct, CN23XX_VF_SLI_IQ_SIZE(iq_no), iq->max_count); in cn23xx_setup_vf_iq_regs()
251 octeon_write_csr(oct, CN23XX_VF_SLI_OQ_SIZE(oq_no), droq->max_count); in cn23xx_setup_vf_oq_regs()
539 iq->max_count; in cn23xx_update_read_index()
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddbtest.c940 info.max_count = ACPI_UINT32_MAX; in acpi_db_evaluate_all_predefined_names()
943 info.max_count = strtoul(count_arg, NULL, 0); in acpi_db_evaluate_all_predefined_names()
1099 if (info->count >= info->max_count) { in acpi_db_evaluate_one_predefined_name()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_mem.c104 pool->max_count = 0; in lpfc_mem_alloc()
111 pool->max_count++; in lpfc_mem_alloc()
405 * it is below its max_count, frees the mbuf otherwise.
417 if (pool->current_count < pool->max_count) { in __lpfc_mbuf_free()
434 * it is below its max_count, frees the mbuf otherwise.
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dmilbeaut_usio.c153 int max_count = 2; in mlb_usio_rx_chars() local
155 while (max_count--) { in mlb_usio_rx_chars()
197 max_count = readw(port->membase + MLB_USIO_REG_FBYTE) >> 8; in mlb_usio_rx_chars()
H A Dbcm63xx_uart.c230 unsigned int max_count; in bcm_uart_do_rx() local
235 max_count = 32; in bcm_uart_do_rx()
295 } while (--max_count); in bcm_uart_do_rx()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Dcn23xx_vf_device.c220 octeon_write_csr(oct, CN23XX_VF_SLI_IQ_SIZE(iq_no), iq->max_count); in cn23xx_setup_vf_iq_regs()
251 octeon_write_csr(oct, CN23XX_VF_SLI_OQ_SIZE(oq_no), droq->max_count); in cn23xx_setup_vf_oq_regs()
539 iq->max_count; in cn23xx_update_read_index()
H A Dcn66xx_device.c273 octeon_write_csr(oct, CN6XXX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn6xxx_setup_iq_regs()
308 octeon_write_csr(oct, CN6XXX_SLI_OQ_SIZE(oq_no), droq->max_count); in lio_cn6xxx_setup_oq_regs()
465 new_idx %= iq->max_count; in lio_cn6xxx_update_read_index()
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dtape_3590.h162 __u8 max_count; member
/kernel/linux/linux-5.10/security/apparmor/include/
H A Dpolicy_ns.h24 * @max_count: maximum number of profiles that can be in this namespace
30 int max_count; member
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dtape_3590.h162 __u8 max_count; member
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dpolicy_ns.h24 * @max_count: maximum number of profiles that can be in this namespace
30 int max_count; member
/third_party/backends/backend/
H A Dhp5590_cmds.h161 unsigned int *max_count);
/kernel/linux/linux-5.10/net/ipv6/
H A Dexthdrs.c116 int max_count) in ip6_parse_tlv()
126 if (unlikely(max_count < 0)) { in ip6_parse_tlv()
128 max_count = -max_count; in ip6_parse_tlv()
173 if (tlv_count > max_count) in ip6_parse_tlv()
114 ip6_parse_tlv(const struct tlvtype_proc *procs, struct sk_buff *skb, int max_count) ip6_parse_tlv() argument
/kernel/liteos_m/kal/cmsis/
H A Dcmsis_liteos2.c1120 osSemaphoreId_t osSemaphoreNew(uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t *attr) in osSemaphoreNew() argument
1127 if ((initial_count > max_count) || (max_count > OS_SEM_COUNTING_MAX_COUNT) || (max_count == 0) || OS_INT_ACTIVE) { in osSemaphoreNew()
1131 if (max_count == 1) { in osSemaphoreNew()
/kernel/linux/linux-6.6/net/ipv6/
H A Dexthdrs.c115 int max_count) in ip6_parse_tlv()
124 if (unlikely(max_count < 0)) { in ip6_parse_tlv()
126 max_count = -max_count; in ip6_parse_tlv()
168 if (tlv_count > max_count) in ip6_parse_tlv()
113 ip6_parse_tlv(bool hopbyhop, struct sk_buff *skb, int max_count) ip6_parse_tlv() argument

Completed in 28 milliseconds

12345678910