/linux-4.19.296/drivers/bus/ |
D | arm-cci.c | 113 static struct cci_ace_port *ports; variable 169 ace_match = ports[i].type == type; in __cci_ace_get_port() 170 if (ace_match && cci_portn == ports[i].dn) in __cci_ace_get_port() 235 void __iomem *base = ports[port].base; in cci_port_control() 417 if (port >= nb_cci_ports || ports[port].type == ACE_INVALID_PORT) in __cci_control_port_by_index() 425 if (ports[port].type == ACE_PORT) in __cci_control_port_by_index() 454 ports = kcalloc(nb_cci_ports, sizeof(*ports), GFP_KERNEL); in cci_probe_ports() 455 if (!ports) in cci_probe_ports() 482 ports[i].base = ioremap(res.start, resource_size(&res)); in cci_probe_ports() 483 ports[i].phys = res.start; in cci_probe_ports() [all …]
|
/linux-4.19.296/drivers/thunderbolt/ |
D | tb.c | 42 tb_scan_port(&sw->ports[i]); in tb_scan_switch() 113 struct tb_port *port = &sw->ports[i]; in tb_free_unplugged_children() 135 if (sw->ports[i].config.type == TB_TYPE_PCIE_UP) in tb_find_pci_up_port() 136 return &sw->ports[i]; in tb_find_pci_up_port() 150 if (tb_is_upstream_port(&sw->ports[i])) in tb_find_unused_down_port() 152 if (sw->ports[i].config.type != TB_TYPE_PCIE_DOWN) in tb_find_unused_down_port() 154 cap = tb_port_find_cap(&sw->ports[i], TB_PORT_CAP_ADAP); in tb_find_unused_down_port() 157 res = tb_port_read(&sw->ports[i], &data, TB_CFG_PORT, cap, 1); in tb_find_unused_down_port() 162 return &sw->ports[i]; in tb_find_unused_down_port() 186 if (tb_is_upstream_port(&tb->root_switch->ports[i])) in tb_activate_pcie_devices() [all …]
|
D | eeprom.c | 346 port = &sw->ports[header->index]; in tb_drom_parse_entry_port() 367 &port->sw->ports[entry->dual_link_port_nr]; in tb_drom_parse_entry_port() 517 sw->ports[1].link_nr = 0; in tb_drom_read() 518 sw->ports[2].link_nr = 1; in tb_drom_read() 519 sw->ports[1].dual_link_port = &sw->ports[2]; in tb_drom_read() 520 sw->ports[2].dual_link_port = &sw->ports[1]; in tb_drom_read() 522 sw->ports[3].link_nr = 0; in tb_drom_read() 523 sw->ports[4].link_nr = 1; in tb_drom_read() 524 sw->ports[3].dual_link_port = &sw->ports[4]; in tb_drom_read() 525 sw->ports[4].dual_link_port = &sw->ports[3]; in tb_drom_read() [all …]
|
D | switch.c | 1072 kfree(sw->ports); in tb_switch_release() 1184 sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), in tb_switch_alloc() 1186 if (!sw->ports) in tb_switch_alloc() 1191 sw->ports[i].sw = sw; in tb_switch_alloc() 1192 sw->ports[i].port = i; in tb_switch_alloc() 1218 kfree(sw->ports); in tb_switch_alloc() 1452 if (sw->ports[i].disabled) { in tb_switch_add() 1453 tb_port_info(&sw->ports[i], "disabled by eeprom\n"); in tb_switch_add() 1456 ret = tb_init_port(&sw->ports[i]); in tb_switch_add() 1503 if (tb_is_upstream_port(&sw->ports[i])) in tb_switch_remove() [all …]
|
D | dma_port.c | 173 static const int ports[] = { 3, 5, 7 }; in dma_find_port() local 180 for (i = 0; i < ARRAY_SIZE(ports); i++) { in dma_find_port() 184 ret = dma_port_read(sw->tb->ctl, &type, tb_route(sw), ports[i], in dma_find_port() 187 return ports[i]; in dma_find_port()
|
/linux-4.19.296/include/linux/platform_data/ |
D | usb-ohci-s3c2410.h | 31 void (*report_oc)(struct s3c2410_hcd_info *, int ports); 34 static inline void s3c2410_usb_report_oc(struct s3c2410_hcd_info *info, int ports) in s3c2410_usb_report_oc() argument 37 (info->report_oc)(info, ports); in s3c2410_usb_report_oc()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-dwapb.c | 99 struct dwapb_gpio_port *ports; member 135 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_read() 144 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_write() 164 port = &gpio->ports[i]; in dwapb_offs_to_port() 229 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_enable() 244 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_disable() 259 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_reqres() 275 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_relres() 284 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_set_type() 334 struct dwapb_context *ctx = gpio->ports[0].ctx; in dwapb_irq_set_wake() [all …]
|
D | gpio-tegra186.c | 56 const struct tegra_gpio_port *ports; member 78 const struct tegra_gpio_port *port = &gpio->soc->ports[i]; in tegra186_gpio_get_port() 232 offset += gpio->soc->ports[i].pins; in tegra186_gpio_of_xlate() 353 const struct tegra_gpio_port *port = &gpio->soc->ports[i]; in tegra186_gpio_irq() 400 offset += gpio->soc->ports[i].pins; in tegra186_gpio_irq_domain_xlate() 465 gpio->gpio.ngpio += gpio->soc->ports[i].pins; in tegra186_gpio_probe() 473 const struct tegra_gpio_port *port = &gpio->soc->ports[i]; in tegra186_gpio_probe() 516 const struct tegra_gpio_port *port = &gpio->soc->ports[i]; in tegra186_gpio_probe() 574 .ports = tegra186_main_ports, 599 .ports = tegra186_aon_ports, [all …]
|
D | gpio-pcie-idio-24.c | 251 void __iomem *ports[] = { in idio_24_gpio_get_multiple() local 262 for (i = 0; i < ARRAY_SIZE(ports) + 1; i++) { in idio_24_gpio_get_multiple() 281 port_state = ioread8(ports[i]); in idio_24_gpio_get_multiple() 346 void __iomem *ports[] = { in idio_24_gpio_set_multiple() local 358 for (i = 0; i < ARRAY_SIZE(ports); i++) { in idio_24_gpio_set_multiple() 372 out_state = ioread8(ports[i]) & ~gpio_mask; in idio_24_gpio_set_multiple() 374 iowrite8(out_state, ports[i]); in idio_24_gpio_set_multiple()
|
D | gpio-104-idi-48.c | 97 static const size_t ports[] = { 0, 1, 2, 4, 5, 6 }; in idi_48_gpio_get_multiple() local 110 for (i = 0; i < ARRAY_SIZE(ports); i++) { in idi_48_gpio_get_multiple() 128 port_state = inb(idi48gpio->base + ports[i]); in idi_48_gpio_get_multiple()
|
D | gpio-gpio-mm.c | 180 static const size_t ports[] = { 0, 1, 2, 4, 5, 6 }; in gpiomm_gpio_get_multiple() local 193 for (i = 0; i < ARRAY_SIZE(ports); i++) { in gpiomm_gpio_get_multiple() 211 port_state = inb(gpiommgpio->base + ports[i]); in gpiomm_gpio_get_multiple()
|
D | gpio-pci-idio-16.c | 119 void __iomem *ports[] = { in idio_16_gpio_get_multiple() local 128 for (i = 0; i < ARRAY_SIZE(ports); i++) { in idio_16_gpio_get_multiple() 146 port_state = ioread8(ports[i]); in idio_16_gpio_get_multiple()
|
/linux-4.19.296/drivers/slimbus/ |
D | stream.c | 209 if (rt->ports) { in slim_stream_prepare() 215 rt->ports = kcalloc(num_ports, sizeof(*port), GFP_KERNEL); in slim_stream_prepare() 216 if (!rt->ports) in slim_stream_prepare() 241 port = &rt->ports[i]; in slim_stream_prepare() 363 stream->ports[i].ch.state = SLIM_CH_STATE_ACTIVE; in slim_stream_enable() 374 struct slim_port *port = &stream->ports[i]; in slim_stream_enable() 381 struct slim_port *port = &stream->ports[i]; in slim_stream_enable() 418 slim_deactivate_remove_channel(stream, &stream->ports[i]); in slim_stream_disable() 442 slim_disconnect_port(stream, &stream->ports[i]); in slim_stream_unprepare() 444 kfree(stream->ports); in slim_stream_unprepare() [all …]
|
/linux-4.19.296/include/net/ |
D | flow.h | 49 } ports; member 87 #define fl4_sport uli.ports.sport 88 #define fl4_dport uli.ports.dport 146 #define fl6_sport uli.ports.sport 147 #define fl6_dport uli.ports.dport 167 #define fld_sport uli.ports.sport 168 #define fld_dport uli.ports.dport
|
D | flow_dissector.h | 152 __be32 ports; member 264 struct flow_dissector_key_ports ports; member 294 return (keys->ports.ports || keys->tags.flow_label); in flow_keys_have_l4()
|
D | inet6_hashtables.h | 37 const u32 ports = (((u32)lport) << 16) | (__force u32)fport; in __inet6_ehashfn() local 38 return jhash_3words(lhash, fhash, ports, initval); in __inet6_ehashfn()
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-cmos.c | 713 cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) in cmos_do_probe() argument 733 if (!ports) in cmos_do_probe() 742 ports = request_region(ports->start, resource_size(ports), in cmos_do_probe() 745 ports = request_mem_region(ports->start, resource_size(ports), in cmos_do_probe() 747 if (!ports) { in cmos_do_probe() 753 cmos_rtc.iomem = ports; in cmos_do_probe() 770 if (can_bank2 && ports->end > (ports->start + 1)) in cmos_do_probe() 810 rename_region(ports, dev_name(&cmos_rtc.rtc->dev)); in cmos_do_probe() 900 release_region(ports->start, resource_size(ports)); in cmos_do_probe() 902 release_mem_region(ports->start, resource_size(ports)); in cmos_do_probe() [all …]
|
/linux-4.19.296/drivers/char/ipmi/ |
D | ipmi_si_hardcode.c | 19 static unsigned int ports[SI_MAX_PARMS]; variable 42 module_param_hw_array(ports, uint, ioport, &num_ports, 0); 43 MODULE_PARM_DESC(ports, "Sets the port address of each interface, the" 221 if (i < num_ports && ports[i]) in ipmi_hardcode_init() 222 ipmi_hardcode_init_one(si_type[i], i, ports[i], in ipmi_hardcode_init() 250 if (ports[i] == addr) in ipmi_si_hardcode_match()
|
/linux-4.19.296/include/uapi/linux/netfilter/ |
D | xt_multiport.h | 19 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member 25 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member
|
/linux-4.19.296/drivers/pci/controller/ |
D | pci-tegra.c | 250 const struct tegra_pcie_port_soc *ports; member 304 struct list_head ports; member 392 list_for_each_entry(port, &pcie->ports, list) { in tegra_pcie_map_bus() 874 list_for_each_entry(port, &pcie->ports, list) { in tegra_pcie_phy_power_on() 911 list_for_each_entry(port, &pcie->ports, list) { in tegra_pcie_phy_power_off() 949 list_for_each_entry(port, &pcie->ports, list) in tegra_pcie_enable_controller() 1227 list_for_each_entry(port, &pcie->ports, list) { in tegra_pcie_phys_get() 1249 list_for_each_entry(port, &pcie->ports, list) { in tegra_pcie_phys_put() 1365 val |= (0x1 << soc->ports[port->index].pme.turnoff_bit); in tegra_pcie_pme_turnoff() 1368 ack_bit = soc->ports[port->index].pme.ack_bit; in tegra_pcie_pme_turnoff() [all …]
|
D | pci-mvebu.c | 126 struct mvebu_pcie_port *ports; member 787 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_find_port() 962 struct mvebu_pcie_port *port = pcie->ports + i; in mvebu_pcie_suspend() 976 struct mvebu_pcie_port *port = pcie->ports + i; in mvebu_pcie_resume() 1258 pcie->ports = devm_kcalloc(dev, num, sizeof(*pcie->ports), GFP_KERNEL); in mvebu_pcie_probe() 1259 if (!pcie->ports) in mvebu_pcie_probe() 1264 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_probe() 1280 struct mvebu_pcie_port *port = &pcie->ports[i]; in mvebu_pcie_probe()
|
/linux-4.19.296/drivers/parport/ |
D | Kconfig | 21 create a mini network by connecting the parallel ports of two local 48 parallel ports. PA-RISC owners should only say Y here if they 61 serial ports. You should say Y or M here. If you say M, the module 86 tristate "Support for PCMCIA management for PC-style ports" 90 ports. If unsure, say N.
|
/linux-4.19.296/include/linux/ssb/ |
D | ssb_driver_extif.h | 189 struct ssb_serial_port *ports); 252 struct ssb_serial_port *ports) in ssb_extif_serial_init() argument
|
/linux-4.19.296/include/xen/interface/ |
D | sched.h | 139 GUEST_HANDLE(evtchn_port_t) ports;
|
/linux-4.19.296/include/uapi/linux/ |
D | if_bonding.h | 114 __u16 ports; member
|