| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/serial/ |
| H A D | pl011.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/serial.yaml# 21 - arm,pl011 22 - zte,zx296702-uart 24 - compatible 29 - items: 30 - const: arm,pl011 [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/accounting/ |
| H A D | psi.rst | 4 PSI - Pressure Stall Information 14 either play it safe and under-utilize their hardware resources, or 23 scarcity aids users in sizing workloads to hardware--or provisioning 38 respective file in /proc/pressure/ -- cpu, memory, and io. 52 The "full" line indicates the share of time in which all non-idle 71 Users can register triggers and use poll() to be woken up when resource 75 time window, e.g. 100ms of total stall time within any 500ms window to 81 used to wait for trigger events using select(), poll() or epoll(). 87 would add 150ms threshold for partial memory stall measured within 89 would add 50ms threshold for full io stall measured within 1sec time window. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ddr/fsl/ |
| H A D | mpc85xx_ddr_gen3.c | 2 * Copyright 2008-2012 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0 17 * regs has the to-be-set values for DDR controller registers 37 int csn = -1; in fsl_ddr_set_memctl_regs() 70 if (regs->ddr_eor) in fsl_ddr_set_memctl_regs() 71 out_be32(&ddr->eor, regs->ddr_eor); in fsl_ddr_set_memctl_regs() 75 cs_sa = (regs->cs[i].bnds >> 16) & 0xfff; in fsl_ddr_set_memctl_regs() 76 cs_ea = regs->cs[i].bnds & 0xfff; in fsl_ddr_set_memctl_regs() 79 csn_bnds_backup = regs->cs[i].bnds; in fsl_ddr_set_memctl_regs() 80 csn_bnds_t = (unsigned int *) ®s->cs[i].bnds; in fsl_ddr_set_memctl_regs() [all …]
|
| H A D | arm_ddr_gen3.c | 4 * SPDX-License-Identifier: GPL-2.0+ 23 * regs has the to-be-set values for DDR controller registers 67 if (regs->ddr_eor) in fsl_ddr_set_memctl_regs() 68 ddr_out32(&ddr->eor, regs->ddr_eor); in fsl_ddr_set_memctl_regs() 71 ddr_out32(&ddr->cs0_bnds, regs->cs[i].bnds); in fsl_ddr_set_memctl_regs() 72 ddr_out32(&ddr->cs0_config, regs->cs[i].config); in fsl_ddr_set_memctl_regs() 73 ddr_out32(&ddr->cs0_config_2, regs->cs[i].config_2); in fsl_ddr_set_memctl_regs() 76 ddr_out32(&ddr->cs1_bnds, regs->cs[i].bnds); in fsl_ddr_set_memctl_regs() 77 ddr_out32(&ddr->cs1_config, regs->cs[i].config); in fsl_ddr_set_memctl_regs() 78 ddr_out32(&ddr->cs1_config_2, regs->cs[i].config_2); in fsl_ddr_set_memctl_regs() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/iio/lib/ |
| HD | libserialport.so.0 | ... SP_ERR_FAIL: poll() failed: %s. poll() timed out. poll() completed. ... |
| H A D | libserialport.so | ... SP_ERR_FAIL: poll() failed: %s. poll() timed out. poll() completed. ... |
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/ |
| H A D | conf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 117 * Range: 0 - 0xFFFFFFFF 130 * after a PS-poll has been transmitted. 132 * Range: 0 - 200000 139 * Range: 0 - 200000 147 * Range: 0 - 4096 161 * Occupied Rx mem-blocks number which requires interrupting the host 177 * Max time in msec the FW may delay RX-Complete interrupt. 179 * Range: 1 - 100 203 * of the 22Mbps rate. There is a FW limitation on 12 rates so we must drop [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/misc/ |
| H A D | kxtj9.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 * The following table lists the maximum appropriate poll interval for each 54 * available output data rate. 84 .addr = tj9->client->addr, in kxtj9_i2c_read() 85 .flags = tj9->client->flags, in kxtj9_i2c_read() 90 .addr = tj9->client->addr, in kxtj9_i2c_read() 91 .flags = tj9->client->flags | I2C_M_RD, in kxtj9_i2c_read() 97 return i2c_transfer(tj9->client->adapter, msgs, 2); in kxtj9_i2c_read() 108 dev_err(&tj9->client->dev, "accelerometer data read failed\n"); in kxtj9_report_acceleration_data() 110 x = le16_to_cpu(acc_data[tj9->pdata.axis_map_x]); in kxtj9_report_acceleration_data() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | rockchip,multicodecs.txt | 4 - compatible: "rockchip,multicodecs-card" 5 - rockchip,cpu: The phandle of the Rockchip I2S/PDM controller that's 7 - rockchip,codec: The phandle of audio codecs 10 - rockchip,card-name: User specified audio sound card name, one string property. 11 - rockchip,codec-hp-det : Detect the headphone via internal codec. 12 - rockchip,wait-card-locked : This is a variable length array, user specified 15 - rockchip,audio-routing : sound card dapm routing. 16 - hp-det-gpio : headphone detect gpio. 17 - io-channels : headset mic/key detect adc channel. 18 - io-channel-names : headset mic/key adc channel name. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 32 rate, /* data rate. |= 0x40 for perpendicular */ member 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 40 spec1, /* stepping rate, head unload time */ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 100 * ultra cheap floppies ;-) 130 /* Spec2 is (HLD<<1 | ND), where HLD is head load time (1=2ms, 2=4 ms [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 32 rate, /* data rate. |= 0x40 for perpendicular */ member 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 40 spec1, /* stepping rate, head unload time */ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 100 * ultra cheap floppies ;-) 130 /* Spec2 is (HLD<<1 | ND), where HLD is head load time (1=2ms, 2=4 ms [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 32 rate, /* data rate. |= 0x40 for perpendicular */ member 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 40 spec1, /* stepping rate, head unload time */ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 100 * ultra cheap floppies ;-) 130 /* Spec2 is (HLD<<1 | ND), where HLD is head load time (1=2ms, 2=4 ms [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rk3308-evb.dts | 4 * SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 9 #include "rk3308-u-boot.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <linux/media-bus-format.h> 15 compatible = "rockchip,rk3308-evb", "rockchip,rk3308"; 17 adc-keys0 { 18 u-boot,dm-pre-reloc; 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
| H A D | .rk3308-evb.dtb.pre.tmp | |
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | synaptics_i2c.c | 29 * after soft reset, we should wait for 1 ms 33 /* and after hard reset, we should wait for max 500ms */ 182 * reduce the polling rate to NO_DATA_SLEEP_MSECS 212 /* Control Polling Rate */ 215 MODULE_PARM_DESC(scan_rate, "Polling rate in times/sec. Default = 80"); 232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate() 233 touch->scan_rate_param = scan_rate; in set_scan_rate() 279 /* set Report Rate to Device Highest (>=80) and Sleep to normal */ in synaptics_i2c_config() 311 dev_err(&client->dev, "Unable to reset device\n"); in synaptics_i2c_reset_config() 316 dev_err(&client->dev, "Unable to config device\n"); in synaptics_i2c_reset_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/pressure/ |
| H A D | dps310.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * - Optionally support the FIFO 60 /* Make sure sleep time is <= 20ms for usleep_range */ 62 /* Silently handle error in rate value here */ 119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs() 126 * numbers are 12-bit 2's complement numbers. in dps310_get_coefs() 129 data->c0 = sign_extend32(c0, 11); in dps310_get_coefs() 132 data->c1 = sign_extend32(c1, 11); in dps310_get_coefs() 140 data->c00 = sign_extend32(c00, 19); in dps310_get_coefs() 143 data->c10 = sign_extend32(c10, 19); in dps310_get_coefs() [all …]
|
| H A D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * saving at the cost of lower sampling rate and higher software overhead. 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 45 * internal hardware trigger is attached as the highest sampling rate seems to 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 73 /* There should be a 1 ms delay (Tpup) after getting out of reset. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/ |
| H A D | dvb-usb-remote.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* dvb-usb-remote.c is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) 5 * see dvb-usb-init.c for copyright information. 7 …* This file contains functions for initializing the input-device and for handling remote-control-q… 9 #include "dvb-usb-common.h" 20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index() 21 index = ke->index; in legacy_dvb_usb_get_keymap_index() 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() 50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode() [all …]
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpi_dec_multi_test.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 79 MpiDecTestCmd *cmd = data->cmd; in multi_dec_simple() 82 MppCtx ctx = data->ctx; in multi_dec_simple() 83 MppApi *mpi = data->mpi; in multi_dec_simple() 84 MppPacket packet = data->packet; in multi_dec_simple() 85 FileReader reader = cmd->reader; in multi_dec_simple() 87 RK_U32 quiet = data->quiet; in multi_dec_simple() 88 MPP_RET ret = reader_index_read(reader, data->packet_count++, &slot); in multi_dec_simple() 93 pkt_eos = slot->eos; in multi_dec_simple() 96 if (data->frame_num < 0 || data->frame_num > data->frame_count) { in multi_dec_simple() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/rtl8822b/ |
| H A D | rtl8822b_ops.c | 3 * Copyright(c) 2015 - 2017 Realtek Corporation. 112 if (hw_port >= hal_spec->port_num) { in hw_bcn_ctrl_addr() 182 hal->version_id.ICType = CHIP_8822B; in read_chip_version() 183 hal->version_id.ChipType = ((value32 & BIT_RTL_ID_8822B) ? TEST_CHIP : NORMAL_CHIP); in read_chip_version() 184 hal->version_id.CUTVersion = BIT_GET_CHIP_VER_8822B(value32); in read_chip_version() 185 hal->version_id.VendorType = BIT_GET_VENDOR_ID_8822B(value32); in read_chip_version() 186 hal->version_id.VendorType >>= 2; in read_chip_version() 187 switch (hal->version_id.VendorType) { in read_chip_version() 189 hal->version_id.VendorType = CHIP_VENDOR_TSMC; in read_chip_version() 192 hal->version_id.VendorType = CHIP_VENDOR_SMIC; in read_chip_version() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Addy Ke <addy.ke@rock-chips.com> 22 #define DRIVER_NAME "rockchip-spi" 164 * SPI_CTRLR1 is 16-bits, so we should support lengths of 0xffff + 1. However, 169 /* 2 for native cs, 2 for cs-gpio */ 210 /* speed of io rate */ 216 bool poll; /* only support transfer data by cpu polling */ member 223 bool cs_high_supported; /* native CS supports active-high polarity */ 236 writel_relaxed((enable ? 1U : 0U), rs->regs + ROCKCHIP_SPI_SSIENR); in spi_enable_chip() 246 if (slave_mode && rs->version == ROCKCHIP_SPI_VER2_TYPE2) { in wait_for_tx_idle() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/rtl8822c/ |
| H A D | rtl8822c_ops.c | 3 * Copyright(c) 2015 - 2017 Realtek Corporation. 112 if (hw_port >= hal_spec->port_num) { in hw_bcn_ctrl_addr() 180 hal->version_id.ICType = CHIP_8822C; in read_chip_version() 181 hal->version_id.ChipType = ((value32 & BIT_RTL_ID_8822C) ? TEST_CHIP : NORMAL_CHIP); in read_chip_version() 182 hal->version_id.CUTVersion = BIT_GET_CHIP_VER_8822C(value32); in read_chip_version() 183 hal->version_id.VendorType = BIT_GET_VENDOR_ID_8822C(value32); in read_chip_version() 184 hal->version_id.VendorType >>= 2; in read_chip_version() 185 switch (hal->version_id.VendorType) { in read_chip_version() 187 hal->version_id.VendorType = CHIP_VENDOR_TSMC; in read_chip_version() 190 hal->version_id.VendorType = CHIP_VENDOR_SMIC; in read_chip_version() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_82599.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 65 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() 70 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599() 72 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599() 74 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599() 76 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599() 78 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 79 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 80 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | i915_perf_types.h | 1 /* SPDX-License-Identifier: MIT */ 13 #include <linux/poll.h> 66 * struct i915_perf_stream_ops - the OPs to support a specific stream type 109 * Only write complete records; returning -%ENOSPC if there isn't room 113 * -%ENOSPC or -%EFAULT, even though these may be squashed before 130 * struct i915_perf_stream - state for a single open stream FD 163 * @ctx: %NULL if measuring system-wide across all contexts or a 218 * (e.g. during a read() or poll()). 266 * hrtimer callbacks (5ms period) and that reads typically only 317 * struct i915_oa_ops - Gen specific implementation of an OA unit stream [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/rtl8723b/ |
| H A D | rtl8723b_cmd.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 41 } while ((!read_down) && (retry_cnts--)); in _is_fw_read_cmd_down() 50 *| 31 - 8 |7-5 | 4 - 0 | 52 *| 31-0 | 66 struct dvobj_priv *psdpriv = padapter->dvobj; in FillH2CCmd8723B() 67 struct debug_priv *pdbgpriv = &psdpriv->drv_dbg; in FillH2CCmd8723B() 75 pdbgpriv->dbg_h2c_leave32k_fail_cnt++; in FillH2CCmd8723B() 78 …/* RTW_INFO("H2C ElementID=%02x , pHalData->LastHMEBoxNum=%02x\n", ElementID, pHalData->LastHMEBox… in FillH2CCmd8723B() 81 _enter_critical_mutex(&(adapter_to_dvobj(padapter)->h2c_fwcmd_mutex), NULL); in FillH2CCmd8723B() 95 h2c_box_num = pHalData->LastHMEBoxNum; in FillH2CCmd8723B() [all …]
|