Lines Matching refs:ch_node
461 const struct fwnode_handle *ch_node, in iqs626_parse_events() argument
512 ev_node = ch_node; in iqs626_parse_events()
515 ev_node = fwnode_get_named_child_node(ch_node, ev_name); in iqs626_parse_events()
549 fwnode_get_name(ch_node), val); in iqs626_parse_events()
569 fwnode_get_name(ch_node), val); in iqs626_parse_events()
589 fwnode_get_name(ch_node), error); in iqs626_parse_events()
597 fwnode_get_name(ch_node), thresh_tp[j]); in iqs626_parse_events()
610 const struct fwnode_handle *ch_node, in iqs626_parse_ati_target() argument
646 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-target", &val)) { in iqs626_parse_ati_target()
650 fwnode_get_name(ch_node), val); in iqs626_parse_ati_target()
659 !fwnode_property_read_u32(ch_node, "azoteq,ati-base", &val)) { in iqs626_parse_ati_target()
680 fwnode_get_name(ch_node), val); in iqs626_parse_ati_target()
690 if (!fwnode_property_present(ch_node, "azoteq,ati-base")) in iqs626_parse_ati_target()
693 error = fwnode_property_read_u32_array(ch_node, "azoteq,ati-base", in iqs626_parse_ati_target()
698 fwnode_get_name(ch_node), error); in iqs626_parse_ati_target()
707 fwnode_get_name(ch_node), ati_base[i]); in iqs626_parse_ati_target()
719 const struct fwnode_handle *ch_node, in iqs626_parse_pins() argument
726 if (!fwnode_property_present(ch_node, propname)) in iqs626_parse_pins()
729 count = fwnode_property_count_u32(ch_node, propname); in iqs626_parse_pins()
733 fwnode_get_name(ch_node)); in iqs626_parse_pins()
738 fwnode_get_name(ch_node), count); in iqs626_parse_pins()
742 error = fwnode_property_read_u32_array(ch_node, propname, val, count); in iqs626_parse_pins()
746 fwnode_get_name(ch_node), error); in iqs626_parse_pins()
756 fwnode_get_name(ch_node), val[i]); in iqs626_parse_pins()
767 const struct fwnode_handle *ch_node) in iqs626_parse_trackpad() argument
775 if (!fwnode_property_read_u32(ch_node, "azoteq,lta-update", &val)) { in iqs626_parse_trackpad()
779 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
787 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-trackpad", in iqs626_parse_trackpad()
792 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
800 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-cnt", in iqs626_parse_trackpad()
805 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
813 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-cnt", in iqs626_parse_trackpad()
818 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
826 if (!fwnode_property_present(ch_node, "linux,keycodes")) in iqs626_parse_trackpad()
829 count = fwnode_property_count_u32(ch_node, "linux,keycodes"); in iqs626_parse_trackpad()
838 error = fwnode_property_read_u32_array(ch_node, "linux,keycodes", in iqs626_parse_trackpad()
846 if (fwnode_property_present(ch_node, "azoteq,gesture-swipe")) in iqs626_parse_trackpad()
849 if (!fwnode_property_read_u32(ch_node, "azoteq,timeout-tap-ms", in iqs626_parse_trackpad()
854 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
861 if (!fwnode_property_read_u32(ch_node, "azoteq,timeout-swipe-ms", in iqs626_parse_trackpad()
866 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
873 if (!fwnode_property_read_u32(ch_node, "azoteq,thresh-swipe", in iqs626_parse_trackpad()
878 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
892 const struct fwnode_handle *ch_node, in iqs626_parse_channel() argument
928 if (fwnode_property_present(ch_node, "azoteq,meas-cap-decrease")) in iqs626_parse_channel()
932 if (!fwnode_property_read_u32(ch_node, "azoteq,rx-inactive", &val)) { in iqs626_parse_channel()
958 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
964 if (fwnode_property_present(ch_node, "azoteq,linearize")) in iqs626_parse_channel()
968 if (fwnode_property_present(ch_node, "azoteq,dual-direction")) in iqs626_parse_channel()
972 if (fwnode_property_present(ch_node, "azoteq,filt-disable")) in iqs626_parse_channel()
975 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-mode", &val)) { in iqs626_parse_channel()
979 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
991 if (!fwnode_property_read_u32(ch_node, "azoteq,cct-increase", in iqs626_parse_channel()
1016 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
1031 if (!fwnode_property_read_u32(ch_node, "azoteq,proj-bias", &val)) { in iqs626_parse_channel()
1035 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1043 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-freq", &val)) { in iqs626_parse_channel()
1047 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1056 if (fwnode_property_present(ch_node, "azoteq,ati-band-tighten")) in iqs626_parse_channel()
1060 return iqs626_parse_trackpad(iqs626, ch_node); in iqs626_parse_channel()
1064 if (fwnode_property_present(ch_node, "azoteq,proj-enable")) in iqs626_parse_channel()
1079 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-cnt", in iqs626_parse_channel()
1084 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1092 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-cnt", in iqs626_parse_channel()
1097 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1105 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-lta", in iqs626_parse_channel()
1110 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1118 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-lta", in iqs626_parse_channel()
1123 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1131 error = iqs626_parse_pins(iqs626, ch_node, "azoteq,rx-enable", in iqs626_parse_channel()
1136 error = iqs626_parse_pins(iqs626, ch_node, "azoteq,tx-enable", in iqs626_parse_channel()
1145 if (!fwnode_property_read_u32(ch_node, "azoteq,local-cap-size", in iqs626_parse_channel()
1152 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
1162 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-mode", &val)) { in iqs626_parse_channel()
1166 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1174 if (!fwnode_property_read_u32(ch_node, "azoteq,tx-freq", &val)) { in iqs626_parse_channel()
1178 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1187 if (fwnode_property_present(ch_node, "azoteq,invert-enable")) in iqs626_parse_channel()
1191 if (fwnode_property_present(ch_node, "azoteq,comp-disable")) in iqs626_parse_channel()
1195 if (fwnode_property_present(ch_node, "azoteq,static-enable")) in iqs626_parse_channel()
1203 if (!fwnode_property_present(ch_node, "azoteq,assoc-select")) in iqs626_parse_channel()
1207 if (fwnode_property_match_string(ch_node, "azoteq,assoc-select", in iqs626_parse_channel()
1214 if (fwnode_property_read_u32(ch_node, "azoteq,assoc-weight", &val)) in iqs626_parse_channel()
1220 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1233 struct fwnode_handle *ch_node; in iqs626_parse_prop() local
1375 ch_node = device_get_named_child_node(&client->dev, in iqs626_parse_prop()
1377 if (!ch_node) in iqs626_parse_prop()
1380 error = iqs626_parse_channel(iqs626, ch_node, i); in iqs626_parse_prop()
1384 error = iqs626_parse_ati_target(iqs626, ch_node, i); in iqs626_parse_prop()
1388 error = iqs626_parse_events(iqs626, ch_node, i); in iqs626_parse_prop()
1392 if (!fwnode_property_present(ch_node, "azoteq,ati-exclude")) in iqs626_parse_prop()
1395 if (!fwnode_property_present(ch_node, "azoteq,reseed-disable")) in iqs626_parse_prop()