/drivers/uwb/ |
H A D | ie-rcv.c | 29 int uwbd_evt_handle_rc_ie_rcv(struct uwb_event *evt) argument 32 struct device *dev = &evt->rc->uwb_dev.dev; 37 if (evt->notif.size < sizeof(*iercv)) { 40 evt->notif.size, sizeof(*iercv)); 43 iercv = container_of(evt->notif.rceb, struct uwb_rc_evt_ie_rcv, rceb);
|
H A D | drp-avail.c | 227 int uwbd_evt_get_drp_avail(struct uwb_event *evt, unsigned long *bmp) argument 229 struct device *dev = &evt->rc->uwb_dev.dev; 234 if (evt->notif.size < sizeof(*drp_evt)) { 237 "needed]\n", evt->notif.size, sizeof(*drp_evt)); 240 drp_evt = container_of(evt->notif.rceb, struct uwb_rc_evt_drp_avail, rceb); 251 * @evt: Event information (packs the actual event data, which 271 int uwbd_evt_handle_rc_drp_avail(struct uwb_event *evt) argument 274 struct uwb_rc *rc = evt->rc; 277 result = uwbd_evt_get_drp_avail(evt, bmp);
|
H A D | address.c | 167 struct uwb_rc_evt_dev_addr_mgmt evt; local 184 result = uwb_rc_dev_addr_mgmt(rc, bmOperationType, baAddr, &evt); 188 memcpy(&dev_addr->data, evt.baAddr, 192 memcpy(&mac_addr->data, evt.baAddr, 291 * @evt: the DEV_ADDR_CONFLICT notification from the radio controller 297 int uwbd_evt_handle_rc_dev_addr_conflict(struct uwb_event *evt) argument 299 struct uwb_rc *rc = evt->rc;
|
H A D | reset.c | 322 int uwbd_msg_handle_reset(struct uwb_event *evt) argument 324 struct uwb_rc *rc = evt->rc; 351 struct uwb_event *evt; local 353 evt = kzalloc(sizeof(struct uwb_event), GFP_ATOMIC); 354 if (unlikely(evt == NULL)) 357 evt->rc = __uwb_rc_get(rc); /* will be put by uwbd's uwbd_event_handle() */ 358 evt->ts_jiffies = jiffies; 359 evt->type = UWB_EVT_TYPE_MSG; 360 evt->message = UWB_EVT_MSG_RESET; 362 uwbd_event_queue(evt); [all...] |
H A D | uwbd.c | 85 * @evt->rc is already referenced and guaranteed to exist. See 164 * @evt: the event to handle 174 * controller in @evt->rc referenced. The reference will be dropped 179 int uwbd_event_handle_urc(struct uwb_event *evt) argument 187 type = evt->notif.rceb->bEventType; 188 event = le16_to_cpu(evt->notif.rceb->wEvent); 189 context = evt->notif.rceb->bEventContext; 202 result = (*handler)(evt); 205 dev_err(&evt->rc->uwb_dev.dev, 211 static void uwbd_event_handle_message(struct uwb_event *evt) argument 229 uwbd_event_handle(struct uwb_event *evt) argument 271 struct uwb_event *evt; local 333 uwbd_event_queue(struct uwb_event *evt) argument 354 struct uwb_event *evt, *nxt; local [all...] |
H A D | neh.c | 97 * evt). On reception of the notification/event, the callback (cb) is 108 __le16 evt; member in struct:uwb_rc_neh 231 neh->evt = cpu_to_le16(expected_event); 309 && neh->evt == rceb->wEvent
|
H A D | beacon.c | 358 static int uwb_verify_beacon(struct uwb_rc *rc, struct uwb_event *evt, argument 366 if (evt->notif.size < sizeof(*be) + sizeof(*bf)) { 368 "(%zu vs %zu bytes needed)\n", evt->notif.size, 390 int uwbd_evt_handle_rc_beacon(struct uwb_event *evt) argument 399 rc = evt->rc; 400 be = container_of(evt->notif.rceb, struct uwb_rc_evt_beacon, rceb); 401 result = uwb_verify_beacon(rc, evt, be); 428 uwb_beacon_print(evt->rc, be, bf); 429 bce = __uwb_beca_add(rc, be, bf, evt->ts_jiffies); 444 bce->ts_jiffies = evt 469 uwbd_evt_handle_rc_beacon_size(struct uwb_event *evt) argument 506 uwbd_evt_handle_rc_bp_slot_change(struct uwb_event *evt) argument 540 uwbd_evt_handle_rc_bpoie_change(struct uwb_event *evt) argument [all...] |
H A D | drp.c | 735 * @evt: the DRP_IE event from the radio controller 765 int uwbd_evt_handle_rc_drp(struct uwb_event *evt) argument 767 struct device *dev = &evt->rc->uwb_dev.dev; 768 struct uwb_rc *rc = evt->rc; 776 if (evt->notif.size < sizeof(*drp_evt)) { 779 evt->notif.size, sizeof(*drp_evt)); 782 bytes_left = evt->notif.size - sizeof(*drp_evt); 783 drp_evt = container_of(evt->notif.rceb, struct uwb_rc_evt_drp, rceb);
|
/drivers/clocksource/ |
H A D | i8253.c | 109 struct clock_event_device *evt) 123 if (evt->mode == CLOCK_EVT_MODE_PERIODIC || 124 evt->mode == CLOCK_EVT_MODE_ONESHOT) { 148 static int pit_next_event(unsigned long delta, struct clock_event_device *evt) argument 108 init_pit_timer(enum clock_event_mode mode, struct clock_event_device *evt) argument
|
H A D | cs5535-clockevt.c | 81 struct clock_event_device *evt) 91 static int mfgpt_next_event(unsigned long delta, struct clock_event_device *evt) argument 80 mfgpt_set_mode(enum clock_event_mode mode, struct clock_event_device *evt) argument
|
H A D | dw_apb_timer.c | 41 ced_to_dw_apb_ced(struct clock_event_device *evt) argument 43 return container_of(evt, struct dw_apb_clock_event_device, ced); 89 struct clock_event_device *evt = data; local 90 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); 92 if (!evt->event_handler) { 100 evt->event_handler(evt); 114 struct clock_event_device *evt) 118 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); 120 pr_debug("%s CPU %d mode=%d\n", __func__, first_cpu(*evt 113 apbt_set_mode(enum clock_event_mode mode, struct clock_event_device *evt) argument 179 apbt_next_event(unsigned long delta, struct clock_event_device *evt) argument [all...] |
/drivers/scsi/ibmvscsi/ |
H A D | iseries_vscsi.c | 58 struct srp_lp_event *evt = (struct srp_lp_event *)lpevt; local 60 if (!evt) { 71 ibmvscsi_handle_crq(&evt->crq, single_host_data);
|
H A D | ibmvscsi.c | 159 struct srp_event_struct *evt = &pool->events[i]; local 160 memset(&evt->crq, 0x00, sizeof(evt->crq)); 161 atomic_set(&evt->free, 1); 162 evt->crq.valid = 0x80; 163 evt->crq.IU_length = sizeof(*evt->xfer_iu); 164 evt->crq.IU_data_ptr = pool->iu_token + 165 sizeof(*evt->xfer_iu) * i; 166 evt 212 valid_event_struct(struct event_pool *pool, struct srp_event_struct *evt) argument 229 free_event_struct(struct event_pool *pool, struct srp_event_struct *evt) argument 477 struct srp_event_struct *evt; local 1155 struct srp_event_struct *evt; local 1294 struct srp_event_struct *evt; local [all...] |
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch.c | 205 static void iwch_event_handler(struct t3cdev *tdev, u32 evt, u32 port_id) argument 216 switch (evt) {
|
/drivers/message/i2o/ |
H A D | driver.c | 210 struct i2o_event *evt; local 222 evt = kzalloc(size * 4 + sizeof(*evt), GFP_ATOMIC); 223 if (!evt) 226 evt->size = size; 227 evt->tcntxt = le32_to_cpu(msg->u.s.tcntxt); 228 evt->event_indicator = le32_to_cpu(msg->body[0]); 229 memcpy(&evt->data, &msg->body[1], size * 4); 233 evt->i2o_dev = dev; 237 INIT_WORK(&evt [all...] |
H A D | exec-osm.c | 526 struct i2o_event *evt = container_of(work, struct i2o_event, work); local 528 if (likely(evt->i2o_dev)) 530 evt->i2o_dev->lct_data.tid); 531 kfree(evt);
|
H A D | i2o_block.c | 507 struct i2o_event *evt = container_of(work, struct i2o_event, work); local 509 kfree(evt);
|
/drivers/usb/dwc3/ |
H A D | core.c | 160 * @evt: Pointer to event buffer to be freed 163 struct dwc3_event_buffer *evt) 165 dma_free_coherent(dwc->dev, evt->length, evt->buf, evt->dma); 166 kfree(evt); 180 struct dwc3_event_buffer *evt; local 182 evt = kzalloc(sizeof(*evt), GFP_KERNEL); 183 if (!evt) 162 dwc3_free_one_event_buffer(struct dwc3 *dwc, struct dwc3_event_buffer *evt) argument 204 struct dwc3_event_buffer *evt; local 239 struct dwc3_event_buffer *evt; local 260 struct dwc3_event_buffer *evt; local 283 struct dwc3_event_buffer *evt; local [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_bta.c | 277 amp_hci_event_t *evt; local 293 evt = (amp_hci_event_t *)data; 294 evt->ecode = HCI_Number_of_Completed_Data_Blocks; 295 evt->plen = sizeof(num_completed_data_blocks_evt_parms_t); 297 parms = (num_completed_data_blocks_evt_parms_t *)evt->parms; 311 amp_hci_event_t *evt = (amp_hci_event_t *)data_buf; local 313 switch (evt->ecode) { 315 cmd_complete_parms_t *parms = (cmd_complete_parms_t *)evt->parms; 328 flush_occurred_evt_parms_t *evt_parms = (flush_occurred_evt_parms_t *)evt->parms;
|
/drivers/ptp/ |
H A D | ptp_clock.c | 287 struct pps_event_time evt; local 300 pps_get_ts(&evt); 301 pps_event(ptp->pps_source, &evt, PTP_PPS_EVENT, NULL);
|
/drivers/bluetooth/ |
H A D | btusb.c | 796 static void btusb_notify(struct hci_dev *hdev, unsigned int evt) argument 800 BT_DBG("%s evt %d", hdev->name, evt);
|
/drivers/infiniband/core/ |
H A D | uverbs_main.c | 140 struct ib_uverbs_event *evt, *tmp; local 144 list_for_each_entry_safe(evt, tmp, &uobj->comp_list, obj_list) { 145 list_del(&evt->list); 146 kfree(evt); 154 list_for_each_entry_safe(evt, tmp, &uobj->async_list, obj_list) { 155 list_del(&evt->list); 156 kfree(evt); 164 struct ib_uverbs_event *evt, *tmp; local 167 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { 168 list_del(&evt [all...] |
H A D | ucm.c | 259 static int ib_ucm_event_process(struct ib_cm_event *evt, argument 264 switch (evt->event) { 267 &evt->param.req_rcvd); 270 uvt->resp.present |= (evt->param.req_rcvd.alternate_path ? 275 &evt->param.rep_rcvd); 280 uvt->resp.u.send_status = evt->param.send_status; 284 uvt->resp.u.send_status = evt->param.send_status; 288 uvt->resp.u.send_status = evt->param.send_status; 292 evt->param.mra_rcvd.service_timeout; 296 uvt->resp.u.rej_resp.reason = evt [all...] |
/drivers/scsi/be2iscsi/ |
H A D | be_cmds.c | 230 struct be_async_event_link_state *evt) 232 switch (evt->port_link_status) { 235 evt->physical_port); 243 evt->physical_port); 248 evt->port_link_status, 249 evt->physical_port); 276 /* Interpret compl as a async link evt */ 229 beiscsi_async_link_state_process(struct beiscsi_hba *phba, struct be_async_event_link_state *evt) argument
|
/drivers/scsi/ |
H A D | gdth_ioctl.h | 206 u8 evt[EVENT_SIZE]; /* event structure */ member in struct:__anon4274::__anon4275::__anon4279 253 u8 evt[EVENT_SIZE]; /* event structure */ member in struct:__anon4282::__anon4283::__anon4289
|