/kernel/linux/linux-5.10/drivers/net/wan/ |
D | pci200syn.c | 185 sync_serial_settings new_line; in pci200_ioctl() local 214 if (copy_from_user(&new_line, line, size)) in pci200_ioctl() 217 if (new_line.clock_type != CLOCK_EXT && in pci200_ioctl() 218 new_line.clock_type != CLOCK_TXFROMRX && in pci200_ioctl() 219 new_line.clock_type != CLOCK_INT && in pci200_ioctl() 220 new_line.clock_type != CLOCK_TXINT) in pci200_ioctl() 223 if (new_line.loopback != 0 && new_line.loopback != 1) in pci200_ioctl() 226 memcpy(&port->settings, &new_line, size); /* Update settings */ in pci200_ioctl()
|
D | c101.c | 225 sync_serial_settings new_line; in c101_ioctl() local 258 if (copy_from_user(&new_line, line, size)) in c101_ioctl() 261 if (new_line.clock_type != CLOCK_EXT && in c101_ioctl() 262 new_line.clock_type != CLOCK_TXFROMRX && in c101_ioctl() 263 new_line.clock_type != CLOCK_INT && in c101_ioctl() 264 new_line.clock_type != CLOCK_TXINT) in c101_ioctl() 267 if (new_line.loopback != 0 && new_line.loopback != 1) in c101_ioctl() 270 memcpy(&port->settings, &new_line, size); /* Update settings */ in c101_ioctl()
|
D | pc300too.c | 194 sync_serial_settings new_line; in pc300_ioctl() local 240 if (copy_from_user(&new_line, line, size)) in pc300_ioctl() 243 if (new_line.clock_type != CLOCK_EXT && in pc300_ioctl() 244 new_line.clock_type != CLOCK_TXFROMRX && in pc300_ioctl() 245 new_line.clock_type != CLOCK_INT && in pc300_ioctl() 246 new_line.clock_type != CLOCK_TXINT) in pc300_ioctl() 249 if (new_line.loopback != 0 && new_line.loopback != 1) in pc300_ioctl() 252 memcpy(&port->settings, &new_line, size); /* Update settings */ in pc300_ioctl()
|
D | n2.c | 249 sync_serial_settings new_line; in n2_ioctl() local 277 if (copy_from_user(&new_line, line, size)) in n2_ioctl() 280 if (new_line.clock_type != CLOCK_EXT && in n2_ioctl() 281 new_line.clock_type != CLOCK_TXFROMRX && in n2_ioctl() 282 new_line.clock_type != CLOCK_INT && in n2_ioctl() 283 new_line.clock_type != CLOCK_TXINT) in n2_ioctl() 286 if (new_line.loopback != 0 && new_line.loopback != 1) in n2_ioctl() 289 memcpy(&port->settings, &new_line, size); /* Update settings */ in n2_ioctl()
|
D | ixp4xx_hss.c | 1249 sync_serial_settings new_line; in hss_hdlc_ioctl() local 1265 memset(&new_line, 0, sizeof(new_line)); in hss_hdlc_ioctl() 1266 new_line.clock_type = port->clock_type; in hss_hdlc_ioctl() 1267 new_line.clock_rate = port->clock_rate; in hss_hdlc_ioctl() 1268 new_line.loopback = port->loopback; in hss_hdlc_ioctl() 1269 if (copy_to_user(line, &new_line, size)) in hss_hdlc_ioctl() 1277 if (copy_from_user(&new_line, line, size)) in hss_hdlc_ioctl() 1280 clk = new_line.clock_type; in hss_hdlc_ioctl() 1287 if (new_line.loopback != 0 && new_line.loopback != 1) in hss_hdlc_ioctl() 1293 new_line.clock_rate, in hss_hdlc_ioctl() [all …]
|
/kernel/linux/linux-5.10/drivers/char/pcmcia/ |
D | synclink_cs.c | 4071 sync_serial_settings new_line; in hdlcdev_ioctl() local 4086 memset(&new_line, 0, size); in hdlcdev_ioctl() 4103 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break; in hdlcdev_ioctl() 4104 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break; in hdlcdev_ioctl() 4105 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break; in hdlcdev_ioctl() 4106 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break; in hdlcdev_ioctl() 4107 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_ioctl() 4110 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl() 4111 new_line.loopback = info->params.loopback ? 1:0; in hdlcdev_ioctl() 4113 if (copy_to_user(line, &new_line, size)) in hdlcdev_ioctl() [all …]
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | synclink_gt.c | 1531 sync_serial_settings new_line; in hdlcdev_ioctl() local 1545 memset(&new_line, 0, sizeof(new_line)); in hdlcdev_ioctl() 1562 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break; in hdlcdev_ioctl() 1563 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break; in hdlcdev_ioctl() 1564 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break; in hdlcdev_ioctl() 1565 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break; in hdlcdev_ioctl() 1566 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_ioctl() 1569 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl() 1570 new_line.loopback = info->params.loopback ? 1:0; in hdlcdev_ioctl() 1572 if (copy_to_user(line, &new_line, size)) in hdlcdev_ioctl() [all …]
|
D | synclinkmp.c | 1711 sync_serial_settings new_line; in hdlcdev_ioctl() local 1740 memset(&new_line, 0, sizeof(new_line)); in hdlcdev_ioctl() 1742 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break; in hdlcdev_ioctl() 1743 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break; in hdlcdev_ioctl() 1744 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break; in hdlcdev_ioctl() 1745 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break; in hdlcdev_ioctl() 1746 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_ioctl() 1749 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl() 1750 new_line.loopback = info->params.loopback ? 1:0; in hdlcdev_ioctl() 1752 if (copy_to_user(line, &new_line, size)) in hdlcdev_ioctl() [all …]
|
D | synclink.c | 7610 sync_serial_settings new_line; in hdlcdev_ioctl() local 7639 memset(&new_line, 0, sizeof(new_line)); in hdlcdev_ioctl() 7641 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break; in hdlcdev_ioctl() 7642 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break; in hdlcdev_ioctl() 7643 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break; in hdlcdev_ioctl() 7644 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break; in hdlcdev_ioctl() 7645 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_ioctl() 7648 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl() 7649 new_line.loopback = info->params.loopback ? 1:0; in hdlcdev_ioctl() 7651 if (copy_to_user(line, &new_line, size)) in hdlcdev_ioctl() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | stat.h | 203 new_line_t new_line; member
|
D | annotate.c | 1863 char *new_line; in expand_tabs() local 1879 new_line = malloc(new_storage_len); in expand_tabs() 1880 if (new_line == NULL) { in expand_tabs() 1893 memcpy(&new_line[dst], &line[src], len); in expand_tabs() 1895 new_line[dst++] = ' '; in expand_tabs() 1897 new_line[dst++] = ' '; in expand_tabs() 1905 memcpy(&new_line[dst], &line[src], len); in expand_tabs() 1907 new_line[dst] = '\0'; in expand_tabs() 1910 *storage = new_line; in expand_tabs() 1912 return new_line; in expand_tabs()
|
D | stat-shadow.c | 956 out->new_line(config, ctxp); in perf_stat__print_shadow_stats() 1193 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
|
D | stat-display.c | 478 out.new_line = nl; in printout() 944 out.new_line = new_line_metric; in print_metric_headers()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-script.c | 1837 .new_line = script_new_line, in perf_sample__fprint_metric()
|