Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/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
467 lantiq_load_pin_desc(&falcon_pads[pad_count], *bank, pins); in pinctrl_falcon_probe()
468 pad_count += pins; in pinctrl_falcon_probe()
473 dev_dbg(&pdev->dev, "found a total of %d pads\n", pad_count); in pinctrl_falcon_probe()
475 falcon_pctrl_desc.npins = pad_count; in pinctrl_falcon_probe()
/Linux-v5.4/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()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto.h145 unsigned int pad_count; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dsdma_v2_4.c750 u32 pad_count; in sdma_v2_4_ring_pad_ib() local
753 pad_count = (8 - (ib->length_dw & 0x7)) % 8; in sdma_v2_4_ring_pad_ib()
754 for (i = 0; i < pad_count; i++) in sdma_v2_4_ring_pad_ib()
758 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v2_4_ring_pad_ib()
Dcik_sdma.c811 u32 pad_count; in cik_sdma_ring_pad_ib() local
814 pad_count = (8 - (ib->length_dw & 0x7)) % 8; in cik_sdma_ring_pad_ib()
815 for (i = 0; i < pad_count; i++) in cik_sdma_ring_pad_ib()
819 SDMA_NOP_COUNT(pad_count - 1); in cik_sdma_ring_pad_ib()
Dsdma_v3_0.c1021 u32 pad_count; in sdma_v3_0_ring_pad_ib() local
1024 pad_count = (8 - (ib->length_dw & 0x7)) % 8; in sdma_v3_0_ring_pad_ib()
1025 for (i = 0; i < pad_count; i++) in sdma_v3_0_ring_pad_ib()
1029 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v3_0_ring_pad_ib()
Dsdma_v5_0.c1097 u32 pad_count; in sdma_v5_0_ring_pad_ib() local
1100 pad_count = (8 - (ib->length_dw & 0x7)) % 8; in sdma_v5_0_ring_pad_ib()
1101 for (i = 0; i < pad_count; i++) in sdma_v5_0_ring_pad_ib()
1105 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v5_0_ring_pad_ib()
Dsdma_v4_0.c1579 u32 pad_count; in sdma_v4_0_ring_pad_ib() local
1582 pad_count = (8 - (ib->length_dw & 0x7)) % 8; in sdma_v4_0_ring_pad_ib()
1583 for (i = 0; i < pad_count; i++) in sdma_v4_0_ring_pad_ib()
1587 SDMA_PKT_NOP_HEADER_COUNT(pad_count - 1); in sdma_v4_0_ring_pad_ib()
/Linux-v5.4/include/rdma/
Dib_pack.h217 u8 pad_count; member
/Linux-v5.4/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()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1946 qp->qp1_hdr.bth.pad_count = (4 - payload_size) & 3; in bnxt_re_build_qp1_send_v2()