Home
last modified time | relevance | path

Searched refs:family (Results 1 – 200 of 877) sorted by relevance

12345

/linux-4.1.27/net/netlink/
Dgenetlink.c89 static int genl_ctrl_event(int event, struct genl_family *family,
127 static const struct genl_ops *genl_get_cmd(u8 cmd, struct genl_family *family) in genl_get_cmd() argument
131 for (i = 0; i < family->n_ops; i++) in genl_get_cmd()
132 if (family->ops[i].cmd == cmd) in genl_get_cmd()
133 return &family->ops[i]; in genl_get_cmd()
220 static int genl_validate_assign_mc_groups(struct genl_family *family) in genl_validate_assign_mc_groups() argument
223 int n_groups = family->n_mcgrps; in genl_validate_assign_mc_groups()
231 const struct genl_multicast_group *grp = &family->mcgrps[i]; in genl_validate_assign_mc_groups()
240 if (family == &genl_ctrl) { in genl_validate_assign_mc_groups()
243 } else if (strcmp(family->name, "NET_DM") == 0) { in genl_validate_assign_mc_groups()
[all …]
/linux-4.1.27/include/net/
Dgenetlink.h133 int __genl_register_family(struct genl_family *family);
135 static inline int genl_register_family(struct genl_family *family) in genl_register_family() argument
137 family->module = THIS_MODULE; in genl_register_family()
138 return __genl_register_family(family); in genl_register_family()
163 _genl_register_family_with_ops_grps(struct genl_family *family, in _genl_register_family_with_ops_grps() argument
168 family->module = THIS_MODULE; in _genl_register_family_with_ops_grps()
169 family->ops = ops; in _genl_register_family_with_ops_grps()
170 family->n_ops = n_ops; in _genl_register_family_with_ops_grps()
171 family->mcgrps = mcgrps; in _genl_register_family_with_ops_grps()
172 family->n_mcgrps = n_mcgrps; in _genl_register_family_with_ops_grps()
[all …]
Dxfrm.h41 #define MODULE_ALIAS_XFRM_MODE(family, encap) \ argument
42 MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap))
43 #define MODULE_ALIAS_XFRM_TYPE(family, proto) \ argument
44 MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto))
157 u16 family; member
284 unsigned short family; member
319 unsigned int family; member
347 struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family);
351 unsigned int family; member
383 int xfrm_register_type(const struct xfrm_type *type, unsigned short family);
[all …]
Dnetlabel.h358 u16 family,
363 u16 family,
371 u16 family,
378 u16 family,
413 u16 family,
425 u16 family,
428 u16 family,
446 u16 family, in netlbl_cfg_map_del() argument
454 u16 family, in netlbl_cfg_unlbl_map_add() argument
465 u16 family, in netlbl_cfg_unlbl_static_add() argument
[all …]
Dping.h52 sa_family_t family; member
63 sa_family_t family; member
80 int ping_common_sendmsg(int family, struct msghdr *msg, size_t len,
89 sa_family_t family; member
96 void *ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family);
Dinetpeer.h28 __u16 family; member
145 daddr.family = AF_INET; in inet_getpeer_v4()
156 daddr.family = AF_INET6; in inet_getpeer_v6()
Dudp_tunnel.h13 u8 family; member
55 if (cfg->family == AF_INET) in udp_sock_create()
58 if (cfg->family == AF_INET6) in udp_sock_create()
Dflow.h187 static inline size_t flow_key_size(u16 family) in flow_key_size() argument
189 switch (family) { in flow_key_size()
222 struct net *net, const struct flowi *key, u16 family,
226 const struct flowi *key, u16 family,
/linux-4.1.27/arch/mips/cavium-octeon/executive/
Docteon-model.c61 const char *family; in octeon_model_get_string_buffer() local
192 family = "37"; in octeon_model_get_string_buffer()
194 family = "36"; in octeon_model_get_string_buffer()
196 family = "38"; in octeon_model_get_string_buffer()
218 family = "30"; in octeon_model_get_string_buffer()
220 family = "31"; in octeon_model_get_string_buffer()
238 family = "30"; in octeon_model_get_string_buffer()
259 family = "58"; in octeon_model_get_string_buffer()
285 family = "55"; in octeon_model_get_string_buffer()
287 family = "57"; in octeon_model_get_string_buffer()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/microcode/
Dcore_early.c48 int vendor, family; in load_ucode_bsp() local
57 family = x86_family(); in load_ucode_bsp()
61 if (family >= 6) in load_ucode_bsp()
65 if (family >= 0x10) in load_ucode_bsp()
84 int vendor, family; in load_ucode_ap() local
93 family = x86_family(); in load_ucode_ap()
97 if (family >= 6) in load_ucode_ap()
101 if (family >= 0x10) in load_ucode_ap()
131 int vendor, family; in reload_early_microcode() local
134 family = x86_family(); in reload_early_microcode()
[all …]
Damd.c147 static unsigned int verify_patch_size(u8 family, u32 patch_size, in verify_patch_size() argument
157 switch (family) { in verify_patch_size()
279 static int verify_and_add_patch(u8 family, u8 *fw, unsigned int leftover) in verify_and_add_patch() argument
300 if (proc_fam != family) in verify_and_add_patch()
309 ret = verify_patch_size(family, patch_size, leftover); in verify_and_add_patch()
343 static enum ucode_state __load_microcode_amd(u8 family, const u8 *data, in __load_microcode_amd() argument
367 crnt_size = verify_and_add_patch(family, fw, leftover); in __load_microcode_amd()
378 enum ucode_state load_microcode_amd(int cpu, u8 family, const u8 *data, size_t size) in load_microcode_amd() argument
385 ret = __load_microcode_amd(family, data, size); in load_microcode_amd()
/linux-4.1.27/security/selinux/include/
Dnetlabel.h49 u16 family,
53 u16 family,
56 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
57 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family);
58 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family);
61 u16 family,
94 u16 family, in selinux_netlbl_skbuff_getsid() argument
103 u16 family, in selinux_netlbl_skbuff_setsid() argument
116 u16 family) in selinux_netlbl_inet_conn_request() argument
120 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone() argument
[all …]
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_kms.c239 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
264 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
278 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
280 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
282 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
284 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
286 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
288 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
332 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
335 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
[all …]
Dradeon_clocks.c123 if (rdev->family >= CHIP_R420) { in radeon_read_clocks_OF()
208 if (rdev->family < CHIP_RS600) { in radeon_get_clock_info()
242 if (rdev->family >= CHIP_R420) { in radeon_get_clock_info()
493 if ((rdev->family == CHIP_RS400) || in radeon_legacy_set_clock_gating()
494 (rdev->family == CHIP_RS480)) { in radeon_legacy_set_clock_gating()
541 } else if (rdev->family >= CHIP_RV350) { in radeon_legacy_set_clock_gating()
669 if (((rdev->family == CHIP_RV250) && in radeon_legacy_set_clock_gating()
673 || ((rdev->family == CHIP_RV100) in radeon_legacy_set_clock_gating()
684 if ((rdev->family == CHIP_RV200) || in radeon_legacy_set_clock_gating()
685 (rdev->family == CHIP_RV250) || in radeon_legacy_set_clock_gating()
[all …]
Dradeon_legacy_encoders.c237 if (rdev->family == CHIP_RV410) in radeon_legacy_lvds_mode_set()
418 pdata->negative = (rdev->family != CHIP_RV200 && in radeon_legacy_backlight_init()
419 rdev->family != CHIP_RV250 && in radeon_legacy_backlight_init()
420 rdev->family != CHIP_RV280 && in radeon_legacy_backlight_init()
421 rdev->family != CHIP_RV350); in radeon_legacy_backlight_init()
590 if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { in radeon_legacy_primary_dac_mode_set()
599 if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { in radeon_legacy_primary_dac_mode_set()
789 if (rdev->family == CHIP_RV280) { in radeon_legacy_tmds_int_mode_set()
808 if (ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV280)) { in radeon_legacy_tmds_int_mode_set()
821 if (rdev->family == CHIP_R200 || in radeon_legacy_tmds_int_mode_set()
[all …]
Dradeon_encoders.c50 if (rdev->family >= CHIP_R600) in radeon_encoder_clones()
99 if ((rdev->family == CHIP_RS300) || in radeon_get_encoder_enum()
100 (rdev->family == CHIP_RS400) || in radeon_get_encoder_enum()
101 (rdev->family == CHIP_RS480)) in radeon_get_encoder_enum()
133 if ((rdev->family == CHIP_RS300) || in radeon_get_encoder_enum()
134 (rdev->family == CHIP_RS400) || in radeon_get_encoder_enum()
135 (rdev->family == CHIP_RS480)) in radeon_get_encoder_enum()
144 if ((rdev->family == CHIP_RS600) || in radeon_get_encoder_enum()
145 (rdev->family == CHIP_RS690) || in radeon_get_encoder_enum()
146 (rdev->family == CHIP_RS740)) in radeon_get_encoder_enum()
[all …]
Dradeon_gart.c75 if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480 || in radeon_gart_table_ram_alloc()
76 rdev->family == CHIP_RS690 || rdev->family == CHIP_RS740) { in radeon_gart_table_ram_alloc()
101 if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480 || in radeon_gart_table_ram_free()
102 rdev->family == CHIP_RS690 || rdev->family == CHIP_RS740) { in radeon_gart_table_ram_free()
Dr100.c811 switch (rdev->family) { in r100_irq_process()
1000 if ((rdev->family == CHIP_R100) || (rdev->family == CHIP_RV100) || in r100_cp_init_microcode()
1001 (rdev->family == CHIP_RV200) || (rdev->family == CHIP_RS100) || in r100_cp_init_microcode()
1002 (rdev->family == CHIP_RS200)) { in r100_cp_init_microcode()
1005 } else if ((rdev->family == CHIP_R200) || in r100_cp_init_microcode()
1006 (rdev->family == CHIP_RV250) || in r100_cp_init_microcode()
1007 (rdev->family == CHIP_RV280) || in r100_cp_init_microcode()
1008 (rdev->family == CHIP_RS300)) { in r100_cp_init_microcode()
1011 } else if ((rdev->family == CHIP_R300) || in r100_cp_init_microcode()
1012 (rdev->family == CHIP_R350) || in r100_cp_init_microcode()
[all …]
Dr600.c164 if (rdev->family >= CHIP_RS780) in r600_set_uvd_clocks()
185 if (rdev->family >= CHIP_RV670 && rdev->family < CHIP_RS780) in r600_set_uvd_clocks()
198 if (rdev->family >= CHIP_RS780) in r600_set_uvd_clocks()
226 if (rdev->family >= CHIP_RS780) in r600_set_uvd_clocks()
317 if ((rdev->flags & RADEON_IS_IGP) || (rdev->family == CHIP_R600)) { in r600_pm_get_dynpm_state()
599 if (rdev->family == CHIP_R600) { in r600_pm_init_profile()
1025 if ((rdev->family >= CHIP_RV770) && (rdev->family <= CHIP_RV740) && in r600_pcie_gart_tlb_flush()
1426 if (rdev->family == CHIP_RS780 || rdev->family == CHIP_RS880) { in r600_mc_init()
1568 if (rdev->family >= CHIP_RV770) { in r600_gpu_check_soft_reset()
1644 if (rdev->family >= CHIP_RV770) in r600_gpu_soft_reset()
[all …]
Drv770_dpm.c151 if (rdev->family == CHIP_RV770) in rv770_mg_clock_gating_enable()
628 if (rdev->family == CHIP_RV740) in rv770_convert_power_level_to_smc()
631 else if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) in rv770_convert_power_level_to_smc()
640 if (rdev->family == CHIP_RV740) { in rv770_convert_power_level_to_smc()
655 } else if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) in rv770_convert_power_level_to_smc()
790 if (rdev->family == CHIP_RV740) in rv770_enable_spread_spectrum()
800 if (rdev->family == CHIP_RV740) in rv770_enable_spread_spectrum()
809 if ((rdev->family == CHIP_RV770) && !pi->mem_gddr5) { in rv770_program_mpll_timing_parameters()
1091 if (rdev->family == CHIP_RV740) { in rv770_populate_smc_initial_state()
1207 if ((rdev->family == CHIP_RV730) || (rdev->family == CHIP_RV710)) in rv770_init_smc_table()
[all …]
Dbtc_dpm.c1459 if (rdev->family == CHIP_BARTS) { in btc_cg_clock_gating_default()
1462 } else if (rdev->family == CHIP_TURKS) { in btc_cg_clock_gating_default()
1465 } else if (rdev->family == CHIP_CAICOS) { in btc_cg_clock_gating_default()
1481 if (rdev->family == CHIP_BARTS) { in btc_cg_clock_gating_enable()
1484 } else if (rdev->family == CHIP_TURKS) { in btc_cg_clock_gating_enable()
1487 } else if (rdev->family == CHIP_CAICOS) { in btc_cg_clock_gating_enable()
1493 if (rdev->family == CHIP_BARTS) { in btc_cg_clock_gating_enable()
1496 } else if (rdev->family == CHIP_TURKS) { in btc_cg_clock_gating_enable()
1499 } else if (rdev->family == CHIP_CAICOS) { in btc_cg_clock_gating_enable()
1514 if (rdev->family == CHIP_BARTS) { in btc_mg_clock_gating_default()
[all …]
Drs400.c142 if (rdev->family == CHIP_RS690 || (rdev->family == CHIP_RS740)) { in rs400_gart_enable()
151 if ((rdev->family == CHIP_RS690) || (rdev->family == CHIP_RS740)) { in rs400_gart_enable()
175 if ((rdev->family == CHIP_RS690) || (rdev->family == CHIP_RS740)) { in rs400_gart_enable()
318 if (rdev->family == CHIP_RS690 || (rdev->family == CHIP_RS740)) { in rs400_debugfs_gart_info()
Dradeon_device.c215 if (rdev->family < CHIP_R600) { in radeon_surface_init()
244 if (rdev->family < CHIP_R300) { in radeon_scratch_init()
507 } else if (rdev->family < CHIP_R300) { in radeon_wb_init()
513 if (rdev->family >= CHIP_R600) { in radeon_wb_init()
519 if (rdev->family >= CHIP_PALM) { in radeon_wb_init()
649 (rdev->family < CHIP_R600)) in radeon_card_posted()
685 if (rdev->family >= CHIP_R600) in radeon_card_posted()
1101 if (rdev->family >= CHIP_RV770) in radeon_check_arguments()
1110 if (rdev->family >= CHIP_RV770) in radeon_check_arguments()
1117 if (rdev->family >= CHIP_RV770) in radeon_check_arguments()
[all …]
Datombios_crtc.c158 && rdev->family >= CHIP_RV515 && rdev->family <= CHIP_R580) { in atombios_scaler_setup()
572 if ((rdev->family == CHIP_RS600) || in atombios_adjust_pll()
573 (rdev->family == CHIP_RS690) || in atombios_adjust_pll()
574 (rdev->family == CHIP_RS740)) in atombios_adjust_pll()
583 if (rdev->family < CHIP_RV770) in atombios_adjust_pll()
589 if ((rdev->family == CHIP_RS780) || (rdev->family == CHIP_RS880)) in atombios_adjust_pll()
1265 if (rdev->family >= CHIP_TAHITI) { in dce4_crtc_do_set_base()
1268 if (rdev->family >= CHIP_BONAIRE) { in dce4_crtc_do_set_base()
1306 if (rdev->family >= CHIP_CAYMAN) in dce4_crtc_do_set_base()
1330 if (rdev->family >= CHIP_BONAIRE) { in dce4_crtc_do_set_base()
[all …]
Dradeon.h1093 unsigned family; member
2320 enum radeon_family family; member
2779 #define ASIC_IS_RV100(rdev) ((rdev->family == CHIP_RV100) || \
2780 (rdev->family == CHIP_RV200) || \
2781 (rdev->family == CHIP_RS100) || \
2782 (rdev->family == CHIP_RS200) || \
2783 (rdev->family == CHIP_RV250) || \
2784 (rdev->family == CHIP_RV280) || \
2785 (rdev->family == CHIP_RS300))
2786 #define ASIC_IS_R300(rdev) ((rdev->family == CHIP_R300) || \
[all …]
Dradeon_irq_kms.c197 if (rdev->family < CHIP_RV380) in radeon_msi_ok()
209 if (rdev->family < CHIP_BONAIRE) { in radeon_msi_ok()
246 if (rdev->family == CHIP_RS690) in radeon_msi_ok()
253 if (rdev->family == CHIP_RV515) in radeon_msi_ok()
257 if (rdev->family >= CHIP_PALM) in radeon_msi_ok()
Dradeon_combios.c463 if (rdev->family == CHIP_RS300 || in combios_setup_i2c_bus()
464 rdev->family == CHIP_RS400 || in combios_setup_i2c_bus()
465 rdev->family == CHIP_RS480) in combios_setup_i2c_bus()
467 else if (rdev->family == CHIP_R300 || in combios_setup_i2c_bus()
468 rdev->family == CHIP_R350) { in combios_setup_i2c_bus()
475 if (rdev->family == CHIP_R200 || in combios_setup_i2c_bus()
476 rdev->family == CHIP_R300 || in combios_setup_i2c_bus()
477 rdev->family == CHIP_R350) { in combios_setup_i2c_bus()
480 } else if (rdev->family == CHIP_RS300 || in combios_setup_i2c_bus()
481 rdev->family == CHIP_RS400 || in combios_setup_i2c_bus()
[all …]
Dradeon_asic.c95 if (rdev->family < CHIP_RV515) { in radeon_register_accessor_init()
101 if (rdev->family <= CHIP_R580) { in radeon_register_accessor_init()
105 if (rdev->family >= CHIP_R420) { in radeon_register_accessor_init()
109 if (rdev->family >= CHIP_RV515) { in radeon_register_accessor_init()
113 if (rdev->family == CHIP_RS400 || rdev->family == CHIP_RS480) { in radeon_register_accessor_init()
117 if (rdev->family == CHIP_RS690 || rdev->family == CHIP_RS740) { in radeon_register_accessor_init()
121 if (rdev->family == CHIP_RS600) { in radeon_register_accessor_init()
125 if (rdev->family == CHIP_RS780 || rdev->family == CHIP_RS880) { in radeon_register_accessor_init()
130 if (rdev->family >= CHIP_BONAIRE) { in radeon_register_accessor_init()
133 } else if (rdev->family >= CHIP_R600) { in radeon_register_accessor_init()
[all …]
Dr300.c311 if (rdev->family == CHIP_R300 && in r300_errata()
337 if ((rdev->family == CHIP_R300 && rdev->pdev->device != 0x4144) || in r300_gpu_init()
338 (rdev->family == CHIP_R350 && rdev->pdev->device != 0x4148)) { in r300_gpu_init()
724 if (p->rdev->family < CHIP_RV515) in r300_packet0_check()
731 if (p->rdev->family < CHIP_RV515) { in r300_packet0_check()
790 if (p->rdev->family < CHIP_RV515) { in r300_packet0_check()
940 if (p->rdev->family < CHIP_R420) { in r300_packet0_check()
1007 if (p->rdev->family >= CHIP_RV515) { in r300_packet0_check()
1129 if (p->rdev->family >= CHIP_RV350) in r300_packet0_check()
1135 if (p->rdev->family == CHIP_RV530) in r300_packet0_check()
[all …]
Dradeon_cs.c126 p->rdev->family == CHIP_RS780 || in radeon_cs_parser_relocs()
127 p->rdev->family == CHIP_RS880)) { in radeon_cs_parser_relocs()
202 if (p->rdev->family >= CHIP_TAHITI) { in radeon_cs_get_ring()
211 if (p->rdev->family >= CHIP_CAYMAN) { in radeon_cs_get_ring()
216 } else if (p->rdev->family >= CHIP_RV770) { in radeon_cs_get_ring()
563 if ((rdev->family >= CHIP_TAHITI) && in radeon_cs_ib_vm_chunk()
598 if ((rdev->family >= CHIP_TAHITI) && in radeon_cs_ib_fill()
664 parser.family = rdev->family; in radeon_cs_ioctl()
734 if (rdev->family < CHIP_R600) { in radeon_cs_packet_parse()
Dradeon_i2c.c104 if ((rdev->family >= CHIP_R200) && !ASIC_IS_AVIVO(rdev)) { in pre_xfer()
107 if (rdev->family >= CHIP_RV350) in pre_xfer()
109 else if ((rdev->family == CHIP_R300) || in pre_xfer()
110 (rdev->family == CHIP_R350)) in pre_xfer()
244 switch (rdev->family) { in radeon_get_i2c_prescale()
287 if (rdev->family == CHIP_R520) in radeon_get_i2c_prescale()
364 switch (rdev->family) { in r100_hw_i2c_xfer()
822 switch (rdev->family) { in radeon_hw_i2c_xfer()
934 ((rdev->family <= CHIP_RS480) || in radeon_i2c_create()
935 ((rdev->family >= CHIP_RV515) && (rdev->family <= CHIP_R580))))) { in radeon_i2c_create()
Drv770.c53 if (rdev->family == CHIP_RV740) in rv770_set_uvd_clocks()
718 switch (rdev->family) { in rv770_init_golden_registers()
917 if (rdev->family == CHIP_RV740) in rv770_pcie_gart_enable()
1154 if ((rdev->family == CHIP_RV710) || (rdev->family == CHIP_RV730)) in rv770_set_clk_bypass_mode()
1189 switch (rdev->family) { in rv770_gpu_init()
1350 if (rdev->family == CHIP_RV770) in rv770_gpu_init()
1378 if (rdev->family == CHIP_RV730) { in rv770_gpu_init()
1412 if (rdev->family != CHIP_RV740) in rv770_gpu_init()
1418 if (rdev->family != CHIP_RV770) in rv770_gpu_init()
1423 switch (rdev->family) { in rv770_gpu_init()
[all …]
Dradeon_legacy_crtc.c72 if ((rdev->family == CHIP_RS100) || in radeon_legacy_rmx_mode_set()
73 (rdev->family == CHIP_RS200)) { in radeon_legacy_rmx_mode_set()
672 if ((rdev->family == CHIP_RS400) || (rdev->family == CHIP_RS480)) in radeon_set_crtc_timing()
703 if ((rdev->family == CHIP_RS400) || (rdev->family == CHIP_RS480)) in radeon_set_crtc_timing()
964 (rdev->family == CHIP_RS300) || in radeon_set_pll()
965 (rdev->family == CHIP_RS400) || in radeon_set_pll()
966 (rdev->family == CHIP_RS480)) { in radeon_set_pll()
Devergreen.c925 switch (rdev->family) { in evergreen_init_golden_registers()
1401 if (rdev->family == CHIP_JUNIPER) { in evergreen_get_temp()
1590 (rdev->family >= CHIP_BARTS) && in evergreen_pm_misc()
2477 if ((rdev->family == CHIP_JUNIPER) || in evergreen_pcie_gart_enable()
2478 (rdev->family == CHIP_CYPRESS) || in evergreen_pcie_gart_enable()
2479 (rdev->family == CHIP_HEMLOCK) || in evergreen_pcie_gart_enable()
2480 (rdev->family == CHIP_BARTS)) in evergreen_pcie_gart_enable()
2936 if ((rdev->family == CHIP_PALM) || in evergreen_mc_program()
2937 (rdev->family == CHIP_SUMO) || in evergreen_mc_program()
2938 (rdev->family == CHIP_SUMO2)) { in evergreen_mc_program()
[all …]
Duvd_v2_2.c105 if (rdev->family == CHIP_RV770) in uvd_v2_2_resume()
137 switch (rdev->family) { in uvd_v2_2_resume()
/linux-4.1.27/net/xfrm/
Dxfrm_input.c30 if (unlikely(afinfo->family >= NPROTO)) in xfrm_input_register_afinfo()
33 if (unlikely(xfrm_input_afinfo[afinfo->family] != NULL)) in xfrm_input_register_afinfo()
36 rcu_assign_pointer(xfrm_input_afinfo[afinfo->family], afinfo); in xfrm_input_register_afinfo()
48 if (unlikely(afinfo->family >= NPROTO)) in xfrm_input_unregister_afinfo()
51 if (likely(xfrm_input_afinfo[afinfo->family] != NULL)) { in xfrm_input_unregister_afinfo()
52 if (unlikely(xfrm_input_afinfo[afinfo->family] != afinfo)) in xfrm_input_unregister_afinfo()
55 RCU_INIT_POINTER(xfrm_input_afinfo[afinfo->family], NULL); in xfrm_input_unregister_afinfo()
63 static struct xfrm_input_afinfo *xfrm_input_get_afinfo(unsigned int family) in xfrm_input_get_afinfo() argument
67 if (unlikely(family >= NPROTO)) in xfrm_input_get_afinfo()
70 afinfo = rcu_dereference(xfrm_input_afinfo[family]); in xfrm_input_get_afinfo()
[all …]
Dxfrm_state.c44 unsigned short family) in xfrm_dst_hash() argument
46 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash()
52 unsigned short family) in xfrm_src_hash() argument
54 return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); in xfrm_src_hash()
59 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash() argument
61 return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); in xfrm_spi_hash()
77 x->props.reqid, x->props.family, in xfrm_hash_transfer()
82 x->props.family, in xfrm_hash_transfer()
88 x->id.proto, x->props.family, in xfrm_hash_transfer()
161 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() argument
[all …]
Dxfrm_hash.h86 u32 reqid, unsigned short family, in __xfrm_dst_hash() argument
89 unsigned int h = family ^ reqid; in __xfrm_dst_hash()
90 switch (family) { in __xfrm_dst_hash()
103 unsigned short family, in __xfrm_src_hash() argument
106 unsigned int h = family; in __xfrm_src_hash()
107 switch (family) { in __xfrm_src_hash()
120 unsigned short family, unsigned int hmask) in __xfrm_spi_hash() argument
123 switch (family) { in __xfrm_spi_hash()
140 unsigned short family, unsigned int hmask, in __sel_hash() argument
147 switch (family) { in __sel_hash()
[all …]
Dxfrm_policy.c89 unsigned short family) in xfrm_selector_match() argument
91 switch (family) { in xfrm_selector_match()
100 static struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo() argument
104 if (unlikely(family >= NPROTO)) in xfrm_policy_get_afinfo()
107 afinfo = rcu_dereference(xfrm_policy_afinfo[family]); in xfrm_policy_get_afinfo()
121 int family) in __xfrm_dst_lookup() argument
126 afinfo = xfrm_policy_get_afinfo(family); in __xfrm_dst_lookup()
140 int family) in xfrm_dst_lookup() argument
156 dst = __xfrm_dst_lookup(net, tos, saddr, daddr, family); in xfrm_dst_lookup()
355 unsigned short family, int dir, in __get_hash_thresh() argument
[all …]
Dxfrm_user.c156 switch (p->family) { in verify_newsa_info()
448 x->props.family = p->family; in copy_from_user_state()
452 if (!x->sel.family && !(p->flags & XFRM_STATE_AF_UNSPEC)) in copy_from_user_state()
453 x->sel.family = p->family; in copy_from_user_state()
643 x = xfrm_state_lookup(net, mark, &p->daddr, p->spi, p->proto, p->family); in xfrm_user_state_lookup()
656 p->proto, p->family); in xfrm_user_state_lookup()
714 p->family = x->props.family; in copy_to_user_state()
1180 int family; in xfrm_alloc_userspi() local
1190 family = p->info.family; in xfrm_alloc_userspi()
1198 if (x && !xfrm_addr_equal(&x->id.daddr, daddr, family)) { in xfrm_alloc_userspi()
[all …]
Dxfrm_output.c132 err = nf_hook(skb_dst(skb)->ops->family, in xfrm_output_resume()
207 if (x->sel.family == AF_UNSPEC) in xfrm_inner_extract_output()
209 xfrm_af2proto(skb_dst(skb)->ops->family)); in xfrm_inner_extract_output()
/linux-4.1.27/Documentation/devicetree/bindings/arm/omap/
Dl4.txt6 - compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus
7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus
8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus
9 Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus
10 Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus
11 Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus
12 Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus
13 Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus
14 Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus
15 Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus
[all …]
Dl3-noc.txt7 - compatible : Should be "ti,omap3-l3-smx" for OMAP3 family
8 Should be "ti,omap4-l3-noc" for OMAP4 family
9 Should be "ti,omap5-l3-noc" for OMAP5 family
10 Should be "ti,dra7-l3-noc" for DRA7 family
11 Should be "ti,am4372-l3-noc" for AM43 family
Ddmm.txt10 - compatible: Should contain "ti,omap4-dmm" for OMAP4 family
11 Should contain "ti,omap5-dmm" for OMAP5 and DRA7x family
/linux-4.1.27/security/selinux/
Dnetnode.c114 static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) in sel_netnode_find() argument
119 switch (family) { in sel_netnode_find()
132 if (node->nsec.family == family) in sel_netnode_find()
133 switch (family) { in sel_netnode_find()
160 switch (node->nsec.family) { in sel_netnode_insert()
200 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument
207 node = sel_netnode_find(addr, family); in sel_netnode_sid_slow()
216 switch (family) { in sel_netnode_sid_slow()
234 new->nsec.family = family; in sel_netnode_sid_slow()
263 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid() argument
[all …]
Dnetlabel.c202 u16 family, in selinux_netlbl_skbuff_getsid() argument
215 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_skbuff_getsid()
238 u16 family, in selinux_netlbl_skbuff_setsid() argument
263 rc = netlbl_skbuff_setattr(skb, family, secattr); in selinux_netlbl_skbuff_setsid()
282 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request() argument
287 if (family != PF_INET) in selinux_netlbl_inet_conn_request()
310 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone() argument
314 if (family == PF_INET) in selinux_netlbl_inet_csk_clone()
330 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create() argument
336 if (family != PF_INET) in selinux_netlbl_socket_post_create()
[all …]
Dhooks.c1157 static inline u16 socket_type_to_security_class(int family, int type, int protocol) in socket_type_to_security_class() argument
1159 switch (family) { in socket_type_to_security_class()
3899 switch (ad->u.net->family) { in selinux_parse_skb()
3949 static int selinux_skb_peerlbl_sid(struct sk_buff *skb, u16 family, u32 *sid) in selinux_skb_peerlbl_sid() argument
3959 err = selinux_netlbl_skbuff_getsid(skb, family, &nlbl_type, &nlbl_sid); in selinux_skb_peerlbl_sid()
4029 static int selinux_socket_create(int family, int type, in selinux_socket_create() argument
4040 secclass = socket_type_to_security_class(family, type, protocol); in selinux_socket_create()
4048 static int selinux_socket_post_create(struct socket *sock, int family, in selinux_socket_post_create() argument
4056 isec->sclass = socket_type_to_security_class(family, type, protocol); in selinux_socket_post_create()
4072 err = selinux_netlbl_socket_post_create(sock->sk, family); in selinux_socket_post_create()
[all …]
/linux-4.1.27/net/netfilter/
Dxt_conntrack.c45 u_int8_t family) in conntrack_mt_origsrc() argument
48 &info->origsrc_addr, &info->origsrc_mask, family); in conntrack_mt_origsrc()
54 u_int8_t family) in conntrack_mt_origdst() argument
57 &info->origdst_addr, &info->origdst_mask, family); in conntrack_mt_origdst()
63 u_int8_t family) in conntrack_mt_replsrc() argument
66 &info->replsrc_addr, &info->replsrc_mask, family); in conntrack_mt_replsrc()
72 u_int8_t family) in conntrack_mt_repldst() argument
75 &info->repldst_addr, &info->repldst_mask, family); in conntrack_mt_repldst()
203 if (conntrack_mt_origsrc(ct, info, par->family) ^ in conntrack_mt()
208 if (conntrack_mt_origdst(ct, info, par->family) ^ in conntrack_mt()
[all …]
Dxt_policy.c26 const union nf_inet_addr *a2, unsigned short family) in xt_addr_cmp() argument
28 switch (family) { in xt_addr_cmp()
39 unsigned short family) in match_xfrm_state() argument
42 (xt_addr_cmp(&e->x, &e->y, (const union nf_inet_addr *)(z), family) \ in match_xfrm_state()
56 unsigned short family) in match_policy_in() argument
74 if (match_xfrm_state(sp->xvec[i], e, family)) { in match_policy_in()
86 unsigned short family) in match_policy_out() argument
102 if (match_xfrm_state(dst->xfrm, e, family)) { in match_policy_out()
119 ret = match_policy_in(skb, info, par->family); in policy_mt()
121 ret = match_policy_out(skb, info, par->family); in policy_mt()
[all …]
Dxt_ipvs.c52 const u_int8_t family = par->family; in ipvs_mt() local
70 ip_vs_fill_iph_skb(family, skb, &iph); in ipvs_mt()
88 cp = pp->conn_out_get(family, skb, &iph, 1 /* inverse */); in ipvs_mt()
139 &data->vmask, family) ^ in ipvs_mt()
155 if (par->family != NFPROTO_IPV4 in ipvs_mt_check()
157 && par->family != NFPROTO_IPV6 in ipvs_mt_check()
160 pr_info("protocol family %u not supported\n", par->family); in ipvs_mt_check()
170 .family = NFPROTO_UNSPEC,
Dxt_LOG.c42 nf_log_packet(net, par->family, par->hooknum, skb, par->in, par->out, in log_tg()
51 if (par->family != NFPROTO_IPV4 && par->family != NFPROTO_IPV6) in log_tg_check()
64 return nf_logger_find_get(par->family, NF_LOG_TYPE_LOG); in log_tg_check()
69 nf_logger_put(par->family, NF_LOG_TYPE_LOG); in log_tg_destroy()
75 .family = NFPROTO_IPV4,
85 .family = NFPROTO_IPV6,
Dxt_connmark.c80 ret = nf_ct_l3proto_try_module_get(par->family); in connmark_tg_check()
83 par->family); in connmark_tg_check()
89 nf_ct_l3proto_module_put(par->family); in connmark_tg_destroy()
110 ret = nf_ct_l3proto_try_module_get(par->family); in connmark_mt_check()
113 par->family); in connmark_mt_check()
119 nf_ct_l3proto_module_put(par->family); in connmark_mt_destroy()
125 .family = NFPROTO_UNSPEC,
136 .family = NFPROTO_UNSPEC,
Dnft_compat.c132 switch (ctx->afi->family) { in nft_target_set_tgchk_param()
163 par->family = ctx->afi->family; in nft_target_set_tgchk_param()
258 par.family = ctx->afi->family; in nft_target_destroy()
348 switch (ctx->afi->family) { in nft_match_set_mtchk_param()
379 par->family = ctx->afi->family; in nft_match_set_mtchk_param()
439 par.family = ctx->afi->family; in nft_match_destroy()
489 int event, u16 family, const char *name, in nfnl_compat_fill_info() argument
502 nfmsg->nfgen_family = family; in nfnl_compat_fill_info()
621 const char *name, u32 rev, u32 family) in nft_match_cmp() argument
624 (match->family == NFPROTO_UNSPEC || match->family == family); in nft_match_cmp()
[all …]
Dxt_set.c42 .family = f, \
55 ADT_OPT(opt, par->family, info->match_set.u.compat.dim, in set_match_v0()
117 ADT_OPT(opt, par->family, info->match_set.dim, in set_match_v1()
181 ADT_OPT(opt, par->family, info->match_set.dim, in set_match_v3()
227 ADT_OPT(opt, par->family, info->match_set.dim, in set_match_v4()
255 ADT_OPT(add_opt, par->family, info->add_set.u.compat.dim, in set_target_v0()
257 ADT_OPT(del_opt, par->family, info->del_set.u.compat.dim, in set_target_v0()
327 ADT_OPT(add_opt, par->family, info->add_set.dim, in set_target_v1()
329 ADT_OPT(del_opt, par->family, info->del_set.dim, in set_target_v1()
395 ADT_OPT(add_opt, par->family, info->add_set.dim, in set_target_v2()
[all …]
Dxt_connlimit.c101 const union nf_inet_addr *u3, u_int8_t family) in same_source_net() argument
103 if (family == NFPROTO_IPV4) { in same_source_net()
204 u8 family, u16 zone) in count_tree() argument
224 diff = same_source_net(addr, mask, &rbconn->addr, family); in count_tree()
293 u_int8_t family, u16 zone) in count_them() argument
299 if (family == NFPROTO_IPV6) { in count_them()
309 count = count_tree(net, root, tuple, addr, mask, family, zone); in count_them()
334 par->family, &tuple)) { in connlimit_mt()
338 if (par->family == NFPROTO_IPV6) { in connlimit_mt()
349 &info->mask, par->family, zone); in connlimit_mt()
[all …]
Dnft_nat.c35 u8 family; member
50 if (priv->family == AF_INET) { in nft_nat_eval()
122 u32 family; in nft_nat_init() local
148 family = ntohl(nla_get_be32(tb[NFTA_NAT_FAMILY])); in nft_nat_init()
149 if (family != ctx->afi->family) in nft_nat_init()
152 switch (family) { in nft_nat_init()
162 priv->family = family; in nft_nat_init()
230 if (nla_put_be32(skb, NFTA_NAT_FAMILY, htonl(priv->family))) in nft_nat_dump()
Dxt_NFQUEUE.c46 par->family, jhash_initval); in nfqueue_tg_v1()
101 par->family, jhash_initval); in nfqueue_tg_v3()
115 .family = NFPROTO_UNSPEC,
123 .family = NFPROTO_UNSPEC,
132 .family = NFPROTO_UNSPEC,
141 .family = NFPROTO_UNSPEC,
Dxt_CT.c59 if (par->family == NFPROTO_IPV4) { in xt_ct_find_proto()
65 } else if (par->family == NFPROTO_IPV6) { in xt_ct_find_proto()
90 helper = nf_conntrack_helper_try_module_get(helper_name, par->family, in xt_ct_set_helper()
153 if (timeout->l3num != par->family) { in xt_ct_set_timeout()
162 l4proto = __nf_ct_l4proto_find(par->family, proto); in xt_ct_set_timeout()
201 ret = nf_ct_l3proto_try_module_get(par->family); in xt_ct_tg_check()
239 nf_ct_l3proto_module_put(par->family); in xt_ct_tg_check()
318 nf_ct_l3proto_module_put(par->family); in xt_ct_tg_destroy()
348 .family = NFPROTO_UNSPEC,
358 .family = NFPROTO_UNSPEC,
[all …]
Dxt_recent.c73 u_int16_t family; member
129 const union nf_inet_addr *addrp, u_int16_t family, in recent_entry_lookup() argument
135 if (family == NFPROTO_IPV4) in recent_entry_lookup()
141 if (e->family == family && in recent_entry_lookup()
177 u_int16_t family, u_int8_t ttl) in recent_entry_init() argument
197 e->family = family; in recent_entry_init()
198 if (family == NFPROTO_IPV4) in recent_entry_init()
249 if (par->family == NFPROTO_IPV4) { in recent_mt()
278 e = recent_entry_lookup(t, &addr_mask, par->family, in recent_mt()
283 e = recent_entry_init(t, &addr_mask, par->family, ttl); in recent_mt()
[all …]
Dxt_state.c46 ret = nf_ct_l3proto_try_module_get(par->family); in state_mt_check()
49 par->family); in state_mt_check()
55 nf_ct_l3proto_module_put(par->family); in state_mt_destroy()
60 .family = NFPROTO_UNSPEC,
Dxt_dscp.c61 if (par->family == NFPROTO_IPV4) in tos_mt()
72 .family = NFPROTO_IPV4,
80 .family = NFPROTO_IPV6,
89 .family = NFPROTO_IPV4,
97 .family = NFPROTO_IPV6,
Dxt_helper.c62 ret = nf_ct_l3proto_try_module_get(par->family); in helper_mt_check()
65 par->family); in helper_mt_check()
74 nf_ct_l3proto_module_put(par->family); in helper_mt_destroy()
80 .family = NFPROTO_UNSPEC,
Dnft_ct.c189 static int nft_ct_l3proto_try_module_get(uint8_t family) in nft_ct_l3proto_try_module_get() argument
193 if (family == NFPROTO_INET) { in nft_ct_l3proto_try_module_get()
201 err = nf_ct_l3proto_try_module_get(family); in nft_ct_l3proto_try_module_get()
213 static void nft_ct_l3proto_module_put(uint8_t family) in nft_ct_l3proto_module_put() argument
215 if (family == NFPROTO_INET) { in nft_ct_l3proto_module_put()
219 nf_ct_l3proto_module_put(family); in nft_ct_l3proto_module_put()
274 switch (ctx->afi->family) { in nft_ct_get_init()
315 err = nft_ct_l3proto_try_module_get(ctx->afi->family); in nft_ct_get_init()
346 err = nft_ct_l3proto_try_module_get(ctx->afi->family); in nft_ct_set_init()
356 nft_ct_l3proto_module_put(ctx->afi->family); in nft_ct_destroy()
Dxt_CONNSECMARK.c109 ret = nf_ct_l3proto_try_module_get(par->family); in connsecmark_tg_check()
112 par->family); in connsecmark_tg_check()
118 nf_ct_l3proto_module_put(par->family); in connsecmark_tg_destroy()
124 .family = NFPROTO_UNSPEC,
Dxt_connlabel.c55 ret = nf_ct_l3proto_try_module_get(par->family); in connlabel_mt_check()
58 par->family); in connlabel_mt_check()
75 nf_ct_l3proto_module_put(par->family); in connlabel_mt_destroy()
80 .family = NFPROTO_UNSPEC,
Dxt_tcpudp.c169 .family = NFPROTO_IPV4,
178 .family = NFPROTO_IPV6,
187 .family = NFPROTO_IPV4,
196 .family = NFPROTO_IPV6,
205 .family = NFPROTO_IPV4,
214 .family = NFPROTO_IPV6,
Dxt_TCPMSS.c48 unsigned int family) in tcpmss_reverse_mtu() argument
55 if (family == PF_INET) { in tcpmss_reverse_mtu()
66 ai = nf_get_afinfo(family); in tcpmss_reverse_mtu()
81 unsigned int family, in tcpmss_mangle_packet() argument
112 unsigned int in_mtu = tcpmss_reverse_mtu(net, skb, family); in tcpmss_mangle_packet()
179 if (par->family == NFPROTO_IPV4) in tcpmss_mangle_packet()
312 .family = NFPROTO_IPV4,
322 .family = NFPROTO_IPV6,
Dxt_pkttype.c33 else if (par->family == NFPROTO_IPV4 && in pkttype_mt()
36 else if (par->family == NFPROTO_IPV6 && in pkttype_mt()
48 .family = NFPROTO_UNSPEC,
Dxt_hashlimit.c98 u_int8_t family; member
219 u_int8_t family) in htable_create() argument
256 hinfo->family = family; in htable_create()
266 (family == NFPROTO_IPV4) ? in htable_create()
334 if (hinfo->family == NFPROTO_IPV4) in htable_remove_proc_entry()
354 u_int8_t family) in htable_find_get() argument
361 hinfo->family == family) { in htable_find_get()
528 switch (hinfo->family) { in hashlimit_init_dst()
673 if (par->family == NFPROTO_IPV4) { in hashlimit_mt_check()
702 info->hinfo = htable_find_get(net, info->name, par->family); in hashlimit_mt_check()
[all …]
Dxt_cluster.c70 xt_cluster_is_multicast_addr(const struct sk_buff *skb, u_int8_t family) in xt_cluster_is_multicast_addr() argument
74 switch(family) { in xt_cluster_is_multicast_addr()
115 if (!xt_cluster_is_multicast_addr(skb, par->family) && in xt_cluster_mt()
156 .family = NFPROTO_UNSPEC,
Dnf_tables_api.c59 static struct nft_af_info *nft_afinfo_lookup(struct net *net, int family) in nft_afinfo_lookup() argument
64 if (afi->family == family) in nft_afinfo_lookup()
71 nf_tables_afinfo_lookup(struct net *net, int family, bool autoload) in nf_tables_afinfo_lookup() argument
75 afi = nft_afinfo_lookup(net, family); in nf_tables_afinfo_lookup()
81 request_module("nft-afinfo-%u", family); in nf_tables_afinfo_lookup()
83 afi = nft_afinfo_lookup(net, family); in nf_tables_afinfo_lookup()
362 __nf_tables_chain_type_lookup(int family, const struct nlattr *nla) in __nf_tables_chain_type_lookup() argument
367 if (chain_type[family][i] != NULL && in __nf_tables_chain_type_lookup()
368 !nla_strcmp(nla, chain_type[family][i]->name)) in __nf_tables_chain_type_lookup()
369 return chain_type[family][i]; in __nf_tables_chain_type_lookup()
[all …]
Dxt_DSCP.c119 .family = NFPROTO_IPV4,
128 .family = NFPROTO_IPV6,
138 .family = NFPROTO_IPV4,
147 .family = NFPROTO_IPV6,
Dnf_tables_inet.c28 ops->pf = afi->family; in nft_inet_hook_ops_init()
34 .family = NFPROTO_INET,
72 .family = NFPROTO_INET,
Dxt_connbytes.c113 ret = nf_ct_l3proto_try_module_get(par->family); in connbytes_mt_check()
116 par->family); in connbytes_mt_check()
132 nf_ct_l3proto_module_put(par->family); in connbytes_mt_destroy()
138 .family = NFPROTO_UNSPEC,
Dxt_AUDIT.c147 if (par->family == NFPROTO_BRIDGE) { in audit_tg()
160 switch (par->family) { in audit_tg()
204 .family = NFPROTO_UNSPEC,
212 .family = NFPROTO_BRIDGE,
Dxt_CLASSIFY.c44 .family = NFPROTO_UNSPEC,
54 .family = NFPROTO_ARP,
Dxt_length.c45 .family = NFPROTO_IPV4,
52 .family = NFPROTO_IPV6,
Dxt_mark.c47 .family = NFPROTO_UNSPEC,
56 .family = NFPROTO_UNSPEC,
Dnft_log.c101 if (ctx->afi->family == NFPROTO_INET) { in nft_log_init()
114 return nf_logger_find_get(ctx->afi->family, li->type); in nft_log_init()
126 if (ctx->afi->family == NFPROTO_INET) { in nft_log_destroy()
130 nf_logger_put(ctx->afi->family, li->type); in nft_log_destroy()
Dxt_NFLOG.c36 nfulnl_log_packet(net, par->family, par->hooknum, skb, par->in, in nflog_tg()
55 .family = NFPROTO_UNSPEC,
Dxt_REDIRECT.c71 .family = NFPROTO_IPV6,
83 .family = NFPROTO_IPV4,
Dxt_hl.c70 .family = NFPROTO_IPV4,
78 .family = NFPROTO_IPV6,
Dxt_addrtype.c158 if (par->family == NFPROTO_IPV6) in addrtype_mt_v1()
199 if (par->family == NFPROTO_IPV6) { in addrtype_mt_checkentry_v1()
220 .family = NFPROTO_IPV4,
227 .family = NFPROTO_UNSPEC,
Dx_tables.c76 u_int8_t af = target->family; in xt_register_target()
88 u_int8_t af = target->family; in xt_unregister_target()
126 u_int8_t af = match->family; in xt_register_match()
138 u_int8_t af = match->family; in xt_unregister_match()
379 xt_prefix[par->family], par->match->name, in xt_check_match()
387 xt_prefix[par->family], par->match->name, in xt_check_match()
396 xt_prefix[par->family], par->match->name, in xt_check_match()
398 par->family), in xt_check_match()
400 par->family)); in xt_check_match()
405 xt_prefix[par->family], par->match->name, in xt_check_match()
[all …]
Dxt_ipcomp.c82 .family = NFPROTO_IPV4,
91 .family = NFPROTO_IPV6,
Dxt_esp.c78 .family = NFPROTO_IPV4,
87 .family = NFPROTO_IPV6,
Dxt_tcpmss.c83 .family = NFPROTO_IPV4,
91 .family = NFPROTO_IPV6,
Dnf_nat_core.c43 __nf_nat_l3proto_find(u8 family) in __nf_nat_l3proto_find() argument
45 return rcu_dereference(nf_nat_l3protos[family]); in __nf_nat_l3proto_find()
49 __nf_nat_l4proto_find(u8 family, u8 protonum) in __nf_nat_l4proto_find() argument
51 return rcu_dereference(nf_nat_l4protos[family][protonum]); in __nf_nat_l4proto_find()
63 u8 family; in __nf_nat_decode_session() local
69 family = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; in __nf_nat_decode_session()
71 l3proto = __nf_nat_l3proto_find(family); in __nf_nat_decode_session()
86 int nf_xfrm_me_harder(struct sk_buff *skb, unsigned int family) in nf_xfrm_me_harder() argument
93 err = xfrm_decode_session(skb, &fl, family); in nf_xfrm_me_harder()
Dxt_socket.c435 .family = NFPROTO_IPV4,
444 .family = NFPROTO_IPV4,
456 .family = NFPROTO_IPV6,
468 .family = NFPROTO_IPV4,
480 .family = NFPROTO_IPV6,
Dxt_HL.c137 .family = NFPROTO_IPV4,
147 .family = NFPROTO_IPV6,
/linux-4.1.27/arch/arm/mach-hisi/
DKconfig16 bool "Hisilicon Hi36xx family" if ARCH_MULTI_V7
23 Support for Hisilicon Hi36xx SoC family
26 bool "Hisilicon HIP01 family" if ARCH_MULTI_V7
31 Support for Hisilicon HIP01 SoC family
34 bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7
40 Support for Hisilicon HiP04 SoC family
43 bool "Hisilicon X5HD2 family" if ARCH_MULTI_V7
50 Support for Hisilicon HIX5HD2 SoC family
/linux-4.1.27/tools/perf/arch/x86/util/
Dheader.c26 int family = -1, model = -1, step = -1; in get_cpuid() local
39 family = (a >> 8) & 0xf; /* bits 11 - 8 */ in get_cpuid()
44 if (family == 0xf) in get_cpuid()
45 family += (a >> 20) & 0xff; in get_cpuid()
48 if (family >= 0x6) in get_cpuid()
51 nb = scnprintf(buffer, sz, "%s,%u,%u,%u$", vendor, family, model, step); in get_cpuid()
/linux-4.1.27/Documentation/networking/timestamping/
Dtxtimestamp.c157 static void print_pktinfo(int family, int ifindex, void *saddr, void *daddr) in print_pktinfo() argument
163 saddr ? inet_ntop(family, saddr, sa, sizeof(sa)) : "unknown", in print_pktinfo()
164 daddr ? inet_ntop(family, daddr, da, sizeof(da)) : "unknown"); in print_pktinfo()
270 static void do_test(int family, unsigned int opt) in do_test() argument
275 if (family == AF_INET6 && cfg_proto != SOCK_STREAM) { in do_test()
292 fd = socket(family, cfg_proto, cfg_ipproto); in do_test()
301 if (family == PF_INET) { in do_test()
311 if (family == AF_INET6) { in do_test()
363 if (family == PF_INET) in do_test()
498 static void do_main(int family) in do_main() argument
[all …]
/linux-4.1.27/arch/x86/kernel/
Dverify_cpu.S78 # family > 6 || (family == 6 && model >= 0xd)
79 movl $0x1, %eax # check CPU family and model
83 andl $0x0ff00f00, %eax # mask family and extended family
86 ja verify_cpu_clear_xd # family > 6, ok
87 jb verify_cpu_check # family < 6, skip
92 jb verify_cpu_check # family == 6, model < 0xd, skip
Dtsc_msr.c61 static int match_cpu(u8 family, u8 model) in match_cpu() argument
66 if ((family == freq_desc_tables[i].x86_family) && in match_cpu()
/linux-4.1.27/arch/arm/mach-tegra/
DKconfig22 bool "Enable support for Tegra20 family"
36 bool "Enable support for Tegra30 family"
43 Support for NVIDIA Tegra T30 processor family, based on the
47 bool "Enable support for Tegra114 family"
54 Support for NVIDIA Tegra T114 processor family, based on the
58 bool "Enable support for Tegra124 family"
64 Support for NVIDIA Tegra T124 processor family, based on the
Dtegra.c97 soc_dev_attr->family = kasprintf(GFP_KERNEL, "Tegra"); in tegra_dt_init()
104 kfree(soc_dev_attr->family); in tegra_dt_init()
/linux-4.1.27/drivers/net/ethernet/sfc/
DKconfig2 tristate "Solarflare SFC4000/SFC9000/SFC9100-family support"
11 the Solarflare SFC4000, SFC9000-family and SFC9100-family
17 bool "Solarflare SFC4000/SFC9000/SFC9100-family MTD support"
25 bool "Solarflare SFC9000/SFC9100-family hwmon support"
32 bool "Solarflare SFC9000-family SR-IOV support"
/linux-4.1.27/arch/arm/mach-sti/
DKconfig27 bool "STiH415 STMicroelectronics Consumer Electronics family"
32 Electronics family StiH415 parts, primarily targeted at set-top-box
37 bool "STiH416 STMicroelectronics Consumer Electronics family"
42 Electronics family StiH416 parts, primarily targeted at set-top-box
47 bool "STiH407 STMicroelectronics Consumer Electronics family"
52 Electronics family StiH407 parts, targetted at set-top-box
/linux-4.1.27/Documentation/arm/Marvell/
DREADME11 Orion family
29 Kirkwood family
59 Discovery family
79 EBU Armada family
121 Avanta family
138 Dove family (application processor)
152 PXA 2xx/3xx/93x/95x family
160 …Product Brief : http://www.marvell.com/application-processors/pxa-family/assets/pxa_27x_pb…
161 …Design guide : http://www.marvell.com/application-processors/pxa-family/assets/pxa_27x_de…
162 …Developers manual : http://www.marvell.com/application-processors/pxa-family/assets/pxa_27x_de…
[all …]
/linux-4.1.27/tools/power/cpupower/utils/helpers/
Damd.c32 static int get_did(int family, union msr_pstate pstate) in get_did() argument
36 if (family == 0x12) in get_did()
44 static int get_cof(int family, union msr_pstate pstate) in get_cof() argument
49 did = get_did(family, pstate); in get_cof()
53 if (family == 0x11) in get_cof()
Dcpuid.c56 cpu_info->family = unknown; in get_cpu_info()
85 &cpu_info->family); in get_cpu_info()
95 cpu_info->family == unknown || in get_cpu_info()
145 if (cpu_info->family == 6) { in get_cpu_info()
/linux-4.1.27/drivers/net/wireless/rt2x00/
DKconfig27 This adds support for rt2400 wireless chipset family.
39 This adds support for rt2500 wireless chipset family.
54 This adds support for rt2501 wireless chipset family.
71 This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
83 This adds support for rt33xx wireless chipset family to the
91 This adds support for rt35xx wireless chipset family to the
100 This adds support for rt53xx wireless chipset family to the
108 This adds support for rt3290 wireless chipset family to the
119 This adds support for rt2500 wireless chipset family.
132 This adds support for rt2501 wireless chipset family.
[all …]
/linux-4.1.27/drivers/video/fbdev/aty/
Dradeonfb.h61 #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100) || \
62 ((rinfo)->family == CHIP_FAMILY_RV200) || \
63 ((rinfo)->family == CHIP_FAMILY_RS100) || \
64 ((rinfo)->family == CHIP_FAMILY_RS200) || \
65 ((rinfo)->family == CHIP_FAMILY_RV250) || \
66 ((rinfo)->family == CHIP_FAMILY_RV280) || \
67 ((rinfo)->family == CHIP_FAMILY_RS300))
70 #define IS_R300_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_R300) || \
71 ((rinfo)->family == CHIP_FAMILY_RV350) || \
72 ((rinfo)->family == CHIP_FAMILY_R350) || \
[all …]
Dradeon_backlight.c171 (rinfo->family != CHIP_FAMILY_RV200 && in radeonfb_bl_init()
172 rinfo->family != CHIP_FAMILY_RV250 && in radeonfb_bl_init()
173 rinfo->family != CHIP_FAMILY_RV280 && in radeonfb_bl_init()
174 rinfo->family != CHIP_FAMILY_RV350); in radeonfb_bl_init()
Dradeon_pm.c134 if ((rinfo->family == CHIP_FAMILY_RV100) && (!rinfo->is_mobility)) { in radeon_pm_disable_dynamic_mode()
165 if (rinfo->family == CHIP_FAMILY_RV350) { in radeon_pm_disable_dynamic_mode()
248 else if (rinfo->family == CHIP_FAMILY_R300 || in radeon_pm_disable_dynamic_mode()
249 rinfo->family == CHIP_FAMILY_R350) { in radeon_pm_disable_dynamic_mode()
260 if (rinfo->family == CHIP_FAMILY_R300 || rinfo->family == CHIP_FAMILY_R350) { in radeon_pm_disable_dynamic_mode()
350 if (rinfo->family == CHIP_FAMILY_RV350) { in radeon_pm_enable_dynamic_mode()
435 if (rinfo->family == CHIP_FAMILY_R300 || rinfo->family == CHIP_FAMILY_R350) { in radeon_pm_enable_dynamic_mode()
472 if ((rinfo->family == CHIP_FAMILY_RV250 && in radeon_pm_enable_dynamic_mode()
474 ((rinfo->family == CHIP_FAMILY_RV100) && in radeon_pm_enable_dynamic_mode()
482 if ((rinfo->family == CHIP_FAMILY_RV200) || in radeon_pm_enable_dynamic_mode()
[all …]
Dradeon_base.c101 #define CHIP_DEF(id, family, flags) \ argument
102 { PCI_VENDOR_ID_ATI, id, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (flags) | (CHIP_FAMILY_##family) }
1285 rinfo->family == CHIP_FAMILY_RS300 || in radeon_write_pll_regs()
1286 rinfo->family == CHIP_FAMILY_RS400 || in radeon_write_pll_regs()
1287 rinfo->family == CHIP_FAMILY_RS480) { in radeon_write_pll_regs()
1458 if (rinfo->family == CHIP_FAMILY_R200 || IS_R300_VARIANT(rinfo)) { in radeon_calc_pll_regs()
1782 (rinfo->family == CHIP_FAMILY_R200)) { in radeonfb_set_par()
1805 (rinfo->family == CHIP_FAMILY_R200) || !rinfo->has_CRTC2) in radeonfb_set_par()
1995 if ((rinfo->family == CHIP_FAMILY_RS100) || in radeon_identify_vram()
1996 (rinfo->family == CHIP_FAMILY_RS200) || in radeon_identify_vram()
[all …]
/linux-4.1.27/drivers/w1/slaves/
DKconfig8 tristate "Thermal family implementation"
14 tristate "Simple 64bit memory family implementation"
20 tristate "8-Channel Addressable Switch (IO Expander) 0x29 family support (DS2408)"
36 tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
42 tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
58 counter family device (DS2423).
61 tristate "1kb EEPROM family support (DS2431)"
64 1kb EEPROM family device (DS2431)
67 tristate "4kb EEPROM family support (DS2433)"
70 4kb EEPROM family device (DS2433).
[all …]
/linux-4.1.27/security/tomoyo/
Dnetwork.c363 const char *family, const u8 protocol, in tomoyo_audit_net_log() argument
366 return tomoyo_supervisor(r, "network %s %s %s %s\n", family, in tomoyo_audit_net_log()
623 u8 family; in tomoyo_sock_family() local
627 family = sk->sk_family; in tomoyo_sock_family()
628 switch (family) { in tomoyo_sock_family()
632 return family; in tomoyo_sock_family()
648 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_listen_permission() local
653 if (!family || (type != SOCK_STREAM && type != SOCK_SEQPACKET)) in tomoyo_socket_listen_permission()
664 if (family == PF_UNIX) in tomoyo_socket_listen_permission()
684 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_connect_permission() local
[all …]
/linux-4.1.27/net/netfilter/ipset/
Dip_set_core.c83 find_set_type(const char *name, u8 family, u8 revision) in find_set_type() argument
89 (type->family == family || in find_set_type()
90 type->family == NFPROTO_UNSPEC) && in find_set_type()
113 #define find_set_type_get(name, family, revision, found) \ argument
114 __find_set_type_get(name, family, revision, found, false)
117 __find_set_type_get(const char *name, u8 family, u8 revision, in __find_set_type_get() argument
127 *found = find_set_type(name, family, revision); in __find_set_type_get()
142 __find_set_type_get(name, family, revision, found, true); in __find_set_type_get()
153 #define find_set_type_minmax(name, family, min, max) \ argument
154 __find_set_type_minmax(name, family, min, max, false)
[all …]
Dip_set_hash_gen.h163 #define SET_HOST_MASK(family) (family == AF_INET ? 32 : 128) argument
166 #define NLEN(family) (SET_HOST_MASK(family) + 1) argument
168 #define NLEN(family) SET_HOST_MASK(family) argument
172 #define NLEN(family) 0 argument
391 memset(h->nets, 0, sizeof(struct net_prefixes) * NLEN(set->family)); in mtype_flush()
526 mtype_expire(set, h, NLEN(set->family), set->dsize); in mtype_gc()
555 mtype_expire(set, set->data, NLEN(set->family), set->dsize); in mtype_resize()
667 mtype_expire(set, h, NLEN(set->family), set->dsize); in mtype_add()
684 NLEN(set->family), i); in mtype_add()
686 NLEN(set->family), i); in mtype_add()
[all …]
/linux-4.1.27/net/ipv4/
Dtunnel4.c21 static inline struct xfrm_tunnel __rcu **fam_handlers(unsigned short family) in fam_handlers() argument
23 return (family == AF_INET) ? &tunnel4_handlers : &tunnel64_handlers; in fam_handlers()
26 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_register() argument
36 for (pprev = fam_handlers(family); in xfrm4_tunnel_register()
58 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_deregister() argument
66 for (pprev = fam_handlers(family); in xfrm4_tunnel_deregister()
Dping.c473 static inline int ping_supported(int family, int type, int code) in ping_supported() argument
475 return (family == AF_INET && type == ICMP_ECHO && code == 0) || in ping_supported()
476 (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); in ping_supported()
486 int family; in ping_err() local
497 family = AF_INET; in ping_err()
502 family = AF_INET6; in ping_err()
512 if (!ping_supported(family, icmph->type, icmph->code)) in ping_err()
578 if ((family == AF_INET && !inet_sock->recverr) || in ping_err()
579 (family == AF_INET6 && !inet6_sk(sk)->recverr)) { in ping_err()
583 if (family == AF_INET) { in ping_err()
[all …]
Dtcp_metrics.c84 if (a->family != b->family) in addr_same()
86 if (a->family == AF_INET) in addr_same()
246 saddr.family = req->rsk_ops->family; in __tcp_get_metrics_req()
247 daddr.family = req->rsk_ops->family; in __tcp_get_metrics_req()
248 switch (daddr.family) { in __tcp_get_metrics_req()
288 saddr.family = AF_INET; in __tcp_get_metrics_tw()
290 daddr.family = AF_INET; in __tcp_get_metrics_tw()
297 saddr.family = AF_INET; in __tcp_get_metrics_tw()
299 daddr.family = AF_INET; in __tcp_get_metrics_tw()
303 saddr.family = AF_INET6; in __tcp_get_metrics_tw()
[all …]
Dxfrm4_state.c35 sel->family = AF_INET; in __xfrm4_init_tempsel()
54 x->props.family = AF_INET; in xfrm4_init_temprop()
74 .family = AF_INET,
Dinet_diag.c45 u16 family; member
505 if (cond->family != AF_UNSPEC && in inet_diag_bc_run()
506 cond->family != entry->family) { in inet_diag_bc_run()
507 if (entry->family == AF_INET6 && in inet_diag_bc_run()
508 cond->family == AF_INET) { in inet_diag_bc_run()
566 entry.family = sk->sk_family; in inet_diag_bc_sk()
607 switch (cond->family) { in valid_hostcond()
747 entry.family = sk->sk_family; in inet_diag_dump_reqs()
1082 .family = AF_INET,
1087 .family = AF_INET6,
Dip_vti.c80 XFRM_SPI_SKB_CB(skb)->family = AF_INET; in vti_rcv()
88 unsigned short family; in vti_rcv_cb() local
109 family = x->inner_mode->afinfo->family; in vti_rcv_cb()
112 ret = xfrm_policy_check(NULL, XFRM_POLICY_IN, skb, family); in vti_rcv_cb()
140 x->props.family != AF_INET) in vti_state_check()
/linux-4.1.27/net/core/
Dsock_diag.c127 if (hndl->family >= AF_MAX) in sock_diag_register()
131 if (sock_diag_handlers[hndl->family]) in sock_diag_register()
134 sock_diag_handlers[hndl->family] = hndl; in sock_diag_register()
143 int family = hnld->family; in sock_diag_unregister() local
145 if (family >= AF_MAX) in sock_diag_unregister()
149 BUG_ON(sock_diag_handlers[family] != hnld); in sock_diag_unregister()
150 sock_diag_handlers[family] = NULL; in sock_diag_unregister()
Dfib_rules.c68 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops() argument
74 if (ops->family == family) { in lookup_rules_ops()
116 if (ops->family == o->family) in __fib_rules_register()
277 ops = lookup_rules_ops(net, frh->family); in fib_nl_newrule()
434 ops = lookup_rules_ops(net, frh->family); in fib_nl_delrule()
558 frh->family = ops->family; in fib_nl_fill_rule()
644 int idx = 0, family; in fib_nl_dumprule() local
646 family = rtnl_msg_family(cb->nlh); in fib_nl_dumprule()
647 if (family != AF_UNSPEC) { in fib_nl_dumprule()
649 ops = lookup_rules_ops(net, family); in fib_nl_dumprule()
Dflow.c35 u16 family; member
192 flow_cache_lookup(struct net *net, const struct flowi *key, u16 family, u8 dir, in flow_cache_lookup() argument
208 keysize = flow_key_size(family); in flow_cache_lookup()
223 tfle->family == family && in flow_cache_lookup()
238 fle->family = family; in flow_cache_lookup()
264 flo = resolver(net, key, family, dir, flo, ctx); in flow_cache_lookup()
/linux-4.1.27/net/netlabel/
Dnetlabel_kapi.c69 u16 family, in netlbl_cfg_map_del() argument
77 switch (family) { in netlbl_cfg_map_del()
103 u16 family, in netlbl_cfg_unlbl_map_add() argument
132 switch (family) { in netlbl_cfg_unlbl_map_add()
218 u16 family, in netlbl_cfg_unlbl_static_add() argument
224 switch (family) { in netlbl_cfg_unlbl_static_add()
261 u16 family, in netlbl_cfg_unlbl_static_del() argument
266 switch (family) { in netlbl_cfg_unlbl_static_del()
770 u16 family, in netlbl_sock_setattr() argument
782 switch (family) { in netlbl_sock_setattr()
[all …]
/linux-4.1.27/arch/arm/mach-at91/
Dsoc.c79 soc_dev_attr->family = soc->family; in at91_soc_init()
91 if (soc->family) in at91_soc_init()
92 pr_info("Detected SoC family: %s\n", soc->family); in at91_soc_init()
DKconfig12 bool "SAMA5D3 family" if ARCH_MULTI_V7
19 Select this if you are using one of Atmel's SAMA5D3 family SoC.
23 bool "SAMA5D4 family" if ARCH_MULTI_V7
32 Select this if you are using one of Atmel's SAMA5D4 family SoC.
Dsoc.h21 const char *family; member
29 .family = (__family), \
/linux-4.1.27/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c140 unsigned int fms, family, model, stepping; in validate_cpuid() local
155 family = (fms >> 8) & 0xf; in validate_cpuid()
158 if (family == 6 || family == 0xf) in validate_cpuid()
164 family, model, stepping, family, model, stepping); in validate_cpuid()
/linux-4.1.27/drivers/w1/
Dw1.c97 w1_family_put(sl->family); in w1_slave_release()
406 unsigned int family; in w1_atoreg_num() local
423 i = sscanf(buf, "%02x-%012llx", &family, &id); in w1_atoreg_num()
428 rn->family = family; in w1_atoreg_num()
436 rn->family, (unsigned long long)rn->id, rn->crc); in w1_atoreg_num()
451 if (sl->reg_num.family == rn->family && in w1_slave_search_device()
520 dev_info(dev, "Device %02x-%012llx doesn't exists\n", rn.family, in w1_master_attribute_store_remove()
607 err = add_uevent_var(env, "W1_FID=%02X", sl->reg_num.family); in w1_uevent()
622 fops = sl->family->fops; in w1_family_notify()
652 sl->family->fops->remove_slave(sl); in w1_family_notify()
[all …]
Dw1.h35 __u64 family:8, member
41 family:8;
97 struct w1_family *family; member
/linux-4.1.27/arch/x86/kernel/cpu/
Dmatch.c36 for (m = match; m->vendor | m->family | m->model | m->feature; m++) { in x86_match_cpu()
39 if (m->family != X86_FAMILY_ANY && c->x86 != m->family) in x86_match_cpu()
/linux-4.1.27/Documentation/w1/
Dw1.generic28 When a device is found on the bus, w1 core tries to load the driver for its family
29 and check if it is loaded. If so, the family driver is attached to the slave.
30 If there is no driver for the family, default one is assigned, which allows to perform
47 Slave devices are handled by a driver written for a family of w1 devices.
49 A family driver populates a struct w1_family_ops (see w1_family.h) and
52 Current family drivers:
53 w1_therm - (ds18?20 thermal sensor family driver)
79 <xx-xxxxxxxxxxxxx> - a directory for a found device. The format is family-serial
111 family driver
113 appropriate family driver. Allows to read/write binary data.
/linux-4.1.27/arch/ia64/oprofile/
Dperfmon.c61 __u8 family = local_cpu_data->family; in get_cpu_type() local
63 switch (family) { in get_cpu_type()
/linux-4.1.27/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.c748 const char *family; in hwicap_of_probe() local
764 family = of_get_property(op->dev.of_node, "xlnx,family", NULL); in hwicap_of_probe()
766 if (family) { in hwicap_of_probe()
767 if (!strcmp(family, "virtex2p")) { in hwicap_of_probe()
769 } else if (!strcmp(family, "virtex4")) { in hwicap_of_probe()
771 } else if (!strcmp(family, "virtex5")) { in hwicap_of_probe()
773 } else if (!strcmp(family, "virtex6")) { in hwicap_of_probe()
794 const char *family; in hwicap_drv_probe() local
807 family = pdev->dev.platform_data; in hwicap_drv_probe()
809 if (family) { in hwicap_drv_probe()
[all …]
/linux-4.1.27/fs/nls/
DKconfig42 The Microsoft FAT file system family can deal with filenames in
54 The Microsoft FAT file system family can deal with filenames in
66 The Microsoft FAT file system family can deal with filenames in
79 The Microsoft FAT file system family can deal with filenames in
95 The Microsoft FAT file system family can deal with filenames in
110 The Microsoft FAT file system family can deal with filenames in
121 The Microsoft FAT file system family can deal with filenames in
132 The Microsoft FAT file system family can deal with filenames in
143 The Microsoft FAT file system family can deal with filenames in
154 The Microsoft FAT file system family can deal with filenames in
[all …]
/linux-4.1.27/include/linux/netfilter/
Dx_tables.h40 u_int8_t family; member
64 u_int8_t family; member
75 u_int8_t family; member
94 u_int8_t family; member
102 u_int8_t family; member
140 unsigned short family; member
180 unsigned short family; member
/linux-4.1.27/arch/arm/mach-bcm/
DKconfig33 Enable support for the Cygnus family,
71 bool "Broadcom BCM281XX SoC family" if ARCH_MULTI_V7
75 Enable support for the BCM281XX family, which includes
80 bool "Broadcom BCM21664 SoC family" if ARCH_MULTI_V7
84 Enable support for the BCM21664 family, which includes
111 bool "Broadcom BCM2835 family" if ARCH_MULTI_V6
137 It currently supports the 'BCM63XX' ARM-based family, which includes
152 including the 7445 family of chips.
/linux-4.1.27/net/sched/
Dem_ipset.c64 acpar.family = NFPROTO_IPV4; in em_ipset_match()
70 acpar.family = NFPROTO_IPV6; in em_ipset_match()
82 opt.family = acpar.family; in em_ipset_match()
/linux-4.1.27/fs/dlm/
Dnetlink.c19 static struct genl_family family = { variable
35 data = genlmsg_put(skb, 0, dlm_nl_seqnum++, &family, 0, cmd); in prepare_data()
81 return genl_register_family_with_ops(&family, dlm_nl_ops); in dlm_netlink_init()
86 genl_unregister_family(&family); in dlm_netlink_exit()
/linux-4.1.27/include/linux/
Dnetfilter.h255 unsigned short family; member
273 static inline const struct nf_afinfo *nf_get_afinfo(unsigned short family) in nf_get_afinfo() argument
275 return rcu_dereference(nf_afinfo[family]); in nf_get_afinfo()
280 u_int8_t protocol, unsigned short family) in nf_checksum() argument
286 afinfo = nf_get_afinfo(family); in nf_checksum()
296 u_int8_t protocol, unsigned short family) in nf_checksum_partial() argument
302 afinfo = nf_get_afinfo(family); in nf_checksum_partial()
317 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session() argument
351 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session() argument
Dnet.h128 int family; member
189 int family; member
207 void sock_unregister(int family);
208 int __sock_create(struct net *net, int family, int type, int proto,
210 int sock_create(int family, int type, int proto, struct socket **res);
211 int sock_create_kern(int family, int type, int proto, struct socket **res);
212 int sock_create_lite(int family, int type, int proto, struct socket **res);
Dgenetlink.h39 #define MODULE_ALIAS_GENL_FAMILY(family)\ argument
40 MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family)
/linux-4.1.27/net/atm/
Dproc.c71 int family; member
74 static inline int compare_family(struct sock *sk, int family) in compare_family() argument
76 return !family || (sk->sk_family == family); in compare_family()
79 static int __vcc_walk(struct sock **sock, int family, int *bucket, loff_t l) in __vcc_walk() argument
95 l -= compare_family(sk, family); in __vcc_walk()
111 return __vcc_walk(&state->sk, state->family, &state->bucket, l) ? in vcc_walk()
116 int family, const struct seq_operations *ops) in __vcc_seq_open() argument
124 state->family = family; in __vcc_seq_open()
/linux-4.1.27/net/key/
Daf_key.c574 static inline int pfkey_sockaddr_len(sa_family_t family) in pfkey_sockaddr_len() argument
576 switch (family) { in pfkey_sockaddr_len()
618 unsigned short family; in pfkey_xfrm_state_lookup() local
634 family = ((const struct sockaddr *)(addr + 1))->sa_family; in pfkey_xfrm_state_lookup()
635 switch (family) { in pfkey_xfrm_state_lookup()
651 return xfrm_state_lookup(net, DUMMY_MARK, xaddr, sa->sadb_sa_spi, proto, family); in pfkey_xfrm_state_lookup()
657 pfkey_sockaddr_size(sa_family_t family) in pfkey_sockaddr_size() argument
659 return PFKEY_ALIGN8(pfkey_sockaddr_len(family)); in pfkey_sockaddr_size()
693 unsigned short family) in pfkey_sockaddr_fill() argument
695 switch (family) { in pfkey_sockaddr_fill()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dbrcm,kona-ccu.txt17 The compatible strings used for each supported SoC family
57 BCM281XX family
59 CCU compatible string values for SoCs in the BCM281XX family are:
67 BCM281XX family clocks. When a clock consumer references a clocks,
103 BCM21664 family
105 CCU compatible string values for SoCs in the BCM21664 family are:
112 BCM21664 family clocks. When a clock consumer references a clocks,
/linux-4.1.27/arch/sh/mm/
Dcache.c308 if (boot_cpu_data.family == CPU_FAMILY_SH2) { in cpu_cache_init()
314 if (boot_cpu_data.family == CPU_FAMILY_SH2A) { in cpu_cache_init()
320 if (boot_cpu_data.family == CPU_FAMILY_SH3) { in cpu_cache_init()
333 if ((boot_cpu_data.family == CPU_FAMILY_SH4) || in cpu_cache_init()
334 (boot_cpu_data.family == CPU_FAMILY_SH4A) || in cpu_cache_init()
335 (boot_cpu_data.family == CPU_FAMILY_SH4AL_DSP)) { in cpu_cache_init()
348 if (boot_cpu_data.family == CPU_FAMILY_SH5) { in cpu_cache_init()
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c1760 int probe_nhm_msrs(unsigned int family, unsigned int model) in probe_nhm_msrs() argument
1768 if (family != 6) in probe_nhm_msrs()
1818 int has_nhm_turbo_ratio_limit(unsigned int family, unsigned int model) in has_nhm_turbo_ratio_limit() argument
1829 int has_ivt_turbo_ratio_limit(unsigned int family, unsigned int model) in has_ivt_turbo_ratio_limit() argument
1834 if (family != 6) in has_ivt_turbo_ratio_limit()
1845 int has_hsw_turbo_ratio_limit(unsigned int family, unsigned int model) in has_hsw_turbo_ratio_limit() argument
1850 if (family != 6) in has_hsw_turbo_ratio_limit()
1861 int has_knl_turbo_ratio_limit(unsigned int family, unsigned int model) in has_knl_turbo_ratio_limit() argument
1866 if (family != 6) in has_knl_turbo_ratio_limit()
1877 dump_cstate_pstate_config_info(family, model) in dump_cstate_pstate_config_info() argument
[all …]
/linux-4.1.27/drivers/hwmon/
Dhwmon-vid.c175 u8 family; member
272 static u8 find_vrm(u8 family, u8 model, u8 stepping, u8 vendor) in find_vrm() argument
278 family == vrm_models[i].family && in find_vrm()
/linux-4.1.27/net/ipv6/
Dtunnel6.c38 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family) in xfrm6_tunnel_register() argument
47 for (pprev = (family == AF_INET6) ? &tunnel6_handlers : &tunnel46_handlers; in xfrm6_tunnel_register()
69 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family) in xfrm6_tunnel_deregister() argument
77 for (pprev = (family == AF_INET6) ? &tunnel6_handlers : &tunnel46_handlers; in xfrm6_tunnel_deregister()
Dxfrm6_state.c36 sel->family = AF_INET6; in __xfrm6_init_tempsel()
55 x->props.family = AF_INET6; in xfrm6_init_temprop()
173 .family = AF_INET6,
/linux-4.1.27/arch/mips/pmcs-msp71xx/
Dmsp_setup.c152 unsigned long family; in prom_init() local
166 family = identify_family(); in prom_init()
169 switch (family) { in prom_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c187 if (drm->device.info.family == NV_DEVICE_INFO_V0_CELSIUS && reg1 >= NV_PRAMDAC_VPLL_COEFF) { in nouveau_hw_get_pllvals()
394 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) in nv_save_state_ramdac()
450 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) { in nv_save_state_ramdac()
471 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) in nv_load_state_ramdac()
522 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) { in nv_load_state_ramdac()
603 if (drm->device.info.family >= NV_DEVICE_INFO_V0_KELVIN) in nv_save_state_ext()
606 if (drm->device.info.family >= NV_DEVICE_INFO_V0_RANKINE) in nv_save_state_ext()
615 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { in nv_save_state_ext()
619 if (drm->device.info.family >= NV_DEVICE_INFO_V0_RANKINE) in nv_save_state_ext()
622 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) in nv_save_state_ext()
[all …]
Dhw.h174 if (head && drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) in NVReadPRMVIO()
189 if (head && drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) in NVWritePRMVIO()
338 return drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS ? NV10_CURSOR_SIZE : NV04_CURSOR_SIZE; in nv_cursor_width()
360 if (drm->device.info.family == NV_DEVICE_INFO_V0_TNT) { in nv_set_crtc_base()
385 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) in nv_show_cursor()
401 if (drm->device.info.family == NV_DEVICE_INFO_V0_TNT) in nv_pitch_align()
/linux-4.1.27/net/rxrpc/
Dar-local.c145 srx->transport.family, in rxrpc_lookup_local()
157 local->srx.transport.family, in rxrpc_lookup_local()
162 local->srx.transport.family != srx->transport.family) in rxrpc_lookup_local()
165 switch (srx->transport.family) { in rxrpc_lookup_local()
203 local->srx.transport.family, in rxrpc_lookup_local()
218 local->srx.transport.family, in rxrpc_lookup_local()
Dar-peer.c81 if (srx->transport.family == AF_INET) { in rxrpc_alloc_peer()
171 peer->srx.transport.family, in rxrpc_get_peer()
205 if (local->srx.transport.family == AF_INET && in rxrpc_find_peer()
211 peer->srx.transport.family == AF_INET && in rxrpc_find_peer()
Daf_rxrpc.c98 if (srx->transport.family != rx->proto) in rxrpc_validate_address()
101 switch (srx->transport.family) { in rxrpc_validate_address()
240 if (rx->srx.transport.family != srx->transport.family) in rxrpc_name_to_transport()
401 rx->srx.transport.family = srx->transport.family; in rxrpc_connect()
757 .family = PF_UNIX,
785 .family = PF_RXRPC,
/linux-4.1.27/drivers/scsi/qla4xxx/
DKconfig2 tristate "QLogic ISP4XXX and ISP82XX host adapter family support"
8 and 8032 (ISP83XX) iSCSI host adapter family.
/linux-4.1.27/arch/sh/include/asm/
Dmodule.h23 # error unknown processor family
35 # error unknown processor family
/linux-4.1.27/arch/mips/loongson/
DKconfig34 bool "Lemote Loongson 2F family machines"
57 Lemote Loongson 2F family machines utilize the 2F revision of
60 These family machines include fuloong2f mini PC, yeeloong2f notebook,
64 bool "Generic Loongson 3 family machines"
91 Generic Loongson 3 family machines utilize the 3A/3B revision
/linux-4.1.27/include/uapi/linux/
Dxfrm.h55 __u16 family; member
237 __u16 family; member
368 __u16 family; member
387 __u16 family; member
463 __u16 family; member
491 __u16 family; member
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
DKconfig11 controller (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family).
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c125 case NV_04: args->v0.family = NV_DEVICE_INFO_V0_TNT; break; in nvkm_devobj_info()
127 case NV_11: args->v0.family = NV_DEVICE_INFO_V0_CELSIUS; break; in nvkm_devobj_info()
128 case NV_20: args->v0.family = NV_DEVICE_INFO_V0_KELVIN; break; in nvkm_devobj_info()
129 case NV_30: args->v0.family = NV_DEVICE_INFO_V0_RANKINE; break; in nvkm_devobj_info()
130 case NV_40: args->v0.family = NV_DEVICE_INFO_V0_CURIE; break; in nvkm_devobj_info()
131 case NV_50: args->v0.family = NV_DEVICE_INFO_V0_TESLA; break; in nvkm_devobj_info()
132 case NV_C0: args->v0.family = NV_DEVICE_INFO_V0_FERMI; break; in nvkm_devobj_info()
133 case NV_E0: args->v0.family = NV_DEVICE_INFO_V0_KEPLER; break; in nvkm_devobj_info()
134 case GM100: args->v0.family = NV_DEVICE_INFO_V0_MAXWELL; break; in nvkm_devobj_info()
136 args->v0.family = 0; in nvkm_devobj_info()
/linux-4.1.27/include/net/netfilter/
Dnf_tables.h37 pkt->xt.family = ops->pf; in nft_set_pktinfo()
597 u8 family; member
766 int family; member
847 int family; member
869 #define MODULE_ALIAS_NFT_FAMILY(family) \ argument
870 MODULE_ALIAS("nft-afinfo-" __stringify(family))
872 #define MODULE_ALIAS_NFT_CHAIN(family, name) \ argument
873 MODULE_ALIAS("nft-chain-" __stringify(family) "-" name)
875 #define MODULE_ALIAS_NFT_AF_EXPR(family, name) \ argument
876 MODULE_ALIAS("nft-expr-" __stringify(family) "-" name)
Dnf_queue.h83 nfqueue_hash(const struct sk_buff *skb, u16 queue, u16 queues_total, u8 family, in nfqueue_hash() argument
86 if (family == NFPROTO_IPV4) in nfqueue_hash()
89 else if (family == NFPROTO_IPV6) in nfqueue_hash()
Dnf_log.h68 #define MODULE_ALIAS_NF_LOGGER(family, type) \ argument
69 MODULE_ALIAS("nf-logger-" __stringify(family) "-" __stringify(type))
/linux-4.1.27/drivers/video/fbdev/geode/
DKconfig2 # Geode family framebuffer configuration
5 bool "AMD Geode family framebuffer support"
9 the AMD Geode family of processors.
/linux-4.1.27/include/linux/netfilter_bridge/
Debtables.h36 u_int8_t family; member
53 u_int8_t family; member
71 u_int8_t family; member
/linux-4.1.27/drivers/misc/mic/
DKconfig14 More information about the Intel MIC family as well as the Linux
26 Core (MIC) family of PCIe form factor coprocessor devices that
34 More information about the Intel MIC family as well as the Linux
46 Core (MIC) device family. The card driver communicates shutdown/
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Dsdhci-st.txt11 family).
32 for eMMC on stih407 family silicon to configure DLL inside FlashSS.
35 family.
76 /* Example SD stih407 family configuration */
93 /* Example eMMC stih407 family configuration */
/linux-4.1.27/arch/powerpc/boot/dts/
Dvirtex440-ml507.dts166 xlnx,family = "virtex5";
179 xlnx,family = "virtex5";
291 xlnx,family = "virtex5";
305 xlnx,family = "virtex5";
321 xlnx,family = "virtex5";
339 xlnx,family = "virtex5";
358 xlnx,family = "virtex5";
368 xlnx,family = "virtex5";
374 xlnx,family = "virtex5";
388 xlnx,family = "virtex5";
[all …]
Dvirtex440-ml510.dts150 xlnx,family = "virtex5";
253 xlnx,family = "virtex5";
261 xlnx,family = "virtex5";
275 xlnx,family = "virtex5";
291 xlnx,family = "virtex5";
310 xlnx,family = "virtex5";
320 xlnx,family = "virtex5";
331 xlnx,family = "virtex5";
442 xlnx,family = "virtex5";
456 xlnx,family = "virtex5";
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c72 if (device->info.family < NV_DEVICE_INFO_V0_TESLA) in nouveau_fbcon_fillrect()
75 if (device->info.family < NV_DEVICE_INFO_V0_FERMI) in nouveau_fbcon_fillrect()
104 if (device->info.family < NV_DEVICE_INFO_V0_TESLA) in nouveau_fbcon_copyarea()
107 if (device->info.family < NV_DEVICE_INFO_V0_FERMI) in nouveau_fbcon_copyarea()
136 if (device->info.family < NV_DEVICE_INFO_V0_TESLA) in nouveau_fbcon_imageblit()
139 if (device->info.family < NV_DEVICE_INFO_V0_FERMI) in nouveau_fbcon_imageblit()
281 if (drm->device.info.family < NV_DEVICE_INFO_V0_TESLA) in nouveau_fbcon_accel_init()
284 if (drm->device.info.family < NV_DEVICE_INFO_V0_FERMI) in nouveau_fbcon_accel_init()
381 if (chan && device->info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_fbcon_create()
Dnouveau_abi16.c80 switch (drm->device.info.family) { in nouveau_abi16_swclass()
254 if (device->info.family >= NV_DEVICE_INFO_V0_KEPLER) { in nouveau_abi16_ioctl_channel_alloc()
290 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) in nouveau_abi16_ioctl_channel_alloc()
299 if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) { in nouveau_abi16_ioctl_channel_alloc()
315 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_abi16_ioctl_channel_alloc()
436 if (unlikely(device->info.family >= NV_DEVICE_INFO_V0_FERMI)) in nouveau_abi16_ioctl_notifierobj_alloc()
458 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_abi16_ioctl_notifierobj_alloc()
Dnouveau_chan.c128 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_channel_prep()
142 if (device->info.family == NV_DEVICE_INFO_V0_TNT) { in nouveau_channel_prep()
293 if (device->info.family < NV_DEVICE_INFO_V0_FERMI) { in nouveau_channel_init()
294 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_channel_init()
312 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { in nouveau_channel_init()
370 if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) { in nouveau_channel_init()
/linux-4.1.27/arch/arm/mach-spear/
DKconfig24 Supports for ARM's SPEAR13XX family
51 Supports for ARM's SPEAR3XX family
81 Supports for ARM's SPEAR6XX family
/linux-4.1.27/Documentation/arm/Atmel/
DREADME53 - at91sam9g45 family
61 - at91sam9x5 family (aka "The 5 series")
67 + Datasheet (can be considered as covering the whole family)
75 - sama5d3 family
85 - sama5d4 family
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
DKconfig30 OMAP4 SoC family. The current chip supported are:
44 OMAP5 SoC family. The current chip supported are:
56 DRA752 SoC family. The current chip supported are:
/linux-4.1.27/arch/ia64/kernel/
Dsetup.c698 cpunum, c->vendor, c->family, c->model, in show_cpuinfo()
753 get_model_name(__u8 family, __u8 model) in get_model_name() argument
761 if (family == 0x7) in get_model_name()
763 else if (family == 0x1f) switch (model) { in get_model_name()
798 unsigned family : 8; in identify_cpu() member
833 c->family = cpuid.field.family; in identify_cpu()
836 c->model_name = get_model_name(c->family, c->model); in identify_cpu()
968 if (cpu_info->family == 0x1f) { in cpu_init()
/linux-4.1.27/drivers/base/
Dsoc.c36 static DEVICE_ATTR(family, S_IRUGO, soc_info_get, NULL);
56 && (soc_dev->attr->family != NULL)) in soc_attribute_mode()
78 return sprintf(buf, "%s\n", soc_dev->attr->family); in soc_info_get()
/linux-4.1.27/fs/lockd/
Dsvc.c180 struct net *net, const int family, in create_lockd_listener() argument
185 xprt = svc_find_xprt(serv, name, net, family, 0); in create_lockd_listener()
187 return svc_create_xprt(serv, name, net, family, port, in create_lockd_listener()
194 const int family) in create_lockd_family() argument
198 err = create_lockd_listener(serv, "udp", net, family, nlm_udpport); in create_lockd_family()
202 return create_lockd_listener(serv, "tcp", net, family, nlm_tcpport); in create_lockd_family()
/linux-4.1.27/arch/arm/boot/dts/
Dat91sam9g20.dtsi2 * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC
12 model = "Atmel AT91SAM9G20 family SoC";
/linux-4.1.27/Documentation/devicetree/bindings/rtc/
Drtc-omap.txt5 - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family.
6 - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family.
/linux-4.1.27/net/ipv4/netfilter/
Dnf_tables_arp.c30 .family = NFPROTO_ARP,
72 .family = NFPROTO_ARP,
Dnf_tables_ipv4.c48 .family = NFPROTO_IPV4,
93 .family = NFPROTO_IPV4,
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dprobe.c60 boot_cpu_data.family = CPU_FAMILY_SH4A; in cpu_probe()
64 boot_cpu_data.family = CPU_FAMILY_SH4AL_DSP; in cpu_probe()
75 boot_cpu_data.family = CPU_FAMILY_SH4; in cpu_probe()
/linux-4.1.27/drivers/pinctrl/nomadik/
DKconfig4 bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
8 Select this to enable the ABx500 family IC GPIO driver
/linux-4.1.27/drivers/misc/mic/host/
Dmic_main.c143 switch (mdev->family) { in mic_ops_init()
163 enum mic_hw_family family; in mic_get_family() local
181 family = MIC_FAMILY_X100; in mic_get_family()
184 family = MIC_FAMILY_UNKNOWN; in mic_get_family()
187 return family; in mic_get_family()
240 mdev->family = mic_get_family(pdev); in mic_device_init()
/linux-4.1.27/net/
Dsocket.c963 int sock_create_lite(int family, int type, int protocol, struct socket **res) in sock_create_lite() argument
968 err = security_socket_create(family, type, protocol, 1); in sock_create_lite()
979 err = security_socket_post_create(sock, family, type, protocol, 1); in sock_create_lite()
1097 int __sock_create(struct net *net, int family, int type, int protocol, in __sock_create() argument
1107 if (family < 0 || family >= NPROTO) in __sock_create()
1117 if (family == PF_INET && type == SOCK_PACKET) { in __sock_create()
1124 family = PF_PACKET; in __sock_create()
1127 err = security_socket_create(family, type, protocol, kern); in __sock_create()
1152 if (rcu_access_pointer(net_families[family]) == NULL) in __sock_create()
1153 request_module("net-pf-%d", family); in __sock_create()
[all …]
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dsii9234_drv.c145 int family, rev, tpi_rev, dev_id, sub_id, hdcp, id; in sii9234_verify_version() local
147 family = sii9234_readb(client, 0x1b); in sii9234_verify_version()
154 if (family < 0 || rev < 0 || tpi_rev < 0 || dev_id < 0 || in sii9234_verify_version()
163 id, family, rev); in sii9234_verify_version()
/linux-4.1.27/net/ipv6/netfilter/
Dnf_tables_ipv6.c47 .family = NFPROTO_IPV6,
92 .family = NFPROTO_IPV6,
/linux-4.1.27/net/sctp/
Dprotocol.c802 sa_family_t family = PF_INET; in sctp_ctl_sock_init() local
805 family = PF_INET6; in sctp_ctl_sock_init()
807 err = inet_ctl_sock_create(&net->sctp.ctl_sock, family, in sctp_ctl_sock_init()
811 if (err < 0 && family == PF_INET6) in sctp_ctl_sock_init()
849 struct sctp_af *sctp_get_af_specific(sa_family_t family) in sctp_get_af_specific() argument
851 switch (family) { in sctp_get_af_specific()
904 static int sctp_inet_af_supported(sa_family_t family, struct sctp_sock *sp) in sctp_inet_af_supported() argument
907 return AF_INET == family; in sctp_inet_af_supported()
994 .family = PF_INET,
1074 struct sctp_pf *sctp_get_pf_specific(sa_family_t family) in sctp_get_pf_specific() argument
[all …]
/linux-4.1.27/arch/arm/mach-mvebu/
Dmvebu-soc-id.c164 soc_dev_attr->family = kasprintf(GFP_KERNEL, "Marvell"); in mvebu_soc_device()
170 kfree(soc_dev_attr->family); in mvebu_soc_device()
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dti,palmas-pwrbutton.txt1 Texas Instruments Palmas family power button module
3 This module is part of the Palmas family of PMICs. For more details
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dtwl4030-audio.txt1 Texas Instruments TWL family (twl4030) audio module
3 The audio module inside the TWL family consist of an audio codec and a vibra
Dtwl-familly.txt1 Texas Instruments TWL family
22 - Child nodes contain in the twl. The twl family is made of several variants
/linux-4.1.27/tools/usb/usbip/src/
Dusbipd.c488 int nsockfd, family; in do_standalone_mode() local
520 family = AF_UNSPEC; in do_standalone_mode()
522 family = AF_INET; in do_standalone_mode()
524 family = AF_INET6; in do_standalone_mode()
526 ai_head = do_getaddrinfo(NULL, family); in do_standalone_mode()
/linux-4.1.27/arch/microblaze/boot/dts/
Dsystem.dts87 xlnx,family = "virtex5";
142 xlnx,family = "virtex5";
246 xlnx,family = "virtex5";
262 xlnx,family = "virtex5";
309 xlnx,family = "virtex5";
318 xlnx,family = "virtex5";
324 xlnx,family = "virtex5";
358 xlnx,family = "virtex5";
/linux-4.1.27/Documentation/devicetree/bindings/reset/
Dst,sti-picophyreset.txt1 STMicroelectronics STi family Sysconfig Picophy SoftReset Controller
6 the STi family SoC system configuration registers.
Dst,sti-softreset.txt1 STMicroelectronics STi family Sysconfig Peripheral SoftReset Controller
6 "softreset" control bits found in the STi family SoC system configuration
Dst,sti-powerdown.txt1 STMicroelectronics STi family Sysconfig Peripheral Powerdown Reset Controller
6 "powerdown" control bits found in the STi family SoC system configuration
/linux-4.1.27/arch/arm/mach-zynq/
Dcommon.c124 soc_dev_attr->family = kasprintf(GFP_KERNEL, "Xilinx Zynq"); in zynq_init_machine()
131 kfree(soc_dev_attr->family); in zynq_init_machine()
/linux-4.1.27/drivers/iio/imu/
DKconfig46 A set of IO helper functions for the Analog Devices ADIS* device family.
53 family.
/linux-4.1.27/Documentation/sh/
Dnew-machine.txt57 Finally, CPU family support is also abstracted:
70 | `-- This is also broken out per CPU family, so each family can
83 need to be dealt with by the CPU family specific code.
89 isolated, or whether it will be part of a family of boards that can mostly
96 and then populate that with sub-directories for each member of the family.
104 a family, the build system has ways of dealing with this (via incdir-y
105 overloading), and you can feel free to name the directory after the family
232 boards belonging to a common family), then the directory name needs to be

12345