/* struct mtk_pin_field - the structure that holds the information of the field *usedtodescribetheattributeforthepin *@base:theindexpointingtotheentryinbaseaddresslist *@offset:theregisteroffsetrelativetothebaseaddress *@mask:themaskusedtofilteroutthefieldfromtheregister *@bitpos:thestartbitrelativetotheregister *@next:theindicationthatthefieldwouldbeextendedtothe nextregister
*/ struct mtk_pin_field {
u8 index;
u32 offset;
u32 mask;
u8 bitpos;
u8 next;
};
int mtk_hw_set_value(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, int field, int value); int mtk_hw_get_value(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, int field, int *value);
int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev);
int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc); int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, int *res); int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, bool pullup); int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, bool pullup, int *res);
int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc); int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, int *res); int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, bool pullup); int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, bool pullup, int *res); int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc,
u32 pullup, u32 enable); int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc,
u32 *pullup, u32 *enable);
int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, u32 arg); int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, int *val);
int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, u32 arg); int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, int *val);
int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, u32 arg); int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, int *val);
int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, bool pullup,
u32 arg); int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, bool pullup,
u32 *val); int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, u32 arg); int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, u32 *val); int mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, u32 arg); int mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw, conststruct mtk_pin_desc *desc, u32 *val);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.