Lines Matching refs:ch_node
460 const struct fwnode_handle *ch_node, in iqs626_parse_events() argument
511 ev_node = ch_node; in iqs626_parse_events()
514 ev_node = fwnode_get_named_child_node(ch_node, ev_name); in iqs626_parse_events()
548 fwnode_get_name(ch_node), val); in iqs626_parse_events()
568 fwnode_get_name(ch_node), val); in iqs626_parse_events()
588 fwnode_get_name(ch_node), error); in iqs626_parse_events()
596 fwnode_get_name(ch_node), thresh_tp[j]); in iqs626_parse_events()
608 const struct fwnode_handle *ch_node, in iqs626_parse_ati_target() argument
644 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-target", &val)) { in iqs626_parse_ati_target()
648 fwnode_get_name(ch_node), val); in iqs626_parse_ati_target()
657 !fwnode_property_read_u32(ch_node, "azoteq,ati-base", &val)) { in iqs626_parse_ati_target()
678 fwnode_get_name(ch_node), val); in iqs626_parse_ati_target()
688 if (!fwnode_property_present(ch_node, "azoteq,ati-base")) in iqs626_parse_ati_target()
691 error = fwnode_property_read_u32_array(ch_node, "azoteq,ati-base", in iqs626_parse_ati_target()
696 fwnode_get_name(ch_node), error); in iqs626_parse_ati_target()
705 fwnode_get_name(ch_node), ati_base[i]); in iqs626_parse_ati_target()
717 const struct fwnode_handle *ch_node, in iqs626_parse_pins() argument
724 if (!fwnode_property_present(ch_node, propname)) in iqs626_parse_pins()
727 count = fwnode_property_count_u32(ch_node, propname); in iqs626_parse_pins()
731 fwnode_get_name(ch_node)); in iqs626_parse_pins()
736 fwnode_get_name(ch_node), count); in iqs626_parse_pins()
740 error = fwnode_property_read_u32_array(ch_node, propname, val, count); in iqs626_parse_pins()
744 fwnode_get_name(ch_node), error); in iqs626_parse_pins()
754 fwnode_get_name(ch_node), val[i]); in iqs626_parse_pins()
765 const struct fwnode_handle *ch_node) in iqs626_parse_trackpad() argument
773 if (!fwnode_property_read_u32(ch_node, "azoteq,lta-update", &val)) { in iqs626_parse_trackpad()
777 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
785 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-trackpad", in iqs626_parse_trackpad()
790 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
798 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-cnt", in iqs626_parse_trackpad()
803 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
811 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-cnt", in iqs626_parse_trackpad()
816 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
824 if (!fwnode_property_present(ch_node, "linux,keycodes")) in iqs626_parse_trackpad()
827 count = fwnode_property_count_u32(ch_node, "linux,keycodes"); in iqs626_parse_trackpad()
836 error = fwnode_property_read_u32_array(ch_node, "linux,keycodes", in iqs626_parse_trackpad()
844 if (fwnode_property_present(ch_node, "azoteq,gesture-swipe")) in iqs626_parse_trackpad()
847 if (!fwnode_property_read_u32(ch_node, "azoteq,timeout-tap-ms", in iqs626_parse_trackpad()
852 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
859 if (!fwnode_property_read_u32(ch_node, "azoteq,timeout-swipe-ms", in iqs626_parse_trackpad()
864 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
871 if (!fwnode_property_read_u32(ch_node, "azoteq,thresh-swipe", in iqs626_parse_trackpad()
876 fwnode_get_name(ch_node), val); in iqs626_parse_trackpad()
889 const struct fwnode_handle *ch_node, in iqs626_parse_channel() argument
925 if (fwnode_property_present(ch_node, "azoteq,meas-cap-decrease")) in iqs626_parse_channel()
929 if (!fwnode_property_read_u32(ch_node, "azoteq,rx-inactive", &val)) { in iqs626_parse_channel()
955 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
961 if (fwnode_property_present(ch_node, "azoteq,linearize")) in iqs626_parse_channel()
965 if (fwnode_property_present(ch_node, "azoteq,dual-direction")) in iqs626_parse_channel()
969 if (fwnode_property_present(ch_node, "azoteq,filt-disable")) in iqs626_parse_channel()
972 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-mode", &val)) { in iqs626_parse_channel()
976 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
988 if (!fwnode_property_read_u32(ch_node, "azoteq,cct-increase", in iqs626_parse_channel()
1013 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
1028 if (!fwnode_property_read_u32(ch_node, "azoteq,proj-bias", &val)) { in iqs626_parse_channel()
1032 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1040 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-freq", &val)) { in iqs626_parse_channel()
1044 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1053 if (fwnode_property_present(ch_node, "azoteq,ati-band-tighten")) in iqs626_parse_channel()
1057 return iqs626_parse_trackpad(iqs626, ch_node); in iqs626_parse_channel()
1061 if (fwnode_property_present(ch_node, "azoteq,proj-enable")) in iqs626_parse_channel()
1076 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-cnt", in iqs626_parse_channel()
1081 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1089 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-cnt", in iqs626_parse_channel()
1094 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1102 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-lta", in iqs626_parse_channel()
1107 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1115 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-lta", in iqs626_parse_channel()
1120 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1128 error = iqs626_parse_pins(iqs626, ch_node, "azoteq,rx-enable", in iqs626_parse_channel()
1133 error = iqs626_parse_pins(iqs626, ch_node, "azoteq,tx-enable", in iqs626_parse_channel()
1142 if (!fwnode_property_read_u32(ch_node, "azoteq,local-cap-size", in iqs626_parse_channel()
1149 fwnode_get_name(ch_node), orig_val); in iqs626_parse_channel()
1159 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-mode", &val)) { in iqs626_parse_channel()
1163 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1171 if (!fwnode_property_read_u32(ch_node, "azoteq,tx-freq", &val)) { in iqs626_parse_channel()
1175 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1184 if (fwnode_property_present(ch_node, "azoteq,invert-enable")) in iqs626_parse_channel()
1188 if (fwnode_property_present(ch_node, "azoteq,comp-disable")) in iqs626_parse_channel()
1192 if (fwnode_property_present(ch_node, "azoteq,static-enable")) in iqs626_parse_channel()
1200 if (!fwnode_property_present(ch_node, "azoteq,assoc-select")) in iqs626_parse_channel()
1204 if (fwnode_property_match_string(ch_node, "azoteq,assoc-select", in iqs626_parse_channel()
1211 if (fwnode_property_read_u32(ch_node, "azoteq,assoc-weight", &val)) in iqs626_parse_channel()
1217 fwnode_get_name(ch_node), val); in iqs626_parse_channel()
1230 struct fwnode_handle *ch_node; in iqs626_parse_prop() local
1372 ch_node = device_get_named_child_node(&client->dev, in iqs626_parse_prop()
1374 if (!ch_node) in iqs626_parse_prop()
1377 error = iqs626_parse_channel(iqs626, ch_node, i); in iqs626_parse_prop()
1381 error = iqs626_parse_ati_target(iqs626, ch_node, i); in iqs626_parse_prop()
1385 error = iqs626_parse_events(iqs626, ch_node, i); in iqs626_parse_prop()
1389 if (!fwnode_property_present(ch_node, "azoteq,ati-exclude")) in iqs626_parse_prop()
1392 if (!fwnode_property_present(ch_node, "azoteq,reseed-disable")) in iqs626_parse_prop()