Home
last modified time | relevance | path

Searched refs:addr_type (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ipvlan/
Dipvlan_core.c300 void *lyr3h, int addr_type, in ipvlan_addr_lookup() argument
305 if (addr_type == IPVL_IPV6) { in ipvlan_addr_lookup()
312 } else if (addr_type == IPVL_ICMPV6) { in ipvlan_addr_lookup()
324 } else if (addr_type == IPVL_IPV4) { in ipvlan_addr_lookup()
331 } else if (addr_type == IPVL_ARP) { in ipvlan_addr_lookup()
491 int addr_type; in ipvlan_xmit_mode_l3() local
493 lyr3h = ipvlan_get_L3_hdr(skb, &addr_type); in ipvlan_xmit_mode_l3()
497 addr = ipvlan_addr_lookup(ipvlan->port, lyr3h, addr_type, true); in ipvlan_xmit_mode_l3()
512 int addr_type; in ipvlan_xmit_mode_l2() local
515 lyr3h = ipvlan_get_L3_hdr(skb, &addr_type); in ipvlan_xmit_mode_l2()
[all …]
/drivers/hwtracing/coresight/
Dcoresight-etm3x.c507 drvdata->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store()
718 if (!(drvdata->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show()
719 drvdata->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show()
745 if (!(drvdata->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store()
746 drvdata->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store()
752 drvdata->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store()
772 if (!((drvdata->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show()
773 drvdata->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show()
774 (drvdata->addr_type[idx] == ETM_ADDR_TYPE_RANGE && in addr_range_show()
775 drvdata->addr_type[idx + 1] == ETM_ADDR_TYPE_RANGE))) { in addr_range_show()
[all …]
Dcoresight-etm4x.c292 if (drvdata->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude()
293 drvdata->addr_type[idx + 1] != ETM_ADDR_TYPE_RANGE) in etm4_set_mode_exclude()
509 drvdata->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store()
1126 if (!(drvdata->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show()
1127 drvdata->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show()
1149 if (!(drvdata->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store()
1150 drvdata->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store()
1156 drvdata->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store()
1176 if (!((drvdata->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show()
1177 drvdata->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show()
[all …]
Dcoresight-etm.h226 u32 addr_type[ETM_MAX_ADDR_CMP]; member
Dcoresight-etm4x.h354 u8 addr_type[ETM_MAX_SINGLE_ADDR_CMP]; member
/drivers/s390/cio/
Dioasm.h140 typedef struct { char _[4096]; } addr_type; in chsc() typedef
147 : "=d" (cc), "=m" (*(addr_type *) chsc_area) in chsc()
148 : "d" (chsc_area), "m" (*(addr_type *) chsc_area) in chsc()
/drivers/char/ipmi/
Dipmi_poweroff.c211 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in pps_poweroff_atca()
241 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_atca_detect()
278 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_atca()
353 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_cpi1()
392 ipmb_addr.addr_type = IPMI_IPMB_ADDR_TYPE; in ipmi_poweroff_cpi1()
482 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_chassis()
585 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_po_new_smi()
Dipmi_msghandler.c489 return addr->addr_type == IPMI_LAN_ADDR_TYPE; in is_lan_addr()
494 return addr->addr_type == IPMI_IPMB_ADDR_TYPE; in is_ipmb_addr()
499 return addr->addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE; in is_ipmb_bcast_addr()
645 if (addr1->addr_type != addr2->addr_type) in ipmi_addr_equal()
651 if (addr1->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_addr_equal()
690 if (addr->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_validate_addr()
717 unsigned int ipmi_addr_length(int addr_type) in ipmi_addr_length() argument
719 if (addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) in ipmi_addr_length()
722 if ((addr_type == IPMI_IPMB_ADDR_TYPE) in ipmi_addr_length()
723 || (addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE)) in ipmi_addr_length()
[all …]
Dipmi_si_intf.c1940 info->io.addr_type = addr_space; in hotmod_handler()
1975 if (e->io.addr_type != addr_space) in hotmod_handler()
2026 info->io.addr_type = IPMI_IO_ADDR_SPACE; in hardcode_find_bmc()
2031 info->io.addr_type = IPMI_MEM_ADDR_SPACE; in hardcode_find_bmc()
2237 info->io.addr_type = IPMI_MEM_ADDR_SPACE; in try_init_spmi()
2240 info->io.addr_type = IPMI_IO_ADDR_SPACE; in try_init_spmi()
2249 (info->io.addr_type == IPMI_IO_ADDR_SPACE) ? "io" : "mem", in try_init_spmi()
2386 info->io.addr_type = IPMI_MEM_ADDR_SPACE; in try_init_dmi()
2391 info->io.addr_type = IPMI_IO_ADDR_SPACE; in try_init_dmi()
2415 (info->io.addr_type == IPMI_IO_ADDR_SPACE) ? "io" : "mem", in try_init_dmi()
[all …]
Dipmi_si_sm.h62 int addr_type; member
Dipmi_watchdog.c422 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in i_ipmi_set_timeout()
512 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in panic_halt_ipmi_heartbeat()
634 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_heartbeat()
Dipmi_devintf.c314 addr_len = ipmi_addr_length(msg->addr.addr_type); in ipmi_ioctl()
/drivers/s390/block/
Ddasd_diag.c76 } addr_type; in __dia250() typedef
87 : "+d" (rc), "=m" (*(addr_type *) iob) in __dia250()
88 : "d" (cmd), "d" (reg2), "m" (*(addr_type *) iob) in __dia250()
/drivers/scsi/esas2r/
Desas2r_ioctl.c885 } else if (gaa->addr_type == ATTO_GAA_AT_PORT in hba_ioctl_callback()
886 || gaa->addr_type == ATTO_GAA_AT_NODE) { in hba_ioctl_callback()
887 if (gaa->addr_type == ATTO_GAA_AT_PORT in hba_ioctl_callback()
1089 } else if (gda->addr_type == ATTO_GDA_AT_PORT) { in hba_ioctl_callback()
1097 } else if (gda->addr_type == ATTO_GDA_AT_NODE) { in hba_ioctl_callback()
Datioctl.h781 u8 addr_type; member
878 u8 addr_type; member
Desas2r_disc.c928 hi->data.get_dev_addr.addr_type = dc->dev_addr_type; in esas2r_disc_passthru_dev_addr()
/drivers/infiniband/hw/cxgb4/
Dt4fw_ri_api.h605 __u8 addr_type; member
643 __u8 addr_type; member
Dqp.c628 wqe->fr.addr_type = FW_RI_VA_BASED_TO; in build_memreg()
/drivers/net/ethernet/sun/
Dsunvnet.c104 pkt.addr_type = VNET_ADDR_ETHERMAC; in vnet_send_attr()
137 pkt.xfer_mode, pkt.addr_type, in vnet_send_attr()
156 pkt->xfer_mode, pkt->addr_type, in handle_attr_info()
213 pkt->addr_type != VNET_ADDR_ETHERMAC || in handle_attr_info()
226 pkt->xfer_mode, pkt->addr_type, in handle_attr_info()
/drivers/acpi/
Dacpi_ipmi.c295 tx_msg->addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in acpi_format_ipmi_request()
/drivers/hwmon/
Dibmpex.c466 data->address.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ibmpex_register_bmc()
Dibmaem.c279 data->address.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in aem_init_ipmi_data()