max9271.h (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) | max9271.h (9e0bf8393d0602cc7fda749b77cf8ec7f81249cb) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * Copyright (C) 2017-2020 Jacopo Mondi 4 * Copyright (C) 2017-2020 Kieran Bingham 5 * Copyright (C) 2017-2020 Laurent Pinchart 6 * Copyright (C) 2017-2020 Niklas Söderlund 7 * Copyright (C) 2016 Renesas Electronics Corporation 8 * Copyright (C) 2015 Cogent Embedded, Inc. --- 72 unchanged lines hidden (view full) --- 81 * struct max9271_device - max9271 device 82 * @client: The i2c client for the max9271 instance 83 */ 84struct max9271_device { 85 struct i2c_client *client; 86}; 87 88/** | 1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * Copyright (C) 2017-2020 Jacopo Mondi 4 * Copyright (C) 2017-2020 Kieran Bingham 5 * Copyright (C) 2017-2020 Laurent Pinchart 6 * Copyright (C) 2017-2020 Niklas Söderlund 7 * Copyright (C) 2016 Renesas Electronics Corporation 8 * Copyright (C) 2015 Cogent Embedded, Inc. --- 72 unchanged lines hidden (view full) --- 81 * struct max9271_device - max9271 device 82 * @client: The i2c client for the max9271 instance 83 */ 84struct max9271_device { 85 struct i2c_client *client; 86}; 87 88/** |
89 * max9271_wake_up() - Wake up the serializer by issuing an i2c transaction 90 * @dev: The max9271 device 91 * 92 * This function shall be called before any other interaction with the 93 * serializer. 94 */ 95void max9271_wake_up(struct max9271_device *dev); 96 97/** |
|
89 * max9271_set_serial_link() - Enable/disable serial link 90 * @dev: The max9271 device 91 * @enable: Serial link enable/disable flag 92 * 93 * Return 0 on success or a negative error code on failure 94 */ 95int max9271_set_serial_link(struct max9271_device *dev, bool enable); 96 --- 128 unchanged lines hidden --- | 98 * max9271_set_serial_link() - Enable/disable serial link 99 * @dev: The max9271 device 100 * @enable: Serial link enable/disable flag 101 * 102 * Return 0 on success or a negative error code on failure 103 */ 104int max9271_set_serial_link(struct max9271_device *dev, bool enable); 105 --- 128 unchanged lines hidden --- |