/Linux-v5.10/kernel/time/ |
D | ntp.c | 193 static inline void pps_fill_timex(struct __kernel_timex *txc) in pps_fill_timex() argument 195 txc->ppsfreq = shift_right((pps_freq >> PPM_SCALE_INV_SHIFT) * in pps_fill_timex() 197 txc->jitter = pps_jitter; in pps_fill_timex() 199 txc->jitter = pps_jitter / NSEC_PER_USEC; in pps_fill_timex() 200 txc->shift = pps_shift; in pps_fill_timex() 201 txc->stabil = pps_stabil; in pps_fill_timex() 202 txc->jitcnt = pps_jitcnt; in pps_fill_timex() 203 txc->calcnt = pps_calcnt; in pps_fill_timex() 204 txc->errcnt = pps_errcnt; in pps_fill_timex() 205 txc->stbcnt = pps_stbcnt; in pps_fill_timex() [all …]
|
D | time.c | 271 struct __kernel_timex txc; /* Local copy of parameter */ in SYSCALL_DEFINE1() local 278 if (copy_from_user(&txc, txc_p, sizeof(struct __kernel_timex))) in SYSCALL_DEFINE1() 280 ret = do_adjtimex(&txc); in SYSCALL_DEFINE1() 281 return copy_to_user(txc_p, &txc, sizeof(struct __kernel_timex)) ? -EFAULT : ret; in SYSCALL_DEFINE1() 286 int get_old_timex32(struct __kernel_timex *txc, const struct old_timex32 __user *utp) in get_old_timex32() argument 290 memset(txc, 0, sizeof(struct __kernel_timex)); in get_old_timex32() 294 txc->modes = tx32.modes; in get_old_timex32() 295 txc->offset = tx32.offset; in get_old_timex32() 296 txc->freq = tx32.freq; in get_old_timex32() 297 txc->maxerror = tx32.maxerror; in get_old_timex32() [all …]
|
D | timekeeping.c | 2320 static int timekeeping_validate_timex(const struct __kernel_timex *txc) in timekeeping_validate_timex() argument 2322 if (txc->modes & ADJ_ADJTIME) { in timekeeping_validate_timex() 2324 if (!(txc->modes & ADJ_OFFSET_SINGLESHOT)) in timekeeping_validate_timex() 2326 if (!(txc->modes & ADJ_OFFSET_READONLY) && in timekeeping_validate_timex() 2331 if (txc->modes && !capable(CAP_SYS_TIME)) in timekeeping_validate_timex() 2337 if (txc->modes & ADJ_TICK && in timekeeping_validate_timex() 2338 (txc->tick < 900000/USER_HZ || in timekeeping_validate_timex() 2339 txc->tick > 1100000/USER_HZ)) in timekeeping_validate_timex() 2343 if (txc->modes & ADJ_SETOFFSET) { in timekeeping_validate_timex() 2356 if (txc->time.tv_usec < 0) in timekeeping_validate_timex() [all …]
|
D | ntp_internal.h | 11 extern int __do_adjtimex(struct __kernel_timex *txc,
|
/Linux-v5.10/tools/testing/selftests/timers/ |
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-v5.10/drivers/hsi/clients/ |
D | hsi_char.c | 377 static int hsc_tx_set(struct hsi_client *cl, struct hsc_tx_config *txc) in hsc_tx_set() argument 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() 392 cl->tx_cfg.num_hw_channels = txc->channels; in hsc_tx_set() 393 cl->tx_cfg.speed = txc->speed; in hsc_tx_set() 394 cl->tx_cfg.arb_mode = txc->arb_mode; in hsc_tx_set() 404 static inline void hsc_tx_get(struct hsi_client *cl, struct hsc_tx_config *txc) in hsc_tx_get() argument [all …]
|
/Linux-v5.10/arch/sparc/kernel/ |
D | sys_sparc_64.c | 553 struct __kernel_timex txc; in SYSCALL_DEFINE1() local 554 struct __kernel_old_timeval *tv = (void *)&txc.time; in SYSCALL_DEFINE1() 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 579 struct __kernel_old_timeval *tv = (void *)&txc.time; in SYSCALL_DEFINE2() 594 if (copy_from_user(&txc, txc_p, sizeof(txc))) in SYSCALL_DEFINE2() [all …]
|
/Linux-v5.10/arch/s390/kernel/ |
D | time.c | 602 struct __kernel_timex txc; in stp_clear_leap() local 605 memset(&txc, 0, sizeof(txc)); in stp_clear_leap() 607 ret = do_adjtimex(&txc); in stp_clear_leap() 611 txc.modes = ADJ_STATUS; in stp_clear_leap() 612 txc.status &= ~(STA_INS|STA_DEL); in stp_clear_leap() 613 return do_adjtimex(&txc); in stp_clear_leap() 620 struct __kernel_timex txc; in stp_check_leap() local 652 memset(&txc, 0, sizeof(txc)); in stp_check_leap() 653 ret = do_adjtimex(&txc); in stp_check_leap() 657 txc.modes = ADJ_STATUS; in stp_check_leap() [all …]
|
/Linux-v5.10/drivers/spi/ |
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-v5.10/drivers/net/can/usb/ |
D | gs_usb.c | 221 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument 223 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context() 304 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local 362 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback() 365 if (!txc) { in gs_usb_receive_bulk_callback() 374 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback() 455 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local 456 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback() 460 netdev_info(netdev, "usb xmit fail %d\n", txc->echo_id); in gs_usb_xmit_callback() 478 struct gs_tx_context *txc; in gs_can_start_xmit() local [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 520 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_get_queued_skb() local 522 if (txc->s.cookie != cookie) in carl9170_get_queued_skb() 894 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_tx_apply_rateset() local 925 txc->f.phy_control = phy_set; in carl9170_tx_apply_rateset() 935 txc->f.mac_control |= mac_tmp; in carl9170_tx_apply_rateset() 940 txc->s.rr[i - 1] = phy_set; in carl9170_tx_apply_rateset() 943 SET_VAL(CARL9170_TX_SUPER_RI_TRIES, txc->s.ri[i], in carl9170_tx_apply_rateset() 947 txc->s.ri[i] |= (AR9170_TX_MAC_PROT_RTS << in carl9170_tx_apply_rateset() 950 txc->s.ri[i] |= (AR9170_TX_MAC_PROT_CTS << in carl9170_tx_apply_rateset() 954 txc->s.ri[i] |= CARL9170_TX_SUPER_RI_AMPDU; in carl9170_tx_apply_rateset() [all …]
|
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-v5.10/arch/arm/boot/dts/ |
D | sama5d3xmb_gmac.dtsi | 22 txc-skew-ps = <3000>; 36 txc-skew-ps = <3000>;
|
D | sama5d3xcm_cmp.dtsi | 57 txc-skew-ps = <3000>; 71 txc-skew-ps = <3000>;
|
D | socfpga_cyclone5_de0_nano_soc.dts | 57 txc-skew-ps = <1860>; /* 960ps */
|
D | socfpga_cyclone5_sodia.dts | 78 txc-skew-ps = <3000>;
|
/Linux-v5.10/drivers/tty/serial/ |
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-v5.10/drivers/staging/axis-fifo/ |
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-v5.10/Documentation/devicetree/bindings/net/ |
D | micrel-ksz90x1.txt | 50 - txc-skew-ps : Skew control of TXC pad 73 - txc-skew-ps : Skew control of TX clock pad 106 - txc-skew-psec : Skew control of TX clock pad 127 txc-skew-ps = <3000>;
|
D | mediatek-dwmac.txt | 41 - mediatek,txc-inverse: boolean property, if present indicates that 85 mediatek,txc-inverse;
|
/Linux-v5.10/arch/alpha/kernel/ |
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-v5.10/drivers/net/dsa/sja1105/ |
D | sja1105_clocking.c | 319 struct sja1105_cgu_mii_ctrl txc; in sja1105_cgu_rgmii_tx_clk_config() local 332 txc.clksrc = clksrc; in sja1105_cgu_rgmii_tx_clk_config() 334 txc.autoblock = 1; in sja1105_cgu_rgmii_tx_clk_config() 336 txc.pd = 0; in sja1105_cgu_rgmii_tx_clk_config() 337 sja1105_cgu_mii_control_packing(packed_buf, &txc, PACK); in sja1105_cgu_rgmii_tx_clk_config()
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | fsl,asrc.txt | 25 - dma-names : Contains "rxa", "rxb", "rxc", "txa", "txb" and "txc". 77 "txa", "txb", "txc";
|
/Linux-v5.10/arch/powerpc/boot/dts/ |
D | holly.dts | 69 txc-rxc-delay-disable; 75 txc-rxc-delay-disable;
|
/Linux-v5.10/arch/arm64/boot/dts/intel/ |
D | socfpga_agilex_socdk_nand.dts | 81 txc-skew-ps = <900>; /* 0ps */
|