Home
last modified time | relevance | path

Searched refs:src_type (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-sunxi-nmi.c116 unsigned int src_type; in sunxi_sc_nmi_set_type() local
123 src_type = SUNXI_SRC_TYPE_EDGE_FALLING; in sunxi_sc_nmi_set_type()
126 src_type = SUNXI_SRC_TYPE_EDGE_RISING; in sunxi_sc_nmi_set_type()
129 src_type = SUNXI_SRC_TYPE_LEVEL_HIGH; in sunxi_sc_nmi_set_type()
133 src_type = SUNXI_SRC_TYPE_LEVEL_LOW; in sunxi_sc_nmi_set_type()
151 src_type_reg |= src_type; in sunxi_sc_nmi_set_type()
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_sock.c131 chan->src_type = la.l2_bdaddr_type; in l2cap_sock_bind()
167 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_bind()
231 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect()
249 chan->src_type = BDADDR_LE_PUBLIC; in l2cap_sock_connect()
252 if (chan->src_type != BDADDR_BREDR && la.l2_bdaddr_type == BDADDR_BREDR) in l2cap_sock_connect()
265 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_connect()
427 la->l2_bdaddr_type = chan->src_type; in l2cap_sock_getname()
474 if (bdaddr_type_is_le(chan->src_type) && in l2cap_sock_getsockopt_old()
658 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
673 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
[all …]
Dl2cap_core.c82 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type()
189 u8 src_type) in __l2cap_global_chan_by_addr() argument
194 if (src_type == BDADDR_BREDR && c->src_type != BDADDR_BREDR) in __l2cap_global_chan_by_addr()
197 if (src_type != BDADDR_BREDR && c->src_type == BDADDR_BREDR) in __l2cap_global_chan_by_addr()
212 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm()
224 if (chan->src_type == BDADDR_BREDR) { in l2cap_add_psm()
237 chan->src_type)) { in l2cap_add_psm()
1983 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_global_chan_by_psm()
1986 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_global_chan_by_psm()
4170 chan->src_type = bdaddr_src_type(conn->hcon); in l2cap_connect()
[all …]
D6lowpan.c732 &chan->src, chan->src_type); in setup_netdev()
974 chan->src_type = BDADDR_LE_PUBLIC; in bt_6lowpan_listen()
978 BT_DBG("chan %p src type %d", chan, chan->src_type); in bt_6lowpan_listen()
Dhci_conn.c561 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add()
652 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, uint8_t src_type) in hci_get_route() argument
676 if (src_type == BDADDR_BREDR) { in hci_get_route()
695 if (!bacmp(&id_addr, src) && id_addr_type == src_type) { in hci_get_route()
Dsmp.c1322 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys()
3329 chan->src_type = BDADDR_LE_PUBLIC; in smp_add_cid()
3331 chan->src_type = BDADDR_LE_RANDOM; in smp_add_cid()
3334 chan->src_type = BDADDR_BREDR; in smp_add_cid()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c606 u8 src_type, in qed_dmae_execute_sub_operation() argument
614 switch (src_type) { in qed_dmae_execute_sub_operation()
671 u8 src_type, u8 dst_type, in qed_dmae_execute_command() argument
687 src_addr, src_type, dst_addr, dst_type, in qed_dmae_execute_command()
695 (src_type == QED_DMAE_ADDRESS_GRC), in qed_dmae_execute_command()
714 if (src_type == QED_DMAE_ADDRESS_GRC) in qed_dmae_execute_command()
735 src_type, in qed_dmae_execute_command()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c603 enum vm_mem_backing_src_type src_type, in vm_userspace_mem_region_add() argument
670 if (src_type == VM_MEM_SRC_ANONYMOUS_THP) in vm_userspace_mem_region_add()
680 | (src_type == VM_MEM_SRC_ANONYMOUS_HUGETLB ? MAP_HUGETLB : 0), in vm_userspace_mem_region_add()
690 if (src_type == VM_MEM_SRC_ANONYMOUS || src_type == VM_MEM_SRC_ANONYMOUS_THP) { in vm_userspace_mem_region_add()
697 TEST_ASSERT(ret == 0 || src_type != VM_MEM_SRC_ANONYMOUS_THP, in vm_userspace_mem_region_add()
702 src_type == VM_MEM_SRC_ANONYMOUS ? MADV_NOHUGEPAGE : MADV_HUGEPAGE); in vm_userspace_mem_region_add()
704 region->host_mem, npages * vm->page_size, src_type); in vm_userspace_mem_region_add()
/kernel/linux/linux-5.10/drivers/dma/
Ddma-axi-dmac.c128 unsigned int src_type; member
179 return chan->src_type == AXI_DMAC_BUS_TYPE_AXI_MM; in axi_dmac_src_is_mem()
767 chan->src_type = val; in axi_dmac_parse_chan_dt()
829 chan->src_type = val; in axi_dmac_read_chan_config()
885 chan->src_type == AXI_DMAC_BUS_TYPE_AXI_MM) { in axi_dmac_detect_caps()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf_core_read.h271 #define ___read(read_fn, dst, src_type, src, accessor) \ argument
272 read_fn((void *)(dst), sizeof(*(dst)), &((src_type)(src))->accessor)
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c720 u64 size, u32 src_type, u32 dst_type) in _perf_memcpy() argument
747 src = create_region_for_mapping(src_mr, size, src_type, &src_addr); in _perf_memcpy()
781 repr_type(src_type), in _perf_memcpy()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h108 enum vm_mem_backing_src_type src_type,
/kernel/linux/linux-5.10/include/net/bluetooth/
Dl2cap.h550 __u8 src_type; member
Dhci_core.h598 __u8 src_type; member
1199 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, u8 src_type);
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h2050 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type,
2054 u8 src_type, u8 dst_type);
Dbnx2x_main.c407 u32 src_type = dmae->opcode & DMAE_COMMAND_SRC; in bnx2x_dp_dmae() local
412 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
430 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
448 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
494 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type, in bnx2x_dmae_opcode() argument
499 opcode |= ((src_type << DMAE_COMMAND_SRC_SHIFT) | in bnx2x_dmae_opcode()
521 u8 src_type, u8 dst_type) in bnx2x_prep_dmae_with_comp() argument
526 dmae->opcode = bnx2x_dmae_opcode(bp, src_type, dst_type, in bnx2x_prep_dmae_with_comp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c2071 static int __mlx4_ib_modify_qp(void *src, enum mlx4_ib_source_type src_type, in __mlx4_ib_modify_qp() argument
2094 if (src_type == MLX4_IB_RWQ_SRC) { in __mlx4_ib_modify_qp()
2319 get_cqs(qp, src_type, &send_cq, &recv_cq); in __mlx4_ib_modify_qp()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h5881 u8 src_type; member