Home
last modified time | relevance | path

Searched refs:widx (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/ntb/test/
A Dntb_tool.c206 int widx; member
969 for (widx = 0; widx < tc->outmw_cnt; widx++) { in tool_init_mws()
970 tc->outmws[widx].widx = widx; in tool_init_mws()
984 for (widx = 0; widx < tc->peers[pidx].inmw_cnt; widx++) { in tool_init_mws()
985 tc->peers[pidx].inmws[widx].widx = widx; in tool_init_mws()
997 for (widx = 0; widx < tc->peers[pidx].outmw_cnt; widx++) { in tool_init_mws()
999 tc->peers[pidx].outmws[widx].mw = &tc->outmws[widx]; in tool_init_mws()
1011 for (widx = 0; widx < tc->outmw_cnt; widx++) in tool_clear_mws()
1016 for (widx = 0; widx < tc->peers[pidx].inmw_cnt; widx++) in tool_clear_mws()
1565 for (widx = 0; widx < tc->peers[pidx].inmw_cnt; widx++) { in tool_setup_dbgfs()
[all …]
/linux/include/linux/
A Dntb.h273 int (*mw_get_align)(struct ntb_dev *ntb, int pidx, int widx,
277 int (*mw_set_trans)(struct ntb_dev *ntb, int pidx, int widx,
279 int (*mw_clear_trans)(struct ntb_dev *ntb, int pidx, int widx);
281 int (*peer_mw_get_addr)(struct ntb_dev *ntb, int widx,
860 return ntb->ops->mw_set_trans(ntb, pidx, widx, addr, size); in ntb_mw_set_trans()
878 return ntb_mw_set_trans(ntb, pidx, widx, 0, 0); in ntb_mw_clear_trans()
880 return ntb->ops->mw_clear_trans(ntb, pidx, widx); in ntb_mw_clear_trans()
915 return ntb->ops->peer_mw_get_addr(ntb, widx, base, size); in ntb_peer_mw_get_addr()
961 int widx) in ntb_peer_mw_clear_trans() argument
964 return ntb_peer_mw_set_trans(ntb, pidx, widx, 0, 0); in ntb_peer_mw_clear_trans()
[all …]
/linux/arch/x86/crypto/
A Dsm3-avx-asm_64.S188 addl wtype##_W1_ADDR(round, widx), h; \
194 addl wtype##_W1W2_ADDR(round, widx), d; \
215 #define R1(a, b, c, d, e, f, g, h, round, widx, wtype) \ argument
216 R(1, a, b, c, d, e, f, g, h, round, widx, wtype)
219 R(2, a, b, c, d, e, f, g, h, round, widx, wtype)
224 #define IW_W_ADDR(round, widx, offs) \ argument
228 #define XW_W_ADDR(round, widx, offs) \ argument
232 #define IW_W1_ADDR(round, widx) IW_W_ADDR(round, widx, 0) argument
233 #define IW_W1W2_ADDR(round, widx) IW_W_ADDR(round, widx, 32) argument
236 #define XW_W1_ADDR(round, widx) XW_W_ADDR(round, widx, 0) argument
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
A Dnvm.c339 u16 widx = 0; in e1000e_write_nvm_spi() local
350 while (widx < words) { in e1000e_write_nvm_spi()
379 e1000_shift_out_eec_bits(hw, (u16)((offset + widx) * 2), in e1000e_write_nvm_spi()
383 while (widx < words) { in e1000e_write_nvm_spi()
384 u16 word_out = data[widx]; in e1000e_write_nvm_spi()
388 widx++; in e1000e_write_nvm_spi()
390 if ((((offset + widx) * 2) % nvm->page_size) == 0) { in e1000e_write_nvm_spi()
/linux/arch/arm64/crypto/
A Dsm3-neon-core.S121 #define R(i, a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument
123 ldr t5, [sp, #(wtype##_W1_ADDR(round, widx))]; \
127 ldr t6, [sp, #(wtype##_W1W2_ADDR(round, widx))]; \
167 #define IW_W_ADDR(round, widx, offs) \ argument
168 (STACK_W + ((round) / 4) * 64 + (offs) + ((widx) * 4))
171 #define XW_W_ADDR(round, widx, offs) \ argument
172 (STACK_W + ((((round) / 3) - 4) % 2) * 64 + (offs) + ((widx) * 4))
175 #define IW_W1_ADDR(round, widx) IW_W_ADDR(round, widx, 32) argument
176 #define IW_W1W2_ADDR(round, widx) IW_W_ADDR(round, widx, 48) argument
179 #define XW_W1_ADDR(round, widx) XW_W_ADDR(round, widx, 0) argument
[all …]
/linux/drivers/ntb/hw/idt/
A Dntb_hw_idt.c1047 unsigned char widx, bidx, en_cnt; in idt_scan_mws() local
1080 for (widx = 0; widx < en_cnt; widx++, (*mw_cnt)++) { in idt_scan_mws()
1091 mws[*mw_cnt].idx = widx; in idt_scan_mws()
1207 if (widx < 0 || peer->mw_cnt <= widx) in idt_ntb_mw_get_align()
1257 if (widx < 0 || ndev->mw_cnt <= widx) in idt_ntb_peer_mw_get_addr()
1263 ndev->mws[widx].idx * ndev->mws[widx].size_max; in idt_ntb_peer_mw_get_addr()
1297 if (widx < 0 || ndev->mw_cnt <= widx) in idt_ntb_peer_mw_set_trans()
1304 mw_cfg = &ndev->mws[widx]; in idt_ntb_peer_mw_set_trans()
1357 int widx) in idt_ntb_peer_mw_clear_trans() argument
1365 if (widx < 0 || ndev->mw_cnt <= widx) in idt_ntb_peer_mw_clear_trans()
[all …]
/linux/drivers/net/ethernet/intel/igb/
A De1000_nvm.c414 u16 widx = 0; in igb_write_nvm_spi() local
425 while (widx < words) { in igb_write_nvm_spi()
454 igb_shift_out_eec_bits(hw, (u16)((offset + widx) * 2), in igb_write_nvm_spi()
458 while (widx < words) { in igb_write_nvm_spi()
459 u16 word_out = data[widx]; in igb_write_nvm_spi()
463 widx++; in igb_write_nvm_spi()
465 if ((((offset + widx) * 2) % nvm->page_size) == 0) { in igb_write_nvm_spi()
/linux/drivers/ntb/hw/mscc/
A Dntb_hw_switchtec.c203 lut = widx >= sndev->peer_nr_direct_mw; in switchtec_ntb_mw_get_align()
283 widx, pidx, &addr, &size); in switchtec_ntb_mw_set_trans()
285 if (widx >= switchtec_ntb_mw_count(ntb, pidx)) in switchtec_ntb_mw_set_trans()
310 if (widx < nr_direct_mw) in switchtec_ntb_mw_set_trans()
311 switchtec_ntb_mw_clr_direct(sndev, widx); in switchtec_ntb_mw_set_trans()
313 switchtec_ntb_mw_clr_lut(sndev, widx); in switchtec_ntb_mw_set_trans()
315 if (widx < nr_direct_mw) in switchtec_ntb_mw_set_trans()
327 widx, ioread32(&ctl->bar_error)); in switchtec_ntb_mw_set_trans()
329 if (widx < nr_direct_mw) in switchtec_ntb_mw_set_trans()
330 switchtec_ntb_mw_clr_direct(sndev, widx); in switchtec_ntb_mw_set_trans()
[all …]
/linux/drivers/power/supply/
A Dqcom_smbb.c169 unsigned int widx; in smbb_hw_lookup() local
172 for (widx = sel = 0; (*fn)(widx) <= val; ++widx) in smbb_hw_lookup()
173 sel = widx; in smbb_hw_lookup()
/linux/drivers/net/ethernet/intel/e1000/
A De1000_hw.c4078 u16 widx = 0; in e1000_write_eeprom_spi() local
4080 while (widx < words) { in e1000_write_eeprom_spi()
4104 e1000_shift_out_ee_bits(hw, (u16)((offset + widx) * 2), in e1000_write_eeprom_spi()
4112 while (widx < words) { in e1000_write_eeprom_spi()
4113 u16 word_out = data[widx]; in e1000_write_eeprom_spi()
4117 widx++; in e1000_write_eeprom_spi()
4124 if ((((offset + widx) * 2) % eeprom->page_size) == 0) { in e1000_write_eeprom_spi()
/linux/arch/mips/include/asm/octeon/
A Dcvmx-pko-defs.h293 uint64_t widx:17; member
299 uint64_t widx:17;
/linux/Documentation/driver-api/
A Dntb.rst117 2) ntb_peer_mw_get_addr(widx) - retrieve MMIO address to map the memory
/linux/drivers/irqchip/
A Dirq-gic-v3-its.c1011 int widx; in its_queue_full() local
1014 widx = its->cmd_write - its->cmd_base; in its_queue_full()
1018 if (((widx + 1) % ITS_CMD_QUEUE_NR_ENTRIES) == ridx) in its_queue_full()

Completed in 71 milliseconds