Home
last modified time | relevance | path

Searched refs:ind (Results 1 – 25 of 66) sorted by relevance

123

/linux/kernel/irq/
H A Ddebugfs.c12 void irq_debug_show_bits(struct seq_file *m, int ind, unsigned int state, in irq_debug_show_bits() argument
19 seq_printf(m, "%*s%s\n", ind + 12, "", sd->name); in irq_debug_show_bits()
59 irq_debug_show_chip(struct seq_file *m, struct irq_data *data, int ind) in irq_debug_show_chip() argument
67 seq_printf(m, "%*schip: ", ind, ""); in irq_debug_show_chip()
72 seq_printf(m, "\n%*sflags: 0x%lx\n", ind + 1, "", chip->flags); in irq_debug_show_chip()
73 irq_debug_show_bits(m, ind, chip->flags, irqchip_flags, in irq_debug_show_chip()
78 irq_debug_show_data(struct seq_file *m, struct irq_data *data, int ind) in irq_debug_show_data() argument
80 seq_printf(m, "%*sdomain: %s\n", ind, "", in irq_debug_show_data()
82 seq_printf(m, "%*shwirq: 0x%lx\n", ind + 1, "", data->hwirq); in irq_debug_show_data()
83 irq_debug_show_chip(m, data, ind + 1); in irq_debug_show_data()
[all …]
H A Dmatrix.c496 void irq_matrix_debug_show(struct seq_file *sf, struct irq_matrix *m, int ind) in irq_matrix_debug_show() argument
507 seq_printf(sf, "%*s| CPU | avl | man | mac | act | vectors\n", ind, " "); in irq_matrix_debug_show()
512 seq_printf(sf, "%*s %4d %4u %4u %4u %4u %*pbl\n", ind, " ", in irq_matrix_debug_show()
/linux/arch/powerpc/mm/nohash/
H A Dtlb.c141 int tsize, int ind) in __local_flush_tlb_page() argument
148 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page()
179 unsigned int ind; member
193 _tlbil_va(p->addr, p->pid, p->tsize, p->ind); in do_flush_tlb_page_ipi()
234 int tsize, int ind) in __flush_tlb_page() argument
257 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page()
266 .ind = ind, in __flush_tlb_page()
273 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
/linux/drivers/s390/cio/
H A Dqdio_thinint.c35 u32 ind; /* u32 because of compare-and-swap performance */ member
54 return &q_indicators[i].ind; in get_indicator()
58 return &q_indicators[TIQDIO_SHARED_IND].ind; in get_indicator()
63 struct indicator_t *ind = container_of(addr, struct indicator_t, ind); in put_indicator() local
67 atomic_dec(&ind->count); in put_indicator()
72 return irq_ptr->dsci == &q_indicators[TIQDIO_SHARED_IND].ind; in references_shared_dsci()
91 return xchg(&q_indicators[TIQDIO_SHARED_IND].ind, 0); in clear_shared_ind()
/linux/drivers/cpufreq/
H A Dqoriq-cpufreq.c127 int i, j, ind; in freq_table_sort() local
133 ind = i; in freq_table_sort()
139 ind = j; in freq_table_sort()
143 if (ind != i) { in freq_table_sort()
147 freq_table[i].driver_data = freq_table[ind].driver_data; in freq_table_sort()
148 freq_table[i].frequency = freq_table[ind].frequency; in freq_table_sort()
149 freq_table[ind].driver_data = table.driver_data; in freq_table_sort()
150 freq_table[ind].frequency = table.frequency; in freq_table_sort()
/linux/include/net/
H A Dllc_pdu.h183 #define FRMR_INFO_SET_INVALID_PDU_CTRL_IND(info, ind) \ argument
184 (info->ind_bits = ((info->ind_bits & 0xFE) | (((u8) ind) & 0x01)))
186 #define FRMR_INFO_SET_INVALID_PDU_INFO_IND(info, ind) \ argument
187 (info->ind_bits = ( (info->ind_bits & 0xFD) | (((u8) ind) & 0x02)))
189 #define FRMR_INFO_SET_PDU_INFO_2LONG_IND(info, ind) \ argument
190 (info->ind_bits = ( (info->ind_bits & 0xFB) | (((u8) ind) & 0x04)))
192 #define FRMR_INFO_SET_PDU_INVALID_Nr_IND(info, ind) \ argument
193 (info->ind_bits = ( (info->ind_bits & 0xF7) | (((u8) ind) & 0x08)))
195 #define FRMR_INFO_SET_PDU_INVALID_Ns_IND(info, ind) \ argument
196 (info->ind_bits = ( (info->ind_bits & 0xEF) | (((u8) ind) & 0x10)))
/linux/arch/powerpc/mm/
H A Dmmu_decl.h53 unsigned int tsize, unsigned int ind) in _tlbil_va() argument
60 unsigned int tsize, unsigned int ind);
64 unsigned int tsize, unsigned int ind) in _tlbil_va() argument
72 unsigned int tsize, unsigned int ind);
75 unsigned int tsize, unsigned int ind) in _tlbivax_bcast() argument
/linux/drivers/soc/qcom/
H A Dpdr_interface.c278 struct pdr_list_node *ind, *tmp; in pdr_indack_work() local
281 list_for_each_entry_safe(ind, tmp, &pdr->indack_list, node) { in pdr_indack_work()
282 pds = ind->pds; in pdr_indack_work()
285 pds->state = ind->curr_state; in pdr_indack_work()
290 pdr_send_indack_msg(pdr, pds, ind->transaction_id); in pdr_indack_work()
293 list_del(&ind->node); in pdr_indack_work()
296 kfree(ind); in pdr_indack_work()
307 struct pdr_list_node *ind; in pdr_indication_cb() local
331 ind = kzalloc(sizeof(*ind), GFP_KERNEL); in pdr_indication_cb()
332 if (!ind) in pdr_indication_cb()
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c467 int ind; in mthca_free_srq_wqe() local
470 ind = wqe_addr >> srq->wqe_shift; in mthca_free_srq_wqe()
475 *wqe_to_link(last_free) = ind; in mthca_free_srq_wqe()
476 last_free->nda_op = htonl((ind << srq->wqe_shift) | 1); in mthca_free_srq_wqe()
477 *wqe_to_link(get_wqe(srq, ind)) = -1; in mthca_free_srq_wqe()
478 srq->last_free = ind; in mthca_free_srq_wqe()
491 int ind; in mthca_tavor_post_srq_recv() local
503 ind = srq->first_free; in mthca_tavor_post_srq_recv()
504 wqe = get_wqe(srq, ind); in mthca_tavor_post_srq_recv()
540 srq->wrid[ind] = wr->wr_id; in mthca_tavor_post_srq_recv()
[all …]
H A Dmthca_qp.c1500 static int build_mlx_header(struct mthca_dev *dev, struct mthca_qp *qp, int ind, in build_mlx_header() argument
1558 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1563 ind * MTHCA_UD_HEADER_SIZE); in build_mlx_header()
1646 int ind; in mthca_tavor_post_send() local
1653 ind = qp->sq.next_ind; in mthca_tavor_post_send()
1666 wqe = get_send_wqe(qp, ind); in mthca_tavor_post_send()
1741 dev, qp, ind, ud_wr(wr), in mthca_tavor_post_send()
1774 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_tavor_post_send()
1784 cpu_to_be32(((ind << qp->sq.wqe_shift) + in mthca_tavor_post_send()
1800 ++ind; in mthca_tavor_post_send()
[all …]
H A Dmthca_mr.c383 static inline u32 tavor_hw_index_to_key(u32 ind) in tavor_hw_index_to_key() argument
385 return ind; in tavor_hw_index_to_key()
393 static inline u32 arbel_hw_index_to_key(u32 ind) in arbel_hw_index_to_key() argument
395 return (ind >> 24) | (ind << 8); in arbel_hw_index_to_key()
403 static inline u32 hw_index_to_key(struct mthca_dev *dev, u32 ind) in hw_index_to_key() argument
406 return arbel_hw_index_to_key(ind); in hw_index_to_key()
408 return tavor_hw_index_to_key(ind); in hw_index_to_key()
/linux/drivers/accessibility/speakup/
H A Dspeakup_dectlk.c184 static int ind = -1; in read_buff_add() local
198 if (ind == -1) in read_buff_add()
199 ind = c; in read_buff_add()
201 ind = ind * 10 + c; in read_buff_add()
203 if (ind != -1) in read_buff_add()
204 lastind = (u_char)ind; in read_buff_add()
205 ind = -1; in read_buff_add()
/linux/drivers/pci/
H A Dnpem.c80 #define for_each_indication(ind, inds) \ argument
81 for (ind = inds; ind->bit; ind++)
95 const struct indication *ind; in reg_to_indications() local
98 for_each_indication(ind, inds) in reg_to_indications()
99 supported_indications |= ind->bit; in reg_to_indications()
/linux/drivers/irqchip/
H A Dirq-riscv-imsic-state.c330 void imsic_vector_debug_show(struct seq_file *m, struct imsic_vector *vec, int ind) in imsic_vector_debug_show() argument
343 seq_printf(m, "%*starget_cpu : %5u\n", ind, "", vec->cpu); in imsic_vector_debug_show()
344 seq_printf(m, "%*starget_local_id : %5u\n", ind, "", vec->local_id); in imsic_vector_debug_show()
345 seq_printf(m, "%*sis_reserved : %5u\n", ind, "", in imsic_vector_debug_show()
347 seq_printf(m, "%*sis_enabled : %5u\n", ind, "", is_enabled ? 1 : 0); in imsic_vector_debug_show()
348 seq_printf(m, "%*sis_move_pending : %5u\n", ind, "", mvec ? 1 : 0); in imsic_vector_debug_show()
350 seq_printf(m, "%*smove_cpu : %5u\n", ind, "", mvec->cpu); in imsic_vector_debug_show()
351 seq_printf(m, "%*smove_local_id : %5u\n", ind, "", mvec->local_id); in imsic_vector_debug_show()
355 void imsic_vector_debug_show_summary(struct seq_file *m, int ind) in imsic_vector_debug_show_summary() argument
357 irq_matrix_debug_show(m, imsic->matrix, ind); in imsic_vector_debug_show_summary()
H A Dirq-riscv-imsic-state.h100 void imsic_vector_debug_show(struct seq_file *m, struct imsic_vector *vec, int ind);
101 void imsic_vector_debug_show_summary(struct seq_file *m, int ind);
H A Dirq-riscv-imsic-platform.c193 struct irq_data *irqd, int ind) in imsic_irq_debug_show() argument
196 imsic_vector_debug_show_summary(m, ind); in imsic_irq_debug_show()
200 imsic_vector_debug_show(m, irq_data_get_irq_chip_data(irqd), ind); in imsic_irq_debug_show()
/linux/drivers/net/wireless/silabs/wfx/
H A Dtraces.h336 TP_PROTO(int ind, int req, int cnf, int busy, bool release),
337 TP_ARGS(ind, req, cnf, busy, release),
339 __field(int, ind)
346 __entry->ind = ind;
353 __entry->ind,
360 #define _trace_bh_stats(ind, req, cnf, busy, release)\ argument
361 trace_bh_stats(ind, req, cnf, busy, release)
/linux/arch/powerpc/include/asm/nohash/
H A Dtlbflush.h70 int tsize, int ind);
77 int tsize, int ind);
/linux/drivers/pci/hotplug/
H A Dacpiphp_ibm.c122 int ind = 0, size; in ibm_slot_from_id() local
133 des = (union apci_descriptor *)&table[ind += des->header.len]; in ibm_slot_from_id()
134 while (ind < size && (des->generic.type != 0x82 || in ibm_slot_from_id()
136 des = (union apci_descriptor *)&table[ind += des->generic.len]; in ibm_slot_from_id()
139 if (ind < size && des->slot.slot_num == id) in ibm_slot_from_id()
/linux/net/rds/
H A Dsend.c988 int ret = 0, ind = 0; in rds_cmsg_send() local
1002 if (ind >= vct->indx) in rds_cmsg_send()
1004 ret = rds_cmsg_rdma_args(rs, rm, cmsg, &vct->vec[ind]); in rds_cmsg_send()
1005 ind++; in rds_cmsg_send()
1122 int ind; in rds_sendmsg() local
1390 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg()
1391 kfree(vct.vec[ind].iov); in rds_sendmsg()
1397 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg()
1398 kfree(vct.vec[ind].iov); in rds_sendmsg()
/linux/scripts/gdb/linux/
H A Ddmesg.py95 ind = did % desc_ring_count
96 desc_off = desc_sz * ind
97 info_off = info_sz * ind
/linux/arch/powerpc/sysdev/xive/
H A Dcommon.c1353 struct irq_data *irqd, int ind) in xive_irq_domain_debug_show() argument
1366 seq_printf(m, "%*sXIVE:\n", ind, ""); in xive_irq_domain_debug_show()
1367 ind++; in xive_irq_domain_debug_show()
1371 seq_printf(m, "%*snot assigned\n", ind, ""); in xive_irq_domain_debug_show()
1376 seq_printf(m, "%*sESB: %s\n", ind, "", esb_names[val & 0x3]); in xive_irq_domain_debug_show()
1377 seq_printf(m, "%*sPstate: %s %s\n", ind, "", xd->stale_p ? "stale" : "", in xive_irq_domain_debug_show()
1379 seq_printf(m, "%*sTarget: %d\n", ind, "", xd->target); in xive_irq_domain_debug_show()
1380 seq_printf(m, "%*sChip: %d\n", ind, "", xd->src_chip); in xive_irq_domain_debug_show()
1381 seq_printf(m, "%*sTrigger: 0x%016llx\n", ind, "", xd->trig_page); in xive_irq_domain_debug_show()
1382 seq_printf(m, "%*sEOI: 0x%016llx\n", ind, "", xd->eoi_page); in xive_irq_domain_debug_show()
[all …]
/linux/kernel/
H A Dkexec_core.c549 kimage_entry_t ind = 0; in kimage_free() local
565 if (ind & IND_INDIRECTION) in kimage_free()
566 kimage_free_entry(ind); in kimage_free()
570 ind = entry; in kimage_free()
575 if (ind & IND_INDIRECTION) in kimage_free()
576 kimage_free_entry(ind); in kimage_free()
/linux/drivers/net/ipa/
H A Dipa_qmi.c85 struct ipa_init_complete_ind ind = { }; in ipa_server_init_complete() local
88 ind.status.result = QMI_RESULT_SUCCESS_V01; in ipa_server_init_complete()
89 ind.status.error = QMI_ERR_NONE_V01; in ipa_server_init_complete()
93 ipa_init_complete_ind_ei, &ind); in ipa_server_init_complete()
/linux/drivers/net/bonding/
H A Dbond_options.c1131 int ind; in _bond_option_arp_ip_target_add() local
1145 ind = bond_get_targets_ip(targets, 0); /* first free slot */ in _bond_option_arp_ip_target_add()
1146 if (ind == -1) { in _bond_option_arp_ip_target_add()
1153 _bond_options_arp_ip_target_set(bond, ind, target, jiffies); in _bond_option_arp_ip_target_add()
1169 int ind, i; in bond_option_arp_ip_target_rem() local
1177 ind = bond_get_targets_ip(targets, target); in bond_option_arp_ip_target_rem()
1178 if (ind == -1) { in bond_option_arp_ip_target_rem()
1184 if (ind == 0 && !targets[1] && bond->params.arp_interval) in bond_option_arp_ip_target_rem()
1191 for (i = ind; (i < BOND_MAX_ARP_TARGETS-1) && targets[i+1]; i++) in bond_option_arp_ip_target_rem()
1195 for (i = ind; (i < BOND_MAX_ARP_TARGETS-1) && targets[i+1]; i++) in bond_option_arp_ip_target_rem()

123