Searched refs:end_ptr (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/ |
D | drm_modes.c | 1459 static int drm_mode_parse_cmdline_bpp(const char *str, char **end_ptr, in drm_mode_parse_cmdline_bpp() argument 1468 bpp = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_bpp() 1469 if (*end_ptr == str) in drm_mode_parse_cmdline_bpp() 1478 static int drm_mode_parse_cmdline_refresh(const char *str, char **end_ptr, in drm_mode_parse_cmdline_refresh() argument 1487 refresh = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_refresh() 1488 if (*end_ptr == str) in drm_mode_parse_cmdline_refresh() 1557 char *end_ptr; in drm_mode_parse_cmdline_res_mode() local 1559 xres = simple_strtol(str, &end_ptr, 10); in drm_mode_parse_cmdline_res_mode() 1560 if (end_ptr == str) in drm_mode_parse_cmdline_res_mode() 1563 if (end_ptr[0] != 'x') in drm_mode_parse_cmdline_res_mode() [all …]
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 525 unsigned int end_ptr; /* Tx ring end CB ptr */ member 551 unsigned int end_ptr; /* Rx ring end CB ptr */ member
|
D | bcmgenet.c | 1734 if (ring->write_ptr == ring->end_ptr) in bcmgenet_get_txcb() 1752 ring->write_ptr = ring->end_ptr; in bcmgenet_put_txcb() 1904 if (likely(ring->clean_ptr < ring->end_ptr)) in __bcmgenet_tx_reclaim() 2376 if (likely(ring->read_ptr < ring->end_ptr)) in bcmgenet_desc_rx() 2628 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_tx_ring() argument 2653 ring->end_ptr = end_ptr - 1; in bcmgenet_init_tx_ring() 2677 bcmgenet_tdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_tx_ring() 2687 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_rx_ring() argument 2707 ring->end_ptr = end_ptr - 1; in bcmgenet_init_rx_ring() 2736 bcmgenet_rdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_rx_ring() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sdio.c | 2762 u8 *dbg_ptr, *end_ptr, dump_num, idx, i, read_reg, doneflag = 0; in mwifiex_sdio_fw_dump() local 2838 end_ptr = dbg_ptr + memory_size; in mwifiex_sdio_fw_dump() 2859 if (dbg_ptr < end_ptr) in mwifiex_sdio_fw_dump() 2886 u8 *dbg_ptr, *end_ptr; in mwifiex_sdio_generic_fw_dump() local 2937 end_ptr = dbg_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump() 2955 if (dbg_ptr >= end_ptr) { in mwifiex_sdio_generic_fw_dump() 2969 end_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
|
D | pcie.c | 2851 u8 *dbg_ptr, *end_ptr, *tmp_ptr, fw_dump_num, dump_num; in mwifiex_pcie_fw_dump() local 2928 end_ptr = dbg_ptr + memory_size; in mwifiex_pcie_fw_dump() 2943 if (dbg_ptr < end_ptr) { in mwifiex_pcie_fw_dump() 2959 end_ptr = entry->mem_ptr + memory_size; in mwifiex_pcie_fw_dump()
|
/drivers/mmc/host/ |
D | sdhci-of-esdhc.c | 998 u8 start_ptr, end_ptr; in esdhc_prepare_sw_tuning() local 1006 esdhc_tuning_window_ptr(host, &start_ptr, &end_ptr); in esdhc_prepare_sw_tuning() 1019 if (abs(start_ptr - end_ptr) > (4 * esdhc->div_ratio + 2)) { in esdhc_prepare_sw_tuning()
|
/drivers/bluetooth/ |
D | btmrvl_sdio.c | 1337 u8 *dbg_ptr, *end_ptr, *fw_dump_data, *fw_dump_ptr; in btmrvl_sdio_coredump() local 1427 end_ptr = dbg_ptr + memory_size; in btmrvl_sdio_coredump() 1446 if (dbg_ptr < end_ptr) in btmrvl_sdio_coredump()
|
/drivers/net/ethernet/microsoft/mana/ |
D | gdma_main.c | 1031 u8 *base_ptr, *end_ptr; in mana_gd_write_sgl() local 1035 end_ptr = base_ptr + wq->queue_size; in mana_gd_write_sgl() 1036 size_to_end = (u32)(end_ptr - wqe_ptr); in mana_gd_write_sgl()
|