• Home
  • Raw
  • Download

Lines Matching refs:size

68 		.size = sizeof(struct uwb_rc_evt_ie_rcv),
72 .size = sizeof(struct uwb_rc_evt_beacon),
76 .size = sizeof(struct uwb_rc_evt_beacon_size),
79 .size = sizeof(struct uwb_rc_evt_bpoie_change),
84 .size = sizeof(struct uwb_rc_evt_bp_slot_change),
87 .size = sizeof(struct uwb_rc_evt_bp_switch_ie_rcv),
91 .size = sizeof(struct uwb_rc_evt_dev_addr_conflict),
94 .size = sizeof(struct uwb_rc_evt_drp_avail)
97 .size = sizeof(struct uwb_rc_evt_drp),
101 .size = sizeof(struct uwb_rc_evt_bp_switch_status),
104 .size = sizeof(struct uwb_rc_evt_cmd_frame_rcv),
108 .size = sizeof(struct uwb_rc_evt_channel_change_ie_rcv),
112 .size = sizeof(struct uwb_rc_evt_confirm),
115 .size = sizeof(struct uwb_rc_evt_dev_addr_mgmt) },
117 .size = sizeof(struct uwb_rc_evt_get_ie),
121 .size = sizeof(struct uwb_rc_evt_confirm),
124 .size = sizeof(struct uwb_rc_evt_confirm),
127 .size = sizeof(struct uwb_rc_evt_confirm),
130 .size = sizeof(struct uwb_rc_evt_set_drp_ie),
133 .size = sizeof(struct uwb_rc_evt_set_ie),
136 .size = sizeof(struct uwb_rc_evt_confirm),
139 .size = sizeof(struct uwb_rc_evt_confirm),
142 .size = sizeof(struct uwb_rc_evt_confirm),
145 .size = sizeof(struct uwb_rc_evt_confirm),
148 .size = sizeof(struct uwb_rc_evt_confirm),
151 .size = sizeof(struct uwb_rc_evt_confirm),
154 .size = sizeof(struct uwb_rc_evt_confirm),
157 .size = sizeof(struct uwb_rc_evt_confirm),
164 .size = sizeof(struct uwb_rc_evt_daa_energy_detected),
167 .size = sizeof(struct uwb_rc_evt_set_daa_energy_mask),
170 .size = sizeof(struct uwb_rc_evt_set_notification_filter_ex),
357 ssize_t size; in uwb_est_get_size() local
361 size = -ENOENT; in uwb_est_get_size()
368 size = -ENOENT; in uwb_est_get_size()
370 if (entry->size == 0 && entry->offset == 0) { /* unknown? */ in uwb_est_get_size()
378 size = entry->size; in uwb_est_get_size()
384 size = -ENOSPC; /* enough data for more? */ in uwb_est_get_size()
397 size = entry->size; in uwb_est_get_size()
400 case UWB_EST_16: size += le16_to_cpu(*(__le16 *)ptr); break; in uwb_est_get_size()
401 case UWB_EST_8: size += *(u8 *)ptr; break; in uwb_est_get_size()
406 return size; in uwb_est_get_size()
432 ssize_t size; in uwb_est_find_size() local
439 size = -ENOSPC; in uwb_est_find_size()
447 size = uwb_est_get_size(rc, &uwb_est[itr], in uwb_est_find_size()
450 if (size != -ENOENT) in uwb_est_find_size()
459 size = -ENOENT; in uwb_est_find_size()
462 return size; in uwb_est_find_size()