Home
last modified time | relevance | path

Searched refs:new_line (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/wan/
H A Dc101.c234 sync_serial_settings new_line; in c101_ioctl() local
253 if (copy_from_user(&new_line, line, size)) in c101_ioctl()
256 if (new_line.clock_type != CLOCK_EXT && in c101_ioctl()
257 new_line.clock_type != CLOCK_TXFROMRX && in c101_ioctl()
258 new_line.clock_type != CLOCK_INT && in c101_ioctl()
259 new_line.clock_type != CLOCK_TXINT) in c101_ioctl()
262 if (new_line.loopback != 0 && new_line.loopback != 1) in c101_ioctl()
265 memcpy(&port->settings, &new_line, size); /* Update settings */ in c101_ioctl()
H A Dn2.c245 sync_serial_settings new_line; in n2_ioctl() local
264 if (copy_from_user(&new_line, line, size)) in n2_ioctl()
267 if (new_line.clock_type != CLOCK_EXT && in n2_ioctl()
268 new_line.clock_type != CLOCK_TXFROMRX && in n2_ioctl()
269 new_line.clock_type != CLOCK_INT && in n2_ioctl()
270 new_line.clock_type != CLOCK_TXINT) in n2_ioctl()
273 if (new_line.loopback != 0 && new_line.loopback != 1) in n2_ioctl()
276 memcpy(&port->settings, &new_line, size); /* Update settings */ in n2_ioctl()
H A Dixp4xx_hss.c1310 sync_serial_settings new_line; in hss_hdlc_ioctl() local
1323 memset(&new_line, 0, sizeof(new_line)); in hss_hdlc_ioctl()
1324 new_line.clock_type = port->clock_type; in hss_hdlc_ioctl()
1325 new_line.clock_rate = port->clock_rate; in hss_hdlc_ioctl()
1326 new_line.loopback = port->loopback; in hss_hdlc_ioctl()
1327 if (copy_to_user(line, &new_line, size)) in hss_hdlc_ioctl()
1335 if (copy_from_user(&new_line, line, size)) in hss_hdlc_ioctl()
1338 clk = new_line.clock_type; in hss_hdlc_ioctl()
1344 if (new_line.loopback != 0 && new_line.loopback != 1) in hss_hdlc_ioctl()
1350 new_line.clock_rate, in hss_hdlc_ioctl()
[all …]
/linux/tools/perf/util/
H A Ddisasm.c1329 char *new_line; in expand_tabs() local
1345 new_line = malloc(new_storage_len); in expand_tabs()
1346 if (new_line == NULL) { in expand_tabs()
1359 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
1361 new_line[dst++] = ' '; in expand_tabs()
1363 new_line[dst++] = ' '; in expand_tabs()
1371 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
1373 new_line[dst] = '\0'; in expand_tabs()
1376 *storage = new_line; in expand_tabs()
1378 return new_line; in expand_tabs()
[all...]
H A Dstat-shadow.c320 if ((*num)++ > 0 && out->new_line)
321 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
H A Dstat.h158 new_line_t new_line;
157 new_line_t new_line; global() member
H A Dstat-display.c831 out.new_line = nl; in printout()
1218 .new_line = NULL, in print_metric_headers()
/linux/tools/perf/
H A Dbuiltin-script.c2298 .new_line = script_new_line, in perf_sample__fprint_metric()