Home
last modified time | relevance | path

Searched refs:ih (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ih.c51 ih->ptr_mask = ih->ring_size - 1; in amdgpu_ih_ring_init()
52 ih->rptr = 0; in amdgpu_ih_ring_init()
58 if (ih->ring) in amdgpu_ih_ring_init()
70 ih->wptr_addr = dma_addr + ih->ring_size; in amdgpu_ih_ring_init()
71 ih->wptr_cpu = &ih->ring[ih->ring_size / 4]; in amdgpu_ih_ring_init()
72 ih->rptr_addr = dma_addr + ih->ring_size + 4; in amdgpu_ih_ring_init()
73 ih->rptr_cpu = &ih->ring[(ih->ring_size / 4) + 1]; in amdgpu_ih_ring_init()
89 &ih->ring_obj, &ih->gpu_addr, in amdgpu_ih_ring_init()
128 (void *)ih->ring, ih->gpu_addr); in amdgpu_ih_ring_fini()
131 amdgpu_bo_free_kernel(&ih->ring_obj, &ih->gpu_addr, in amdgpu_ih_ring_fini()
[all …]
A Dvega10_ih.c109 if (ih == &adev->irq.ih) in vega10_ih_toggle_ring_interrupts()
127 ih->rptr = 0; in vega10_ih_toggle_ring_interrupts()
222 if (ih == &adev->irq.ih) in vega10_ih_enable_ring()
235 if (ih == &adev->irq.ih) { in vega10_ih_enable_ring()
341 if (ih == &adev->irq.ih || ih == &adev->irq.ih_soft) { in vega10_ih_get_wptr()
370 ih->rptr = tmp; in vega10_ih_get_wptr()
398 if ((v < ih->ring_size) && (v != ih->rptr)) in vega10_ih_irq_rearm()
399 WDOORBELL32(ih->doorbell_index, ih->rptr); in vega10_ih_irq_rearm()
423 *ih->rptr_cpu = ih->rptr; in vega10_ih_set_rptr()
424 WDOORBELL32(ih->doorbell_index, ih->rptr); in vega10_ih_set_rptr()
[all …]
A Dvega20_ih.c113 if (ih == &adev->irq.ih) in vega20_ih_toggle_ring_interrupts()
131 ih->rptr = 0; in vega20_ih_toggle_ring_interrupts()
226 if (ih == &adev->irq.ih) in vega20_ih_enable_ring()
239 if (ih == &adev->irq.ih) { in vega20_ih_enable_ring()
392 if (ih == &adev->irq.ih || ih == &adev->irq.ih_soft) { in vega20_ih_get_wptr()
421 ih->rptr = tmp; in vega20_ih_get_wptr()
450 if ((v < ih->ring_size) && (v != ih->rptr)) in vega20_ih_irq_rearm()
451 WDOORBELL32(ih->doorbell_index, ih->rptr); in vega20_ih_irq_rearm()
475 *ih->rptr_cpu = ih->rptr; in vega20_ih_set_rptr()
476 WDOORBELL32(ih->doorbell_index, ih->rptr); in vega20_ih_set_rptr()
[all …]
A Dnavi10_ih.c165 if (ih == &adev->irq.ih) in navi10_ih_toggle_ring_interrupts()
182 ih->rptr = 0; in navi10_ih_toggle_ring_interrupts()
277 if (ih == &adev->irq.ih) in navi10_ih_enable_ring()
291 if (ih == &adev->irq.ih) { in navi10_ih_enable_ring()
412 if (ih == &adev->irq.ih || ih == &adev->irq.ih_soft) { in navi10_ih_get_wptr()
440 ih->rptr = tmp; in navi10_ih_get_wptr()
468 if ((v < ih->ring_size) && (v != ih->rptr)) in navi10_ih_irq_rearm()
469 WDOORBELL32(ih->doorbell_index, ih->rptr); in navi10_ih_irq_rearm()
493 *ih->rptr_cpu = ih->rptr; in navi10_ih_set_rptr()
494 WDOORBELL32(ih->doorbell_index, ih->rptr); in navi10_ih_set_rptr()
[all …]
A Dih_v6_0.c139 if (ih == &adev->irq.ih) in ih_v6_0_toggle_ring_interrupts()
156 ih->rptr = 0; in ih_v6_0_toggle_ring_interrupts()
172 struct amdgpu_ih_ring *ih[] = {&adev->irq.ih, &adev->irq.ih1}; in ih_v6_0_toggle_interrupts() local
251 if (ih == &adev->irq.ih) in ih_v6_0_enable_ring()
267 if (ih == &adev->irq.ih) { in ih_v6_0_enable_ring()
415 ih->rptr = tmp; in ih_v6_0_get_wptr()
442 if ((v < ih->ring_size) && (v != ih->rptr)) in ih_v6_0_irq_rearm()
443 WDOORBELL32(ih->doorbell_index, ih->rptr); in ih_v6_0_irq_rearm()
463 *ih->rptr_cpu = ih->rptr; in ih_v6_0_set_rptr()
464 WDOORBELL32(ih->doorbell_index, ih->rptr); in ih_v6_0_set_rptr()
[all …]
A Damdgpu_ih.h81 u32 (*get_wptr)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih);
82 void (*decode_iv)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih,
84 uint64_t (*decode_iv_ts)(struct amdgpu_ih_ring *ih, u32 rptr,
89 #define amdgpu_ih_get_wptr(adev, ih) (adev)->irq.ih_funcs->get_wptr((adev), (ih)) argument
91 (adev)->irq.ih_funcs->decode_iv((adev), (ih), (iv))
92 #define amdgpu_ih_decode_iv_ts(adev, ih, rptr, offset) \ argument
94 (adev)->irq.ih_funcs->decode_iv_ts((ih), (rptr), (offset)))
95 #define amdgpu_ih_set_rptr(adev, ih) (adev)->irq.ih_funcs->set_rptr((adev), (ih)) argument
100 void amdgpu_ih_ring_write(struct amdgpu_ih_ring *ih, const uint32_t *iv,
103 struct amdgpu_ih_ring *ih);
[all …]
A Dtonga_ih.c67 adev->irq.ih.enabled = true; in tonga_ih_enable_interrupts()
87 adev->irq.ih.enabled = false; in tonga_ih_disable_interrupts()
88 adev->irq.ih.rptr = 0; in tonga_ih_disable_interrupts()
105 struct amdgpu_ih_ring *ih = &adev->irq.ih; in tonga_ih_irq_init() local
216 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); in tonga_ih_get_wptr()
217 ih->rptr = (wptr + 16) & ih->ptr_mask; in tonga_ih_get_wptr()
257 ih->rptr += 16; in tonga_ih_decode_iv()
271 if (ih->use_doorbell) { in tonga_ih_set_rptr()
273 *ih->rptr_cpu = ih->rptr; in tonga_ih_set_rptr()
274 WDOORBELL32(ih->doorbell_index, ih->rptr); in tonga_ih_set_rptr()
[all …]
A Dsi_ih.c44 adev->irq.ih.enabled = true; in si_ih_enable_interrupts()
58 adev->irq.ih.enabled = false; in si_ih_disable_interrupts()
59 adev->irq.ih.rptr = 0; in si_ih_disable_interrupts()
64 struct amdgpu_ih_ring *ih = &adev->irq.ih; in si_ih_irq_init() local
108 struct amdgpu_ih_ring *ih) in si_ih_get_wptr() argument
117 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); in si_ih_get_wptr()
118 ih->rptr = (wptr + 16) & ih->ptr_mask; in si_ih_get_wptr()
123 return (wptr & ih->ptr_mask); in si_ih_get_wptr()
130 u32 ring_index = ih->rptr >> 2; in si_ih_decode_iv()
144 ih->rptr += 16; in si_ih_decode_iv()
[all …]
A Dcik_ih.c69 adev->irq.ih.enabled = true; in cik_ih_enable_interrupts()
91 adev->irq.ih.enabled = false; in cik_ih_disable_interrupts()
92 adev->irq.ih.rptr = 0; in cik_ih_disable_interrupts()
108 struct amdgpu_ih_ring *ih = &adev->irq.ih; in cik_ih_irq_init() local
189 struct amdgpu_ih_ring *ih) in cik_ih_get_wptr() argument
202 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); in cik_ih_get_wptr()
203 ih->rptr = (wptr + 16) & ih->ptr_mask; in cik_ih_get_wptr()
208 return (wptr & ih->ptr_mask); in cik_ih_get_wptr()
247 u32 ring_index = ih->rptr >> 2; in cik_ih_decode_iv()
263 ih->rptr += 16; in cik_ih_decode_iv()
[all …]
A Dcz_ih.c69 adev->irq.ih.enabled = true; in cz_ih_enable_interrupts()
91 adev->irq.ih.enabled = false; in cz_ih_disable_interrupts()
92 adev->irq.ih.rptr = 0; in cz_ih_disable_interrupts()
108 struct amdgpu_ih_ring *ih = &adev->irq.ih; in cz_ih_irq_init() local
191 struct amdgpu_ih_ring *ih) in cz_ih_get_wptr() argument
213 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); in cz_ih_get_wptr()
214 ih->rptr = (wptr + 16) & ih->ptr_mask; in cz_ih_get_wptr()
221 return (wptr & ih->ptr_mask); in cz_ih_get_wptr()
239 u32 ring_index = ih->rptr >> 2; in cz_ih_decode_iv()
255 ih->rptr += 16; in cz_ih_decode_iv()
[all …]
A Diceland_ih.c69 adev->irq.ih.enabled = true; in iceland_ih_enable_interrupts()
91 adev->irq.ih.enabled = false; in iceland_ih_disable_interrupts()
92 adev->irq.ih.rptr = 0; in iceland_ih_disable_interrupts()
108 struct amdgpu_ih_ring *ih = &adev->irq.ih; in iceland_ih_irq_init() local
212 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); in iceland_ih_get_wptr()
213 ih->rptr = (wptr + 16) & ih->ptr_mask; in iceland_ih_get_wptr()
220 return (wptr & ih->ptr_mask); in iceland_ih_get_wptr()
234 struct amdgpu_ih_ring *ih, in iceland_ih_decode_iv() argument
238 u32 ring_index = ih->rptr >> 2; in iceland_ih_decode_iv()
254 ih->rptr += 16; in iceland_ih_decode_iv()
[all …]
/linux-6.3-rc2/fs/reiserfs/
A Dlbalance.c206 ih); in leaf_copy_boundary_item()
249 RFALSE(is_indirect_le_ih(ih) && get_ih_free_space(ih), in leaf_copy_boundary_item()
251 ih); in leaf_copy_boundary_item()
258 le_ih_k_offset(ih) + op_bytes_number(ih, src->b_size), in leaf_copy_boundary_item()
298 ih) + ih_item_len(ih) - bytes_or_entries, in leaf_copy_boundary_item()
355 memmove(ih + cpy_num, ih, (nr - dest_before) * IH_SIZE); in leaf_copy_items_entirely()
948 memmove(ih + 1, ih, IH_SIZE * (nr - before)); in leaf_insert_into_buf()
1051 put_ih_item_len(ih, ih_item_len(ih) + paste_size); in leaf_paste_in_buffer()
1121 put_ih_entry_count(ih, ih_entry_count(ih) - del_count); in leaf_cut_entries()
1170 set_le_ih_k_offset(ih, deh_offset(B_I_DEH(bh, ih))); in leaf_cut_from_buffer()
[all …]
A Ddo_balan.c118 if (is_direntry_le_ih(ih)) { in balance_leaf_when_delete_cut()
140 RFALSE(!ih_item_len(ih), in balance_leaf_when_delete_cut()
305 put_ih_item_len(ih, ih_item_len(ih) - new_item_len); in balance_leaf_insert_left()
307 RFALSE(ih_item_len(ih) <= 0, in balance_leaf_insert_left()
321 if (is_indirect_le_ih(ih)) in balance_leaf_insert_left()
649 old_len = ih_item_len(ih); in balance_leaf_insert_right()
656 if (is_indirect_le_ih(ih)) in balance_leaf_insert_right()
951 old_len = ih_item_len(ih); in balance_leaf_new_nodes_insert()
958 if (is_indirect_le_ih(ih)) in balance_leaf_new_nodes_insert()
960 set_le_ih_k_offset(ih, in balance_leaf_new_nodes_insert()
[all …]
A Dreiserfs.h1410 #define get_ih_free_space(ih) (ih_version (ih) == KEY_FORMAT_3_6 ? 0 : ih_free_space (ih)) argument
1482 return le_key_k_offset(ih_version(ih), &(ih->ih_key)); in le_ih_k_offset()
1496 return le_key_k_type(ih_version(ih), &(ih->ih_key)); in le_ih_k_type()
1537 set_le_key_k_type(ih_version(ih), &(ih->ih_key), type); in set_le_ih_k_type()
1563 return is_direntry_le_key(ih_version(ih), &ih->ih_key); in is_direntry_le_ih()
1568 return is_direct_le_key(ih_version(ih), &ih->ih_key); in is_direct_le_ih()
1573 return is_indirect_le_key(ih_version(ih), &ih->ih_key); in is_indirect_le_ih()
1578 return is_statdata_le_key(ih_version(ih), &ih->ih_key); in is_statdata_le_ih()
2236 #define item_moved(ih,path) comp_items(ih, path) argument
2237 #define path_changed(ih,path) comp_items (ih, path) argument
[all …]
A Ditem_ops.c36 static void sd_print_item(struct item_head *ih, char *item) in sd_print_item() argument
39 if (stat_data_v1(ih)) { in sd_print_item()
55 static void sd_check_item(struct item_head *ih, char *item) in sd_check_item() argument
116 return ih_item_len(ih); in direct_bytes_number()
140 while (j < ih_item_len(ih)) in direct_print_item()
207 return ih_item_len(ih) / UNFM_P_SIZE * block_size; in indirect_bytes_number()
269 if (ih_item_len(ih) % UNFM_P_SIZE) in indirect_print_item()
272 printk("%d pointers\n[ ", (int)I_UNFM_NUM(ih)); in indirect_print_item()
273 for (j = 0; j < I_UNFM_NUM(ih); j++) { in indirect_print_item()
385 for (i = 0; i < ih_entry_count(ih); i++, deh++) { in direntry_print_item()
[all …]
A Dinode.c144 ih->ih_key.k_objectid = in make_le_item_head()
323 ih = tp_item_head(&path); in _get_block_create_0()
408 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0()
1232 struct item_head *ih; in init_inode() local
1248 if (stat_data_v1(ih)) { in init_inode()
1418 struct item_head *ih; in update_stat_data() local
1428 if (stat_data_v1(ih)) { in update_stat_data()
1841 &(ih->ih_key)); in reiserfs_new_directory()
1884 &(ih->ih_key)); in reiserfs_new_symlink()
1924 struct item_head ih; in reiserfs_new_inode() local
[all …]
A Ddir.c70 struct item_head *ih, tmp_ih; in reiserfs_readdir_inode() local
111 ih = de.de_ih; in reiserfs_readdir_inode()
112 store_ih(&tmp_ih, ih); in reiserfs_readdir_inode()
115 RFALSE(COMP_SHORT_KEYS(&ih->ih_key, &pos_key), in reiserfs_readdir_inode()
117 ih, &pos_key); in reiserfs_readdir_inode()
126 RFALSE(ih_entry_count(ih) < entry_num, in reiserfs_readdir_inode()
128 entry_num, ih_entry_count(ih)); in reiserfs_readdir_inode()
135 || entry_num < ih_entry_count(ih)) { in reiserfs_readdir_inode()
137 B_I_DEH(bh, ih) + entry_num; in reiserfs_readdir_inode()
139 for (; entry_num < ih_entry_count(ih); in reiserfs_readdir_inode()
[all …]
A Dstree.c395 deh = B_I_DEH(bh, ih); in has_valid_deh_location()
411 struct item_head *ih; in is_leaf() local
452 ih); in is_leaf()
459 ih); in is_leaf()
462 if (ih_item_len(ih) < 1 in is_leaf()
466 ih); in is_leaf()
469 if (prev_location - ih_location(ih) != ih_item_len(ih)) { in is_leaf()
476 if (ih_item_len(ih) < (ih_entry_count(ih) * IH_SIZE)) { in is_leaf()
479 ih); in is_leaf()
933 struct item_head *ih; in comp_items() local
[all …]
/linux-6.3-rc2/net/bridge/netfilter/
A Debt_log.c99 const struct iphdr *ih; in ebt_log_packet() local
102 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet()
103 if (ih == NULL) { in ebt_log_packet()
108 &ih->saddr, &ih->daddr, ih->tos, ih->protocol); in ebt_log_packet()
109 print_ports(skb, ih->protocol, ih->ihl*4); in ebt_log_packet()
116 const struct ipv6hdr *ih; in ebt_log_packet() local
122 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet()
123 if (ih == NULL) { in ebt_log_packet()
128 &ih->saddr, &ih->daddr, ih->priority, ih->nexthdr); in ebt_log_packet()
129 nexthdr = ih->nexthdr; in ebt_log_packet()
A Debt_ip.c41 const struct iphdr *ih; in ebt_ip_mt() local
46 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_ip_mt()
47 if (ih == NULL) in ebt_ip_mt()
50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt()
54 (ih->saddr & info->smsk) != info->saddr)) in ebt_ip_mt()
58 (ih->daddr & info->dmsk) != info->daddr)) in ebt_ip_mt()
61 if (NF_INVF(info, EBT_IP_PROTO, info->protocol != ih->protocol)) in ebt_ip_mt()
66 if (ntohs(ih->frag_off) & IP_OFFSET) in ebt_ip_mt()
70 pptr = skb_header_pointer(skb, ih->ihl*4, in ebt_ip_mt()
/linux-6.3-rc2/net/netfilter/
A Dxt_AUDIT.c34 const struct iphdr *ih; in audit_ip4() local
36 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_iph), &_iph); in audit_ip4()
37 if (!ih) in audit_ip4()
41 &ih->saddr, &ih->daddr, ih->protocol); in audit_ip4()
49 const struct ipv6hdr *ih; in audit_ip6() local
53 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); in audit_ip6()
54 if (!ih) in audit_ip6()
57 nexthdr = ih->nexthdr; in audit_ip6()
61 &ih->saddr, &ih->daddr, nexthdr); in audit_ip6()
A Dnf_log_syslog.c302 const struct iphdr *ih; in dump_ipv4_packet() local
312 if (!ih) { in dump_ipv4_packet()
321 nf_log_buf_add(m, "SRC=%pI4 DST=%pI4 ", &ih->saddr, &ih->daddr); in dump_ipv4_packet()
325 iph_totlen(skb, ih), ih->tos & IPTOS_TOS_MASK, in dump_ipv4_packet()
326 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id)); in dump_ipv4_packet()
361 switch (ih->protocol) { in dump_ipv4_packet()
537 const struct ipv6hdr *ih; in dump_ipv6_packet() local
551 if (!ih) { in dump_ipv6_packet()
557 nf_log_buf_add(m, "SRC=%pI6 DST=%pI6 ", &ih->saddr, &ih->daddr); in dump_ipv6_packet()
563 ih->hop_limit, in dump_ipv6_packet()
[all …]
A Dnft_log.c32 const struct iphdr *ih; in audit_ip4() local
34 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_iph), &_iph); in audit_ip4()
35 if (!ih) in audit_ip4()
39 &ih->saddr, &ih->daddr, ih->protocol); in audit_ip4()
47 const struct ipv6hdr *ih; in audit_ip6() local
51 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); in audit_ip6()
52 if (!ih) in audit_ip6()
55 nexthdr = ih->nexthdr; in audit_ip6()
59 &ih->saddr, &ih->daddr, nexthdr); in audit_ip6()
/linux-6.3-rc2/net/netfilter/ipvs/
A Dip_vs_proto.c221 struct iphdr _iph, *ih; in ip_vs_tcpudp_debug_packet_v4() local
224 if (ih == NULL) in ip_vs_tcpudp_debug_packet_v4()
227 sprintf(buf, "%pI4->%pI4 frag", &ih->saddr, &ih->daddr); in ip_vs_tcpudp_debug_packet_v4()
235 &ih->saddr, &ih->daddr); in ip_vs_tcpudp_debug_packet_v4()
238 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4()
239 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4()
253 struct ipv6hdr _iph, *ih; in ip_vs_tcpudp_debug_packet_v6() local
256 if (ih == NULL) in ip_vs_tcpudp_debug_packet_v6()
259 sprintf(buf, "%pI6c->%pI6c frag", &ih->saddr, &ih->daddr); in ip_vs_tcpudp_debug_packet_v6()
267 &ih->saddr, &ih->daddr); in ip_vs_tcpudp_debug_packet_v6()
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Dcoda.h322 struct coda_in_hdr ih; member
336 struct coda_in_hdr ih; member
347 struct coda_in_hdr ih; member
358 struct coda_in_hdr ih; member
369 struct coda_in_hdr ih; member
386 struct coda_in_hdr ih; member
398 struct coda_in_hdr ih; member
409 struct coda_in_hdr ih; member
425 struct coda_in_hdr ih; member
440 struct coda_in_hdr ih; member
[all …]

Completed in 79 milliseconds

1234