Home
last modified time | relevance | path

Searched refs:new_line (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wan/
H A Dc101.c225 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()
H A Dpci200syn.c185 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()
H A Dn2.c249 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()
H A Dpc300too.c194 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()
H A Dixp4xx_hss.c1249 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 in hss_hdlc_ioctl()
[all...]
/kernel/linux/linux-6.6/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 Dpc300too.c192 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 Dpci200syn.c185 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 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 in hss_hdlc_ioctl()
[all...]
/kernel/linux/linux-5.10/drivers/char/pcmcia/
H A Dsynclink_cs.c4071 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, siz in hdlcdev_ioctl()
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dsynclink.c7610 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 in hdlcdev_ioctl()
[all...]
H A Dsynclinkmp.c1711 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 in hdlcdev_ioctl()
[all...]
H A Dsynclink_gt.c1531 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 in hdlcdev_ioctl()
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dsynclink_gt.c1523 sync_serial_settings new_line; in hdlcdev_ioctl() local
1534 memset(&new_line, 0, sizeof(new_line)); in hdlcdev_ioctl()
1551 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_TXCPIN): new_line.clock_type = CLOCK_EXT; break; in hdlcdev_ioctl()
1552 case (HDLC_FLAG_RXC_BRG | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_INT; break; in hdlcdev_ioctl()
1553 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_BRG): new_line.clock_type = CLOCK_TXINT; break; in hdlcdev_ioctl()
1554 case (HDLC_FLAG_RXC_RXCPIN | HDLC_FLAG_TXC_RXCPIN): new_line.clock_type = CLOCK_TXFROMRX; break; in hdlcdev_ioctl()
1555 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_ioctl()
1558 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
1559 new_line in hdlcdev_ioctl()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dstat.h203 new_line_t new_line; member
H A Dannotate.c1875 char *new_line; in expand_tabs() local
1891 new_line = malloc(new_storage_len); in expand_tabs()
1892 if (new_line == NULL) { in expand_tabs()
1905 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
1907 new_line[dst++] = ' '; in expand_tabs()
1909 new_line[dst++] = ' '; in expand_tabs()
1917 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
1919 new_line[dst] = '\0'; in expand_tabs()
1922 *storage = new_line; in expand_tabs()
1924 return new_line; in expand_tabs()
[all...]
H A Dstat-display.c478 out.new_line = nl; in printout()
945 out.new_line = new_line_metric; in print_metric_headers()
H A Dstat-shadow.c956 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
1193 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dstat.h169 new_line_t new_line; member
H A Dannotate.c1998 char *new_line; in expand_tabs() local
2014 new_line = malloc(new_storage_len); in expand_tabs()
2015 if (new_line == NULL) { in expand_tabs()
2028 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
2030 new_line[dst++] = ' '; in expand_tabs()
2032 new_line[dst++] = ' '; in expand_tabs()
2040 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
2042 new_line[dst] = '\0'; in expand_tabs()
2045 *storage = new_line; in expand_tabs()
2047 return new_line; in expand_tabs()
[all...]
H A Dstat-shadow.c321 out->new_line(config, ctxp); in print_instructions()
627 out->new_line(config, ctxp); in perf_stat__print_shadow_stats_metricgroup()
H A Dstat-display.c810 out.new_line = nl; in printout()
1191 .new_line = new_line_metric, in print_metric_headers()
/kernel/linux/common_modules/tzdriver/tlogger/
H A Dtlogger.c110 unsigned char new_line; /* '\n' char, easy viewing log in bbox.bin file */ member
812 item->new_line = (unsigned char)'\n'; in log_pool_append()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-script.c1836 .new_line = script_new_line, in perf_sample__fprint_metric()

Completed in 53 milliseconds

12