Home
last modified time | relevance | path

Searched refs:num_str (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/usb/gadget/
Dconfigfs.c682 char *num_str; in config_desc_make() local
691 num_str = strchr(buf, '.'); in config_desc_make()
692 if (!num_str) { in config_desc_make()
697 *num_str = '\0'; in config_desc_make()
698 num_str++; in config_desc_make()
703 ret = kstrtou8(num_str, 0, &num); in config_desc_make()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c698 u32 i, j, num_str; in bnxt_get_strings() local
704 num_str = NUM_RING_RX_HW_STATS; in bnxt_get_strings()
705 for (j = 0; j < num_str; j++) { in bnxt_get_strings()
712 num_str = NUM_RING_TX_HW_STATS; in bnxt_get_strings()
713 for (j = 0; j < num_str; j++) { in bnxt_get_strings()
719 num_str = bnxt_get_num_tpa_ring_stats(bp); in bnxt_get_strings()
720 if (!num_str || !is_rx_ring(bp, i)) in bnxt_get_strings()
728 for (j = 0; j < num_str; j++) { in bnxt_get_strings()
734 num_str = NUM_RING_RX_SW_STATS; in bnxt_get_strings()
735 for (j = 0; j < num_str; j++) { in bnxt_get_strings()
[all …]
/Linux-v6.1/drivers/usb/gadget/function/
Df_mass_storage.c3276 char *num_str; in fsg_lun_make() local
3280 num_str = strchr(name, '.'); in fsg_lun_make()
3281 if (!num_str) { in fsg_lun_make()
3285 num_str++; in fsg_lun_make()
3287 ret = kstrtou8(num_str, 0, &num); in fsg_lun_make()