Home
last modified time | relevance | path

Searched refs:pad_count (Results 1 – 12 of 12) sorted by relevance

/drivers/input/joystick/
Dgamecon.c77 int pad_count[GC_MAX]; member
366 len = gc->pad_count[GC_SNESMOUSE] ? GC_SNESMOUSE_LENGTH : in gc_nes_process_packet()
367 (gc->pad_count[GC_SNES] ? GC_SNES_LENGTH : GC_NES_LENGTH); in gc_nes_process_packet()
473 int data_len = gc->pad_count[GC_MULTI2] ? GC_MULTI2_LENGTH : GC_MULTI_LENGTH; in gc_multi_process_packet()
738 if (gc->pad_count[GC_N64]) in gc_timer()
745 if (gc->pad_count[GC_NES] || in gc_timer()
746 gc->pad_count[GC_SNES] || in gc_timer()
747 gc->pad_count[GC_SNESMOUSE]) { in gc_timer()
755 if (gc->pad_count[GC_MULTI] || gc->pad_count[GC_MULTI2]) in gc_timer()
762 if (gc->pad_count[GC_PSX] || gc->pad_count[GC_DDR]) in gc_timer()
[all …]
/drivers/pinctrl/
Dpinctrl-falcon.c91 static int pad_count[PORTS]; variable
102 pad_count[bank] = len; in lantiq_load_pin_desc()
429 int pad_count = 0; in pinctrl_falcon_probe() local
471 lantiq_load_pin_desc(&falcon_pads[pad_count], *bank, pins); in pinctrl_falcon_probe()
472 pad_count += pins; in pinctrl_falcon_probe()
477 dev_dbg(&pdev->dev, "found a total of %d pads\n", pad_count); in pinctrl_falcon_probe()
479 falcon_pctrl_desc.npins = pad_count; in pinctrl_falcon_probe()
/drivers/infiniband/core/
Dud_header.c234 { STRUCT_FIELD(bth, pad_count),
391 header->bth.pad_count = (4 - payload_bytes) & 3; in ib_ud_header_init()
/drivers/gpu/drm/amd/amdgpu/
Dsdma_v2_4.c749 u32 pad_count; in sdma_v2_4_ring_pad_ib() local
752 pad_count = (-ib->length_dw) & 7; in sdma_v2_4_ring_pad_ib()
753 for (i = 0; i < pad_count; i++) in sdma_v2_4_ring_pad_ib()
757 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v2_4_ring_pad_ib()
Dcik_sdma.c810 u32 pad_count; in cik_sdma_ring_pad_ib() local
813 pad_count = (-ib->length_dw) & 7; in cik_sdma_ring_pad_ib()
814 for (i = 0; i < pad_count; i++) in cik_sdma_ring_pad_ib()
818 SDMA_NOP_COUNT(pad_count - 1); in cik_sdma_ring_pad_ib()
Dsdma_v3_0.c1020 u32 pad_count; in sdma_v3_0_ring_pad_ib() local
1023 pad_count = (-ib->length_dw) & 7; in sdma_v3_0_ring_pad_ib()
1024 for (i = 0; i < pad_count; i++) in sdma_v3_0_ring_pad_ib()
1028 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v3_0_ring_pad_ib()
Dsdma_v5_2.c1069 u32 pad_count; in sdma_v5_2_ring_pad_ib() local
1072 pad_count = (-ib->length_dw) & 0x7; in sdma_v5_2_ring_pad_ib()
1073 for (i = 0; i < pad_count; i++) in sdma_v5_2_ring_pad_ib()
1077 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v5_2_ring_pad_ib()
Dsdma_v5_0.c1132 u32 pad_count; in sdma_v5_0_ring_pad_ib() local
1135 pad_count = (-ib->length_dw) & 0x7; in sdma_v5_0_ring_pad_ib()
1136 for (i = 0; i < pad_count; i++) in sdma_v5_0_ring_pad_ib()
1140 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v5_0_ring_pad_ib()
Dsdma_v4_0.c1736 u32 pad_count; in sdma_v4_0_ring_pad_ib() local
1739 pad_count = (-ib->length_dw) & 7; in sdma_v4_0_ring_pad_ib()
1740 for (i = 0; i < pad_count; i++) in sdma_v4_0_ring_pad_ib()
1744 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v4_0_ring_pad_ib()
/drivers/crypto/ccp/
Dccp-crypto.h148 unsigned int pad_count; member
/drivers/nvdimm/
Dbtt.c629 u32 pad_count = 0; in log_set_indices() local
639 pad_count++; in log_set_indices()
688 if (pad_count < 3) in log_set_indices()
690 pad_count = 0; in log_set_indices()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2230 qp->qp1_hdr.bth.pad_count = (4 - payload_size) & 3; in bnxt_re_build_qp1_send_v2()