@@ -1574,9 +1574,9 @@ static inline int nvme_get_log_predictable_lat_nvmset(int fd, __u16 nvmsetid,
15741574 * nvme_get_log_predictable_lat_event() -
15751575 * @fd: File descriptor of nvme device
15761576 * @rae: Retain asynchronous events
1577- * @offset:
1578- * @len:
1579- * @log:
1577+ * @offset: Offset into the predictable latency event
1578+ * @len: Length of provided user buffer to hold the log data in bytes
1579+ * @log: User address for log page data
15801580 */
15811581static inline int nvme_get_log_predictable_lat_event (int fd , bool rae ,
15821582 __u32 offset , __u32 len , void * log )
@@ -2064,10 +2064,10 @@ static inline int nvme_set_features_simple(int fd, __u8 fid, __u32 nsid,
20642064/**
20652065 * nvme_set_features_arbitration() -
20662066 * @fd: File descriptor of nvme device
2067- * @ab:
2068- * @lpw:
2069- * @mpw:
2070- * @hpw:
2067+ * @ab: Arbitration Burst
2068+ * @lpw: Low Priority Weight
2069+ * @mpw: Medium Priority Weight
2070+ * @hpw: High Priority Weight
20712071 * @save: Save value across power states
20722072 * @result: The command completion result from CQE dword0
20732073 *
@@ -2080,8 +2080,8 @@ int nvme_set_features_arbitration(int fd, __u8 ab, __u8 lpw, __u8 mpw,
20802080/**
20812081 * nvme_set_features_power_mgmt() -
20822082 * @fd: File descriptor of nvme device
2083- * @ps:
2084- * @wh:
2083+ * @ps: Power State
2084+ * @wh: Workload Hint
20852085 * @save: Save value across power states
20862086 * @result: The command completion result from CQE dword0
20872087 *
@@ -2109,9 +2109,9 @@ int nvme_set_features_lba_range(int fd, __u32 nsid, __u32 nr_ranges, bool save,
21092109/**
21102110 * nvme_set_features_temp_thresh() -
21112111 * @fd: File descriptor of nvme device
2112- * @tmpth:
2113- * @tmpsel:
2114- * @thsel:
2112+ * @tmpth: Temperature Threshold
2113+ * @tmpsel: Threshold Temperature Select
2114+ * @thsel: Threshold Type Select
21152115 * @save: Save value across power states
21162116 * @result: The command completion result from CQE dword0
21172117 *
@@ -2127,7 +2127,7 @@ int nvme_set_features_temp_thresh(int fd, __u16 tmpth, __u8 tmpsel,
21272127 * @fd: File descriptor of nvme device
21282128 * @nsid: Namespace ID
21292129 * @tler: Time-limited error recovery value
2130- * @dulbe:
2130+ * @dulbe: Deallocated or Unwritten Logical Block Error Enable
21312131 * @save: Save value across power states
21322132 * @result: The command completion result from CQE dword0
21332133 *
@@ -2153,8 +2153,8 @@ int nvme_set_features_volatile_wc(int fd, bool wce, bool save,
21532153/**
21542154 * nvme_set_features_irq_coalesce() -
21552155 * @fd: File descriptor of nvme device
2156- * @thr:
2157- * @time:
2156+ * @thr: Aggregation Threshold
2157+ * @time: Aggregation Time
21582158 * @save: Save value across power states
21592159 * @result: The command completion result from CQE dword0
21602160 *
@@ -2167,8 +2167,8 @@ int nvme_set_features_irq_coalesce(int fd, __u8 thr, __u8 time,
21672167/**
21682168 * nvme_set_features_irq_config() -
21692169 * @fd: File descriptor of nvme device
2170- * @iv:
2171- * @cd:
2170+ * @iv: Interrupt Vector
2171+ * @cd: Coalescing Disable
21722172 * @save: Save value across power states
21732173 * @result: The command completion result from CQE dword0
21742174 *
@@ -2181,7 +2181,7 @@ int nvme_set_features_irq_config(int fd, __u16 iv, bool cd, bool save,
21812181/**
21822182 * nvme_set_features_write_atomic() -
21832183 * @fd: File descriptor of nvme device
2184- * @dn:
2184+ * @dn: Disable Normal
21852185 * @save: Save value across power states
21862186 * @result: The command completion result from CQE dword0
21872187 *
@@ -2207,8 +2207,8 @@ int nvme_set_features_async_event(int fd, __u32 events, bool save,
22072207/**
22082208 * nvme_set_features_auto_pst() -
22092209 * @fd: File descriptor of nvme device
2210- * @apste:
2211- * @apst:
2210+ * @apste: Autonomous Power State Transition Enable
2211+ * @apst: Autonomous Power State Transition
22122212 * @save: Save value across power states
22132213 * @result: The command completion result from CQE dword0
22142214 *
@@ -2233,8 +2233,8 @@ int nvme_set_features_timestamp(int fd, bool save, __u64 timestamp);
22332233/**
22342234 * nvme_set_features_hctm() -
22352235 * @fd: File descriptor of nvme device
2236- * @tmt2:
2237- * @tmt1:
2236+ * @tmt2: Thermal Management Temperature 2
2237+ * @tmt1: Thermal Management Temperature 1
22382238 * @save: Save value across power states
22392239 * @result: The command completion result from CQE dword0
22402240 *
@@ -2247,7 +2247,7 @@ int nvme_set_features_hctm(int fd, __u16 tmt2, __u16 tmt1, bool save,
22472247/**
22482248 * nvme_set_features_nopsc() -
22492249 * @fd: File descriptor of nvme device
2250- * @noppme:
2250+ * @noppme: Non-Operational Power State Permissive Mode Enable
22512251 * @save: Save value across power states
22522252 * @result: The command completion result from CQE dword0
22532253 *
@@ -2273,10 +2273,10 @@ int nvme_set_features_rrl(int fd, __u8 rrl, __u16 nvmsetid, bool save,
22732273/**
22742274 * nvme_set_features_plm_config() -
22752275 * @fd: File descriptor of nvme device
2276- * @enable:
2277- * @nvmsetid:
2276+ * @enable: Predictable Latency Enable
2277+ * @nvmsetid: NVM Set Identifier
22782278 * @save: Save value across power states
2279- * @data:
2279+ * @data: Pointer to structure nvme_plm_config
22802280 * @result: The command completion result from CQE dword0
22812281 *
22822282 * Return: The nvme command status if a response was received (see
@@ -2289,8 +2289,8 @@ int nvme_set_features_plm_config(int fd, bool enable, __u16 nvmsetid,
22892289/**
22902290 * nvme_set_features_plm_window() -
22912291 * @fd: File descriptor of nvme device
2292- * @sel:
2293- * @nvmsetid:
2292+ * @sel: Window Select
2293+ * @nvmsetid: NVM Set Identifier
22942294 * @save: Save value across power states
22952295 * @result: The command completion result from CQE dword0
22962296 *
@@ -2304,8 +2304,8 @@ int nvme_set_features_plm_window(int fd, enum nvme_feat_plm_window_select sel,
23042304 * nvme_set_features_lba_sts_interval() -
23052305 * @fd: File descriptor of nvme device
23062306 * @save: Save value across power states
2307- * @lsiri:
2308- * @lsipi:
2307+ * @lsiri: LBA Status Information Report Interval
2308+ * @lsipi: LBA Status Information Poll Interval
23092309 * @result: The command completion result from CQE dword0
23102310 *
23112311 * Return: The nvme command status if a response was received (see
@@ -2318,7 +2318,7 @@ int nvme_set_features_lba_sts_interval(int fd, __u16 lsiri, __u16 lsipi,
23182318 * nvme_set_features_host_behavior() -
23192319 * @fd: File descriptor of nvme device
23202320 * @save: Save value across power states
2321- * @data:
2321+ * @data: Pointer to structure nvme_feat_host_behavior
23222322 *
23232323 * Return: The nvme command status if a response was received (see
23242324 * &enum nvme_status_field) or -1 with errno set otherwise.
@@ -2329,7 +2329,7 @@ int nvme_set_features_host_behavior(int fd, bool save,
23292329/**
23302330 * nvme_set_features_sanitize() -
23312331 * @fd: File descriptor of nvme device
2332- * @nodrm:
2332+ * @nodrm: No-Deallocate Response Mode
23332333 * @save: Save value across power states
23342334 * @result: The command completion result from CQE dword0
23352335 *
@@ -2341,7 +2341,7 @@ int nvme_set_features_sanitize(int fd, bool nodrm, bool save, __u32 *result);
23412341/**
23422342 * nvme_set_features_endurance_evt_cfg() -
23432343 * @fd: File descriptor of nvme device
2344- * @endgid:
2344+ * @endgid: Endurance Group Identifier
23452345 * @egwarn: Flags to enable warning, see &enum nvme_eg_critical_warning_flags
23462346 * @save: Save value across power states
23472347 * @result: The command completion result from CQE dword0
@@ -2355,7 +2355,7 @@ int nvme_set_features_endurance_evt_cfg(int fd, __u16 endgid, __u8 egwarn,
23552355/**
23562356 * nvme_set_features_sw_progress() -
23572357 * @fd: File descriptor of nvme device
2358- * @pbslc:
2358+ * @pbslc: Pre-boot Software Load Count
23592359 * @save: Save value across power states
23602360 * @result: The command completion result from CQE dword0
23612361 *
@@ -2368,7 +2368,7 @@ int nvme_set_features_sw_progress(int fd, __u8 pbslc, bool save,
23682368/**
23692369 * nvme_set_features_host_id() -
23702370 * @fd: File descriptor of nvme device
2371- * @exhid:
2371+ * @exhid: Enable Extended Host Identifier
23722372 * @save: Save value across power states
23732373 * @hostid: Host ID to set
23742374 *
@@ -2380,7 +2380,7 @@ int nvme_set_features_host_id(int fd, bool exhid, bool save, __u8 *hostid);
23802380/**
23812381 * nvme_set_features_resv_mask() -
23822382 * @fd: File descriptor of nvme device
2383- * @mask:
2383+ * @mask: Reservation Notification Mask Field
23842384 * @save: Save value across power states
23852385 * @result: The command completion result from CQE dword0
23862386 *
@@ -2392,7 +2392,7 @@ int nvme_set_features_resv_mask(int fd, __u32 mask, bool save, __u32 *result);
23922392/**
23932393 * nvme_set_features_resv_persist() -
23942394 * @fd: File descriptor of nvme device
2395- * @ptpl:
2395+ * @ptpl: Persist Through Power Loss
23962396 * @save: Save value across power states
23972397 * @result: The command completion result from CQE dword0
23982398 *
@@ -2404,7 +2404,7 @@ int nvme_set_features_resv_persist(int fd, bool ptpl, bool save, __u32 *result);
24042404/**
24052405 * nvme_set_features_write_protect() -
24062406 * @fd: File descriptor of nvme device
2407- * @state:
2407+ * @state: Write Protection State
24082408 * @save: Save value across power states
24092409 * @result: The command completion result from CQE dword0
24102410 *
@@ -2753,7 +2753,7 @@ int nvme_get_features_lba_sts_interval(int fd, enum nvme_get_features_sel sel,
27532753 * nvme_get_features_host_behavior() -
27542754 * @fd: File descriptor of nvme device
27552755 * @sel: Select which type of attribute to return, see &enum nvme_get_features_sel
2756- * @data:
2756+ * @data: Poniter to structure nvme_feat_host_behavior
27572757 * @result: The command completion result from CQE dword0
27582758 *
27592759 * Return: The nvme command status if a response was received (see
@@ -2779,7 +2779,7 @@ int nvme_get_features_sanitize(int fd, enum nvme_get_features_sel sel,
27792779 * nvme_get_features_endurance_event_cfg() -
27802780 * @fd: File descriptor of nvme device
27812781 * @sel: Select which type of attribute to return, see &enum nvme_get_features_sel
2782- * @endgid:
2782+ * @endgid: Endurance Group Identifier
27832783 * @result: The command completion result from CQE dword0
27842784 *
27852785 * Return: The nvme command status if a response was received (see
@@ -2804,7 +2804,7 @@ int nvme_get_features_sw_progress(int fd, enum nvme_get_features_sel sel,
28042804 * nvme_get_features_host_id() -
28052805 * @fd: File descriptor of nvme device
28062806 * @sel: Select which type of attribute to return, see &enum nvme_get_features_sel
2807- * @exhid:
2807+ * @exhid: Enable Extended Host Identifier
28082808 * @len: Length of @hostid
28092809 * @hostid: Buffer for returned host ID
28102810 *
@@ -3312,10 +3312,10 @@ int nvme_directive_send(struct nvme_directive_send_args *args);
33123312/**
33133313 * nvme_directive_send_id_endir() -
33143314 * @fd: File descriptor of nvme device
3315- * @nsid:
3316- * @endir:
3317- * @dtype:
3318- * @id:
3315+ * @nsid: Namespace Identifier
3316+ * @endir: Enable Directive
3317+ * @dtype: Directive Type
3318+ * @id: Pointer to structure nvme_id_directives
33193319 *
33203320 * Return: The nvme command status if a response was received (see
33213321 * &enum nvme_status_field) or -1 with errno set otherwise.
@@ -3510,8 +3510,8 @@ static inline int nvme_directive_recv_stream_status(int fd, __u32 nsid,
35103510 * nvme_directive_recv_stream_allocate() -
35113511 * @fd: File descriptor of nvme device
35123512 * @nsid: Namespace ID
3513- * @nsr:
3514- * @result:
3513+ * @nsr: Namespace Streams Requested
3514+ * @result: If successful, the CQE dword0 value
35153515 *
35163516 * Return: The nvme command status if a response was received (see
35173517 * &enum nvme_status_field) or -1 with errno set otherwise.
0 commit comments