/linux/kernel/time/ |
A D | ntp.c | 229 txc->jitter = 0; in pps_fill_timex() 230 txc->shift = 0; in pps_fill_timex() 231 txc->stabil = 0; in pps_fill_timex() 232 txc->jitcnt = 0; in pps_fill_timex() 233 txc->calcnt = 0; in pps_fill_timex() 234 txc->errcnt = 0; in pps_fill_timex() 235 txc->stbcnt = 0; in pps_fill_timex() 744 txc->constant >= 0 && txc->constant <= MAX_TAI_OFFSET) in process_adjtimex_modes() 800 txc->offset = (u32)txc->offset / NSEC_PER_USEC; in __do_adjtimex() 831 txc->tai++; in __do_adjtimex() [all …]
|
A D | time.c | 280 ret = do_adjtimex(&txc); in SYSCALL_DEFINE1() 294 txc->modes = tx32.modes; in get_old_timex32() 296 txc->freq = tx32.freq; in get_old_timex32() 305 txc->tick = tx32.tick; in get_old_timex32() 308 txc->shift = tx32.shift; in get_old_timex32() 323 tx32.modes = txc->modes; in put_old_timex32() 325 tx32.freq = txc->freq; in put_old_timex32() 334 tx32.tick = txc->tick; in put_old_timex32() 337 tx32.shift = txc->shift; in put_old_timex32() 343 tx32.tai = txc->tai; in put_old_timex32() [all …]
|
A D | timekeeping.c | 2323 if (txc->modes & ADJ_ADJTIME) { in timekeeping_validate_timex() 2338 if (txc->modes & ADJ_TICK && in timekeeping_validate_timex() 2339 (txc->tick < 900000/USER_HZ || in timekeeping_validate_timex() 2340 txc->tick > 1100000/USER_HZ)) in timekeeping_validate_timex() 2344 if (txc->modes & ADJ_SETOFFSET) { in timekeeping_validate_timex() 2357 if (txc->time.tv_usec < 0) in timekeeping_validate_timex() 2360 if (txc->modes & ADJ_NANO) { in timekeeping_validate_timex() 2402 if (txc->modes & ADJ_SETOFFSET) { in do_adjtimex() 2404 delta.tv_sec = txc->time.tv_sec; in do_adjtimex() 2405 delta.tv_nsec = txc->time.tv_usec; in do_adjtimex() [all …]
|
A D | ntp_internal.h | 11 extern int __do_adjtimex(struct __kernel_timex *txc,
|
/linux/drivers/hsi/clients/ |
A D | hsi_char.c | 382 if ((txc->mode != HSI_MODE_STREAM) && (txc->mode != HSI_MODE_FRAME)) in hsc_tx_set() 384 if ((txc->channels == 0) || (txc->channels > HSC_DEVS)) in hsc_tx_set() 386 if (txc->channels & (txc->channels - 1)) in hsc_tx_set() 388 if ((txc->arb_mode != HSI_ARB_RR) && (txc->arb_mode != HSI_ARB_PRIO)) in hsc_tx_set() 391 cl->tx_cfg.mode = txc->mode; in hsc_tx_set() 393 cl->tx_cfg.speed = txc->speed; in hsc_tx_set() 406 txc->mode = cl->tx_cfg.mode; in hsc_tx_get() 408 txc->speed = cl->tx_cfg.speed; in hsc_tx_get() 530 struct hsc_tx_config txc; in hsc_ioctl() local 564 if (copy_from_user(&txc, (void __user *)arg, sizeof(txc))) in hsc_ioctl() [all …]
|
/linux/tools/testing/selftests/timers/ |
A D | freq-step.c | 82 struct timex txc; in reset_ntp_error() local 84 txc.modes = ADJ_SETOFFSET; in reset_ntp_error() 85 txc.time.tv_sec = 0; in reset_ntp_error() 86 txc.time.tv_usec = 0; in reset_ntp_error() 88 if (adjtimex(&txc) < 0) { in reset_ntp_error() 96 struct timex txc; in set_frequency() local 101 txc.modes = ADJ_TICK | ADJ_FREQUENCY; in set_frequency() 102 txc.tick = 1000000 / user_hz + tick_offset; in set_frequency() 103 txc.freq = (1e6 * freq - user_hz * tick_offset) * (1 << 16); in set_frequency() 105 if (adjtimex(&txc) < 0) { in set_frequency()
|
/linux/arch/sparc/kernel/ |
A D | sys_sparc_64.c | 553 struct __kernel_timex txc; in SYSCALL_DEFINE1() local 561 if (copy_from_user(&txc, txc_p, sizeof(txc))) in SYSCALL_DEFINE1() 568 txc.time.tv_usec = tv->tv_usec; in SYSCALL_DEFINE1() 569 ret = do_adjtimex(&txc); in SYSCALL_DEFINE1() 570 tv->tv_usec = txc.time.tv_usec; in SYSCALL_DEFINE1() 572 return copy_to_user(txc_p, &txc, sizeof(txc)) ? -EFAULT : ret; in SYSCALL_DEFINE1() 578 struct __kernel_timex txc; in SYSCALL_DEFINE2() local 594 if (copy_from_user(&txc, txc_p, sizeof(txc))) in SYSCALL_DEFINE2() 601 txc.time.tv_usec = tv->tv_usec; in SYSCALL_DEFINE2() 603 tv->tv_usec = txc.time.tv_usec; in SYSCALL_DEFINE2() [all …]
|
/linux/arch/s390/kernel/ |
A D | time.c | 592 struct __kernel_timex txc; in stp_clear_leap() local 595 memset(&txc, 0, sizeof(txc)); in stp_clear_leap() 597 ret = do_adjtimex(&txc); in stp_clear_leap() 601 txc.modes = ADJ_STATUS; in stp_clear_leap() 603 return do_adjtimex(&txc); in stp_clear_leap() 642 memset(&txc, 0, sizeof(txc)); in stp_check_leap() 643 ret = do_adjtimex(&txc); in stp_check_leap() 647 txc.modes = ADJ_STATUS; in stp_check_leap() 649 txc.status |= STA_INS; in stp_check_leap() 651 txc.status |= STA_DEL; in stp_check_leap() [all …]
|
/linux/drivers/net/wireless/ath/carl9170/ |
A D | tx.c | 522 if (txc->s.cookie != cookie) in carl9170_get_queued_skb() 926 txc->f.phy_control = phy_set; in carl9170_tx_apply_rateset() 936 txc->f.mac_control |= mac_tmp; in carl9170_tx_apply_rateset() 941 txc->s.rr[i - 1] = phy_set; in carl9170_tx_apply_rateset() 998 txc = skb_push(skb, sizeof(*txc)); in carl9170_tx_prepare() 999 memset(txc, 0, sizeof(*txc)); in carl9170_tx_prepare() 1062 txc->s.ampdu_settings, density); in carl9170_tx_prepare() 1065 txc->s.ampdu_settings, factor); in carl9170_tx_prepare() 1068 txc->s.len = cpu_to_le16(skb->len); in carl9170_tx_prepare() 1070 txc->f.mac_control = mac_tmp; in carl9170_tx_prepare() [all …]
|
A D | debug.c | 287 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_debugfs_format_frame() local 290 struct ieee80211_hdr *hdr = (void *) txc->frame_data; in carl9170_debugfs_format_frame() 293 "pc:%.8x, to:%d ms\n", prefix, skb, txc->s.cookie, in carl9170_debugfs_format_frame() 295 le16_to_cpu(txc->f.mac_control), le32_to_cpu(txc->f.phy_control), in carl9170_debugfs_format_frame()
|
/linux/drivers/spi/ |
A D | spi-oc-tiny.c | 49 unsigned int txc, rxc; member 119 hw->txc = 0; in tiny_spi_txrx_bufs() 126 hw->txc++; in tiny_spi_txrx_bufs() 129 hw->txc++; in tiny_spi_txrx_bufs() 134 hw->txc++; in tiny_spi_txrx_bufs() 172 if (hw->txc < hw->len) { in tiny_spi_irq() 175 hw->txc++; in tiny_spi_irq()
|
/linux/drivers/net/can/usb/ |
A D | gs_usb.c | 224 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context() 305 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local 366 if (!txc) { in gs_usb_receive_bulk_callback() 375 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback() 457 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback() 479 struct gs_tx_context *txc; in gs_can_start_xmit() local 486 if (!txc) in gs_can_start_xmit() 501 idx = txc->echo_id; in gs_can_start_xmit() 523 txc); in gs_can_start_xmit() 537 gs_free_tx_context(txc); in gs_can_start_xmit() [all …]
|
/linux/drivers/tty/serial/ |
A D | men_z135_uart.c | 297 u32 txc; in men_z135_handle_tx() local 321 txc = (wptr >> 16) & 0x3ff; in men_z135_handle_tx() 324 if (txc > MEN_Z135_FIFO_WATERMARK) in men_z135_handle_tx() 325 txc = MEN_Z135_FIFO_WATERMARK; in men_z135_handle_tx() 327 txfree = MEN_Z135_FIFO_WATERMARK - txc; in men_z135_handle_tx() 460 u16 txc; in men_z135_tx_empty() local 463 txc = (wptr >> 16) & 0x3ff; in men_z135_tx_empty() 465 if (txc == 0) in men_z135_tx_empty()
|
/linux/arch/arm/boot/dts/ |
A D | sama5d3xmb_gmac.dtsi | 22 txc-skew-ps = <3000>; 36 txc-skew-ps = <3000>;
|
A D | sama5d3xcm_cmp.dtsi | 57 txc-skew-ps = <3000>; 71 txc-skew-ps = <3000>;
|
A D | socfpga_cyclone5_de0_nano_soc.dts | 57 txc-skew-ps = <1860>; /* 960ps */
|
/linux/Documentation/devicetree/bindings/net/ |
A D | micrel-ksz90x1.txt | 50 - txc-skew-ps : Skew control of TXC pad 74 The following 5-bit values table apply to rxc-skew-ps and txc-skew-ps. 138 - txc-skew-ps : Skew control of TX clock pad 171 - txc-skew-psec : Skew control of TX clock pad 192 txc-skew-ps = <1800>; 202 txc-skew-ps = <1800>;
|
A D | mediatek-dwmac.txt | 41 - mediatek,txc-inverse: boolean property, if present indicates that 85 mediatek,txc-inverse;
|
/linux/drivers/staging/axis-fifo/ |
A D | axis-fifo.txt | 24 - xlnx,axi-str-txc-protocol: Should be "XIL_AXI_STREAM_ETH_CTRL" 25 - xlnx,axi-str-txc-tdata-width: Should be <0x20> 66 xlnx,axi-str-txc-protocol = "XIL_AXI_STREAM_ETH_CTRL"; 67 xlnx,axi-str-txc-tdata-width = <0x20>;
|
/linux/arch/alpha/kernel/ |
A D | osf_sys.c | 1191 struct __kernel_timex txc; in SYSCALL_DEFINE1() local 1195 if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1() 1196 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) - in SYSCALL_DEFINE1() 1200 ret = do_adjtimex(&txc); in SYSCALL_DEFINE1() 1205 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1() 1206 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in SYSCALL_DEFINE1() 1208 (put_user(txc.time.tv_sec, &txc_p->time.tv_sec)) || in SYSCALL_DEFINE1() 1209 (put_user(txc.time.tv_usec, &txc_p->time.tv_usec))) in SYSCALL_DEFINE1()
|
/linux/Documentation/devicetree/bindings/sound/ |
A D | fsl,asrc.txt | 25 - dma-names : Contains "rxa", "rxb", "rxc", "txa", "txb" and "txc". 77 "txa", "txb", "txc";
|
/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_clocking.c | 342 struct sja1105_cgu_mii_ctrl txc; in sja1105_cgu_rgmii_tx_clk_config() local 358 txc.clksrc = clksrc; in sja1105_cgu_rgmii_tx_clk_config() 360 txc.autoblock = 1; in sja1105_cgu_rgmii_tx_clk_config() 362 txc.pd = 0; in sja1105_cgu_rgmii_tx_clk_config() 363 sja1105_cgu_mii_control_packing(packed_buf, &txc, PACK); in sja1105_cgu_rgmii_tx_clk_config()
|
/linux/arch/powerpc/boot/dts/ |
A D | holly.dts | 69 txc-rxc-delay-disable; 75 txc-rxc-delay-disable;
|
/linux/arch/arm64/boot/dts/renesas/ |
A D | rzg2l-smarc-som.dtsi | 89 txc-skew-psec = <2400>; 115 txc-skew-psec = <2400>;
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 831 u16 rxc, txc; in qede_set_coalesce() local 848 txc = (u16)coal->tx_coalesce_usecs; in qede_set_coalesce() 875 0, txc, in qede_set_coalesce() 882 edev->coal_entry[i].txc = txc; in qede_set_coalesce() 2120 u16 rxc, txc; in qede_set_per_coalesce() local 2134 txc = (u16)coal->tx_coalesce_usecs; in qede_set_per_coalesce() 2165 0, txc, in qede_set_per_coalesce() 2172 edev->coal_entry[queue].txc = txc; in qede_set_per_coalesce()
|