Home
last modified time | relevance | path

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

1234

/linux-6.1.9/include/drm/display/
Ddrm_dp_mst_helper.h261 u8 port_number; member
273 u8 port_number; member
279 u8 port_number; member
283 u8 port_number; member
289 u8 port_number; member
295 u8 port_number; member
301 u8 port_number; member
335 u8 port_number; member
343 u8 port_number; member
350 u8 port_number; member
[all …]
/linux-6.1.9/drivers/usb/serial/
Dmos7720.c848 int port_number; in mos7720_open() local
896 port_number = port->port_number; in mos7720_open()
897 read_mos_reg(serial, port_number, MOS7720_LSR, &data); in mos7720_open()
904 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in mos7720_open()
905 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in mos7720_open()
907 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in mos7720_open()
909 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
912 write_mos_reg(serial, port_number, MOS7720_MCR, in mos7720_open()
915 write_mos_reg(serial, port_number, MOS7720_SP_CONTROL_REG, 0x00); in mos7720_open()
917 data = data | (port->port_number + 1); in mos7720_open()
[all …]
Dmxuport.c202 put_unaligned_be16(port->port_number, buf); in mxuport_prepare_write_buffer()
292 0, port->port_number); in mxuport_throttle()
311 1, port->port_number); in mxuport_unthrottle()
583 port->port_number, len_buf, 4); in mxuport_tx_empty()
606 mcr_state, port->port_number); in mxuport_set_mcr()
622 !!on, port->port_number); in mxuport_set_dtr()
667 state, port->port_number); in mxuport_set_rts()
785 0, port->port_number, in mxuport_set_termios_flow()
797 enable, port->port_number); in mxuport_set_termios_flow()
904 0, port->port_number, buf, 4); in mxuport_set_termios()
[all …]
Dwhiteheat.c599 open_command.port = port->port_number + 1; in firm_open()
609 close_command.port = port->port_number + 1; in firm_close()
623 port_settings.port = port->port_number + 1; in firm_setup_port()
695 rts_command.port = port->port_number + 1; in firm_set_rts()
706 dtr_command.port = port->port_number + 1; in firm_set_dtr()
717 break_command.port = port->port_number + 1; in firm_set_break()
728 purge_command.port = port->port_number + 1; in firm_purge()
739 get_dr_command.port = port->port_number + 1; in firm_get_dtr_rts()
749 close_command.port = port->port_number + 1; in firm_report_tx_done()
Dio_ti.c294 UMPM_UART1_PORT + port->port_number, in read_port_cmd()
302 UMPM_UART1_PORT + port->port_number, in send_port_cmd()
309 int port_number = port->port_number; in purge_port() local
311 dev_dbg(&port->dev, "%s - port %d, mask %x\n", __func__, port_number, mask); in purge_port()
1628 int port_number; in edge_interrupt_callback() local
1665 port_number = TIUMP_GET_PORT_FROM_CODE(data[0]); in edge_interrupt_callback()
1668 port_number, function, data[1]); in edge_interrupt_callback()
1670 if (port_number >= edge_serial->serial->num_ports) { in edge_interrupt_callback()
1671 dev_err(dev, "bad port number %d\n", port_number); in edge_interrupt_callback()
1675 port = edge_serial->serial->port[port_number]; in edge_interrupt_callback()
[all …]
Dti_usb_3410_5052.c1000 __func__, port->port_number, status); in ti_set_termios()
1010 __func__, port->port_number, status); in ti_set_termios()
1109 int port_number; in ti_interrupt_callback() local
1138 port_number = ti_get_port_from_code(data[0]); in ti_interrupt_callback()
1142 __func__, port_number, function, data[1]); in ti_interrupt_callback()
1144 if (port_number >= serial->num_ports) { in ti_interrupt_callback()
1146 __func__, port_number); in ti_interrupt_callback()
1150 port = serial->port[port_number]; in ti_interrupt_callback()
1159 __func__, port_number, data[1]); in ti_interrupt_callback()
1164 dev_dbg(dev, "%s - port %d, msr 0x%02X\n", __func__, port_number, msr); in ti_interrupt_callback()
[all …]
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()
889 if ((serial->num_ports == 2) && (((__u16)port->port_number % 2) != 0)) { in mos7840_write()
1544 pnum = port->port_number; in mos7840_port_probe()
/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_dp_mst_helper_test.c67 IN.port_number != OUT.port_number || in sideband_msg_req_equal()
95 IN.port_number != OUT.port_number) in sideband_msg_req_equal()
105 if (IN.port_number != OUT.port_number || in sideband_msg_req_equal()
187 in.u.port_num.port_number = 5; in drm_test_dp_mst_sideband_msg_req_decode()
191 in.u.port_num.port_number = 5; in drm_test_dp_mst_sideband_msg_req_decode()
195 in.u.port_num.port_number = 5; in drm_test_dp_mst_sideband_msg_req_decode()
203 in.u.allocate_payload.port_number = 0xf; in drm_test_dp_mst_sideband_msg_req_decode()
211 in.u.query_payload.port_number = 0xf; in drm_test_dp_mst_sideband_msg_req_decode()
217 in.u.dpcd_read.port_number = 0xf; in drm_test_dp_mst_sideband_msg_req_decode()
225 in.u.dpcd_write.port_number = 0xf; in drm_test_dp_mst_sideband_msg_req_decode()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/arch/powerpc/platforms/ps3/
Ddevice-init.c286 unsigned int port_number) in ps3_setup_vuart_device() argument
294 match_id, port_number); in ps3_setup_vuart_device()
303 p->dev.port_number = port_number; in ps3_setup_vuart_device()
415 unsigned int port_number; in ps3_register_vuart_devices() local
419 result = ps3_repository_read_vuart_av_port(&port_number); in ps3_register_vuart_devices()
421 port_number = 0; /* av default */ in ps3_register_vuart_devices()
423 result = ps3_setup_vuart_device(PS3_MATCH_ID_AV_SETTINGS, port_number); in ps3_register_vuart_devices()
426 result = ps3_repository_read_vuart_sysmgr_port(&port_number); in ps3_register_vuart_devices()
428 port_number = 2; /* sysmgr default */ in ps3_register_vuart_devices()
431 port_number); in ps3_register_vuart_devices()
/linux-6.1.9/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_err(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()
Dcros_peripheral_charger.c27 int port_number; member
133 req.port = port->port_number; in cros_pchg_get_status()
138 port->port_number, ret); in cros_pchg_get_status()
172 port->port_number, rsp.state, rsp.battery_percentage); in cros_pchg_get_status()
318 port->port_number = i; in cros_pchg_probe()
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_mst_topology.c345 buf[idx] = (req->u.port_num.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
349 buf[idx] = (req->u.allocate_payload.port_number & 0xf) << 4 | in drm_dp_encode_sideband_req()
370 buf[idx] = (req->u.query_payload.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
376 buf[idx] = (req->u.dpcd_read.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
388 buf[idx] = (req->u.dpcd_write.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
401 buf[idx] = (req->u.i2c_read.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
423 buf[idx] = (req->u.i2c_write.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
466 req->u.port_num.port_number = (buf[idx] >> 4) & 0xf; in drm_dp_decode_sideband_req()
474 a->port_number = (buf[idx] >> 4) & 0xf; in drm_dp_decode_sideband_req()
490 req->u.query_payload.port_number = (buf[idx] >> 4) & 0xf; in drm_dp_decode_sideband_req()
[all …]
/linux-6.1.9/include/linux/
Dpxa168_eth.h11 int port_number; member
Dntb.h261 int (*port_number)(struct ntb_dev *ntb); member
339 !ops->peer_port_count == !ops->port_number && in ntb_dev_ops_is_valid()
340 !ops->peer_port_number == !ops->port_number && in ntb_dev_ops_is_valid()
341 !ops->peer_port_idx == !ops->port_number && in ntb_dev_ops_is_valid()
620 if (!ntb->ops->port_number) in ntb_port_number()
623 return ntb->ops->port_number(ntb); in ntb_port_number()
Dmv643xx_eth.h41 int port_number; member
Dptp_classify.h61 __be16 port_number; member
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.h118 uint32_t port_number; member
182 uint32_t port_number; member
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c397 .port_number = 1,
419 .port_number = 1,
439 .port_number = 1,
459 .port_number = 1,
481 .port_number = 1,
504 .port_number = 4,
1073 adapter->params.nports = bi->port_number; in t1_init_sw_modules()
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-driver-ib_srp1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target
74 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev
80 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/port
84 Description: HCA port number (<port_number>).
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c28 attrs.phys.port_number = mlx5_get_dev_index(priv->mdev); in mlx5e_devlink_port_register()
/linux-6.1.9/arch/arm/mach-mmp/
Dgplugd.c155 .port_number = 0,
/linux-6.1.9/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 …]
/linux-6.1.9/arch/powerpc/platforms/chrp/
Dpegasos_eth.c81 .port_number = 1,

1234