Lines Matching refs:str
11 ssize_t of_modalias(const struct device_node *np, char *str, ssize_t len) in of_modalias() argument
24 if ((len > 0 && !str) || len < 0) in of_modalias()
29 csize = snprintf(str, len, "of:N%pOFn%c%s", np, 'T', in of_modalias()
35 str += csize; in of_modalias()
38 csize = snprintf(str, len, "C%s", compat); in of_modalias()
42 for (c = str; c; ) { in of_modalias()
48 str += csize; in of_modalias()
56 char *str; in of_request_module() local
70 str = kmalloc(size, GFP_KERNEL); in of_request_module()
71 if (!str) in of_request_module()
74 of_modalias(np, str, size); in of_request_module()
75 str[size - 1] = '\0'; in of_request_module()
76 ret = request_module(str); in of_request_module()
77 kfree(str); in of_request_module()