// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_size_t // Skip function: __VERIFIER_nondet_ulong // Function: __list_add // with type: void __list_add(struct list_head *, struct list_head *, struct list_head *) // with return type: void void __list_add(struct list_head *arg0, struct list_head *arg1, struct list_head *arg2) { // Void type return; } // Skip function: calloc // Function: crc7 // with type: u8 crc7(u8 , const u8 *, size_t ) // with return type: u8 unsigned char __VERIFIER_nondet_uchar(void); u8 crc7(u8 arg0, const u8 *arg1, size_t arg2) { // Typedef type // Real type: unsigned char // Simple type return __VERIFIER_nondet_uchar(); } // Function: dev_err // with type: int dev_err(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_err(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_get_drvdata // with type: void *dev_get_drvdata(const struct device *) // with return type: (void)* void *dev_get_drvdata(const struct device *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: dev_set_drvdata // with type: int dev_set_drvdata(struct device *, void *) // with return type: int int __VERIFIER_nondet_int(void); int dev_set_drvdata(struct device *arg0, void *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: driver_unregister // with type: void driver_unregister(struct device_driver *) // with return type: void void driver_unregister(struct device_driver *arg0) { // Void type return; } // Skip function: kfree // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_release_2 // with type: int ldv_release_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_2() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_setup_2 // with type: int ldv_setup_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_setup_2() { // Simple type return __VERIFIER_nondet_int(); } // Skip function: malloc // Skip function: memset // Function: platform_device_add // with type: int platform_device_add(struct platform_device *) // with return type: int int __VERIFIER_nondet_int(void); int platform_device_add(struct platform_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: platform_device_add_data // with type: int platform_device_add_data(struct platform_device *, const void *, size_t ) // with return type: int int __VERIFIER_nondet_int(void); int platform_device_add_data(struct platform_device *arg0, const void *arg1, size_t arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: platform_device_add_resources // with type: int platform_device_add_resources(struct platform_device *, const struct resource *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int platform_device_add_resources(struct platform_device *arg0, const struct resource *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: platform_device_alloc // with type: struct platform_device *platform_device_alloc(const char *, int) // with return type: (struct platform_device)* struct platform_device *platform_device_alloc(const char *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct platform_device)); } // Function: platform_device_put // with type: void platform_device_put(struct platform_device *) // with return type: void void platform_device_put(struct platform_device *arg0) { // Void type return; } // Function: platform_device_unregister // with type: void platform_device_unregister(struct platform_device *) // with return type: void void platform_device_unregister(struct platform_device *arg0) { // Void type return; } // Function: spi_register_driver // with type: int spi_register_driver(struct spi_driver *) // with return type: int int __VERIFIER_nondet_int(void); int spi_register_driver(struct spi_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: spi_setup // with type: int spi_setup(struct spi_device *) // with return type: int int __VERIFIER_nondet_int(void); int spi_setup(struct spi_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: spi_sync // with type: int spi_sync(struct spi_device *, struct spi_message *) // with return type: int int __VERIFIER_nondet_int(void); int spi_sync(struct spi_device *arg0, struct spi_message *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: warn_slowpath_null // with type: void warn_slowpath_null(const char *, const int) // with return type: void void warn_slowpath_null(const char *arg0, const int arg1) { // Void type return; }