/freebsd/sys/dev/smbus/ |
H A D | smbconf.h | 97 #define smbus_quick(bus,slave,how) \ argument 99 #define smbus_sendb(bus,slave,byte) \ argument 101 #define smbus_recvb(bus,slave,byte) \ argument 103 #define smbus_writeb(bus,slave,cmd,byte) \ argument 105 #define smbus_writew(bus,slave,cmd,word) \ argument 107 #define smbus_readb(bus,slave,cmd,byte) \ argument 109 #define smbus_readw(bus,slave,cmd,word) \ argument 111 #define smbus_pcall(bus,slave,cmd,sdata,rdata) \ argument 113 #define smbus_bwrite(bus,slave,cmd,count,buf) \ argument 115 #define smbus_bread(bus,slave,cmd,count,buf) \ argument [all …]
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_resource_tracker.c | 305 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() 376 static inline void mlx4_release_resource(struct mlx4_dev *dev, int slave, in mlx4_release_resource() 678 static void update_pkey_index(struct mlx4_dev *dev, int slave, in update_pkey_index() 694 u8 slave) in update_gid() 738 u8 slave, u32 qpn) in update_vport_qp_param() 848 static int get_res(struct mlx4_dev *dev, int slave, u64 res_id, in get_res() 885 u64 res_id, int *slave) in mlx4_get_slave_from_resource_id() 906 static void put_res(struct mlx4_dev *dev, int slave, u64 res_id, in put_res() 921 static int handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, in handle_existing_counter() 946 struct mlx4_qp_context *qpc, u8 slave, in handle_unexisting_counter() [all …]
|
H A D | mlx4_cmd.c | 819 int slave, u64 slave_addr, in mlx4_ACCESS_MEM() 899 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MAD_IFC_wrapper() 1039 static int mlx4_CMD_EPERM_wrapper(struct mlx4_dev *dev, int slave, in mlx4_CMD_EPERM_wrapper() 1048 int mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, in mlx4_DMA_wrapper() 1675 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, in mlx4_master_process_vhcr() 1848 int slave, int port) in mlx4_master_immediate_activate_vlan_qos() 1997 static int mlx4_master_activate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_activate_admin_state() 2065 static void mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_deactivate_admin_state() 2096 static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, in mlx4_master_do_cmd() 2249 int i, j, slave; in mlx4_master_comm_channel() local [all …]
|
H A D | mlx4_eq.c | 147 u8 slave; in mlx4_gen_slave_eqe() local 194 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) in slave_event() 223 static void mlx4_slave_event(struct mlx4_dev *dev, int slave, in mlx4_slave_event() 248 int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_pkey_eqe() 268 int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_guid_change_eqe() 285 int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, in mlx4_gen_port_state_change_eqe() 306 enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) in mlx4_get_slave_port_state() 322 static int mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, in mlx4_set_slave_port_state() 361 int set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, in set_and_calc_slave_port_state() 497 int slave = 0; in mlx4_eq_int() local [all …]
|
/freebsd/sys/dev/ichsmb/ |
H A D | ichsmb.c | 164 ichsmb_quick(device_t dev, u_char slave, int how) in ichsmb_quick() 193 ichsmb_sendb(device_t dev, u_char slave, char byte) in ichsmb_sendb() 215 ichsmb_recvb(device_t dev, u_char slave, char *byte) in ichsmb_recvb() 237 ichsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in ichsmb_writeb() 261 ichsmb_writew(device_t dev, u_char slave, char cmd, short word) in ichsmb_writew() 286 ichsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in ichsmb_readb() 309 ichsmb_readw(device_t dev, u_char slave, char cmd, short *word) in ichsmb_readw() 336 ichsmb_pcall(device_t dev, u_char slave, char cmd, short sdata, short *rdata) in ichsmb_pcall() 366 ichsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in ichsmb_bwrite() 412 ichsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in ichsmb_bread()
|
/freebsd/sys/dev/iicbus/ |
H A D | iicsmb.c | 308 iicsmb_quick(device_t dev, u_char slave, int how) in iicsmb_quick() 328 iicsmb_sendb(device_t dev, u_char slave, char byte) in iicsmb_sendb() 340 iicsmb_recvb(device_t dev, u_char slave, char *byte) in iicsmb_recvb() 352 iicsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in iicsmb_writeb() 365 iicsmb_writew(device_t dev, u_char slave, char cmd, short word) in iicsmb_writew() 378 iicsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in iicsmb_readb() 391 iicsmb_readw(device_t dev, u_char slave, char cmd, short *word) in iicsmb_readw() 407 iicsmb_pcall(device_t dev, u_char slave, char cmd, short sdata, short *rdata) in iicsmb_pcall() 424 iicsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in iicsmb_bwrite() 440 iicsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in iicsmb_bread()
|
H A D | iic.h | 37 uint16_t slave; member 48 u_char slave; member
|
H A D | acpi_iicbus.c | 93 acpi_iicbus_sendb(device_t dev, u_char slave, char byte) in acpi_iicbus_sendb() argument 103 acpi_iicbus_recvb(device_t dev, u_char slave, char *byte) in acpi_iicbus_recvb() argument 119 acpi_iicbus_write(device_t dev, u_char slave, char cmd, void *buf, in acpi_iicbus_write() argument 131 acpi_iicbus_read(device_t dev, u_char slave, char cmd, void *buf, in acpi_iicbus_read() argument 155 acpi_iicbus_bwrite(device_t dev,u_char slave,char cmd,u_char count,char * buf) acpi_iicbus_bwrite() argument 170 acpi_iicbus_bread(device_t dev,u_char slave,char cmd,u_char * count,char * buf) acpi_iicbus_bread() argument [all...] |
H A D | iiconf.c | 251 iicbus_start(device_t bus, u_char slave, int timeout) in iicbus_start() 273 iicbus_repeated_start(device_t bus, u_char slave, int timeout) in iicbus_repeated_start() 390 iicbus_block_write(device_t bus, u_char slave, char *buf, int len, int *sent) in iicbus_block_write() 411 iicbus_block_read(device_t bus, u_char slave, char *buf, int len, int *read) in iicbus_block_read()
|
/freebsd/sys/dev/imcsmb/ |
H A D | imcsmb.c | 191 imcsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in imcsmb_readb() 215 imcsmb_readw(device_t dev, u_char slave, char cmd, short *word) in imcsmb_readw() 239 imcsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in imcsmb_writeb() 263 imcsmb_writew(device_t dev, u_char slave, char cmd, short word) in imcsmb_writew() 295 imcsmb_transfer(device_t dev, u_char slave, char cmd, void *data, int word_op, in imcsmb_transfer()
|
/freebsd/sys/dev/intpm/ |
H A D | intpm.c | 647 intsmb_quick(device_t dev, u_char slave, int how) in intsmb_quick() 681 intsmb_sendb(device_t dev, u_char slave, char byte) in intsmb_sendb() 701 intsmb_recvb(device_t dev, u_char slave, char *byte) in intsmb_recvb() 731 intsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in intsmb_writeb() 752 intsmb_writew(device_t dev, u_char slave, char cmd, short word) in intsmb_writew() 774 intsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in intsmb_readb() 796 intsmb_readw(device_t dev, u_char slave, char cmd, short *word) in intsmb_readw() 820 intsmb_pcall(device_t dev, u_char slave, char cmd, short sdata, short *rdata) in intsmb_pcall() 827 intsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in intsmb_bwrite() 857 intsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in intsmb_bread()
|
/freebsd/sys/dev/alpm/ |
H A D | alpm.c | 338 alpm_quick(device_t dev, u_char slave, int how) in alpm_quick() 375 alpm_sendb(device_t dev, u_char slave, char byte) in alpm_sendb() 401 alpm_recvb(device_t dev, u_char slave, char *byte) in alpm_recvb() 427 alpm_writeb(device_t dev, u_char slave, char cmd, char byte) in alpm_writeb() 454 alpm_readb(device_t dev, u_char slave, char cmd, char *byte) in alpm_readb() 481 alpm_writew(device_t dev, u_char slave, char cmd, short word) in alpm_writew() 509 alpm_readw(device_t dev, u_char slave, char cmd, short *word) in alpm_readw() 541 alpm_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in alpm_bwrite() 582 alpm_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in alpm_bread()
|
/freebsd/sys/dev/amdsmb/ |
H A D | amdsmb.c | 325 amdsmb_quick(device_t dev, u_char slave, int how) in amdsmb_quick() 359 amdsmb_sendb(device_t dev, u_char slave, char byte) in amdsmb_sendb() 379 amdsmb_recvb(device_t dev, u_char slave, char *byte) in amdsmb_recvb() 399 amdsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in amdsmb_writeb() 420 amdsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in amdsmb_readb() 441 amdsmb_writew(device_t dev, u_char slave, char cmd, short word) in amdsmb_writew() 463 amdsmb_readw(device_t dev, u_char slave, char cmd, short *word) in amdsmb_readw() 488 amdsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in amdsmb_bwrite() 515 amdsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in amdsmb_bread()
|
/freebsd/sys/dev/nfsmb/ |
H A D | nfsmb.c | 377 nfsmb_quick(device_t dev, u_char slave, int how) in nfsmb_quick() 411 nfsmb_sendb(device_t dev, u_char slave, char byte) in nfsmb_sendb() 430 nfsmb_recvb(device_t dev, u_char slave, char *byte) in nfsmb_recvb() 449 nfsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in nfsmb_writeb() 469 nfsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in nfsmb_readb() 489 nfsmb_writew(device_t dev, u_char slave, char cmd, short word) in nfsmb_writew() 510 nfsmb_readw(device_t dev, u_char slave, char cmd, short *word) in nfsmb_readw() 531 nfsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in nfsmb_bwrite() 557 nfsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in nfsmb_bread()
|
/freebsd/sys/dev/amdpm/ |
H A D | amdpm.c | 341 amdpm_quick(device_t dev, u_char slave, int how) in amdpm_quick() 378 amdpm_sendb(device_t dev, u_char slave, char byte) in amdpm_sendb() 405 amdpm_recvb(device_t dev, u_char slave, char *byte) in amdpm_recvb() 432 amdpm_writeb(device_t dev, u_char slave, char cmd, char byte) in amdpm_writeb() 460 amdpm_readb(device_t dev, u_char slave, char cmd, char *byte) in amdpm_readb() 488 amdpm_writew(device_t dev, u_char slave, char cmd, short word) in amdpm_writew() 516 amdpm_readw(device_t dev, u_char slave, char cmd, short *word) in amdpm_readw() 544 amdpm_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in amdpm_bwrite() 588 amdpm_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in amdpm_bread()
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | ipropd_master.c | 169 struct slave { struct 179 struct slave *next; argument 182 typedef struct slave slave; typedef
|
/freebsd/contrib/netbsd-tests/kernel/tty/ |
H A D | t_pr.c | 72 exercise_ptytty(int master, int slave) in exercise_ptytty() 108 int master, slave, error, v; in ATF_TC_BODY() local 136 int master, slave, error; in ATF_TC_BODY() local
|
/freebsd/sys/dev/ismt/ |
H A D | ismt.c | 245 ismt_submit(struct ismt_softc *sc, struct ismt_desc *desc, uint8_t slave, in ismt_submit() 303 ismt_quick(device_t dev, u_char slave, int how) in ismt_quick() 322 ismt_sendb(device_t dev, u_char slave, char byte) in ismt_sendb() 338 ismt_recvb(device_t dev, u_char slave, char *byte) in ismt_recvb() 361 ismt_writeb(device_t dev, u_char slave, char cmd, char byte) in ismt_writeb() 378 ismt_writew(device_t dev, u_char slave, char cmd, short word) in ismt_writew() 396 ismt_readb(device_t dev, u_char slave, char cmd, char *byte) in ismt_readb() 421 ismt_readw(device_t dev, u_char slave, char cmd, short *word) in ismt_readw() 446 ismt_pcall(device_t dev, u_char slave, char cmd, short sdata, short *rdata) in ismt_pcall() 473 ismt_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in ismt_bwrite() [all …]
|
/freebsd/lib/libutil/ |
H A D | pty.c | 51 int master, slave; in openpty() local 90 int master, slave, pid; in forkpty() local
|
/freebsd/sys/dev/viapm/ |
H A D | viapm.c | 648 viasmb_quick(device_t dev, u_char slave, int how) in viasmb_quick() 682 viasmb_sendb(device_t dev, u_char slave, char byte) in viasmb_sendb() 708 viasmb_recvb(device_t dev, u_char slave, char *byte) in viasmb_recvb() 734 viasmb_writeb(device_t dev, u_char slave, char cmd, char byte) in viasmb_writeb() 761 viasmb_readb(device_t dev, u_char slave, char cmd, char *byte) in viasmb_readb() 788 viasmb_writew(device_t dev, u_char slave, char cmd, short word) in viasmb_writew() 816 viasmb_readw(device_t dev, u_char slave, char cmd, short *word) in viasmb_readw() 848 viasmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in viasmb_bwrite() 887 viasmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) in viasmb_bread()
|
/freebsd/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_ttypty.c | 115 ATF_TC_HEAD(slave, tc) in ATF_TC_HEAD() argument 119 ATF_TC_BODY(slave, tc) in ATF_TC_BODY() argument
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 332 int i, ix, slave, err; in __propagate_pkey_ev() local 412 static int mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, in mlx4_ib_demux_sa_handler() 441 static int find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, in find_slave_port_pkey_ix() 482 int mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, in mlx4_ib_send_to_slave() 645 int slave = -1; in mlx4_ib_demux_mad() local 1300 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_multiplex_sa_handler() 1315 static int is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) in is_proxy_qp0() 1323 int mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, in mlx4_ib_send_to_wire() 1427 static int get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) in get_slave_base_gid_ix() 1434 static void fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, in fill_in_real_sgid_index() [all …]
|
H A D | mlx4_ib_mcg.c | 228 static int send_mad_to_slave(int slave, struct mlx4_ib_demux_ctx *ctx, in send_mad_to_slave() 318 static int send_reply_to_slave(int slave, struct mcast_group *group, in send_reply_to_slave() 495 static int join_group(struct mcast_group *group, int slave, u8 join_mask) in join_group() 511 static int leave_group(struct mcast_group *group, int slave, u8 leave_state) in leave_group() 524 static int check_leave(struct mcast_group *group, int slave, u8 leave_mask) in check_leave() 886 int mlx4_ib_mcg_demux_handler(struct ib_device *ibdev, int port, int slave, in mlx4_ib_mcg_demux_handler() 936 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_mcg_multiplex_handler() 1200 static int push_deleteing_req(struct mcast_group *group, int slave) in push_deleteing_req() 1231 void clean_vf_mcast(struct mlx4_ib_demux_ctx *ctx, int slave) in clean_vf_mcast()
|
/freebsd/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_ttypty.c | 133 ATF_TC_HEAD(slave, tc) in ATF_TC_HEAD() argument 137 ATF_TC_BODY(slave, tc) in ATF_TC_BODY() argument
|
/freebsd/sys/dev/iicbus/controller/opencores/ |
H A D | iicoc.c | 146 iicoc_iicbus_start_common(device_t dev, u_char slave, int timeout, bool repeat) in iicoc_iicbus_start_common() 185 iicoc_iicbus_start(device_t dev, u_char slave, int timeout) in iicoc_iicbus_start() 192 iicoc_iicbus_repeated_start(device_t dev, u_char slave, int timeout) in iicoc_iicbus_repeated_start()
|