| /drivers/dma/ |
| A D | dmaengine.h | 18 chan->cookie = DMA_MIN_COOKIE; in dma_cookie_init() 32 dma_cookie_t cookie; in dma_cookie_assign() local 34 cookie = chan->cookie + 1; in dma_cookie_assign() 35 if (cookie < DMA_MIN_COOKIE) in dma_cookie_assign() 36 cookie = DMA_MIN_COOKIE; in dma_cookie_assign() 37 tx->cookie = chan->cookie = cookie; in dma_cookie_assign() 39 return cookie; in dma_cookie_assign() 54 BUG_ON(tx->cookie < DMA_MIN_COOKIE); in dma_cookie_complete() 55 tx->chan->completed_cookie = tx->cookie; in dma_cookie_complete() 56 tx->cookie = 0; in dma_cookie_complete() [all …]
|
| A D | virt-dma.c | 24 dma_cookie_t cookie; in vchan_tx_submit() local 27 cookie = dma_cookie_assign(tx); in vchan_tx_submit() 33 vc, vd, cookie); in vchan_tx_submit() 35 return cookie; in vchan_tx_submit() 60 vc, vd, vd->tx.cookie); in vchan_tx_desc_free() 67 dma_cookie_t cookie) in vchan_find_desc() argument 72 if (vd->tx.cookie == cookie) in vchan_find_desc()
|
| /drivers/iommu/ |
| A D | dma-iommu.c | 176 cookie->fq_domain->ops->flush_iotlb_all(cookie->fq_domain); in fq_flush_iotlb() 182 struct iommu_dma_cookie *cookie = timer_container_of(cookie, t, in fq_flush_timeout() local 187 fq_flush_iotlb(cookie); in fq_flush_timeout() 190 fq_ring_free(cookie, cookie->single_fq); in fq_flush_timeout() 193 fq_ring_free(cookie, per_cpu_ptr(cookie->percpu_fq, cpu)); in fq_flush_timeout() 375 cookie = kzalloc(sizeof(*cookie), GFP_KERNEL); in iommu_get_dma_cookie() 376 if (!cookie) in iommu_get_dma_cookie() 407 cookie = kzalloc(sizeof(*cookie), GFP_KERNEL); in iommu_get_msi_cookie() 408 if (!cookie) in iommu_get_msi_cookie() 434 kfree(cookie); in iommu_put_dma_cookie() [all …]
|
| /drivers/net/wireguard/ |
| A D | cookie.c | 69 void wg_cookie_init(struct cookie *cookie) in wg_cookie_init() argument 71 memset(cookie, 0, sizeof(*cookie)); in wg_cookie_init() 72 init_rwsem(&cookie->lock); in wg_cookie_init() 84 const u8 cookie[COOKIE_LEN]) in compute_mac2() 114 blake2s_final(&state, cookie); in make_cookie() 127 u8 cookie[COOKIE_LEN]; in wg_cookie_validate_packet() local 140 make_cookie(cookie, skb, checker); in wg_cookie_validate_packet() 186 u8 cookie[COOKIE_LEN]; in wg_cookie_message_create() local 192 make_cookie(cookie, skb, checker); in wg_cookie_message_create() 202 u8 cookie[COOKIE_LEN]; in wg_cookie_message_consume() local [all …]
|
| A D | cookie.h | 23 struct cookie { struct 26 u8 cookie[COOKIE_LEN]; member 45 void wg_cookie_init(struct cookie *cookie); argument
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_tc_matchall.c | 21 f->cookie, ingress, in lan966x_tc_matchall_add() 24 return lan966x_mirror_port_add(port, act, f->cookie, in lan966x_tc_matchall_add() 28 act->chain_index, f->cookie, in lan966x_tc_matchall_add() 43 if (f->cookie == port->tc.police_id) { in lan966x_tc_matchall_del() 44 return lan966x_police_port_del(port, f->cookie, in lan966x_tc_matchall_del() 46 } else if (f->cookie == port->tc.ingress_mirror_id || in lan966x_tc_matchall_del() 47 f->cookie == port->tc.egress_mirror_id) { in lan966x_tc_matchall_del() 51 return lan966x_goto_port_del(port, f->cookie, f->common.extack); in lan966x_tc_matchall_del() 61 if (f->cookie == port->tc.police_id) { in lan966x_tc_matchall_stats() 63 } else if (f->cookie == port->tc.ingress_mirror_id || in lan966x_tc_matchall_stats() [all …]
|
| /drivers/clocksource/ |
| A D | timer-ti-dm.c | 119 struct omap_dm_timer cookie; member 402 if (!cookie) in to_dmtimer() 405 return container_of(cookie, struct dmtimer, cookie); in to_dmtimer() 416 timer = to_dmtimer(cookie); in omap_dm_timer_set_source() 605 return &timer->cookie; in omap_dm_timer_request() 623 return &timer->cookie; in omap_dm_timer_request_specific() 644 return &timer->cookie; in omap_dm_timer_request_by_node() 653 timer = to_dmtimer(cookie); in omap_dm_timer_free() 749 timer = to_dmtimer(cookie); in omap_dm_timer_start() 773 timer = to_dmtimer(cookie); in omap_dm_timer_stop() [all …]
|
| /drivers/media/platform/qcom/venus/ |
| A D | hfi_cmds.c | 71 u32 addr, void *cookie) in pkt_sys_set_resource() argument 98 u32 size, void *cookie) in pkt_sys_unset_resource() argument 122 pkt->client_data = cookie; in pkt_sys_ping() 165 if (!pkt || !cookie || !codec) in pkt_session_init() 189 if (!cookie || !pkt || !bd) in pkt_session_set_buffers() 228 if (!cookie || !pkt || !bd) in pkt_session_unset_buffers() 267 if (!cookie) in pkt_session_etb_decoder() 416 if (!pkt || !cookie || !pdata) in pkt_session_set_property_1x() 1103 if (!pkt || !cookie) in pkt_session_get_property_3xx() 1130 if (!pkt || !cookie || !pdata) in pkt_session_set_property_3xx() [all …]
|
| A D | hfi_cmds.h | 261 u32 addr, void *cookie); 263 u32 size, void *cookie); 274 void *cookie, struct hfi_buffer_desc *bd); 276 void *cookie, struct hfi_buffer_desc *bd); 278 void *cookie, struct hfi_frame_data *input_frame); 281 void *cookie, struct hfi_frame_data *input_frame); 283 void *cookie, struct hfi_frame_data *output_frame); 286 void *cookie, u32 seq_hdr, u32 seq_hdr_len); 288 void *cookie, u32 seq_hdr, u32 seq_hdr_len); 292 void *cookie, u32 ptype); [all …]
|
| /drivers/infiniband/core/ |
| A D | roce_gid_mgmt.c | 159 real_dev = cookie; in is_eth_port_of_netdev_filter() 204 struct net_device *cookie_ndev = cookie; in is_ndev_for_default_gid_filter() 241 if (rdma_ndev == cookie) in upper_device_filter() 266 void *cookie) in is_upper_ndev_bond_master_filter() argument 432 _add_netdev_ips(ib_dev, port, cookie); in add_netdev_ips() 465 struct net_device *event_ndev = cookie; in add_default_gids() 476 void *cookie) in enum_all_gids_of_dev_cb() argument 542 void *cookie) in callback_for_addr_gid_device_scan() argument 573 void *cookie, in handle_netdev_upper() argument 578 struct net_device *ndev = cookie; in handle_netdev_upper() [all …]
|
| /drivers/dma/sh/ |
| A D | shdma-base.c | 76 dma_cookie_t cookie; in shdma_tx_submit() local 104 chunk->cookie = cookie; in shdma_tx_submit() 153 return cookie; in shdma_tx_submit() 339 BUG_ON(tx->cookie > 0 && tx->cookie != desc->cookie); in __ld_cleanup() 350 desc->cookie != cookie) in __ld_cleanup() 353 if (tx->cookie > 0) in __ld_cleanup() 354 cookie = tx->cookie; in __ld_cleanup() 360 desc->cookie, in __ld_cleanup() 376 if (tx->cookie > 0 || tx->cookie == -EBUSY) { in __ld_cleanup() 394 tx, tx->cookie); in __ld_cleanup() [all …]
|
| /drivers/net/dsa/sja1105/ |
| A D | sja1105_flower.c | 8 unsigned long cookie) in sja1105_rule_find() argument 13 if (rule->cookie == cookie) in sja1105_rule_find() 32 unsigned long cookie, int port, in sja1105_setup_bcast_policer() argument 36 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_setup_bcast_policer() 48 rule->cookie = cookie; in sja1105_setup_bcast_policer() 104 unsigned long cookie, int port, int tc, in sja1105_setup_tc_policer() argument 119 rule->cookie = cookie; in sja1105_setup_tc_policer() 176 unsigned long cookie, in sja1105_flower_policer() argument 353 unsigned long cookie = cls->cookie; in sja1105_cls_flower_add() local 384 rc = sja1105_vl_redirect(priv, port, extack, cookie, in sja1105_cls_flower_add() [all …]
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_tc_matchall.c | 15 sparx5_tc_matchall_entry_find(struct list_head *entries, unsigned long cookie) in sparx5_tc_matchall_entry_find() argument 20 if (entry->cookie == cookie) in sparx5_tc_matchall_entry_find() 31 unsigned long cookie) in sparx5_tc_matchall_parse_action() argument 36 entry->cookie = cookie; in sparx5_tc_matchall_parse_action() 71 tmo->cookie); in sparx5_tc_matchall_replace() 105 action->chain_index, tmo->cookie, in sparx5_tc_matchall_replace() 148 tmo->cookie); in sparx5_tc_matchall_destroy() 156 0, 0, tmo->cookie, false); in sparx5_tc_matchall_destroy() 176 tmo->cookie); in sparx5_tc_matchall_stats()
|
| /drivers/infiniband/hw/bnxt_re/ |
| A D | qplib_rcfw.c | 112 u16 cookie) in bnxt_re_is_fw_stalled() argument 117 crsqe = &rcfw->crsqe_tbl[cookie]; in bnxt_re_is_fw_stalled() 152 crsqe = &rcfw->crsqe_tbl[cookie]; in __wait_for_resp() 243 u16 cookie; in __send_message_no_waiter() local 293 u16 cookie; in __send_message() local 317 cookie |= RCFW_CMD_IS_BLOCKING; in __send_message() 323 crsqe->resp->cookie = cpu_to_le16(cookie); in __send_message() 489 u16 cookie; in __bnxt_qplib_rcfw_send_message() local 627 u16 cookie, blocked = 0; in bnxt_qplib_process_qp_event() local 665 cookie = le16_to_cpu(qp_event->cookie); in bnxt_qplib_process_qp_event() [all …]
|
| A D | roce_hsi.h | 150 __le16 cookie; member 178 __le16 cookie; member 192 __le16 cookie; member 221 __le16 cookie; member 370 __le16 cookie; member 389 __le16 cookie; member 403 __le16 cookie; member 421 __le16 cookie; member 513 __le16 cookie; member 531 __le16 cookie; member [all …]
|
| /drivers/gpu/drm/msm/ |
| A D | msm_iommu.c | 374 struct msm_iommu_pagetable *pagetable = cookie; in msm_iommu_pagetable_alloc_pt() 419 struct msm_iommu_pagetable *pagetable = cookie; in msm_iommu_pagetable_free_pt() 439 static void msm_iommu_tlb_flush_all(void *cookie) in msm_iommu_tlb_flush_all() argument 441 struct msm_iommu_pagetable *pagetable = cookie; in msm_iommu_tlb_flush_all() 455 size_t granule, void *cookie) in msm_iommu_tlb_flush_walk() argument 457 struct msm_iommu_pagetable *pagetable = cookie; in msm_iommu_tlb_flush_walk() 471 unsigned long iova, size_t granule, void *cookie) in msm_iommu_tlb_add_page() argument 505 if (adreno_smmu->cookie) in msm_iommu_pagetable_create() 593 adreno_smmu->set_prr_addr(adreno_smmu->cookie, in msm_iommu_pagetable_create() 771 if (adreno_smmu && adreno_smmu->cookie) { in msm_iommu_gpu_new() [all …]
|
| /drivers/net/wireless/ath/wil6210/ |
| A D | p2p.c | 127 u64 *cookie) in wil_p2p_listen() argument 147 *cookie = ++p2p->cookie; in wil_p2p_listen() 169 cfg80211_ready_on_channel(wdev, *cookie, chan, duration, in wil_p2p_listen() 196 int wil_p2p_cancel_listen(struct wil6210_vif *vif, u64 cookie) in wil_p2p_cancel_listen() argument 204 if (cookie != p2p->cookie) { in wil_p2p_cancel_listen() 206 p2p->cookie, cookie); in wil_p2p_cancel_listen() 222 p2p->cookie, in wil_p2p_cancel_listen() 251 p2p->cookie, in wil_p2p_listen_expired() 319 p2p->cookie, in wil_p2p_delayed_listen_work() 325 cfg80211_ready_on_channel(p2p->pending_listen_wdev, p2p->cookie, in wil_p2p_delayed_listen_work() [all …]
|
| A D | interrupt.c | 289 static irqreturn_t wil6210_irq_rx(int irq, void *cookie) in wil6210_irq_rx() argument 291 struct wil6210_priv *wil = cookie; in wil6210_irq_rx() 353 struct wil6210_priv *wil = cookie; in wil6210_irq_rx_edma() 404 struct wil6210_priv *wil = cookie; in wil6210_irq_tx_edma() 448 static irqreturn_t wil6210_irq_tx(int irq, void *cookie) in wil6210_irq_tx() argument 450 struct wil6210_priv *wil = cookie; in wil6210_irq_tx() 539 struct wil6210_priv *wil = cookie; in wil6210_irq_misc() 608 struct wil6210_priv *wil = cookie; in wil6210_irq_misc_thread() 655 struct wil6210_priv *wil = cookie; in wil6210_thread_irq() 660 wil6210_irq_misc_thread(irq, cookie); in wil6210_thread_irq() [all …]
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | core_acl_flex_actions.c | 169 return memcmp(cookie->fa_cookie.cookie, fa_cookie->cookie, in mlxsw_afa_cookie_obj_cmpfn() 736 cookie = kzalloc(sizeof(*cookie) + fa_cookie->cookie_len, GFP_KERNEL); in mlxsw_afa_cookie_create() 737 if (!cookie) in mlxsw_afa_cookie_create() 741 memcpy(cookie->fa_cookie.cookie, fa_cookie->cookie, in mlxsw_afa_cookie_create() 759 return cookie; in mlxsw_afa_cookie_create() 765 kfree(cookie); in mlxsw_afa_cookie_create() 786 if (cookie) { in mlxsw_afa_cookie_get() 788 return cookie; in mlxsw_afa_cookie_get() 811 if (!cookie) in mlxsw_afa_cookie_lookup() 854 if (IS_ERR(cookie)) { in mlxsw_afa_cookie_ref_create() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| A D | en_tc_tracepoint.h | 28 TP_STRUCT__entry(__field(void *, cookie) 33 TP_fast_assign(__entry->cookie = (void *)f->cookie; 42 __entry->cookie, __entry->num ? 61 TP_STRUCT__entry(__field(void *, cookie) 66 TP_fast_assign(__entry->cookie = (void *)f->cookie; 72 __entry->cookie, __entry->bytes,
|
| /drivers/dpll/ |
| A D | dpll_core.c | 45 void *cookie; member 59 void *cookie) in dpll_pin_registration_find() argument 65 reg->cookie == cookie) in dpll_pin_registration_find() 74 void *cookie) in dpll_xa_ref_pin_add() argument 85 reg = dpll_pin_registration_find(ref, ops, priv, cookie); in dpll_xa_ref_pin_add() 118 reg->cookie = cookie; in dpll_xa_ref_pin_add() 128 void *cookie) in dpll_xa_ref_pin_del() argument 137 reg = dpll_pin_registration_find(ref, ops, priv, cookie); in dpll_xa_ref_pin_del() 166 reg = dpll_pin_registration_find(ref, ops, priv, cookie); in dpll_xa_ref_dpll_add() 199 reg->cookie = cookie; in dpll_xa_ref_dpll_add() [all …]
|
| /drivers/net/dsa/microchip/ |
| A D | ksz9477_tc_flower.c | 30 unsigned long cookie, u32 prio) in ksz9477_flower_parse_key_l2() argument 85 cookie, prio); in ksz9477_flower_parse_key_l2() 113 unsigned long cookie, u32 prio) in ksz9477_flower_parse_key() argument 133 cookie, prio); in ksz9477_flower_parse_key() 237 ret = ksz9477_flower_parse_key(dev, port, extack, rule, cls->cookie, in ksz9477_cls_flower_add() 272 unsigned long cookie = cls->cookie; in ksz9477_cls_flower_del() local 281 ksz9477_acl_remove_entries(dev, port, &acl->acles, cookie); in ksz9477_cls_flower_del()
|
| /drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-switch-flower.c | 295 if (tmp->cookie == cookie) in dpaa2_switch_acl_tbl_find_entry_by_cookie() 309 if (tmp->cookie == entry->cookie) in dpaa2_switch_acl_entry_get_index() 318 unsigned long cookie) in dpaa2_switch_mirror_find_entry_by_cookie() argument 323 if (tmp->cookie == cookie) in dpaa2_switch_mirror_find_entry_by_cookie() 523 acl_entry->cookie = cls->cookie; in dpaa2_switch_cls_flower_replace_acl() 642 mirror_entry->cookie = cls->cookie; in dpaa2_switch_cls_flower_replace_mirror() 682 cls->cookie); in dpaa2_switch_cls_flower_destroy() 688 cls->cookie); in dpaa2_switch_cls_flower_destroy() 722 acl_entry->cookie = cls->cookie; in dpaa2_switch_cls_matchall_replace_acl() 788 mirror_entry->cookie = cls->cookie; in dpaa2_switch_cls_matchall_replace_mirror() [all …]
|
| /drivers/staging/rtl8723bs/include/ |
| A D | ioctl_cfg80211.h | 114 …rtw_cfg80211_mgmt_tx_status(adapter, cookie, buf, len, ack, gfp) cfg80211_mgmt_tx_status((adapter)… argument 115 …1_ready_on_channel(adapter, cookie, chan, channel_type, duration, gfp) cfg80211_ready_on_channel(… argument 116 …n_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_remain_on_channel_expired((ad… argument
|
| /drivers/gpu/drm/panthor/ |
| A D | panthor_device.c | 129 int ret = 0, cookie; in panthor_device_reset_work() local 137 if (!drm_dev_enter(&ptdev->base, &cookie)) in panthor_device_reset_work() 149 drm_dev_exit(cookie); in panthor_device_reset_work() 374 int cookie; in panthor_mmio_vm_fault() local 376 if (!drm_dev_enter(&ptdev->base, &cookie)) in panthor_mmio_vm_fault() 403 drm_dev_exit(cookie); in panthor_mmio_vm_fault() 459 int ret, cookie; in panthor_device_resume() local 481 drm_dev_enter(&ptdev->base, &cookie)) { in panthor_device_resume() 500 drm_dev_exit(cookie); in panthor_device_resume() 537 int cookie; in panthor_device_suspend() local [all …]
|