Searched refs:sam (Results 1 – 9 of 9) sorted by relevance
| /drivers/gpu/drm/xe/ |
| A D | xe_guc_buf.c | 38 struct xe_sa_manager *sam; in xe_guc_buf_cache_init() local 41 if (IS_ERR(sam)) in xe_guc_buf_cache_init() 42 return PTR_ERR(sam); in xe_guc_buf_cache_init() 43 cache->sam = sam; in xe_guc_buf_cache_init() 46 xe_guc_buf_cache_dwords(cache), xe_bo_ggtt_addr(sam->bo), in xe_guc_buf_cache_init() 59 return cache->sam ? cache->sam->base.size / sizeof(u32) : 0; in xe_guc_buf_cache_dwords() 76 if (cache->sam) in xe_guc_buf_reserve() 99 sa = __xe_sa_bo_new(cache->sam, size, GFP_ATOMIC); in xe_guc_buf_from_data() 162 ptrdiff_t offset = ptr - cache->sam->cpu_ptr; in xe_guc_cache_gpu_addr_from_ptr() 164 if (offset < 0 || offset + size > cache->sam->base.size) in xe_guc_cache_gpu_addr_from_ptr() [all …]
|
| A D | xe_guc_buf_types.h | 17 struct xe_sa_manager *sam; member
|
| /drivers/net/ethernet/intel/ixgbevf/ |
| A D | ipsec.c | 23 struct sa_mbx_msg *sam; in ixgbevf_ipsec_set_pf_sa() local 27 sam = (struct sa_mbx_msg *)(&msgbuf[1]); in ixgbevf_ipsec_set_pf_sa() 28 sam->dir = xs->xso.dir; in ixgbevf_ipsec_set_pf_sa() 29 sam->spi = xs->id.spi; in ixgbevf_ipsec_set_pf_sa() 30 sam->proto = xs->id.proto; in ixgbevf_ipsec_set_pf_sa() 31 sam->family = xs->props.family; in ixgbevf_ipsec_set_pf_sa() 34 memcpy(sam->addr, &xs->id.daddr.a6, sizeof(xs->id.daddr.a6)); in ixgbevf_ipsec_set_pf_sa() 36 memcpy(sam->addr, &xs->id.daddr.a4, sizeof(xs->id.daddr.a4)); in ixgbevf_ipsec_set_pf_sa() 37 memcpy(sam->key, xs->aead->alg_key, sizeof(sam->key)); in ixgbevf_ipsec_set_pf_sa()
|
| /drivers/clk/hisilicon/ |
| A D | clk-hi3620.c | 324 u32 sam, drv, div, val; in mmc_clk_set_timing() local 329 sam = 3; in mmc_clk_set_timing() 334 sam = 13; in mmc_clk_set_timing() 339 sam = 3; in mmc_clk_set_timing() 344 sam = 6; in mmc_clk_set_timing() 349 sam = 6; in mmc_clk_set_timing() 364 val = mmc_clk_delay(val, sam, mclk->sam_off, mclk->sam_bits); in mmc_clk_set_timing()
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_ipsec.c | 878 struct sa_mbx_msg *sam; in ixgbe_ipsec_vf_add_sa() local 885 sam = (struct sa_mbx_msg *)(&msgbuf[1]); in ixgbe_ipsec_vf_add_sa() 896 if (sam->dir != XFRM_DEV_OFFLOAD_IN) { in ixgbe_ipsec_vf_add_sa() 913 xs->xso.dir = sam->dir; in ixgbe_ipsec_vf_add_sa() 914 xs->id.spi = sam->spi; in ixgbe_ipsec_vf_add_sa() 915 xs->id.proto = sam->proto; in ixgbe_ipsec_vf_add_sa() 916 xs->props.family = sam->family; in ixgbe_ipsec_vf_add_sa() 918 memcpy(&xs->id.daddr.a6, sam->addr, sizeof(xs->id.daddr.a6)); in ixgbe_ipsec_vf_add_sa() 920 memcpy(&xs->id.daddr.a4, sam->addr, sizeof(xs->id.daddr.a4)); in ixgbe_ipsec_vf_add_sa() 934 memcpy(xs->aead->alg_key, sam->key, sizeof(sam->key)); in ixgbe_ipsec_vf_add_sa()
|
| /drivers/net/can/mscan/ |
| A D | mscan.h | 256 #define BTR1_SET_SAM(sam) ((sam) ? 1 << BTR1_SAM_SHIFT : 0) argument
|
| /drivers/gpu/drm/xe/tests/ |
| A D | xe_guc_buf_kunit.c | 242 iosys_map_memcpy_from(d, &cache->sam->bo->vmap, 0, bytes); in test_flush()
|
| /drivers/iio/accel/ |
| A D | kionix-kx022a.c | 859 __le16 *sam = &data->fifo_buffer[i * 3]; in __kx022a_fifo_flush() local 865 chs[bit] = sam[bit]; in __kx022a_fifo_flush()
|
| /drivers/ata/ |
| A D | pata_octeon_cf.c | 109 reg_cfg.s.sam = 0; /* Don't combine write and output enable */ in octeon_cf_set_boot_reg_cfg()
|
Completed in 21 milliseconds