Lines Matching refs:str
6049 char *nxt, *str;
6055 str = txselect_list;
6058 deflt = simple_strtoul(str, &nxt, 0);
6067 str = ++nxt;
6068 unit = simple_strtoul(str, &nxt, 0);
6069 if (nxt == str || !*nxt || *nxt != ',') {
6074 str = ++nxt;
6075 port = simple_strtoul(str, &nxt, 0);
6076 if (nxt == str || *nxt != '=') {
6081 str = ++nxt;
6082 val = simple_strtoul(str, &nxt, 0);
6083 if (nxt == str) {
6093 str = ++nxt;
6094 h1 = (u32)simple_strtoul(str, &nxt, 0);
6095 if (nxt == str)
6135 static int setup_txselect(const char *str, const struct kernel_param *kp)
6141 if (strlen(str) >= ARRAY_SIZE(txselect_list)) {
6145 val = simple_strtoul(str, &n, 0);
6146 if (n == str || val >= (TXDDS_TABLE_SZ + TXDDS_EXTRA_SZ +
6152 strncpy(txselect_list, str, ARRAY_SIZE(txselect_list) - 1);