Home
last modified time | relevance | path

Searched refs:end_ptr (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/
Ddrm_modes.c1390 static int drm_mode_parse_cmdline_bpp(const char *str, char **end_ptr, in drm_mode_parse_cmdline_bpp() argument
1399 bpp = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_bpp()
1400 if (*end_ptr == str) in drm_mode_parse_cmdline_bpp()
1409 static int drm_mode_parse_cmdline_refresh(const char *str, char **end_ptr, in drm_mode_parse_cmdline_refresh() argument
1418 refresh = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_refresh()
1419 if (*end_ptr == str) in drm_mode_parse_cmdline_refresh()
1488 char *end_ptr; in drm_mode_parse_cmdline_res_mode() local
1490 xres = simple_strtol(str, &end_ptr, 10); in drm_mode_parse_cmdline_res_mode()
1491 if (end_ptr == str) in drm_mode_parse_cmdline_res_mode()
1494 if (end_ptr[0] != 'x') in drm_mode_parse_cmdline_res_mode()
[all …]
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h579 unsigned int end_ptr; /* Tx ring end CB ptr */ member
605 unsigned int end_ptr; /* Rx ring end CB ptr */ member
Dbcmgenet.c1686 if (ring->write_ptr == ring->end_ptr) in bcmgenet_get_txcb()
1704 ring->write_ptr = ring->end_ptr; in bcmgenet_put_txcb()
1856 if (likely(ring->clean_ptr < ring->end_ptr)) in __bcmgenet_tx_reclaim()
2328 if (likely(ring->read_ptr < ring->end_ptr)) in bcmgenet_desc_rx()
2580 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_tx_ring() argument
2605 ring->end_ptr = end_ptr - 1; in bcmgenet_init_tx_ring()
2629 bcmgenet_tdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_tx_ring()
2640 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_rx_ring() argument
2660 ring->end_ptr = end_ptr - 1; in bcmgenet_init_rx_ring()
2690 bcmgenet_rdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_rx_ring()
[all …]
/drivers/net/wireless/marvell/mwifiex/
Dsdio.c2715 u8 *dbg_ptr, *end_ptr, dump_num, idx, i, read_reg, doneflag = 0; in mwifiex_sdio_fw_dump() local
2791 end_ptr = dbg_ptr + memory_size; in mwifiex_sdio_fw_dump()
2812 if (dbg_ptr < end_ptr) in mwifiex_sdio_fw_dump()
2839 u8 *dbg_ptr, *end_ptr; in mwifiex_sdio_generic_fw_dump() local
2890 end_ptr = dbg_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
2908 if (dbg_ptr >= end_ptr) { in mwifiex_sdio_generic_fw_dump()
2922 end_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
Dpcie.c2853 u8 *dbg_ptr, *end_ptr, *tmp_ptr, fw_dump_num, dump_num; in mwifiex_pcie_fw_dump() local
2930 end_ptr = dbg_ptr + memory_size; in mwifiex_pcie_fw_dump()
2945 if (dbg_ptr < end_ptr) { in mwifiex_pcie_fw_dump()
2961 end_ptr = entry->mem_ptr + memory_size; in mwifiex_pcie_fw_dump()
/drivers/mmc/host/
Dsdhci-of-esdhc.c998 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/
Dbtmrvl_sdio.c1350 u8 *dbg_ptr, *end_ptr, *fw_dump_data, *fw_dump_ptr; in btmrvl_sdio_coredump() local
1439 end_ptr = dbg_ptr + memory_size; in btmrvl_sdio_coredump()
1458 if (dbg_ptr < end_ptr) in btmrvl_sdio_coredump()