Lines Matching refs:result
55 int result = 0;
62 result = -EINVAL;
69 result = -EINVAL;
76 result = -EINVAL;
78 return result;
94 ssize_t result;
107 result = i1480->cmd(i1480, cmd_name, cmd_size);
108 if (result < 0)
111 result = wait_for_completion_interruptible_timeout(
113 if (result == 0) {
114 result = -ETIMEDOUT;
117 if (result < 0)
119 result = i1480->evt_result;
120 if (result < 0) {
122 cmd_name, result);
134 result = i1480->wait_init_done(i1480);
135 if (result < 0)
137 result = i1480->evt_result;
139 if (result != reply_size) {
141 cmd_name, result, reply_size);
142 result = -EINVAL;
146 result = i1480_rceb_check(i1480, i1480->evt_buf, cmd_name, context,
149 return result;
157 int result;
160 result = i1480->read(i1480, 0x80080000, 2 * sizeof(*buf));
161 if (result < 0) {
162 dev_err(i1480->dev, "cannot read U & L states: %d\n", result);
167 return result;
178 int result;
180 result = i1480_pre_fw_upload(i1480); /* PHY pre fw */
181 if (result < 0 && result != -ENOENT) {
185 result = i1480_mac_fw_upload(i1480); /* MAC fw */
186 if (result < 0) {
187 if (result == -ENOENT)
194 result = i1480_phy_fw_upload(i1480); /* PHY fw */
195 if (result < 0 && result != -ENOENT) {
203 result = 0;
205 return result;