Lines Matching refs:size
730 * @param_size: size DFH parameters.
946 /* workaround for private features with invalid size, use 4K instead */
990 * @psize: destination to store size of parameter data in bytes
1105 int size = 0;
1112 while (size + DFHv1_PARAM_HDR < max) {
1113 v = readq(dfh_base + DFHv1_PARAM_HDR + size);
1119 size += next * sizeof(u64);
1122 return size;
1130 * to provide resource size and feature id as they could be read from DFH
1133 * resource size information provided by its parent FIU.
1137 resource_size_t ofst, resource_size_t size, u16 fid)
1151 /* read feature size and id if inputs are invalid */
1152 size = size ? size : feature_size(v);
1155 dfh_psize = dfh_get_param_size(binfo->ioaddr + ofst, size);
1158 "failed to read size of DFHv1 parameters %d\n",
1166 if (binfo->len - ofst < size)
1191 end = start + size - 1;
1213 u32 size = FIELD_GET(PORT_CAP_MMIO_SIZE, v) << 10;
1215 WARN_ON(!size);
1217 return create_feature_instance(binfo, ofst, size, FEATURE_ID_AFU);