Lines Matching refs:ch_node
461 struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) in iqs626_parse_events() argument
509 ev_node = fwnode_handle_get(ch_node); in iqs626_parse_events()
512 ev_node = fwnode_get_named_child_node(ch_node, ev_name); in iqs626_parse_events()
547 fwnode_get_name(ch_node), val); in iqs626_parse_events()
568 fwnode_get_name(ch_node), val); in iqs626_parse_events()
587 struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) in iqs626_parse_ati_target() argument
620 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-target", &val)) { in iqs626_parse_ati_target()
624 fwnode_get_name(ch_node), val); in iqs626_parse_ati_target()
633 !fwnode_property_read_u32(ch_node, "azoteq,ati-base", &val)) { in iqs626_parse_ati_target()
654 fwnode_get_name(ch_node), val); in iqs626_parse_ati_target()
666 struct fwnode_handle *ch_node, in iqs626_parse_pins() argument
673 if (!fwnode_property_present(ch_node, propname)) in iqs626_parse_pins()
676 count = fwnode_property_count_u32(ch_node, propname); in iqs626_parse_pins()
680 fwnode_get_name(ch_node)); in iqs626_parse_pins()
685 fwnode_get_name(ch_node), count); in iqs626_parse_pins()
689 error = fwnode_property_read_u32_array(ch_node, propname, val, count); in iqs626_parse_pins()
693 fwnode_get_name(ch_node), error); in iqs626_parse_pins()
703 fwnode_get_name(ch_node), val[i]); in iqs626_parse_pins()
714 struct fwnode_handle *ch_node, in iqs626_parse_trackpad() argument
723 if (!fwnode_property_read_u32(ch_node, "azoteq,lta-update", &val)) { in iqs626_parse_trackpad()
727 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
735 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-trackpad", in iqs626_parse_trackpad()
740 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
748 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-cnt", in iqs626_parse_trackpad()
753 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
761 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-cnt", in iqs626_parse_trackpad()
766 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
782 tc_node = fwnode_get_named_child_node(ch_node, tc_name); in iqs626_parse_trackpad()
792 fwnode_get_name(ch_node), tc_name, val); in iqs626_parse_trackpad()
805 fwnode_get_name(ch_node), tc_name, val); in iqs626_parse_trackpad()
816 if (!fwnode_property_present(ch_node, "linux,keycodes")) in iqs626_parse_trackpad()
819 count = fwnode_property_count_u32(ch_node, "linux,keycodes"); in iqs626_parse_trackpad()
828 error = fwnode_property_read_u32_array(ch_node, "linux,keycodes", in iqs626_parse_trackpad()
836 if (fwnode_property_present(ch_node, "azoteq,gesture-swipe")) in iqs626_parse_trackpad()
839 if (!fwnode_property_read_u32(ch_node, "azoteq,timeout-tap-ms", in iqs626_parse_trackpad()
844 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
851 if (!fwnode_property_read_u32(ch_node, "azoteq,timeout-swipe-ms", in iqs626_parse_trackpad()
856 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
863 if (!fwnode_property_read_u32(ch_node, "azoteq,thresh-swipe", in iqs626_parse_trackpad()
868 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
882 struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) in iqs626_parse_channel() argument
916 error = iqs626_parse_ati_target(iqs626, ch_node, ch_id); in iqs626_parse_channel()
920 error = iqs626_parse_events(iqs626, ch_node, ch_id); in iqs626_parse_channel()
924 if (!fwnode_property_present(ch_node, "azoteq,ati-exclude")) in iqs626_parse_channel()
927 if (!fwnode_property_present(ch_node, "azoteq,reseed-disable")) in iqs626_parse_channel()
931 if (fwnode_property_present(ch_node, "azoteq,meas-cap-decrease")) in iqs626_parse_channel()
935 if (!fwnode_property_read_u32(ch_node, "azoteq,rx-inactive", &val)) { in iqs626_parse_channel()
961 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
967 if (fwnode_property_present(ch_node, "azoteq,linearize")) in iqs626_parse_channel()
971 if (fwnode_property_present(ch_node, "azoteq,dual-direction")) in iqs626_parse_channel()
975 if (fwnode_property_present(ch_node, "azoteq,filt-disable")) in iqs626_parse_channel()
978 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-mode", &val)) { in iqs626_parse_channel()
982 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
994 if (!fwnode_property_read_u32(ch_node, "azoteq,cct-increase", in iqs626_parse_channel()
1019 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
1034 if (!fwnode_property_read_u32(ch_node, "azoteq,proj-bias", &val)) { in iqs626_parse_channel()
1038 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1046 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-freq", &val)) { in iqs626_parse_channel()
1050 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1059 if (fwnode_property_present(ch_node, "azoteq,ati-band-tighten")) in iqs626_parse_channel()
1063 return iqs626_parse_trackpad(iqs626, ch_node, ch_id); in iqs626_parse_channel()
1067 if (fwnode_property_present(ch_node, "azoteq,proj-enable")) in iqs626_parse_channel()
1082 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-cnt", in iqs626_parse_channel()
1087 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1095 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-cnt", in iqs626_parse_channel()
1100 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1108 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-lta", in iqs626_parse_channel()
1113 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1121 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-lta", in iqs626_parse_channel()
1126 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1134 error = iqs626_parse_pins(iqs626, ch_node, "azoteq,rx-enable", in iqs626_parse_channel()
1139 error = iqs626_parse_pins(iqs626, ch_node, "azoteq,tx-enable", in iqs626_parse_channel()
1148 if (!fwnode_property_read_u32(ch_node, "azoteq,local-cap-size", in iqs626_parse_channel()
1155 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
1165 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-mode", &val)) { in iqs626_parse_channel()
1169 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1177 if (!fwnode_property_read_u32(ch_node, "azoteq,tx-freq", &val)) { in iqs626_parse_channel()
1181 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1190 if (fwnode_property_present(ch_node, "azoteq,invert-enable")) in iqs626_parse_channel()
1194 if (fwnode_property_present(ch_node, "azoteq,comp-disable")) in iqs626_parse_channel()
1198 if (fwnode_property_present(ch_node, "azoteq,static-enable")) in iqs626_parse_channel()
1206 if (!fwnode_property_present(ch_node, "azoteq,assoc-select")) in iqs626_parse_channel()
1210 if (fwnode_property_match_string(ch_node, "azoteq,assoc-select", in iqs626_parse_channel()
1217 if (fwnode_property_read_u32(ch_node, "azoteq,assoc-weight", &val)) in iqs626_parse_channel()
1223 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1236 struct fwnode_handle *ch_node; in iqs626_parse_prop() local
1378 ch_node = device_get_named_child_node(&client->dev, in iqs626_parse_prop()
1380 if (!ch_node) in iqs626_parse_prop()
1383 error = iqs626_parse_channel(iqs626, ch_node, i); in iqs626_parse_prop()
1384 fwnode_handle_put(ch_node); in iqs626_parse_prop()