Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/isci/
Dport.c73 static struct device *sciport_to_dev(struct isci_port *iport) in sciport_to_dev() argument
75 int i = iport->physical_port_index; in sciport_to_dev()
82 table = iport - i; in sciport_to_dev()
88 static void sci_port_get_protocols(struct isci_port *iport, struct sci_phy_proto *proto) in sci_port_get_protocols() argument
94 struct isci_phy *iphy = iport->phy_table[index]; in sci_port_get_protocols()
102 static u32 sci_port_get_phys(struct isci_port *iport) in sci_port_get_phys() argument
109 if (iport->phy_table[index]) in sci_port_get_phys()
128 enum sci_status sci_port_get_properties(struct isci_port *iport, in sci_port_get_properties() argument
131 if (!iport || iport->logical_port_index == SCIC_SDS_DUMMY_PORT) in sci_port_get_properties()
134 prop->index = iport->logical_port_index; in sci_port_get_properties()
[all …]
Dport.h189 static inline void sci_port_decrement_request_count(struct isci_port *iport) in sci_port_decrement_request_count() argument
191 if (WARN_ONCE(iport->started_request_count == 0, in sci_port_decrement_request_count()
196 iport->started_request_count--; in sci_port_decrement_request_count()
203 struct isci_port *iport,
207 enum sci_status sci_port_start(struct isci_port *iport);
208 enum sci_status sci_port_stop(struct isci_port *iport);
211 struct isci_port *iport,
215 struct isci_port *iport,
219 struct isci_port *iport,
225 struct isci_port *iport,
[all …]
Dport_config.c134 struct isci_port *iport = &ihost->ports[i]; in sci_port_configuration_agent_find_port() local
136 sci_port_get_sas_address(iport, &port_sas_address); in sci_port_configuration_agent_find_port()
137 sci_port_get_attached_sas_address(iport, &port_attached_device_address); in sci_port_configuration_agent_find_port()
141 return iport; in sci_port_configuration_agent_find_port()
359 struct isci_port *iport, in sci_mpc_agent_link_up() argument
366 if (!iport) in sci_mpc_agent_link_up()
370 sci_port_link_up(iport, iphy); in sci_mpc_agent_link_up()
371 if ((iport->active_phy_mask & (1 << iphy->phy_index))) in sci_mpc_agent_link_up()
395 struct isci_port *iport, in sci_mpc_agent_link_down() argument
398 if (iport != NULL) { in sci_mpc_agent_link_down()
[all …]
Dremote_device.c642 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_request() local
646 sci_port_complete_io(iport, idev, ireq); in sci_remote_device_start_request()
659 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_io() local
681 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
703 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
728 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
744 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
771 static enum sci_status common_complete_io(struct isci_port *iport, in common_complete_io() argument
781 status = sci_port_complete_io(iport, idev, ireq); in common_complete_io()
795 struct isci_port *iport = idev->owning_port; in sci_remote_device_complete_io() local
[all …]
Dphy.h173 struct isci_port *iport; member
401 struct isci_port *iport,
408 struct isci_port *iport);
Dphy.c355 struct isci_port *iport = iphy->owning_port; in phy_get_non_dummy_port() local
357 if (iport->physical_port_index == SCIC_SDS_DUMMY_PORT) in phy_get_non_dummy_port()
372 struct isci_port *iport) in sci_phy_set_port() argument
374 iphy->owning_port = iport; in sci_phy_set_port()
1257 struct isci_port *iport = iphy->owning_port; in sci_phy_stopped_state_enter() local
1258 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter()
1275 struct isci_port *iport = iphy->owning_port; in sci_phy_starting_state_enter() local
1276 struct isci_host *ihost = iport->owning_controller; in sci_phy_starting_state_enter()
1294 struct isci_port *iport = iphy->owning_port; in sci_phy_ready_state_enter() local
1295 struct isci_host *ihost = iport->owning_controller; in sci_phy_ready_state_enter()
[all …]
Dhost.c1031 struct isci_port *iport = &ihost->ports[index]; in sci_controller_start() local
1033 result = sci_port_start(iport); in sci_controller_start()
1275 struct isci_port *iport = &ihost->ports[i]; in isci_host_deinit() local
1276 del_timer_sync(&iport->timer.timer); in isci_host_deinit()
1476 struct isci_port *iport = &ihost->ports[index]; in sci_controller_stop_ports() local
1478 port_status = sci_port_stop(iport); in sci_controller_stop_ports()
1488 iport->logical_port_index, in sci_controller_stop_ports()
2226 struct isci_port *iport = &ihost->ports[i]; in sci_controller_initialize() local
2228 iport->port_task_scheduler_registers = &ihost->scu_registers->peg0.ptsg.port[i]; in sci_controller_initialize()
2229 iport->port_pe_configuration_register = &ihost->scu_registers->peg0.ptsg.protocol_engine[0]; in sci_controller_initialize()
[all …]
Dhost.h465 void sci_controller_link_up(struct isci_host *ihost, struct isci_port *iport,
467 void sci_controller_link_down(struct isci_host *ihost, struct isci_port *iport,
Drequest.c222 struct isci_port *iport; in scu_ssp_request_construct_task_context() local
225 iport = idev->owning_port; in scu_ssp_request_construct_task_context()
233 task_context->logical_port_index = iport->physical_port_index; in scu_ssp_request_construct_task_context()
255 (iport->physical_port_index << in scu_ssp_request_construct_task_context()
504 struct isci_port *iport; in scu_sata_request_construct_task_context() local
507 iport = idev->owning_port; in scu_sata_request_construct_task_context()
515 task_context->logical_port_index = iport->physical_port_index; in scu_sata_request_construct_task_context()
541 (iport->physical_port_index << in scu_sata_request_construct_task_context()
3191 struct isci_port *iport; in sci_io_request_construct_smp() local
3235 iport = idev->owning_port; in sci_io_request_construct_smp()
[all …]
Dinit.c552 struct isci_port *iport = &ihost->ports[i]; in isci_host_alloc() local
554 INIT_LIST_HEAD(&iport->remote_dev_list); in isci_host_alloc()
555 iport->isci_host = ihost; in isci_host_alloc()
Dtask.c747 struct isci_port *iport = dev->port->lldd_port; in isci_reset_device() local
767 reset_stat = isci_port_perform_hard_reset(ihost, iport, in isci_reset_device()
/Linux-v4.19/sound/soc/uniphier/
Daio-core.c217 regmap_write(r, A2IPORTNMAPCTR0(sub->swm->iport.hw), in aio_init()
218 MAPCTR0_EN | sub->swm->iport.map); in aio_init()
258 regmap_update_bits(r, IPORTMXRSTCTR(sub->swm->iport.map), in aio_port_reset()
261 regmap_update_bits(r, IPORTMXRSTCTR(sub->swm->iport.map), in aio_port_reset()
430 regmap_update_bits(r, IPORTMXCTR1(sub->swm->iport.map), in aio_port_set_rate()
495 regmap_update_bits(r, IPORTMXCTR1(sub->swm->iport.map), in aio_port_set_fmt()
595 regmap_write(r, IPORTMXCTR2(sub->swm->iport.map), v); in aio_port_set_clk()
659 regmap_write(r, IPORTMXACLKSEL0EX(sub->swm->iport.map), in aio_port_set_param()
661 regmap_write(r, IPORTMXEXNOE(sub->swm->iport.map), in aio_port_set_param()
698 regmap_update_bits(r, IPORTMXMASK(sub->swm->iport.map), in aio_port_set_enable()
[all …]
Daio-ld11.c22 .iport = { 0, AUD_HW_PCMIN1, },
35 .iport = { 1, AUD_HW_PCMIN2, },
49 .iport = { 2, AUD_HW_PCMIN3, },
63 .iport = { 3, AUD_HW_IECIN1, },
Daio-pxs2.c22 .iport = { 0, AUD_HW_PCMIN1, },
36 .iport = { 1, AUD_HW_PCMIN2, },
Daio.h199 struct uniphier_aio_selector iport; member
/Linux-v4.19/include/linux/
Dcoresight.h221 int (*enable)(struct coresight_device *csdev, int iport, int oport);
222 void (*disable)(struct coresight_device *csdev, int iport, int oport);
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field()
255 unsupported(fconf, PORT_F, fs->val.iport, fs->mask.iport) || in validate_filter()
305 if (fs->val.iport >= adapter->params.nports) in validate_filter()
637 FW_FILTER_WR_PORT_V(f->fs.val.iport) | in set_filter_wr()
638 FW_FILTER_WR_PORTM_V(f->fs.mask.iport) | in set_filter_wr()
674 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_filter_wr()
767 if (fs->val.iport && !fs->mask.iport) in fill_default_mask()
768 fs->mask.iport |= ~0; in fill_default_mask()
893 ntuple_mask |= (u64)fs->mask.iport << tp->port_shift; in is_filter_exact_match()
943 if (tp->port_shift >= 0 && fs->mask.iport) in hash_filter_ntuple()
[all …]
Dcxgb4_tc_u32.c315 fs.val.iport = netdev2pinfo(dev)->port_id; in cxgb4_config_knode()
316 fs.mask.iport = ~0; in cxgb4_config_knode()
Dcxgb4_tc_flower.c251 fs->val.iport = netdev2pinfo(dev)->port_id; in cxgb4_process_flow_match()
252 fs->mask.iport = ~0; in cxgb4_process_flow_match()
Dcxgb4.h1107 uint32_t iport:IPORT_BITWIDTH; /* ingress port */ member
Dcxgb4_main.c2397 f->fs.val.iport = port; in cxgb4_create_server_filter()
2398 f->fs.mask.iport = mask; in cxgb4_create_server_filter()
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c2295 } *iport, *tport; in ibmvscsis_srp_login() local
2300 iport = (struct port_id *)req->initiator_port_id; in ibmvscsis_srp_login()
2307 else if ((be64_to_cpu(iport->id_extension) > (MAX_NUM_PORTS - 1)) || in ibmvscsis_srp_login()