Home
last modified time | relevance | path

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

/linux/drivers/net/wan/
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()
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()
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()
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()
A Dixp4xx_hss.c1260 sync_serial_settings new_line; in hss_hdlc_ioctl() local
1273 memset(&new_line, 0, sizeof(new_line)); in hss_hdlc_ioctl()
1274 new_line.clock_type = port->clock_type; in hss_hdlc_ioctl()
1275 new_line.clock_rate = port->clock_rate; in hss_hdlc_ioctl()
1276 new_line.loopback = port->loopback; in hss_hdlc_ioctl()
1277 if (copy_to_user(line, &new_line, size)) in hss_hdlc_ioctl()
1285 if (copy_from_user(&new_line, line, size)) in hss_hdlc_ioctl()
1288 clk = new_line.clock_type; in hss_hdlc_ioctl()
1295 if (new_line.loopback != 0 && new_line.loopback != 1) in hss_hdlc_ioctl()
1301 new_line.clock_rate, in hss_hdlc_ioctl()
[all …]
/linux/drivers/char/pcmcia/
A Dsynclink_cs.c4060 sync_serial_settings new_line; in hdlcdev_wan_ioctl() local
4072 memset(&new_line, 0, size); in hdlcdev_wan_ioctl()
4093 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_wan_ioctl()
4096 new_line.clock_rate = info->params.clock_speed; in hdlcdev_wan_ioctl()
4097 new_line.loopback = info->params.loopback ? 1:0; in hdlcdev_wan_ioctl()
4099 if (copy_to_user(line, &new_line, size)) in hdlcdev_wan_ioctl()
4107 if (copy_from_user(&new_line, line, size)) in hdlcdev_wan_ioctl()
4110 switch (new_line.clock_type) in hdlcdev_wan_ioctl()
4124 if (new_line.loopback != 0 && new_line.loopback != 1) in hdlcdev_wan_ioctl()
4133 info->params.loopback = new_line.loopback; in hdlcdev_wan_ioctl()
[all …]
/linux/drivers/tty/
A Dsynclink_gt.c1530 sync_serial_settings new_line; in hdlcdev_ioctl() local
1541 memset(&new_line, 0, sizeof(new_line)); in hdlcdev_ioctl()
1562 default: new_line.clock_type = CLOCK_DEFAULT; in hdlcdev_ioctl()
1565 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
1566 new_line.loopback = info->params.loopback ? 1:0; in hdlcdev_ioctl()
1568 if (copy_to_user(line, &new_line, size)) in hdlcdev_ioctl()
1576 if (copy_from_user(&new_line, line, size)) in hdlcdev_ioctl()
1579 switch (new_line.clock_type) in hdlcdev_ioctl()
1593 if (new_line.loopback != 0 && new_line.loopback != 1) in hdlcdev_ioctl()
1602 info->params.loopback = new_line.loopback; in hdlcdev_ioctl()
[all …]
/linux/tools/perf/util/
A Dannotate.c1892 char *new_line; in expand_tabs() local
1908 new_line = malloc(new_storage_len); in expand_tabs()
1909 if (new_line == NULL) { in expand_tabs()
1922 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
1924 new_line[dst++] = ' '; in expand_tabs()
1926 new_line[dst++] = ' '; in expand_tabs()
1934 memcpy(&new_line[dst], &line[src], len); in expand_tabs()
1936 new_line[dst] = '\0'; in expand_tabs()
1939 *storage = new_line; in expand_tabs()
1941 return new_line; in expand_tabs()
A Dstat.h216 new_line_t new_line; member
A Dstat-display.c498 out.new_line = nl; in printout()
1005 out.new_line = new_line_metric; in print_metric_headers()
A Dstat-shadow.c995 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
1307 out->new_line(config, ctxp); in perf_stat__print_shadow_stats()
/linux/drivers/net/wireless/ath/ath11k/
A Ddebugfs_htt_stats.c20 const char *new_line = newline; \
33 "%s", new_line); \
/linux/tools/perf/
A Dbuiltin-script.c1914 .new_line = script_new_line, in perf_sample__fprint_metric()

Completed in 71 milliseconds