/linux-4.1.27/kernel/time/ |
D | ntp.c | 184 static inline void pps_fill_timex(struct timex *txc) in pps_fill_timex() argument 186 txc->ppsfreq = shift_right((pps_freq >> PPM_SCALE_INV_SHIFT) * in pps_fill_timex() 188 txc->jitter = pps_jitter; in pps_fill_timex() 190 txc->jitter /= NSEC_PER_USEC; in pps_fill_timex() 191 txc->shift = pps_shift; in pps_fill_timex() 192 txc->stabil = pps_stabil; in pps_fill_timex() 193 txc->jitcnt = pps_jitcnt; in pps_fill_timex() 194 txc->calcnt = pps_calcnt; in pps_fill_timex() 195 txc->errcnt = pps_errcnt; in pps_fill_timex() 196 txc->stbcnt = pps_stbcnt; in pps_fill_timex() [all …]
|
D | time.c | 216 struct timex txc; /* Local copy of parameter */ in SYSCALL_DEFINE1() local 223 if(copy_from_user(&txc, txc_p, sizeof(struct timex))) in SYSCALL_DEFINE1() 225 ret = do_adjtimex(&txc); in SYSCALL_DEFINE1() 226 return copy_to_user(txc_p, &txc, sizeof(struct timex)) ? -EFAULT : ret; in SYSCALL_DEFINE1()
|
D | timekeeping.c | 1993 int do_adjtimex(struct timex *txc) in do_adjtimex() argument 2002 ret = ntp_validate_timex(txc); in do_adjtimex() 2006 if (txc->modes & ADJ_SETOFFSET) { in do_adjtimex() 2008 delta.tv_sec = txc->time.tv_sec; in do_adjtimex() 2009 delta.tv_nsec = txc->time.tv_usec; in do_adjtimex() 2010 if (!(txc->modes & ADJ_NANO)) in do_adjtimex() 2023 ret = __do_adjtimex(txc, &ts, &tai); in do_adjtimex()
|
/linux-4.1.27/kernel/ |
D | compat.c | 33 static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp) in compat_get_timex() argument 35 memset(txc, 0, sizeof(struct timex)); in compat_get_timex() 38 __get_user(txc->modes, &utp->modes) || in compat_get_timex() 39 __get_user(txc->offset, &utp->offset) || in compat_get_timex() 40 __get_user(txc->freq, &utp->freq) || in compat_get_timex() 41 __get_user(txc->maxerror, &utp->maxerror) || in compat_get_timex() 42 __get_user(txc->esterror, &utp->esterror) || in compat_get_timex() 43 __get_user(txc->status, &utp->status) || in compat_get_timex() 44 __get_user(txc->constant, &utp->constant) || in compat_get_timex() 45 __get_user(txc->precision, &utp->precision) || in compat_get_timex() [all …]
|
/linux-4.1.27/drivers/hsi/clients/ |
D | hsi_char.c | 390 static int hsc_tx_set(struct hsi_client *cl, struct hsc_tx_config *txc) in hsc_tx_set() argument 395 if ((txc->mode != HSI_MODE_STREAM) && (txc->mode != HSI_MODE_FRAME)) in hsc_tx_set() 397 if ((txc->channels == 0) || (txc->channels > HSC_DEVS)) in hsc_tx_set() 399 if (txc->channels & (txc->channels - 1)) in hsc_tx_set() 401 if ((txc->arb_mode != HSI_ARB_RR) && (txc->arb_mode != HSI_ARB_PRIO)) in hsc_tx_set() 404 cl->tx_cfg.mode = txc->mode; in hsc_tx_set() 405 cl->tx_cfg.num_hw_channels = txc->channels; in hsc_tx_set() 406 cl->tx_cfg.speed = txc->speed; in hsc_tx_set() 407 cl->tx_cfg.arb_mode = txc->arb_mode; in hsc_tx_set() 417 static inline void hsc_tx_get(struct hsi_client *cl, struct hsc_tx_config *txc) in hsc_tx_get() argument [all …]
|
/linux-4.1.27/drivers/net/can/usb/ |
D | gs_usb.c | 205 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument 207 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context() 285 struct gs_tx_context *txc; in gs_usb_recieve_bulk_callback() local 343 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_recieve_bulk_callback() 346 if (!txc) { in gs_usb_recieve_bulk_callback() 355 gs_free_tx_context(txc); in gs_usb_recieve_bulk_callback() 434 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local 435 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback() 439 netdev_info(netdev, "usb xmit fail %d\n", txc->echo_id); in gs_usb_xmit_callback() 464 struct gs_tx_context *txc; in gs_can_start_xmit() local [all …]
|
/linux-4.1.27/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() 891 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_tx_apply_rateset() local 922 txc->f.phy_control = phy_set; in carl9170_tx_apply_rateset() 932 txc->f.mac_control |= mac_tmp; in carl9170_tx_apply_rateset() 937 txc->s.rr[i - 1] = phy_set; in carl9170_tx_apply_rateset() 940 SET_VAL(CARL9170_TX_SUPER_RI_TRIES, txc->s.ri[i], in carl9170_tx_apply_rateset() 944 txc->s.ri[i] |= (AR9170_TX_MAC_PROT_RTS << in carl9170_tx_apply_rateset() 947 txc->s.ri[i] |= (AR9170_TX_MAC_PROT_CTS << in carl9170_tx_apply_rateset() 951 txc->s.ri[i] |= CARL9170_TX_SUPER_RI_AMPDU; in carl9170_tx_apply_rateset() [all …]
|
D | debug.c | 285 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_debugfs_format_frame() local 288 struct ieee80211_hdr *hdr = (void *) txc->frame_data; in carl9170_debugfs_format_frame() 291 "pc:%.8x, to:%d ms\n", prefix, skb, txc->s.cookie, in carl9170_debugfs_format_frame() 293 le16_to_cpu(txc->f.mac_control), le32_to_cpu(txc->f.phy_control), in carl9170_debugfs_format_frame()
|
/linux-4.1.27/drivers/spi/ |
D | spi-oc-tiny.c | 53 unsigned int txc, rxc; member 135 hw->txc = 0; in tiny_spi_txrx_bufs() 142 hw->txc++; in tiny_spi_txrx_bufs() 145 hw->txc++; in tiny_spi_txrx_bufs() 150 hw->txc++; in tiny_spi_txrx_bufs() 188 if (hw->txc < hw->len) { in tiny_spi_irq() 191 hw->txc++; in tiny_spi_irq()
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | micrel-ksz90x1.txt | 21 - txc-skew-ps : Skew control of TXC pad 43 - txc-skew-ps : Skew control of TX clock pad 64 txc-skew-ps = <3000>; 74 txc-skew-ps = <3000>;
|
/linux-4.1.27/drivers/tty/serial/ |
D | men_z135_uart.c | 301 u32 txc; in men_z135_handle_tx() local 325 txc = (wptr >> 16) & 0x3ff; in men_z135_handle_tx() 328 if (txc > MEN_Z135_FIFO_WATERMARK) in men_z135_handle_tx() 329 txc = MEN_Z135_FIFO_WATERMARK; in men_z135_handle_tx() 331 txfree = MEN_Z135_FIFO_WATERMARK - txc; in men_z135_handle_tx() 465 u16 txc; in men_z135_tx_empty() local 468 txc = (wptr >> 16) & 0x3ff; in men_z135_tx_empty() 470 if (txc == 0) in men_z135_tx_empty()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | sama5d3xcm.dtsi | 47 txc-skew-ps = <3000>; 61 txc-skew-ps = <3000>;
|
D | socfpga_cyclone5_sockit.dts | 58 txc-skew-ps = <2600>;
|
D | socfpga_arria5_socdk.dts | 58 txc-skew-ps = <2600>;
|
D | socfpga_cyclone5_socdk.dts | 58 txc-skew-ps = <2600>;
|
D | imx6qdl-sabrelite.dtsi | 160 txc-skew-ps = <3000>;
|
D | imx6qdl-nitrogen6x.dtsi | 161 txc-skew-ps = <3000>;
|
D | imx6sx.dtsi | 355 "txa", "txb", "txc";
|
/linux-4.1.27/Documentation/devicetree/bindings/sound/ |
D | fsl,asrc.txt | 20 - dma-names : Contains "rxa", "rxb", "rxc", "txa", "txb" and "txc". 56 "txa", "txb", "txc";
|
/linux-4.1.27/arch/alpha/kernel/ |
D | osf_sys.c | 1271 struct timex txc; in SYSCALL_DEFINE1() local 1275 if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1() 1276 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) - in SYSCALL_DEFINE1() 1280 ret = do_adjtimex(&txc); in SYSCALL_DEFINE1() 1285 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1() 1286 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in SYSCALL_DEFINE1() 1288 (put_tv32(&txc_p->time, &txc.time))) in SYSCALL_DEFINE1()
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | holly.dts | 69 txc-rxc-delay-disable; 75 txc-rxc-delay-disable;
|