Lines Matching defs:page

37 	u8 page;		/* page number */  member
74 #define pb_reg_to_index(page, reg, mask) (((page) << PB_PAGE_SHIFT) | \ argument
117 u8 page; member
163 int pmbus_set_page(struct i2c_client *client, int page, int phase) in pmbus_set_page()
209 int pmbus_write_byte(struct i2c_client *client, int page, u8 value) in pmbus_write_byte()
225 static int _pmbus_write_byte(struct i2c_client *client, int page, u8 value) in _pmbus_write_byte()
239 int pmbus_write_word_data(struct i2c_client *client, int page, u8 reg, in pmbus_write_word_data()
253 static int pmbus_write_virt_reg(struct i2c_client *client, int page, int reg, in pmbus_write_virt_reg()
278 static int _pmbus_write_word_data(struct i2c_client *client, int page, int reg, in _pmbus_write_word_data()
301 static int _pmbus_write_byte_data(struct i2c_client *client, int page, int reg, u8 value) in _pmbus_write_byte_data()
319 static int _pmbus_read_byte_data(struct i2c_client *client, int page, int reg) in _pmbus_read_byte_data()
333 int pmbus_update_fan(struct i2c_client *client, int page, int id, in pmbus_update_fan()
358 int pmbus_read_word_data(struct i2c_client *client, int page, int phase, u8 reg) in pmbus_read_word_data()
370 static int pmbus_read_virt_reg(struct i2c_client *client, int page, int reg) in pmbus_read_virt_reg()
392 static int _pmbus_read_word_data(struct i2c_client *client, int page, in _pmbus_read_word_data()
412 static int __pmbus_read_word_data(struct i2c_client *client, int page, int reg) in __pmbus_read_word_data()
417 int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg) in pmbus_read_byte_data()
429 int pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value) in pmbus_write_byte_data()
441 int pmbus_update_byte_data(struct i2c_client *client, int page, u8 reg, in pmbus_update_byte_data()
460 static int pmbus_read_block_data(struct i2c_client *client, int page, u8 reg, in pmbus_read_block_data()
472 static struct pmbus_sensor *pmbus_find_sensor(struct pmbus_data *data, int page, in pmbus_find_sensor()
485 static int pmbus_get_fan_rate(struct i2c_client *client, int page, int id, in pmbus_get_fan_rate()
520 int pmbus_get_fan_rate_device(struct i2c_client *client, int page, int id, in pmbus_get_fan_rate_device()
527 int pmbus_get_fan_rate_cached(struct i2c_client *client, int page, int id, in pmbus_get_fan_rate_cached()
534 static void pmbus_clear_fault_page(struct i2c_client *client, int page) in pmbus_clear_fault_page()
565 int page, int reg), in pmbus_check_register()
581 static bool pmbus_check_status_register(struct i2c_client *client, int page) in pmbus_check_status_register()
598 bool pmbus_check_byte_register(struct i2c_client *client, int page, int reg) in pmbus_check_byte_register()
604 bool pmbus_check_word_register(struct i2c_client *client, int page, int reg) in pmbus_check_word_register()
611 int page, int reg) in pmbus_check_block_register()
634 static int pmbus_get_status(struct i2c_client *client, int page, int reg) in pmbus_get_status()
1091 u8 page = pb_index_to_page(index); in pmbus_get_boolean() local
1262 u8 page, u16 reg, u16 mask) in pmbus_add_boolean()
1350 int seq, int page, int phase, in pmbus_add_sensor()
1478 const char *name, int index, int page, in pmbus_add_limit_attrs()
1518 int index, int page, int phase, in pmbus_add_sensor_attrs_one()
1598 int page, pages; in pmbus_add_sensor_attrs() local
2156 struct pmbus_data *data, int index, int page, int id, in pmbus_add_fan_ctrl()
2194 int page; in pmbus_add_fan_attributes() local
2271 int page; member
2334 static int pmbus_add_samples_attr(struct pmbus_data *data, int page, in pmbus_add_samples_attr()
2525 struct pmbus_data *data, int page) in pmbus_identify_common()
2564 static int pmbus_read_status_byte(struct i2c_client *client, int page) in pmbus_read_status_byte()
2569 static int pmbus_read_status_word(struct i2c_client *client, int page) in pmbus_read_status_word()
2614 int page, ret; in pmbus_init_common() local
2769 static int _pmbus_is_enabled(struct i2c_client *client, u8 page) in _pmbus_is_enabled()
2781 static int __maybe_unused pmbus_is_enabled(struct i2c_client *client, u8 page) in pmbus_is_enabled()
2796 static void pmbus_notify(struct pmbus_data *data, int page, int reg, int flags) in pmbus_notify()
2820 static int _pmbus_get_flags(struct pmbus_data *data, u8 page, unsigned int *flags, in _pmbus_get_flags()
2905 static int __maybe_unused pmbus_get_flags(struct pmbus_data *data, u8 page, unsigned int *flags, in pmbus_get_flags()
2931 u8 page = rdev_get_id(rdev); in _pmbus_regulator_on_off() local
2968 u8 page = rdev_get_id(rdev); in pmbus_regulator_get_status() local
3007 static int pmbus_regulator_get_low_margin(struct i2c_client *client, int page) in pmbus_regulator_get_low_margin()
3033 static int pmbus_regulator_get_high_margin(struct i2c_client *client, int page) in pmbus_regulator_get_high_margin()
3186 static int pmbus_regulator_notify(struct pmbus_data *data, int page, int event) in pmbus_regulator_notify()
3204 static int pmbus_regulator_notify(struct pmbus_data *data, int page, int event) in pmbus_regulator_notify()
3210 static int pmbus_write_smbalert_mask(struct i2c_client *client, u8 page, u8 reg, u8 val) in pmbus_write_smbalert_mask()