Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/net/bluetooth/
Dl2cap_sock.c131 chan->src_type = la.l2_bdaddr_type; in l2cap_sock_bind()
164 if (chan->psm && bdaddr_type_is_le(chan->src_type)) in l2cap_sock_bind()
204 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect()
222 chan->src_type = BDADDR_LE_PUBLIC; in l2cap_sock_connect()
225 if (chan->src_type != BDADDR_BREDR && la.l2_bdaddr_type == BDADDR_BREDR) in l2cap_sock_connect()
235 if (chan->psm && bdaddr_type_is_le(chan->src_type)) in l2cap_sock_connect()
386 la->l2_bdaddr_type = chan->src_type; in l2cap_sock_getname()
415 if (bdaddr_type_is_le(chan->src_type) && in l2cap_sock_getsockopt_old()
582 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
597 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
[all …]
Dl2cap_core.c78 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type()
172 u8 src_type) in __l2cap_global_chan_by_addr() argument
177 if (src_type == BDADDR_BREDR && c->src_type != BDADDR_BREDR) in __l2cap_global_chan_by_addr()
180 if (src_type != BDADDR_BREDR && c->src_type == BDADDR_BREDR) in __l2cap_global_chan_by_addr()
195 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm()
207 if (chan->src_type == BDADDR_BREDR) { in l2cap_add_psm()
220 chan->src_type)) { in l2cap_add_psm()
1794 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_global_chan_by_psm()
1797 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_global_chan_by_psm()
3896 chan->src_type = bdaddr_src_type(conn->hcon); in l2cap_connect()
[all …]
D6lowpan.c723 &chan->src, chan->src_type); in setup_netdev()
965 chan->src_type = BDADDR_LE_PUBLIC; in bt_6lowpan_listen()
969 BT_DBG("chan %p src type %d", chan, chan->src_type); in bt_6lowpan_listen()
Dhci_conn.c535 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add()
619 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, uint8_t src_type) in hci_get_route() argument
643 if (src_type == BDADDR_BREDR) { in hci_get_route()
662 if (!bacmp(&id_addr, src) && id_addr_type == src_type) { in hci_get_route()
Dsmp.c1321 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys()
3272 chan->src_type = BDADDR_LE_PUBLIC; in smp_add_cid()
3274 chan->src_type = BDADDR_LE_RANDOM; in smp_add_cid()
3277 chan->src_type = BDADDR_BREDR; in smp_add_cid()
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c639 u8 src_type, in qed_dmae_execute_sub_operation() argument
647 switch (src_type) { in qed_dmae_execute_sub_operation()
704 u8 src_type, u8 dst_type, in qed_dmae_execute_command() argument
720 src_addr, src_type, dst_addr, dst_type, in qed_dmae_execute_command()
728 (src_type == QED_DMAE_ADDRESS_GRC), in qed_dmae_execute_command()
747 if (src_type == QED_DMAE_ADDRESS_GRC) in qed_dmae_execute_command()
768 src_type, in qed_dmae_execute_command()
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Dkvm_util.c576 enum vm_mem_backing_src_type src_type, in vm_userspace_mem_region_add() argument
640 if (src_type == VM_MEM_SRC_ANONYMOUS_THP) in vm_userspace_mem_region_add()
650 | (src_type == VM_MEM_SRC_ANONYMOUS_HUGETLB ? MAP_HUGETLB : 0), in vm_userspace_mem_region_add()
660 if (src_type == VM_MEM_SRC_ANONYMOUS || src_type == VM_MEM_SRC_ANONYMOUS_THP) { in vm_userspace_mem_region_add()
662 src_type == VM_MEM_SRC_ANONYMOUS ? MADV_NOHUGEPAGE : MADV_HUGEPAGE); in vm_userspace_mem_region_add()
667 region->host_mem, npages * vm->page_size, src_type); in vm_userspace_mem_region_add()
/Linux-v5.4/drivers/dma/
Ddma-axi-dmac.c117 unsigned int src_type; member
170 return chan->src_type == AXI_DMAC_BUS_TYPE_AXI_MM; in axi_dmac_src_is_mem()
744 chan->src_type = val; in axi_dmac_parse_chan_dt()
807 chan->src_type == AXI_DMAC_BUS_TYPE_AXI_MM) { in axi_dmac_detect_caps()
/Linux-v5.4/tools/testing/selftests/kvm/include/
Dkvm_util.h93 enum vm_mem_backing_src_type src_type,
/Linux-v5.4/include/net/bluetooth/
Dl2cap.h509 __u8 src_type; member
Dhci_core.h460 __u8 src_type; member
1052 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, u8 src_type);
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h2039 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type,
2043 u8 src_type, u8 dst_type);
Dbnx2x_main.c392 u32 src_type = dmae->opcode & DMAE_COMMAND_SRC; in bnx2x_dp_dmae() local
397 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
415 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
433 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
479 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type, in bnx2x_dmae_opcode() argument
484 opcode |= ((src_type << DMAE_COMMAND_SRC_SHIFT) | in bnx2x_dmae_opcode()
506 u8 src_type, u8 dst_type) in bnx2x_prep_dmae_with_comp() argument
511 dmae->opcode = bnx2x_dmae_opcode(bp, src_type, dst_type, in bnx2x_prep_dmae_with_comp()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dqp.c2131 static int __mlx4_ib_modify_qp(void *src, enum mlx4_ib_source_type src_type, in __mlx4_ib_modify_qp() argument
2154 if (src_type == MLX4_IB_RWQ_SRC) { in __mlx4_ib_modify_qp()
2379 get_cqs(qp, src_type, &send_cq, &recv_cq); in __mlx4_ib_modify_qp()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h5431 u8 src_type; member