Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 6916) sorted by relevance

12345678910>>...277

/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/
H A Dcheck_config.h39 #error "mbed TLS requires a platform with 8-bit chars"
44 #error "MBEDTLS_PLATFORM_C is required on Windows"
62 #error "The NET and TIMING modules are not available for mbed OS - please use the network and timin…
67 #error "MBEDTLS_DEPRECATED_WARNING only works with GCC and Clang"
71 #error "MBEDTLS_HAVE_TIME_DATE without MBEDTLS_HAVE_TIME does not make sense"
75 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
79 #error "MBEDTLS_CTR_DRBG_C defined, but not all prerequisites"
83 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
87 #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT defined, but not all prerequisites"
92 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/
H A Dcheck_config.h39 #error "mbed TLS requires a platform with 8-bit chars"
44 #error "MBEDTLS_PLATFORM_C is required on Windows"
62 #error "The NET and TIMING modules are not available for mbed OS - please use the network and timin…
67 #error "MBEDTLS_DEPRECATED_WARNING only works with GCC and Clang"
71 #error "MBEDTLS_HAVE_TIME_DATE without MBEDTLS_HAVE_TIME does not make sense"
75 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
79 #error "MBEDTLS_CTR_DRBG_C defined, but not all prerequisites"
83 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
87 #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT defined, but not all prerequisites"
92 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/
H A Dcheck_config.h39 #error "mbed TLS requires a platform with 8-bit chars"
44 #error "MBEDTLS_PLATFORM_C is required on Windows"
62 #error "The NET and TIMING modules are not available for mbed OS - please use the network and timin…
67 #error "MBEDTLS_DEPRECATED_WARNING only works with GCC and Clang"
71 #error "MBEDTLS_HAVE_TIME_DATE without MBEDTLS_HAVE_TIME does not make sense"
75 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
79 #error "MBEDTLS_CTR_DRBG_C defined, but not all prerequisites"
83 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
87 #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT defined, but not all prerequisites"
92 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/
H A Dcheck_config.h39 #error "mbed TLS requires a platform with 8-bit chars"
44 #error "MBEDTLS_PLATFORM_C is required on Windows"
62 #error "The NET and TIMING modules are not available for mbed OS - please use the network and timin…
67 #error "MBEDTLS_DEPRECATED_WARNING only works with GCC and Clang"
71 #error "MBEDTLS_HAVE_TIME_DATE without MBEDTLS_HAVE_TIME does not make sense"
75 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
79 #error "MBEDTLS_CTR_DRBG_C defined, but not all prerequisites"
83 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
87 #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT defined, but not all prerequisites"
92 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Drohm_bu21023.c332 int error, error2; in rohm_ts_manual_calibration() local
347 error = i2c_smbus_write_byte_data(client, INT_MASK, in rohm_ts_manual_calibration()
350 if (error) in rohm_ts_manual_calibration()
353 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration()
355 if (error) in rohm_ts_manual_calibration()
364 error = rohm_i2c_burst_read(client, PRM1_X_H, buf, sizeof(buf)); in rohm_ts_manual_calibration()
365 if (error) in rohm_ts_manual_calibration()
378 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration()
380 if (error) in rohm_ts_manual_calibration()
413 error = i2c_smbus_write_byte_data(client, in rohm_ts_manual_calibration()
[all …]
H A Draydium_i2c_ts.c171 int error; in raydium_i2c_send() local
211 error = raydium_i2c_xfer(client, addr, xfer, ARRAY_SIZE(xfer)); in raydium_i2c_send()
212 if (likely(!error)) in raydium_i2c_send()
218 dev_err(&client->dev, "%s failed: %d\n", __func__, error); in raydium_i2c_send()
221 return error; in raydium_i2c_send()
227 int error; in raydium_i2c_read() local
266 error = raydium_i2c_xfer(client, addr, xfer, ARRAY_SIZE(xfer)); in raydium_i2c_read()
267 if (unlikely(error)) in raydium_i2c_read()
268 return error; in raydium_i2c_read()
281 int error; in raydium_i2c_sw_reset() local
[all …]
H A Dsilead.c88 int error; in silead_ts_request_input_dev() local
112 error = input_register_device(data->input); in silead_ts_request_input_dev()
113 if (error) { in silead_ts_request_input_dev()
114 dev_err(dev, "Failed to register input device: %d\n", error); in silead_ts_request_input_dev()
115 return error; in silead_ts_request_input_dev()
138 int touch_nr, softbutton, error, i; in silead_ts_read_data() local
141 error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_DATA, in silead_ts_read_data()
143 if (error < 0) { in silead_ts_read_data()
144 dev_err(dev, "Data read error %d\n", error); in silead_ts_read_data()
204 int error; in silead_ts_init() local
[all …]
H A Delants_i2c.c285 int ret, error; in elants_i2c_calibrate() local
306 error = ret < 0 ? ret : -ETIMEDOUT; in elants_i2c_calibrate()
309 error); in elants_i2c_calibrate()
310 return error; in elants_i2c_calibrate()
326 int error; in elants_i2c_sw_reset() local
328 error = elants_i2c_send(client, soft_rst_cmd, in elants_i2c_sw_reset()
330 if (error) { in elants_i2c_sw_reset()
331 dev_err(&client->dev, "software reset failed: %d\n", error); in elants_i2c_sw_reset()
332 return error; in elants_i2c_sw_reset()
355 int error; in elants_i2c_query_hw_version() local
[all …]
H A Dbu21013_ts.c240 int error; in bu21013_gpio_irq() local
243 error = bu21013_do_touch_report(ts); in bu21013_gpio_irq()
244 if (error) { in bu21013_gpio_irq()
264 int error; in bu21013_init_chip() local
266 error = i2c_smbus_write_byte_data(client, BU21013_RESET_REG, in bu21013_init_chip()
268 if (error) { in bu21013_init_chip()
270 return error; in bu21013_init_chip()
274 error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_0_7_REG, in bu21013_init_chip()
276 if (error) { in bu21013_init_chip()
278 return error; in bu21013_init_chip()
[all …]
H A Dzinitix.c197 int error; in zinitix_init_touch() local
199 error = zinitix_write_cmd(client, BT541_SWRESET_CMD); in zinitix_init_touch()
200 if (error) { in zinitix_init_touch()
202 return error; in zinitix_init_touch()
205 error = zinitix_write_u16(client, BT541_INT_ENABLE_FLAG, 0x0); in zinitix_init_touch()
206 if (error) { in zinitix_init_touch()
209 return error; in zinitix_init_touch()
213 error = zinitix_write_u16(client, BT541_X_RESOLUTION, in zinitix_init_touch()
215 if (error) in zinitix_init_touch()
216 return error; in zinitix_init_touch()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Delan_i2c_i2c.c142 int error; in elan_i2c_initialize() local
145 error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET); in elan_i2c_initialize()
146 if (error) { in elan_i2c_initialize()
147 dev_err(dev, "device reset failed: %d\n", error); in elan_i2c_initialize()
148 return error; in elan_i2c_initialize()
155 error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH); in elan_i2c_initialize()
156 if (error < 0) { in elan_i2c_initialize()
157 dev_err(dev, "failed to read reset response: %d\n", error); in elan_i2c_initialize()
158 return error; in elan_i2c_initialize()
161 error = elan_i2c_read_block(client, ETP_I2C_DESC_CMD, in elan_i2c_initialize()
[all …]
H A Dcyapa.c172 int error; in cyapa_get_state() local
182 error = cyapa_i2c_reg_read_block(cyapa, BL_HEAD_OFFSET, BL_STATUS_SIZE, in cyapa_get_state()
190 if (cyapa->smbus && (error == -ETIMEDOUT || error == -ENXIO)) { in cyapa_get_state()
192 error = cyapa_read_block(cyapa, in cyapa_get_state()
197 if (error != BL_STATUS_SIZE) in cyapa_get_state()
198 goto error; in cyapa_get_state()
210 error = cyapa_gen3_ops.state_parse(cyapa, in cyapa_get_state()
212 if (!error) in cyapa_get_state()
218 error = cyapa_pip_state_parse(cyapa, in cyapa_get_state()
220 if (!error) in cyapa_get_state()
[all …]
H A Delan_i2c_smbus.c58 int len, error; in elan_smbus_initialize() local
65 error = len < 0 ? len : -EIO; in elan_smbus_initialize()
66 return error; in elan_smbus_initialize()
77 error = i2c_smbus_write_byte(client, ETP_SMBUS_ENABLE_TP); in elan_smbus_initialize()
78 if (error) { in elan_smbus_initialize()
79 dev_err(&client->dev, "failed to enable touchpad: %d\n", error); in elan_smbus_initialize()
80 return error; in elan_smbus_initialize()
117 int error; in elan_smbus_calibrate_result() local
122 error = i2c_smbus_read_block_data(client, in elan_smbus_calibrate_result()
124 if (error < 0) in elan_smbus_calibrate_result()
[all …]
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_attr.c118 int error; in xfs_attr_get() local
133 error = xfs_attr_get_ilocked(args); in xfs_attr_get()
136 return error; in xfs_attr_get()
181 int error; in xfs_attr_try_sf_addname() local
189 error = xfs_attr_shortform_addname(args); in xfs_attr_try_sf_addname()
190 if (error == -ENOSPC) in xfs_attr_try_sf_addname()
191 return error; in xfs_attr_try_sf_addname()
197 if (!error && !(args->op_flags & XFS_DA_OP_NOTIME)) in xfs_attr_try_sf_addname()
203 return error; in xfs_attr_try_sf_addname()
230 int error, error2 = 0; in xfs_attr_set_shortform() local
[all …]
H A Dxfs_refcount.c113 int error; in xfs_refcount_get_rec() local
116 error = xfs_btree_get_rec(cur, &rec, stat); in xfs_refcount_get_rec()
117 if (error || !*stat) in xfs_refcount_get_rec()
118 return error; in xfs_refcount_get_rec()
170 int error; in xfs_refcount_update() local
176 error = xfs_btree_update(cur, &rec); in xfs_refcount_update()
177 if (error) in xfs_refcount_update()
179 cur->bc_ag.agno, error, _RET_IP_); in xfs_refcount_update()
180 return error; in xfs_refcount_update()
194 int error; in xfs_refcount_insert() local
[all …]
/OK3568_Linux_fs/kernel/drivers/base/test/
H A Dproperty-entry-test.c25 int error; in pe_test_uints() local
30 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints()
31 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
34 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints()
35 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
38 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints()
39 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
41 error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8); in pe_test_uints()
42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
44 error = fwnode_property_read_u8_array(node, "no-prop-u8", array_u8, 1); in pe_test_uints()
[all …]
/OK3568_Linux_fs/kernel/kernel/power/
H A Dhibernate.c288 int error; in create_image() local
290 error = dpm_suspend_end(PMSG_FREEZE); in create_image()
291 if (error) { in create_image()
293 return error; in create_image()
296 error = platform_pre_snapshot(platform_mode); in create_image()
297 if (error || hibernation_test(TEST_PLATFORM)) in create_image()
300 error = suspend_disable_secondary_cpus(); in create_image()
301 if (error || hibernation_test(TEST_CPUS)) in create_image()
308 error = syscore_suspend(); in create_image()
309 if (error) { in create_image()
[all …]
/OK3568_Linux_fs/kernel/fs/
H A Dinit.c47 int error; in init_chdir() local
49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir()
50 if (error) in init_chdir()
51 return error; in init_chdir()
52 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in init_chdir()
53 if (!error) in init_chdir()
56 return error; in init_chdir()
62 int error; in init_chroot() local
64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot()
65 if (error) in init_chroot()
[all …]
H A Dxattr.c201 int error = -EAGAIN; in __vfs_setxattr_noperm() local
208 error = __vfs_setxattr(dentry, inode, name, value, size, flags); in __vfs_setxattr_noperm()
209 if (!error) { in __vfs_setxattr_noperm()
218 if (error == -EAGAIN) { in __vfs_setxattr_noperm()
219 error = -EOPNOTSUPP; in __vfs_setxattr_noperm()
224 error = security_inode_setsecurity(inode, suffix, value, in __vfs_setxattr_noperm()
226 if (!error) in __vfs_setxattr_noperm()
231 return error; in __vfs_setxattr_noperm()
252 int error; in __vfs_setxattr_locked() local
254 error = xattr_permission(inode, name, MAY_WRITE); in __vfs_setxattr_locked()
[all …]
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dinode.c133 int error; in gfs2_inode_lookup() local
145 error = gfs2_glock_get(sdp, no_addr, &gfs2_inode_glops, CREATE, &ip->i_gl); in gfs2_inode_lookup()
146 if (unlikely(error)) in gfs2_inode_lookup()
150 error = gfs2_glock_get(sdp, no_addr, &gfs2_iopen_glops, CREATE, &io_gl); in gfs2_inode_lookup()
151 if (unlikely(error)) in gfs2_inode_lookup()
162 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_inode_lookup()
164 if (error) in gfs2_inode_lookup()
167 error = -ESTALE; in gfs2_inode_lookup()
173 error = gfs2_check_blk_type(sdp, no_addr, in gfs2_inode_lookup()
175 if (error) in gfs2_inode_lookup()
[all …]
/OK3568_Linux_fs/kernel/drivers/bus/fsl-mc/
H A Ddprc-driver.c143 int error; in check_plugged_state_change() local
151 error = device_attach(&mc_dev->dev); in check_plugged_state_change()
152 if (error < 0) { in check_plugged_state_change()
155 error); in check_plugged_state_change()
167 int error; in fsl_mc_obj_device_add() local
178 error = fsl_mc_device_add(obj_desc, NULL, &mc_bus_dev->dev, in fsl_mc_obj_device_add()
180 if (error < 0) in fsl_mc_obj_device_add()
245 int error; in dprc_scan_objects() local
250 error = dprc_get_obj_count(mc_bus_dev->mc_io, in dprc_scan_objects()
254 if (error < 0) { in dprc_scan_objects()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dbma150.c181 int error; in bma150_set_mode() local
183 error = bma150_set_reg_bits(bma150->client, mode, BMA150_WAKE_UP_POS, in bma150_set_mode()
185 if (error) in bma150_set_mode()
186 return error; in bma150_set_mode()
188 error = bma150_set_reg_bits(bma150->client, mode, BMA150_SLEEP_POS, in bma150_set_mode()
190 if (error) in bma150_set_mode()
191 return error; in bma150_set_mode()
202 int error; in bma150_soft_reset() local
204 error = bma150_set_reg_bits(bma150->client, 1, BMA150_SW_RES_POS, in bma150_soft_reset()
206 if (error) in bma150_soft_reset()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Ddrxk_hard.c492 goto error; in power_up_device()
498 goto error; in power_up_device()
501 goto error; in power_up_device()
505 goto error; in power_up_device()
509 error: in power_up_device()
764 goto error; in drxx_open()
768 goto error; in drxx_open()
771 goto error; in drxx_open()
774 goto error; in drxx_open()
777 goto error; in drxx_open()
[all …]
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_attr_inactive.c41 int error; in xfs_attr3_rmt_stale() local
52 error = xfs_bmapi_read(dp, (xfs_fileoff_t)blkno, blkcnt, in xfs_attr3_rmt_stale()
54 if (error) in xfs_attr3_rmt_stale()
55 return error; in xfs_attr3_rmt_stale()
64 error = xfs_attr_rmtval_stale(dp, &map, 0); in xfs_attr3_rmt_stale()
65 if (error) in xfs_attr3_rmt_stale()
66 return error; in xfs_attr3_rmt_stale()
92 int error = 0; in xfs_attr3_leaf_inactive() local
114 error = xfs_attr3_rmt_stale(dp, in xfs_attr3_leaf_inactive()
116 if (error) in xfs_attr3_leaf_inactive()
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/motorola/
H A Dphy-cpcap-usb.c142 int error, value = 0; in cpcap_usb_vbus_valid() local
144 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid()
145 if (error >= 0) in cpcap_usb_vbus_valid()
148 dev_err(ddata->dev, "error reading VBUS: %i\n", error); in cpcap_usb_vbus_valid()
179 int val, error; in cpcap_phy_get_ints_state() local
181 error = regmap_read(ddata->reg, CPCAP_REG_INTS1, &val); in cpcap_phy_get_ints_state()
182 if (error) in cpcap_phy_get_ints_state()
183 return error; in cpcap_phy_get_ints_state()
189 error = regmap_read(ddata->reg, CPCAP_REG_INTS2, &val); in cpcap_phy_get_ints_state()
190 if (error) in cpcap_phy_get_ints_state()
[all …]

12345678910>>...277