/linux/drivers/net/wan/ |
H A D | c101.c | 234 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 D | pci200syn.c | 185 sync_serial_settings new_line; in pci200_ioctl() local 205 if (copy_from_user(&new_line, line, size)) in pci200_ioctl() 208 if (new_line.clock_type != CLOCK_EXT && in pci200_ioctl() 209 new_line.clock_type != CLOCK_TXFROMRX && in pci200_ioctl() 210 new_line.clock_type != CLOCK_INT && in pci200_ioctl() 211 new_line.clock_type != CLOCK_TXINT) in pci200_ioctl() 214 if (new_line.loopback != 0 && new_line.loopback != 1) in pci200_ioctl() 217 memcpy(&port->settings, &new_line, size); /* Update settings */ in pci200_ioctl()
|
H A D | pc300too.c | 192 sync_serial_settings new_line; in pc300_ioctl() local 228 if (copy_from_user(&new_line, line, size)) in pc300_ioctl() 231 if (new_line.clock_type != CLOCK_EXT && in pc300_ioctl() 232 new_line.clock_type != CLOCK_TXFROMRX && in pc300_ioctl() 233 new_line.clock_type != CLOCK_INT && in pc300_ioctl() 234 new_line.clock_type != CLOCK_TXINT) in pc300_ioctl() 237 if (new_line.loopback != 0 && new_line.loopback != 1) in pc300_ioctl() 240 memcpy(&port->settings, &new_line, size); /* Update settings */ in pc300_ioctl()
|
H A D | n2.c | 245 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 D | ixp4xx_hss.c | 1310 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 D | disasm.c | 2004 char *new_line; in expand_tabs() local 2020 new_line = malloc(new_storage_len); in expand_tabs() 2021 if (new_line == NULL) { in expand_tabs() 2034 memcpy(&new_line[dst], &line[src], len); in expand_tabs() 2036 new_line[dst++] = ' '; in expand_tabs() 2038 new_line[dst++] = ' '; in expand_tabs() 2046 memcpy(&new_line[dst], &line[src], len); in expand_tabs() 2048 new_line[dst] = '\0'; in expand_tabs() 2051 *storage = new_line; in expand_tabs() 2053 return new_line; in expand_tabs()
|
H A D | stat.h | 170 new_line_t new_line; member
|
H A D | stat-shadow.c | 328 out->new_line(config, ctxp); in print_instructions() 658 out->new_line(config, ctxp); in perf_stat__print_shadow_stats_metricgroup()
|
H A D | stat-display.c | 824 out.new_line = nl; in printout() 1221 .new_line = new_line_metric, in print_metric_headers()
|
/linux/drivers/tty/ |
H A D | synclink_gt.c | 1524 sync_serial_settings new_line; in hdlcdev_ioctl() local 1535 memset(&new_line, 0, sizeof(new_line)); in hdlcdev_ioctl() 1556 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_ioctl() 1559 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl() 1560 new_line.loopback = info->params.loopback ? 1:0; in hdlcdev_ioctl() 1562 if (copy_to_user(line, &new_line, size)) in hdlcdev_ioctl() 1570 if (copy_from_user(&new_line, line, size)) in hdlcdev_ioctl() 1573 switch (new_line.clock_type) in hdlcdev_ioctl() 1587 if (new_line.loopback != 0 && new_line.loopback != 1) in hdlcdev_ioctl() 1596 info->params.loopback = new_line.loopback; in hdlcdev_ioctl() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_htt_stats.c | 21 const char *new_line = newline; \ 34 "%s", new_line); \
|
/linux/tools/perf/ |
H A D | builtin-script.c | 2176 .new_line = script_new_line, in perf_sample__fprint_metric()
|