/drivers/uwb/ |
D | rsv.c | 57 bool uwb_rsv_has_two_drp_ies(struct uwb_rsv *rsv) in uwb_rsv_has_two_drp_ies() argument 79 return has_two_drp_ies[rsv->state]; in uwb_rsv_has_two_drp_ies() 106 void uwb_rsv_dump(char *text, struct uwb_rsv *rsv) in uwb_rsv_dump() argument 108 struct device *dev = &rsv->rc->uwb_dev.dev; in uwb_rsv_dump() 112 uwb_dev_addr_print(owner, sizeof(owner), &rsv->owner->dev_addr); in uwb_rsv_dump() 113 if (rsv->target.type == UWB_RSV_TARGET_DEV) in uwb_rsv_dump() 114 devaddr = rsv->target.dev->dev_addr; in uwb_rsv_dump() 116 devaddr = rsv->target.devaddr; in uwb_rsv_dump() 120 text, owner, target, uwb_rsv_state_str(rsv->state)); in uwb_rsv_dump() 125 struct uwb_rsv *rsv = container_of(kref, struct uwb_rsv, kref); in uwb_rsv_release() local [all …]
|
D | drp.c | 105 struct uwb_rsv *rsv; in uwb_rc_send_all_drp_ie() local 112 list_for_each_entry(rsv, &rc->reservations, rc_node) { in uwb_rc_send_all_drp_ie() 113 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie() 114 num_bytes += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie() 115 if (uwb_rsv_has_two_drp_ies(rsv) && in uwb_rc_send_all_drp_ie() 116 (rsv->mv.companion_drp_ie != NULL)) { in uwb_rc_send_all_drp_ie() 117 mv = &rsv->mv; in uwb_rc_send_all_drp_ie() 138 list_for_each_entry(rsv, &rc->reservations, rc_node) { in uwb_rc_send_all_drp_ie() 139 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie() 140 memcpy(IEDataptr, rsv->drp_ie, in uwb_rc_send_all_drp_ie() [all …]
|
D | drp-ie.c | 30 static int uwb_rsv_reason_code(struct uwb_rsv *rsv) in uwb_rsv_reason_code() argument 52 return reason_codes[rsv->state]; in uwb_rsv_reason_code() 58 static int uwb_rsv_companion_reason_code(struct uwb_rsv *rsv) in uwb_rsv_companion_reason_code() argument 68 return companion_reason_codes[rsv->state]; in uwb_rsv_companion_reason_code() 74 int uwb_rsv_status(struct uwb_rsv *rsv) in uwb_rsv_status() argument 97 return statuses[rsv->state]; in uwb_rsv_status() 103 int uwb_rsv_companion_status(struct uwb_rsv *rsv) in uwb_rsv_companion_status() argument 113 return companion_statuses[rsv->state]; in uwb_rsv_companion_status() 191 int uwb_drp_ie_update(struct uwb_rsv *rsv) in uwb_drp_ie_update() argument 197 if (rsv->state == UWB_RSV_STATE_NONE) { in uwb_drp_ie_update() [all …]
|
D | uwb-debug.c | 71 static void uwb_dbg_rsv_cb(struct uwb_rsv *rsv) in uwb_dbg_rsv_cb() argument 73 struct uwb_dbg *dbg = rsv->pal_priv; in uwb_dbg_rsv_cb() 75 uwb_rsv_dump("debug", rsv); in uwb_dbg_rsv_cb() 77 if (rsv->state == UWB_RSV_STATE_NONE) { in uwb_dbg_rsv_cb() 79 list_del(&rsv->pal_node); in uwb_dbg_rsv_cb() 81 uwb_rsv_destroy(rsv); in uwb_dbg_rsv_cb() 89 struct uwb_rsv *rsv; in cmd_rsv_establish() local 98 rsv = uwb_rsv_create(rc, uwb_dbg_rsv_cb, rc->dbg); in cmd_rsv_establish() 99 if (rsv == NULL) { in cmd_rsv_establish() 104 rsv->target.type = UWB_RSV_TARGET_DEV; in cmd_rsv_establish() [all …]
|
D | uwb-internal.h | 175 int uwb_rsv_find_best_allocation(struct uwb_rsv *rsv, 327 void uwb_rsv_get(struct uwb_rsv *rsv); 328 void uwb_rsv_put(struct uwb_rsv *rsv); 329 bool uwb_rsv_has_two_drp_ies(struct uwb_rsv *rsv); 330 void uwb_rsv_dump(char *text, struct uwb_rsv *rsv); 331 int uwb_rsv_try_move(struct uwb_rsv *rsv, struct uwb_mas_bm *available); 334 int uwb_rsv_status(struct uwb_rsv *rsv); 335 int uwb_rsv_companion_status(struct uwb_rsv *rsv); 337 void uwb_rsv_set_state(struct uwb_rsv *rsv, enum uwb_rsv_state new_state); 338 void uwb_rsv_remove(struct uwb_rsv *rsv); [all …]
|
D | allocator.c | 321 int uwb_rsv_find_best_allocation(struct uwb_rsv *rsv, struct uwb_mas_bm *available, in uwb_rsv_find_best_allocation() argument 331 ai->min_mas = rsv->min_mas; in uwb_rsv_find_best_allocation() 332 ai->max_mas = rsv->max_mas; in uwb_rsv_find_best_allocation() 333 ai->max_interval = rsv->max_interval; in uwb_rsv_find_best_allocation()
|
D | Makefile | 23 rsv.o \
|
/drivers/usb/wusbcore/ |
D | reservation.c | 47 static void wusbhc_rsv_complete_cb(struct uwb_rsv *rsv) in wusbhc_rsv_complete_cb() argument 49 struct wusbhc *wusbhc = rsv->pal_priv; in wusbhc_rsv_complete_cb() 53 dev_dbg(dev, "%s: state = %d\n", __func__, rsv->state); in wusbhc_rsv_complete_cb() 54 switch (rsv->state) { in wusbhc_rsv_complete_cb() 56 uwb_rsv_get_usable_mas(rsv, &mas); in wusbhc_rsv_complete_cb() 59 wusbhc_bwa_set(wusbhc, rsv->stream, &mas); in wusbhc_rsv_complete_cb() 66 dev_dbg(dev, "unexpected reservation state: %d\n", rsv->state); in wusbhc_rsv_complete_cb() 79 struct uwb_rsv *rsv; in wusbhc_rsv_establish() local 86 rsv = uwb_rsv_create(rc, wusbhc_rsv_complete_cb, wusbhc); in wusbhc_rsv_establish() 87 if (rsv == NULL) in wusbhc_rsv_establish() [all …]
|
/drivers/net/ethernet/microchip/ |
D | encx24j600.c | 77 struct rsv *rsv) in encx24j600_dump_rsv() argument 81 netdev_info(dev, "RX packet Len:%d\n", rsv->len); in encx24j600_dump_rsv() 83 rsv->next_packet); in encx24j600_dump_rsv() 85 RSV_GETBIT(rsv->rxstat, RSV_RXOK), in encx24j600_dump_rsv() 86 RSV_GETBIT(rsv->rxstat, RSV_DRIBBLENIBBLE)); in encx24j600_dump_rsv() 88 RSV_GETBIT(rsv->rxstat, RSV_CRCERROR), in encx24j600_dump_rsv() 89 RSV_GETBIT(rsv->rxstat, RSV_LENCHECKERR), in encx24j600_dump_rsv() 90 RSV_GETBIT(rsv->rxstat, RSV_LENOUTOFRANGE)); in encx24j600_dump_rsv() 92 RSV_GETBIT(rsv->rxstat, RSV_RXMULTICAST), in encx24j600_dump_rsv() 93 RSV_GETBIT(rsv->rxstat, RSV_RXBROADCAST), in encx24j600_dump_rsv() [all …]
|
D | enc28j60.c | 909 u8 rsv[RSV_SIZE]; in enc28j60_hw_rx() local 934 enc28j60_mem_read(priv, priv->next_pk_ptr, sizeof(rsv), rsv); in enc28j60_hw_rx() 936 next_packet = rsv[1]; in enc28j60_hw_rx() 938 next_packet |= rsv[0]; in enc28j60_hw_rx() 940 len = rsv[3]; in enc28j60_hw_rx() 942 len |= rsv[2]; in enc28j60_hw_rx() 944 rxstat = rsv[5]; in enc28j60_hw_rx() 946 rxstat |= rsv[4]; in enc28j60_hw_rx()
|
/drivers/crypto/amcc/ |
D | crypto4xx_reg_def.h | 149 u32 rsv:7; member 176 u32 rsv:6; member 186 u32 rsv:5; member 197 u32 rsv:6; member 224 u32 rsv:14; member 254 u32 rsv:2; member 270 u32 rsv:2; member
|
D | crypto4xx_sa.h | 102 u32 rsv:1; member
|
/drivers/scsi/bfa/ |
D | bfi.h | 915 u8 rsv[3]; member 927 u8 rsv[2]; member 939 u8 rsv[3]; member 960 u8 rsv[3]; member 972 u8 rsv[3]; member 984 u8 rsv[3]; member 1048 u8 rsv[3]; member 1056 u8 rsv[2]; member 1069 u8 rsv; member 1080 u8 rsv[2]; member [all …]
|
D | bfa_ioc.h | 480 u8 rsv[3]; member 556 u8 rsv[3]; member 581 u8 rsv[3]; member 592 u8 rsv[2]; member 673 u8 rsv[2]; member 722 u8 rsv[3]; member
|
D | bfa_defs.h | 118 u8 rsv; member 603 u8 rsv[2]; member 1139 char rsv[BFA_FLASH_PART_ENTRY_SIZE - 24]; member 1173 u8 rsv[3]; member
|
/drivers/net/ethernet/brocade/bna/ |
D | bfi.h | 509 u8 rsv[2]; member 521 u8 rsv[3]; member 542 u8 rsv[3]; member 554 u8 rsv[3]; member
|
D | bfa_defs.h | 206 u8 rsv[2]; member 279 char rsv[BFA_FLASH_PART_ENTRY_SIZE - 24]; member
|
D | bfa_defs_mfg_comm.h | 147 u8 rsv; member
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_lan_hmc.h | 107 u32 rsv[32]; member 111 u32 rsv[8]; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_lan_hmc.h | 107 u32 rsv[32]; member 111 u32 rsv[8]; member
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | eventmgr.h | 98 uint32_t rsv[32]; member
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.h | 176 u8 rsv[6]; member 191 u8 rsv[7]; member
|
/drivers/gpu/drm/radeon/ |
D | trinity_dpm.h | 73 u8 rsv[2]; member
|
D | sumo_dpm.h | 72 u16 rsv; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | kv_dpm.h | 50 u16 rsv; member
|