Lines Matching refs:usecs
151 if (!strcmp(token, "tx-custom-low-usecs")) {
152 u32 usecs;
154 if (kstrtou32(p, 0, &usecs) || usecs > 10000000)
156 pin->tx_custom_low_usecs = usecs;
159 if (!strcmp(token, "tx-custom-high-usecs")) {
160 u32 usecs;
162 if (kstrtou32(p, 0, &usecs) || usecs > 10000000)
164 pin->tx_glitch_high_usecs = usecs;
167 if (!strcmp(token, "tx-glitch-low-usecs")) {
168 u32 usecs;
170 if (kstrtou32(p, 0, &usecs) || usecs > 100)
172 pin->tx_glitch_low_usecs = usecs;
175 if (!strcmp(token, "tx-glitch-high-usecs")) {
176 u32 usecs;
178 if (kstrtou32(p, 0, &usecs) || usecs > 100)
180 pin->tx_glitch_high_usecs = usecs;
326 seq_puts(sf, "# tx-custom-low-usecs <usecs> define the 'low' time for the custom pulse\n");
327 seq_puts(sf, "# tx-custom-high-usecs <usecs> define the 'high' time for the custom pulse\n");
329 seq_puts(sf, "# tx-glitch-low-usecs <usecs> define the 'low' time for the glitch pulse\n");
330 seq_puts(sf, "# tx-glitch-high-usecs <usecs> define the 'high' time for the glitch pulse\n");
353 seq_puts(sf, "# <usecs> microseconds (0-10000000, default 1000)\n");
391 seq_printf(sf, "tx-custom-low-usecs %u\n",
394 seq_printf(sf, "tx-custom-high-usecs %u\n",
397 seq_printf(sf, "tx-glitch-low-usecs %u\n",
400 seq_printf(sf, "tx-glitch-high-usecs %u\n",