Home
last modified time | relevance | path

Searched refs:port_number (Results 1 – 25 of 61) sorted by relevance

123

/drivers/gpu/drm/selftests/
Dtest-drm_dp_mst_helper.c66 IN.port_number != OUT.port_number || in sideband_msg_req_equal()
94 IN.port_number != OUT.port_number) in sideband_msg_req_equal()
104 if (IN.port_number != OUT.port_number || in sideband_msg_req_equal()
172 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode()
176 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode()
180 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode()
188 in.u.allocate_payload.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
196 in.u.query_payload.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
202 in.u.dpcd_read.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
210 in.u.dpcd_write.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
[all …]
/drivers/usb/serial/
Dmos7720.c1006 int port_number; in mos7720_open() local
1054 port_number = port->port_number; in mos7720_open()
1055 read_mos_reg(serial, port_number, MOS7720_LSR, &data); in mos7720_open()
1062 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in mos7720_open()
1063 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in mos7720_open()
1065 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in mos7720_open()
1067 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
1070 write_mos_reg(serial, port_number, MOS7720_MCR, in mos7720_open()
1073 write_mos_reg(serial, port_number, MOS7720_SP_CONTROL_REG, 0x00); in mos7720_open()
1075 data = data | (port->port_number + 1); in mos7720_open()
[all …]
Dti_usb_3410_5052.c651 int port_number; in ti_open() local
666 port_number = port->port_number; in ti_open()
692 (__u8)(TI_UART1_PORT + port_number), open_settings, NULL, 0); in ti_open()
700 (__u8)(TI_UART1_PORT + port_number), 0, NULL, 0); in ti_open()
708 (__u8)(TI_UART1_PORT + port_number), TI_PURGE_INPUT, NULL, 0); in ti_open()
715 (__u8)(TI_UART1_PORT + port_number), TI_PURGE_OUTPUT, NULL, 0); in ti_open()
731 (__u8)(TI_UART1_PORT + port_number), open_settings, NULL, 0); in ti_open()
739 (__u8)(TI_UART1_PORT + port_number), 0, NULL, 0); in ti_open()
780 int port_number; in ti_close() local
796 port_number = port->port_number; in ti_close()
[all …]
Dmxuport.c202 put_unaligned_be16(port->port_number, buf); in mxuport_prepare_write_buffer()
299 0, port->port_number); in mxuport_throttle()
318 1, port->port_number); in mxuport_unthrottle()
590 port->port_number, len_buf, 4); in mxuport_tx_empty()
613 mcr_state, port->port_number); in mxuport_set_mcr()
629 !!on, port->port_number); in mxuport_set_dtr()
674 state, port->port_number); in mxuport_set_rts()
792 0, port->port_number, in mxuport_set_termios_flow()
804 enable, port->port_number); in mxuport_set_termios_flow()
911 0, port->port_number, buf, 4); in mxuport_set_termios()
[all …]
Dio_ti.c307 int port_number = port->port_number; in purge_port() local
309 dev_dbg(&port->dev, "%s - port %d, mask %x\n", __func__, port_number, mask); in purge_port()
313 (__u8)(UMPM_UART1_PORT + port_number), in purge_port()
1513 int port_number = port->port->port_number; in ti_do_config() local
1517 feature, (__u8)(UMPM_UART1_PORT + port_number), in ti_do_config()
1634 int port_number; in edge_interrupt_callback() local
1671 port_number = TIUMP_GET_PORT_FROM_CODE(data[0]); in edge_interrupt_callback()
1674 port_number, function, data[1]); in edge_interrupt_callback()
1676 if (port_number >= edge_serial->serial->num_ports) { in edge_interrupt_callback()
1677 dev_err(dev, "bad port number %d\n", port_number); in edge_interrupt_callback()
[all …]
Dwhiteheat.c452 ss->port = port->port_number; in whiteheat_get_serial()
616 open_command.port = port->port_number + 1; in firm_open()
626 close_command.port = port->port_number + 1; in firm_close()
640 port_settings.port = port->port_number + 1; in firm_setup_port()
719 rts_command.port = port->port_number + 1; in firm_set_rts()
730 dtr_command.port = port->port_number + 1; in firm_set_dtr()
741 break_command.port = port->port_number + 1; in firm_set_break()
752 purge_command.port = port->port_number + 1; in firm_purge()
763 get_dr_command.port = port->port_number + 1; in firm_get_dtr_rts()
773 close_command.port = port->port_number + 1; in firm_report_tx_done()
Dmos7840.c286 if (port->serial->num_ports == 2 && port->port_number != 0) in mos7840_set_uart_reg()
287 val |= ((__u16)port->port_number + 2) << 8; in mos7840_set_uart_reg()
289 val |= ((__u16)port->port_number + 1) << 8; in mos7840_set_uart_reg()
315 if (port->serial->num_ports == 2 && port->port_number != 0) in mos7840_get_uart_reg()
316 Wval = ((__u16)port->port_number + 2) << 8; in mos7840_get_uart_reg()
318 Wval = ((__u16)port->port_number + 1) << 8; in mos7840_get_uart_reg()
674 dev_dbg(&port->dev, "port number is %d\n", port->port_number); in mos7840_open()
683 if ((serial->num_ports == 2) && (((__u16)port->port_number % 2) != 0)) { in mos7840_open()
894 if ((serial->num_ports == 2) && (((__u16)port->port_number % 2) != 0)) { in mos7840_write()
1397 ss->port = mos7840_port->port->port_number; in mos7840_get_serial_info()
[all …]
Dquatech2.c160 unsigned char port_number, in qt2_set_port_config() argument
164 u16 index = ((u16) (lcr << 8) | (u16) (port_number)); in qt2_set_port_config()
345 device_port = port->port_number; in qt2_open()
Dusb-serial.c100 port->port_number = i; in allocate_minors()
486 seq_printf(m, " port:%d", port->port_number); in serial_proc_show()
697 return sprintf(buf, "%u\n", port->port_number); in port_number_show()
699 static DEVICE_ATTR_RO(port_number);
/drivers/ps3/
Dps3-vuart.c110 static void __maybe_unused _dump_port_params(unsigned int port_number, in _dump_port_params() argument
129 result = lv1_get_virtual_uart_param(port_number, i, &value); in _dump_port_params()
133 port_number, strings[i], ps3_result(result)); in _dump_port_params()
137 func, line, port_number, strings[i], value); in _dump_port_params()
150 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers()
160 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers()
169 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers()
192 result = lv1_set_virtual_uart_param(dev->port_number, in ps3_vuart_set_triggers()
201 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_set_triggers()
210 result = lv1_set_virtual_uart_param(dev->port_number, in ps3_vuart_set_triggers()
[all …]
/drivers/power/supply/
Dcros_usbpd-charger.c28 int port_number; member
92 return port->port_number >= port->charger->num_usbpd_ports; in cros_usbpd_charger_port_is_dedicated()
161 req.port = port->port_number; in cros_usbpd_charger_get_discovery_info()
174 port->port_number, resp.vid, resp.pid, resp.ptype); in cros_usbpd_charger_get_discovery_info()
192 req.port = port->port_number; in cros_usbpd_charger_get_power_info()
279 dev_dbg(dev, "Port %d: default case!\n", port->port_number); in cros_usbpd_charger_get_power_info()
290 port->port_number, resp.type, resp.meas.voltage_max, in cros_usbpd_charger_get_power_info()
621 port->port_number = i; in cros_usbpd_charger_probe()
/drivers/gpu/drm/
Ddrm_dp_mst_topology.c344 buf[idx] = (req->u.port_num.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
348 buf[idx] = (req->u.allocate_payload.port_number & 0xf) << 4 | in drm_dp_encode_sideband_req()
369 buf[idx] = (req->u.query_payload.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
375 buf[idx] = (req->u.dpcd_read.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
387 buf[idx] = (req->u.dpcd_write.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
400 buf[idx] = (req->u.i2c_read.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
422 buf[idx] = (req->u.i2c_write.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
465 req->u.port_num.port_number = (buf[idx] >> 4) & 0xf; in drm_dp_decode_sideband_req()
473 a->port_number = (buf[idx] >> 4) & 0xf; in drm_dp_decode_sideband_req()
489 req->u.query_payload.port_number = (buf[idx] >> 4) & 0xf; in drm_dp_decode_sideband_req()
[all …]
/drivers/net/ethernet/rocker/
Drocker_main.c104 ROCKER_MSIX_VEC_TX(rocker_port->port_number)); in rocker_msix_tx_vector()
110 ROCKER_MSIX_VEC_RX(rocker_port->port_number)); in rocker_msix_rx_vector()
793 ROCKER_DMA_TX(rocker_port->port_number), in rocker_port_dma_rings_init()
810 ROCKER_DMA_RX(rocker_port->port_number), in rocker_port_dma_rings_init()
916 unsigned int port_number; in rocker_event_link_change() local
924 port_number = in rocker_event_link_change()
928 if (port_number >= rocker->port_count) in rocker_event_link_change()
931 rocker_port = rocker->ports[port_number]; in rocker_event_link_change()
950 unsigned int port_number; in rocker_event_mac_vlan_seen() local
960 port_number = in rocker_event_mac_vlan_seen()
[all …]
Drocker.h44 unsigned int port_number; member
/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c394 .port_number = 1,
416 .port_number = 1,
436 .port_number = 1,
456 .port_number = 1,
478 .port_number = 1,
501 .port_number = 4,
1056 adapter->params.nports = bi->port_number; in t1_init_sw_modules()
Dcxgb2.c1027 for (i = 0; i < bi->port_number; ++i) { in init_one()
1095 if (!(is_T2(adapter)) || bi->port_number != 4) { in init_one()
1137 for (i = 0; i < bi->port_number; ++i) { in init_one()
1183 for (i = bi->port_number - 1; i >= 0; --i) in init_one()
/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.h114 uint32_t port_number; member
178 uint32_t port_number; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c13 attrs.phys.port_number = PCI_FUNC(priv->mdev->pdev->devfn); in mlx5e_devlink_port_register()
/drivers/mmc/host/
Dvub300.c63 u8 port_number; member
78 u8 port_number; member
89 u8 port_number; member
95 u8 port_number; member
104 u8 port_number; member
115 u8 port_number; member
122 u8 port_number; member
134 u8 port_number; member
141 u8 port_number; member
484 vub300->cmnd.poll.port_number = 0; in send_irqpoll()
[all …]
/drivers/net/ethernet/marvell/prestera/
Dprestera_devlink.c77 attrs.phys.port_number = port->fp_id; in prestera_devlink_port_register()
/drivers/usb/early/
Dxhci-dbc.h149 int port_number; member
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c47 attrs.phys.port_number = pfnum; in mlx5_esw_dl_port_alloc()
/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c603 MLX5_SET(dcbx_param, in, port_number, 1); in mlx5_query_port_dcbx_param()
613 MLX5_SET(dcbx_param, in, port_number, 1); in mlx5_set_port_dcbx_param()
653 MLX5_SET(qtct_reg, in, port_number, 1); in mlx5_query_port_prio_tc()
768 MLX5_SET(qetc_reg, in, port_number, 1); in mlx5_modify_port_ets_rate_limit()
/drivers/net/bonding/
Dbond_3ad.c478 partner->port_number = ntohs(lacpdu->actor_port); in __record_pdu()
545 if (ntohs(lacpdu->actor_port) != partner->port_number || in __update_selected()
577 if (admin->port_number != oper->port_number || in __update_default_selected()
798 lacpdu->partner_port = htons(partner->port_number); in __update_lacpdu_from_port()
1824 .port_number = 1, in ad_initialize_port()
/drivers/scsi/
Dstorvsc_drv.c195 u8 port_number; member
453 unsigned int port_number; member
1743 vm_srb->port_number = host_dev->port; in storvsc_queuecommand()
1963 stor_device->port_number = host->host_no; in storvsc_probe()

123