Home
last modified time | relevance | path

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

/linux-6.6.21/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()
396 struct isci_port *iport, in sci_mpc_agent_link_down() argument
399 if (iport != NULL) { in sci_mpc_agent_link_down()
[all …]
Dremote_device.c643 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_request() local
647 sci_port_complete_io(iport, idev, ireq); in sci_remote_device_start_request()
660 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_io() local
682 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
704 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
729 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
745 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
772 static enum sci_status common_complete_io(struct isci_port *iport, in common_complete_io() argument
782 status = sci_port_complete_io(iport, idev, ireq); in common_complete_io()
796 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.c356 struct isci_port *iport = iphy->owning_port; in phy_get_non_dummy_port() local
358 if (iport->physical_port_index == SCIC_SDS_DUMMY_PORT) in phy_get_non_dummy_port()
369 struct isci_port *iport) in sci_phy_set_port() argument
371 iphy->owning_port = iport; in sci_phy_set_port()
1254 struct isci_port *iport = iphy->owning_port; in sci_phy_stopped_state_enter() local
1255 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter()
1272 struct isci_port *iport = iphy->owning_port; in sci_phy_starting_state_enter() local
1273 struct isci_host *ihost = iport->owning_controller; in sci_phy_starting_state_enter()
1291 struct isci_port *iport = iphy->owning_port; in sci_phy_ready_state_enter() local
1292 struct isci_host *ihost = iport->owning_controller; in sci_phy_ready_state_enter()
[all …]
Dhost.c1029 struct isci_port *iport = &ihost->ports[index]; in sci_controller_start() local
1031 result = sci_port_start(iport); in sci_controller_start()
1273 struct isci_port *iport = &ihost->ports[i]; in isci_host_deinit() local
1274 del_timer_sync(&iport->timer.timer); in isci_host_deinit()
1474 struct isci_port *iport = &ihost->ports[index]; in sci_controller_stop_ports() local
1476 port_status = sci_port_stop(iport); in sci_controller_stop_ports()
1486 iport->logical_port_index, in sci_controller_stop_ports()
2224 struct isci_port *iport = &ihost->ports[i]; in sci_controller_initialize() local
2226 iport->port_task_scheduler_registers = &ihost->scu_registers->peg0.ptsg.port[i]; in sci_controller_initialize()
2227 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.c219 struct isci_port *iport; in scu_ssp_request_construct_task_context() local
222 iport = idev->owning_port; in scu_ssp_request_construct_task_context()
230 task_context->logical_port_index = iport->physical_port_index; in scu_ssp_request_construct_task_context()
252 (iport->physical_port_index << in scu_ssp_request_construct_task_context()
499 struct isci_port *iport; in scu_sata_request_construct_task_context() local
502 iport = idev->owning_port; in scu_sata_request_construct_task_context()
510 task_context->logical_port_index = iport->physical_port_index; in scu_sata_request_construct_task_context()
536 (iport->physical_port_index << in scu_sata_request_construct_task_context()
3183 struct isci_port *iport; in sci_io_request_construct_smp() local
3227 iport = idev->owning_port; in sci_io_request_construct_smp()
[all …]
Dinit.c543 struct isci_port *iport = &ihost->ports[i]; in isci_host_alloc() local
545 INIT_LIST_HEAD(&iport->remote_dev_list); in isci_host_alloc()
546 iport->isci_host = ihost; in isci_host_alloc()
Dtask.c723 struct isci_port *iport = dev->port->lldd_port; in isci_reset_device() local
743 reset_stat = isci_port_perform_hard_reset(ihost, iport, in isci_reset_device()
/linux-6.6.21/sound/soc/uniphier/
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-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-pxs2.c22 .iport = { 0, AUD_HW_PCMIN1, },
36 .iport = { 1, AUD_HW_PCMIN2, },
Daio.h199 struct uniphier_aio_selector iport; member
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field()
260 unsupported(fconf, PORT_F, fs->val.iport, fs->mask.iport) || in validate_filter()
310 if (fs->val.iport >= adapter->params.nports) in validate_filter()
893 FW_FILTER_WR_PORT_V(f->fs.val.iport) | in set_filter_wr()
894 FW_FILTER_WR_PORTM_V(f->fs.mask.iport) | in set_filter_wr()
933 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_filter_wr()
1062 if (fs->val.iport && !fs->mask.iport) in fill_default_mask()
1063 fs->mask.iport |= ~0; in fill_default_mask()
1199 ntuple_mask |= (u64)fs->mask.iport << tp->port_shift; in is_filter_exact_match()
1249 if (tp->port_shift >= 0 && fs->mask.iport) in hash_filter_ntuple()
[all …]
Dcxgb4_tc_u32.c327 fs.val.iport = netdev2pinfo(dev)->port_id; in cxgb4_config_knode()
328 fs.mask.iport = ~0; in cxgb4_config_knode()
Dcxgb4_tc_flower.c304 fs->val.iport = netdev2pinfo(dev)->port_id; in cxgb4_process_flow_match()
305 fs->mask.iport = ~0; in cxgb4_process_flow_match()
Dcxgb4.h1346 uint32_t iport:IPORT_BITWIDTH; /* ingress port */ member
Dcxgb4_main.c2954 f->fs.val.iport = port; in cxgb4_create_server_filter()
2955 f->fs.mask.iport = mask; in cxgb4_create_server_filter()
/linux-6.6.21/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c2281 } *iport, *tport; in ibmvscsis_srp_login() local
2286 iport = (struct port_id *)req->initiator_port_id; in ibmvscsis_srp_login()
2293 else if ((be64_to_cpu(iport->id_extension) > (MAX_NUM_PORTS - 1)) || in ibmvscsis_srp_login()